"use strict";(self.webpackChunkkoduinternet=self.webpackChunkkoduinternet||[]).push([[792],{615:()=>{let Ae=null,Jo=1;const En=Symbol("SIGNAL");function ee(e){const t=Ae;return Ae=e,t}function Hn(e){if((!fr(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==Jo)){if(!e.producerMustRecompute(e)&&!dr(e))return e.dirty=!1,void(e.lastCleanEpoch=Jo);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Jo}}function dr(e){In(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(Hn(n),r!==n.version))return!0}return!1}function zn(e,t){if(function Fs(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}(e),In(e),1===e.liveConsumerNode.length)for(let r=0;r<e.producerNode.length;r++)zn(e.producerNode[r],e.producerIndexOfThis[r]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];In(o),o.producerIndexOfThis[r]=t}}function fr(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function In(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Ps=null;function I(e){return"function"==typeof e}function M(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const O=M(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=n});function $(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class Ee{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(I(r))try{r()}catch(i){t=i instanceof O?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{Ze(i)}catch(s){t=t??[],s instanceof O?t=[...t,...s.errors]:t.push(s)}}if(t)throw new O(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Ze(t);else{if(t instanceof Ee){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&$(n,t)}remove(t){const{_finalizers:n}=this;n&&$(n,t),t instanceof Ee&&t._removeParent(this)}}Ee.EMPTY=(()=>{const e=new Ee;return e.closed=!0,e})();const _e=Ee.EMPTY;function ge(e){return e instanceof Ee||e&&"closed"in e&&I(e.remove)&&I(e.add)&&I(e.unsubscribe)}function Ze(e){I(e)?e():e.unsubscribe()}const pt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Jt={setTimeout(e,t,...n){const{delegate:r}=Jt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=Jt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function hr(e){Jt.setTimeout(()=>{const{onUnhandledError:t}=pt;if(!t)throw e;t(e)})}function Gr(){}const Et=Tn("C",void 0,void 0);function Tn(e,t,n){return{kind:e,value:t,error:n}}let wn=null;function qr(e){if(pt.useDeprecatedSynchronousErrorHandling){const t=!wn;if(t&&(wn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=wn;if(wn=null,n)throw r}}else e()}class cu extends Ee{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,ge(t)&&t.add(this)):this.destination=TI}static create(t,n,r){return new li(t,n,r)}next(t){this.isStopped?fu(function je(e){return Tn("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?fu(function Qr(e){return Tn("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?fu(Et,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const EI=Function.prototype.bind;function du(e,t){return EI.call(e,t)}class CI{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Rs(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Rs(r)}else Rs(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Rs(n)}}}class li extends cu{constructor(t,n,r){let o;if(super(),I(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&pt.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&du(t.next,i),error:t.error&&du(t.error,i),complete:t.complete&&du(t.complete,i)}):o=t}this.destination=new CI(o)}}function Rs(e){pt.useDeprecatedSynchronousErrorHandling?function uu(e){pt.useDeprecatedSynchronousErrorHandling&&wn&&(wn.errorThrown=!0,wn.error=e)}(e):hr(e)}function fu(e,t){const{onStoppedNotification:n}=pt;n&&Jt.setTimeout(()=>n(e,t))}const TI={closed:!0,next:Gr,error:function II(e){throw e},complete:Gr},hu="function"==typeof Symbol&&Symbol.observable||"@@observable";function xh(e){return e}let Ke=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const i=function bI(e){return e&&e instanceof cu||function wI(e){return e&&I(e.next)&&I(e.error)&&I(e.complete)}(e)&&ge(e)}(n)?n:new li(n,r,o);return qr(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=Lh(r))((o,i)=>{const s=new li({next:a=>{try{n(a)}catch(l){i(l),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[hu](){return this}pipe(...n){return function kh(e){return 0===e.length?xh:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=Lh(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Lh(e){var t;return null!==(t=e??pt.Promise)&&void 0!==t?t:Promise}const MI=M(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let pr=(()=>{class e extends Ke{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new $h(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new MI}next(n){qr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){qr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){qr(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?_e:(this.currentObservers=null,i.push(n),new Ee(()=>{this.currentObservers=null,$(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new Ke;return n.source=this,n}}return e.create=(t,n)=>new $h(t,n),e})();class $h extends pr{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:_e}}class SI extends pr{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}function bn(e){return t=>{if(function NI(e){return I(e?.lift)}(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Mn(e,t,n,r,o){return new FI(e,t,n,r,o)}class FI extends cu{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(l){t.error(l)}}:super._next,this._error=o?function(a){try{o(a)}catch(l){t.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function en(e,t){return bn((n,r)=>{let o=0;n.subscribe(Mn(r,i=>{r.next(e.call(t,i,o++))}))})}const jh="https://g.co/ng/security#xss";class N extends Error{constructor(t,n){super(function Zr(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function Sn(e){return{toString:e}.toString()}const Xr="__parameters__";function Yr(e,t,n){return Sn(()=>{const r=function pu(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(l,u,c){const d=l.hasOwnProperty(Xr)?l[Xr]:Object.defineProperty(l,Xr,{value:[]})[Xr];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),l}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}const de=globalThis;function he(e){for(let t in e)if(e[t]===he)return t;throw Error("Could not find renamed property on target object.")}function Be(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Be).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function gu(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const PI=he({__forward_ref__:he});function mu(e){return e.__forward_ref__=mu,e.toString=function(){return Be(this())},e}function Q(e){return xs(e)?e():e}function xs(e){return"function"==typeof e&&e.hasOwnProperty(PI)&&e.__forward_ref__===mu}function Gn(e,t,n){e!=t&&function G(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(n,e,t,"==")}function q(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Qn(e){return{providers:e.providers||[],imports:e.imports||[]}}function ks(e){return Hh(e,$s)||Hh(e,zh)}function Hh(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ls(e){return e&&(e.hasOwnProperty(_u)||e.hasOwnProperty(LI))?e[_u]:null}const $s=he({\u0275prov:he}),_u=he({\u0275inj:he}),zh=he({ngInjectableDef:he}),LI=he({ngInjectorDef:he});class x{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=q({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Cu(e){return e&&!!e.\u0275providers}const ui=he({\u0275cmp:he}),Iu=he({\u0275dir:he}),Tu=he({\u0275pipe:he}),Qh=he({\u0275mod:he}),Nn=he({\u0275fac:he}),ci=he({__NG_ELEMENT_ID__:he}),qh=he({__NG_ENV_ID__:he});function X(e){return"string"==typeof e?e:null==e?"":String(e)}function wu(e,t){throw new N(-201,!1)}var oe=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(oe||{});let bu;function Zh(){return bu}function gt(e){const t=bu;return bu=e,t}function Wh(e,t,n){const r=ks(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&oe.Optional?null:void 0!==t?t:void wu()}const di={},Mu="__NG_DI_FLAG__",js="ngTempTokenPath",HI=/\n/gm,Xh="__source";let Jr;function qn(e){const t=Jr;return Jr=e,t}function QI(e,t=oe.Default){if(void 0===Jr)throw new N(-203,!1);return null===Jr?Wh(e,void 0,t):Jr.get(e,t&oe.Optional?null:void 0,t)}function j(e,t=oe.Default){return(Zh()||QI)(Q(e),t)}function B(e,t=oe.Default){return j(e,Vs(t))}function Vs(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Su(e){const t=[];for(let n=0;n<e.length;n++){const r=Q(e[n]);if(Array.isArray(r)){if(0===r.length)throw new N(900,!1);let o,i=oe.Default;for(let s=0;s<r.length;s++){const a=r[s],l=qI(a);"number"==typeof l?-1===l?o=a.token:i|=l:o=a}t.push(j(o,i))}else t.push(j(r))}return t}function fi(e,t){return e[Mu]=t,e.prototype[Mu]=t,e}function qI(e){return e[Mu]}const Nu=fi(Yr("Optional"),8),Fu=fi(Yr("SkipSelf"),4);function gr(e,t){return e.hasOwnProperty(Nn)?e[Nn]:null}function eo(e,t){e.forEach(n=>Array.isArray(n)?eo(n,t):t(n))}function Yh(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Us(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}const tn={},se=[],no=new x(""),tp=new x("",-1),Ru=new x("");class Hs{get(t,n=di){if(n===di){const r=new Error(`NullInjectorError: No provider for ${Be(t)}!`);throw r.name="NullInjectorError",r}return n}}var zs=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(zs||{}),Vt=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Vt||{}),Zn=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Zn||{});function eT(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}function Ou(e,t,n){let r=0;for(;r<n.length;){const o=n[r];if("number"==typeof o){if(0!==o)break;r++;const i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{const i=o,s=n[++r];rp(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function np(e){return 3===e||4===e||6===e}function rp(e){return 64===e.charCodeAt(0)}function hi(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const o=t[r];"number"==typeof o?n=o:0===n||op(e,n,o,null,-1===n||2===n?t[++r]:null)}}return e}function op(e,t,n,r,o){let i=0,s=e.length;if(-1===t)s=-1;else for(;i<e.length;){const a=e[i++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=i-1;break}}}for(;i<e.length;){const a=e[i];if("number"==typeof a)break;if(a===n){if(null===r)return void(null!==o&&(e[i+1]=o));if(r===e[i+1])return void(e[i+2]=o)}i++,null!==r&&i++,null!==o&&i++}-1!==s&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),null!==r&&e.splice(i++,0,r),null!==o&&e.splice(i++,0,o)}const ip="ng-template";function tT(e,t,n,r){let o=0;if(r){for(;o<t.length&&"string"==typeof t[o];o+=2)if("class"===t[o]&&-1!==eT(t[o+1].toLowerCase(),n,0))return!0}else if(xu(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&"string"==typeof(i=t[o]);)if(i.toLowerCase()===n)return!0}return!1}function xu(e){return 4===e.type&&e.value!==ip}function nT(e,t,n){return t===(4!==e.type||n?e.value:ip)}function rT(e,t,n){let r=4;const o=e.attrs,i=null!==o?function sT(e){for(let t=0;t<e.length;t++)if(np(e[t]))return t;return e.length}(o):0;let s=!1;for(let a=0;a<t.length;a++){const l=t[a];if("number"!=typeof l){if(!s)if(4&r){if(r=2|1&r,""!==l&&!nT(e,l,n)||""===l&&1===t.length){if(Ut(r))return!1;s=!0}}else if(8&r){if(null===o||!tT(e,o,l,n)){if(Ut(r))return!1;s=!0}}else{const u=t[++a],c=oT(l,o,xu(e),n);if(-1===c){if(Ut(r))return!1;s=!0;continue}if(""!==u){let d;if(d=c>i?"":o[c+1].toLowerCase(),2&r&&u!==d){if(Ut(r))return!1;s=!0}}}}else{if(!s&&!Ut(r)&&!Ut(l))return!1;if(s&&Ut(l))continue;s=!1,r=l|1&r}}return Ut(r)||s}function Ut(e){return!(1&e)}function oT(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){const s=t[o];if(s===e)return o;if(3===s||6===s)i=!0;else{if(1===s||2===s){let a=t[++o];for(;"string"==typeof a;)a=t[++o];continue}if(4===s)break;if(0===s){o+=4;continue}}o+=i?1:2}return-1}return function aT(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function sp(e,t,n=!1){for(let r=0;r<t.length;r++)if(rT(e,t[r],n))return!0;return!1}function ap(e,t){return e?":not("+t.trim()+")":t}function uT(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&r){const a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!Ut(s)&&(t+=ap(i,o),o=""),r=s,i=i||!Ut(r);n++}return""!==o&&(t+=ap(i,o)),t}function Gs(e){return Sn(()=>{const t=up(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===zs.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Vt.Emulated,styles:e.styles||se,_:null,schemas:e.schemas||null,tView:null,id:""};cp(n);const r=e.dependencies;return n.directiveDefs=Qs(r,!1),n.pipeDefs=Qs(r,!0),n.id=function gT(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of n)t=Math.imul(31,t)+o.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n})}function fT(e){return ne(e)||He(e)}function hT(e){return null!==e}function mr(e){return Sn(()=>({type:e.type,bootstrap:e.bootstrap||se,declarations:e.declarations||se,imports:e.imports||se,exports:e.exports||se,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function lp(e,t){if(null==e)return tn;const n={};for(const r in e)if(e.hasOwnProperty(r)){const o=e[r];let i,s,a=Zn.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==Zn.None?[r,a]:r,t[i]=s):n[i]=r}return n}function Rt(e){return Sn(()=>{const t=up(e);return cp(t),t})}function We(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function ne(e){return e[ui]||null}function He(e){return e[Iu]||null}function Ye(e){return e[Tu]||null}function up(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||tn,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||se,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:lp(e.inputs,t),outputs:lp(e.outputs),debugInfo:null}}function cp(e){e.features?.forEach(t=>t(e))}function Qs(e,t){if(!e)return null;const n=t?Ye:fT;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(hT)}function mT(...e){return{\u0275providers:ku(0,e),\u0275fromNgModule:!0}}function ku(e,...t){const n=[],r=new Set;let o;const i=s=>{n.push(s)};return eo(t,s=>{const a=s;qs(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&dp(o,i),n}function dp(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:o}=e[n];Lu(o,i=>{t(i,r)})}}function qs(e,t,n,r){if(!(e=Q(e)))return!1;let o=null,i=Ls(e);const s=!i&&ne(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const l=e.ngModule;if(i=Ls(l),!i)return!1;o=l}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const u of l)qs(u,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let u;r.add(o);try{eo(i.imports,c=>{qs(c,t,n,r)&&(u||=[],u.push(c))})}finally{}void 0!==u&&dp(u,t)}if(!a){const u=gr(o)||(()=>new o);t({provide:o,useFactory:u,deps:se},o),t({provide:Ru,useValue:o,multi:!0},o),t({provide:no,useValue:()=>j(o),multi:!0},o)}const l=i.providers;if(null!=l&&!a){const u=e;Lu(l,c=>{t(c,u)})}}}return o!==e&&void 0!==e.providers}function Lu(e,t){for(let n of e)Cu(n)&&(n=n.\u0275providers),Array.isArray(n)?Lu(n,t):t(n)}const _T=he({provide:String,useValue:he});function $u(e){return null!==e&&"object"==typeof e&&_T in e}function yr(e){return"function"==typeof e}const ju=new x(""),Zs={},vT={};let Vu;function Ws(){return void 0===Vu&&(Vu=new Hs),Vu}class Bt{}class ro extends Bt{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Bu(t,s=>this.processProvider(s)),this.records.set(tp,oo(void 0,this)),o.has("environment")&&this.records.set(Bt,oo(void 0,this));const i=this.records.get(ju);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ru,se,oe.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=ee(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),ee(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=qn(this),r=gt(void 0);try{return t()}finally{qn(n),gt(r)}}get(t,n=di,r=oe.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(qh))return t[qh](this);r=Vs(r);const i=qn(this),s=gt(void 0);try{if(!(r&oe.SkipSelf)){let l=this.records.get(t);if(void 0===l){const u=function TT(e){return"function"==typeof e||"object"==typeof e&&e instanceof x}(t)&&ks(t);l=u&&this.injectableDefInScope(u)?oo(Uu(t),Zs):null,this.records.set(t,l)}if(null!=l)return this.hydrate(t,l)}return(r&oe.Self?Ws():this.parent).get(t,n=r&oe.Optional&&n===di?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[js]=a[js]||[]).unshift(Be(t)),i)throw a;return function ZI(e,t,n,r){const o=e[js];throw t[Xh]&&o.unshift(t[Xh]),e.message=function WI(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=Be(t);if(Array.isArray(t))o=t.map(Be).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):Be(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(HI,"\n  ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[js]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{gt(s),qn(i)}}resolveInjectorInitializers(){const t=ee(null),n=qn(this),r=gt(void 0);try{const i=this.get(no,se,oe.Self);for(const s of i)s()}finally{qn(n),gt(r),ee(t)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Be(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new N(205,!1)}processProvider(t){let n=yr(t=Q(t))?t:Q(t&&t.provide);const r=function ET(e){return $u(e)?oo(void 0,e.useValue):oo(pp(e),Zs)}(t);if(!yr(t)&&!0===t.multi){let o=this.records.get(n);o||(o=oo(void 0,Zs,!0),o.factory=()=>Su(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){const r=ee(null);try{return n.value===Zs&&(n.value=vT,n.value=n.factory()),"object"==typeof n.value&&n.value&&function IT(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{ee(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=Q(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Uu(e){const t=ks(e),n=null!==t?t.factory:gr(e);if(null!==n)return n;if(e instanceof x)throw new N(204,!1);if(e instanceof Function)return function DT(e){if(e.length>0)throw new N(204,!1);const n=function kI(e){return e&&(e[$s]||e[zh])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new N(204,!1)}function pp(e,t,n){let r;if(yr(e)){const o=Q(e);return gr(o)||Uu(o)}if($u(e))r=()=>Q(e.useValue);else if(function hp(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Su(e.deps||[]));else if(function fp(e){return!(!e||!e.useExisting)}(e))r=()=>j(Q(e.useExisting));else{const o=Q(e&&(e.useClass||e.provide));if(!function CT(e){return!!e.deps}(e))return gr(o)||Uu(o);r=()=>new o(...Su(e.deps))}return r}function oo(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Bu(e,t){for(const n of e)Array.isArray(n)?Bu(n,t):n&&Cu(n)?Bu(n.\u0275providers,t):t(n)}const Fe=0,S=1,L=2,Re=3,Ht=4,nt=5,wt=6,so=7,Ce=8,Je=9,zt=10,Z=11,mi=12,_p=13,ao=14,Pe=15,_i=16,lo=17,Fn=18,yi=19,yp=20,Wn=21,Ys=22,vr=23,K=25,Gu=1,nn=7,uo=9,Oe=10;var Qu=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Qu||{});function rt(e){return Array.isArray(e)&&"object"==typeof e[Gu]}function ot(e){return Array.isArray(e)&&!0===e[Gu]}function qu(e){return!!(4&e.flags)}function Dr(e){return e.componentOffset>-1}function ea(e){return!(1&~e.flags)}function Gt(e){return!!e.template}function Zu(e){return!!(512&e[L])}class Cp{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Ip(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}function ta(){return Tp}function Tp(e){return e.type.prototype.ngOnChanges&&(e.setInput=$T),LT}function LT(){const e=bp(this),t=e?.current;if(t){const n=e.previous;if(n===tn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function $T(e,t,n,r,o){const i=this.declaredInputs[r],s=bp(e)||function jT(e,t){return e[wp]=t}(e,{previous:tn,current:null}),a=s.current||(s.current={}),l=s.previous,u=l[i];a[i]=new Cp(u&&u.currentValue,n,l===tn),Ip(e,t,o,n)}ta.ngInherit=!0;const wp="__ngSimpleChanges__";function bp(e){return e[wp]||null}const rn=function(e,t,n){};let Np=!1;function me(e){for(;Array.isArray(e);)e=e[Fe];return e}function Di(e,t){return me(t[e])}function at(e,t){return me(t[e.index])}function Ei(e,t){return e.data[t]}function co(e,t){return e[t]}function bt(e,t){const n=t[e];return rt(n)?n:n[Fe]}function Ju(e){return!(128&~e[L])}function on(e,t){return null==t?null:e[t]}function Fp(e){e[lo]=0}function GT(e){1024&e[L]||(e[L]|=1024,Ju(e)&&Ci(e))}function ec(e){return!!(9216&e[L]||e[vr]?.dirty)}function tc(e){e[zt].changeDetectionScheduler?.notify(1),ec(e)?Ci(e):64&e[L]&&(function UT(){return Np}()?(e[L]|=1024,Ci(e)):e[zt].changeDetectionScheduler?.notify())}function Ci(e){e[zt].changeDetectionScheduler?.notify();let t=Er(e);for(;null!==t&&!(8192&t[L])&&(t[L]|=8192,Ju(t));)t=Er(t)}function na(e,t){if(!(256&~e[L]))throw new N(911,!1);null===e[Wn]&&(e[Wn]=[]),e[Wn].push(t)}function Er(e){const t=e[Re];return ot(t)?t[Re]:t}const W={lFrame:Vp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Rp(){return W.bindingsEnabled}function E(){return W.lFrame.lView}function re(){return W.lFrame.tView}function Me(e){return W.lFrame.contextLView=e,e[Ce]}function Se(e){return W.lFrame.contextLView=null,e}function pe(){let e=Op();for(;null!==e&&64===e.type;)e=e.parent;return e}function Op(){return W.lFrame.currentTNode}function Ii(){const e=W.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function sn(e,t){const n=W.lFrame;n.currentTNode=e,n.isParent=t}function rc(){return W.lFrame.isParent}function oc(){W.lFrame.isParent=!1}function lt(){const e=W.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function An(){return W.lFrame.bindingIndex}function Qt(){return W.lFrame.bindingIndex++}function Lp(e){W.lFrame.inI18n=e}function nw(e,t){const n=W.lFrame;n.bindingIndex=n.bindingRootIndex=e,ic(t)}function ic(e){W.lFrame.currentDirectiveIndex=e}function ra(e){W.lFrame.currentQueryIndex=e}function ow(e){const t=e[S];return 2===t.type?t.declTNode:1===t.type?e[nt]:null}function $p(e,t,n){if(n&oe.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&oe.Host||(o=ow(i),null===o||(i=i[ao],10&o.type))););if(null===o)return!1;t=o,e=i}const r=W.lFrame=jp();return r.currentTNode=t,r.lView=e,!0}function lc(e){const t=jp(),n=e[S];W.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function jp(){const e=W.lFrame,t=null===e?null:e.child;return null===t?Vp(e):t}function Vp(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Up(){const e=W.lFrame;return W.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Bp=Up;function uc(){const e=Up();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function it(){return W.lFrame.selectedIndex}function Cr(e){W.lFrame.selectedIndex=e}function Ie(){const e=W.lFrame;return Ei(e.tView,e.selectedIndex)}let zp=!0;function Ti(){return zp}function an(e){zp=e}function oa(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:u,ngOnDestroy:c}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),l&&(e.viewHooks??=[]).push(-n,l),u&&((e.viewHooks??=[]).push(n,u),(e.viewCheckHooks??=[]).push(n,u)),null!=c&&(e.destroyHooks??=[]).push(n,c)}}function ia(e,t,n){Gp(e,t,3,n)}function sa(e,t,n,r){(3&e[L])===n&&Gp(e,t,n,r)}function cc(e,t){let n=e[L];(3&n)===t&&(n&=16383,n+=1,e[L]=n)}function Gp(e,t,n,r){const i=r??-1,s=t.length-1;let a=0;for(let l=void 0!==r?65535&e[lo]:0;l<s;l++)if("number"==typeof t[l+1]){if(a=t[l],null!=r&&a>=r)break}else t[l]<0&&(e[lo]+=65536),(a<i||-1==i)&&(dw(e,n,t,l),e[lo]=(4294901760&e[lo])+l+2),l++}function Qp(e,t){rn(4,e,t);const n=ee(null);try{t.call(e)}finally{ee(n),rn(5,e,t)}}function dw(e,t,n,r){const o=n[r]<0,i=n[r+1],a=e[o?-n[r]:n[r]];o?e[L]>>14<e[lo]>>16&&(3&e[L])===t&&(e[L]+=16384,Qp(a,i)):Qp(a,i)}const ho=-1;class wi{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function fc(e){return e!==ho}function bi(e){return 32767&e}function Mi(e,t){let n=function mw(e){return e>>16}(e),r=t;for(;n>0;)r=r[ao],n--;return r}let hc=!0;function aa(e){const t=hc;return hc=e,t}const qp=255,Zp=5;let _w=0;const ln={};function la(e,t){const n=Wp(e,t);if(-1!==n)return n;const r=t[S];r.firstCreatePass&&(e.injectorIndex=t.length,pc(r.data,e),pc(t,null),pc(r.blueprint,null));const o=ua(e,t),i=e.injectorIndex;if(fc(o)){const s=bi(o),a=Mi(o,t),l=a[S].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|l[s+u]}return t[i+8]=o,i}function pc(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Wp(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function ua(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=ng(o),null===r)return ho;if(n++,o=o[ao],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return ho}function gc(e,t,n){!function yw(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(ci)&&(r=n[ci]),null==r&&(r=n[ci]=_w++);const o=r&qp;t.data[e+(o>>Zp)]|=1<<o}(e,t,n)}function Xp(e,t,n){if(n&oe.Optional||void 0!==e)return e;wu()}function Kp(e,t,n,r){if(n&oe.Optional&&void 0===r&&(r=null),!(n&(oe.Self|oe.Host))){const o=e[Je],i=gt(void 0);try{return o?o.get(t,r,n&oe.Optional):Wh(t,r,n&oe.Optional)}finally{gt(i)}}return Xp(r,0,n)}function Yp(e,t,n,r=oe.Default,o){if(null!==e){if(2048&t[L]&&!(r&oe.Self)){const s=function Iw(e,t,n,r,o){let i=e,s=t;for(;null!==i&&null!==s&&2048&s[L]&&!(512&s[L]);){const a=Jp(i,s,n,r|oe.Self,ln);if(a!==ln)return a;let l=i.parent;if(!l){const u=s[yp];if(u){const c=u.get(n,ln,r);if(c!==ln)return c}l=ng(s),s=s[ao]}i=l}return o}(e,t,n,r,ln);if(s!==ln)return s}const i=Jp(e,t,n,r,ln);if(i!==ln)return i}return Kp(t,n,r,o)}function Jp(e,t,n,r,o){const i=function Ew(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(ci)?e[ci]:void 0;return"number"==typeof t?t>=0?t&qp:Cw:t}(n);if("function"==typeof i){if(!$p(t,e,r))return r&oe.Host?Xp(o,0,r):Kp(t,n,r,o);try{let s;if(s=i(r),null!=s||r&oe.Optional)return s;wu()}finally{Bp()}}else if("number"==typeof i){let s=null,a=Wp(e,t),l=ho,u=r&oe.Host?t[Pe][nt]:null;for((-1===a||r&oe.SkipSelf)&&(l=-1===a?ua(e,t):t[a+8],l!==ho&&tg(r,!1)?(s=t[S],a=bi(l),t=Mi(l,t)):a=-1);-1!==a;){const c=t[S];if(eg(i,a,c.data)){const d=Dw(a,t,n,s,r,u);if(d!==ln)return d}l=t[a+8],l!==ho&&tg(r,t[S].data[a+8]===u)&&eg(i,a,t)?(s=c,a=bi(l),t=Mi(l,t)):a=-1}}return o}function Dw(e,t,n,r,o,i){const s=t[S],a=s.data[e+8],c=function ca(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,l=e.directiveStart,c=i>>20,f=o?a+c:e.directiveEnd;for(let h=r?a:a+c;h<f;h++){const p=s[h];if(h<l&&n===p||h>=l&&p.type===n)return h}if(o){const h=s[l];if(h&&Gt(h)&&h.type===n)return l}return null}(a,s,n,null==r?Dr(a)&&hc:r!=s&&!!(3&a.type),o&oe.Host&&i===a);return null!==c?Ir(t,s,c,a):ln}function Ir(e,t,n,r){let o=e[n];const i=t.data;if(function fw(e){return e instanceof wi}(o)){const s=o;s.resolving&&function VI(e,t){throw t&&t.join(" > "),new N(-200,e)}(function le(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():X(e)}(i[n]));const a=aa(s.canSeeViewProviders);s.resolving=!0;const u=s.injectImpl?gt(s.injectImpl):null;$p(e,r,oe.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function cw(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=Tp(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}(n,i[n],t)}finally{null!==u&&gt(u),aa(a),s.resolving=!1,Bp()}}return o}function eg(e,t,n){return!!(n[t+(e>>Zp)]&1<<e)}function tg(e,t){return!(e&oe.Self||e&oe.Host&&t)}class Ge{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Yp(this._tNode,this._lView,t,Vs(r),n)}}function Cw(){return new Ge(pe(),E())}function da(e){return Sn(()=>{const t=e.prototype.constructor,n=t[Nn]||mc(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[Nn]||mc(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function mc(e){return xs(e)?()=>{const t=mc(Q(e));return t&&t()}:gr(e)}function ng(e){const t=e[S],n=t.type;return 2===n?t.declTNode:1===n?e[nt]:null}function ag(e,t=null,n=null,r){const o=lg(e,t,n,r);return o.resolveInjectorInitializers(),o}function lg(e,t=null,n=null,r,o=new Set){const i=[n||se,mT(e)];return r=r||("object"==typeof e?void 0:Be(e)),new ro(i,t||Ws(),r||null,o)}let _t=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=di;static#t=this.NULL=new Hs;static create(n,r){if(Array.isArray(n))return ag({name:""},r,n,"");{const o=n.name??"";return ag({name:o},n.parent,n.providers,o)}}static#n=this.\u0275prov=q({token:e,providedIn:"any",factory:()=>j(tp)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();function yc(e){return e.ngOriginalError}class un{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&yc(t);for(;n&&yc(n);)n=yc(n);return n||null}}const cg=new x("",{providedIn:"root",factory:()=>B(un).handleError.bind(void 0)});let mo=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=Pw;static#t=this.__NG_ENV_ID__=n=>n}return e})();class Aw extends mo{constructor(t){super(),this._lView=t}onDestroy(t){return na(this._lView,t),()=>function nc(e,t){if(null===e[Wn])return;const n=e[Wn].indexOf(t);-1!==n&&e[Wn].splice(n,1)}(this._lView,t)}}function Pw(){return new Aw(E())}function Rw(){return _o(pe(),E())}function _o(e,t){return new Tr(at(e,t))}let Tr=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=Rw}return e})();function vc(e){return t=>{setTimeout(e,void 0,t)}}const et=class Ow extends pr{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,function gp(){return void 0!==Zh()||null!=function GI(){return Jr}()}()&&(this.destroyRef=B(mo,{optional:!0})??void 0)}emit(t){const n=ee(null);try{super.next(t)}finally{ee(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const l=t;o=l.next?.bind(l),i=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(i=vc(i),o&&(o=vc(o)),s&&(s=vc(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof Ee&&t.add(a),a}};function pa(e){return!(128&~e.flags)}let Ec;function Xn(){if(void 0!==Ec)return Ec;if(typeof document<"u")return document;throw new N(210,!1)}Symbol;const ma=new x("",{providedIn:"root",factory:()=>$w}),$w="ng",gg=new x(""),wr=new x("",{providedIn:"platform",factory:()=>"unknown"}),mg=new x("",{providedIn:"root",factory:()=>Xn().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let _g=()=>null;function Nc(e,t,n=!1){return _g(e,t,n)}const Ig=new x("",{providedIn:"root",factory:()=>!1});let Ia,Ta;function Eo(e){return function Rc(){if(void 0===Ia&&(Ia=null,de.trustedTypes))try{Ia=de.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ia}()?.createHTML(e)||e}function wg(e){return function Oc(){if(void 0===Ta&&(Ta=null,de.trustedTypes))try{Ta=de.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ta}()?.createHTML(e)||e}class br{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${jh})`}}class Kw extends br{getTypeName(){return"HTML"}}class Yw extends br{getTypeName(){return"Style"}}class Jw extends br{getTypeName(){return"Script"}}class eb extends br{getTypeName(){return"URL"}}class tb extends br{getTypeName(){return"ResourceURL"}}function Mt(e){return e instanceof br?e.changingThisBreaksApplicationSecurity:e}function cn(e,t){const n=function nb(e){return e instanceof br&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${jh})`)}return n===t}function Sg(e){const t=new ub(e);return function cb(){try{return!!(new window.DOMParser).parseFromString(Eo(""),"text/html")}catch{return!1}}()?new lb(t):t}class lb{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Eo(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class ub{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Eo(t),n}}const db=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function wa(e){return(e=String(e)).match(db)?e:"unsafe:"+e}function Rn(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Pi(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Ng=Rn("area,br,col,hr,img,wbr"),Fg=Rn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ag=Rn("rp,rt"),xc=Pi(Ng,Pi(Fg,Rn("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Pi(Ag,Rn("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Pi(Ag,Fg)),kc=Rn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Pg=Pi(kc,Rn("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Rn("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),fb=Rn("script,style,template");class hb{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)o.push(n),n=mb(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=gb(n);if(i){n=i;break}n=o.pop()}return this.buf.join("")}startElement(t){const n=Rg(t).toLowerCase();if(!xc.hasOwnProperty(n))return this.sanitizedSomething=!0,!fb.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let o=0;o<r.length;o++){const i=r.item(o),s=i.name,a=s.toLowerCase();if(!Pg.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=i.value;kc[a]&&(l=wa(l)),this.buf.push(" ",s,'="',xg(l),'"')}return this.buf.push(">"),!0}endElement(t){const n=Rg(t).toLowerCase();xc.hasOwnProperty(n)&&!Ng.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(xg(t))}}function gb(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw Og(t);return t}function mb(e){const t=e.firstChild;if(t&&function pb(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw Og(t);return t}function Rg(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function Og(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const _b=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,yb=/([^\#-~ |!])/g;function xg(e){return e.replace(/&/g,"&amp;").replace(_b,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(yb,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let ba;function kg(e,t){let n=null;try{ba=ba||Sg(e);let r=t?String(t):"";n=ba.getInertBodyElement(r);let o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=ba.getInertBodyElement(r)}while(r!==i);return Eo((new hb).sanitizeChildren(Lc(n)||n))}finally{if(n){const r=Lc(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Lc(e){return"content"in e&&function vb(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Ot=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Ot||{});function dn(e){const t=function Ri(){const e=E();return e&&e[zt].sanitizer}();return t?wg(t.sanitize(Ot.HTML,e)||""):cn(e,"HTML")?wg(Mt(e)):kg(Xn(),X(e))}const bb=/^>|^->|<!--|-->|--!>|<!-$/g,Mb=/(<|>)/g,Sb="\u200b$1\u200b";const $c=new Map;let Rb=0;const Vc="__ngContext__";function st(e,t){rt(t)?(e[Vc]=t[yi],function xb(e){$c.set(e[yi],e)}(t)):e[Vc]=t}function Wg(e){return e.ownerDocument.defaultView}var Yn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Yn||{});let zc;function Gc(e,t){return zc(e,t)}function Io(e,t,n,r,o){if(null!=r){let i,s=!1;ot(r)?i=r:rt(r)&&(s=!0,r=r[Fe]);const a=me(r);0===e&&null!==n?null==o?om(t,n,a):Mr(t,n,a,o||null,!0):1===e&&null!==n?Mr(t,n,a,o||null,!0):2===e?Li(t,a,s):3===e&&t.destroyNode(a),null!=i&&function s0(e,t,n,r,o){const i=n[nn];i!==me(n)&&Io(t,e,r,i,o);for(let a=Oe;a<n.length;a++){const l=n[a];Ra(l[S],l,e,t,r,i)}}(t,e,i,n,o)}}function Qc(e,t){return e.createText(t)}function em(e,t,n){e.setValue(t,n)}function qc(e,t){return e.createComment(function jg(e){return e.replace(bb,t=>t.replace(Mb,Sb))}(t))}function Na(e,t,n){return e.createElement(t,n)}function tm(e,t){t[zt].changeDetectionScheduler?.notify(1),Ra(e,t,t[Z],2,null,null)}function nm(e,t){const n=e[uo],r=n.indexOf(t);n.splice(r,1)}function xi(e,t){if(e.length<=Oe)return;const n=Oe+t,r=e[n];if(r){const o=r[_i];null!==o&&o!==e&&nm(o,r),t>0&&(e[n-1][Ht]=r[Ht]);const i=Us(e,Oe+t);!function Wb(e,t){tm(e,t),t[Fe]=null,t[nt]=null}(r[S],r);const s=i[Fn];null!==s&&s.detachView(i[S]),r[Re]=null,r[Ht]=null,r[L]&=-129}return r}function Fa(e,t){if(!(256&t[L])){const n=t[Z];n.destroyNode&&Ra(e,t,n,3,null,null),function Kb(e){let t=e[mi];if(!t)return Zc(e[S],e);for(;t;){let n=null;if(rt(t))n=t[mi];else{const r=t[Oe];r&&(n=r)}if(!n){for(;t&&!t[Ht]&&t!==e;)rt(t)&&Zc(t[S],t),t=t[Re];null===t&&(t=e),rt(t)&&Zc(t[S],t),n=t&&t[Ht]}t=n}}(t)}}function Zc(e,t){if(256&t[L])return;const n=ee(null);try{t[L]&=-129,t[L]|=256,t[vr]&&function Cn(e){if(In(e),fr(e))for(let t=0;t<e.producerNode.length;t++)zn(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}(t[vr]),function t0(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const o=t[n[r]];if(!(o instanceof wi)){const i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){const a=o[i[s]],l=i[s+1];rn(4,a,l);try{l.call(a)}finally{rn(5,a,l)}}else{rn(4,o,i);try{i.call(o)}finally{rn(5,o,i)}}}}}(e,t),function e0(e,t){const n=e.cleanup,r=t[so];if(null!==n)for(let i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){const s=n[i+3];s>=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[so]=null);const o=t[Wn];if(null!==o){t[Wn]=null;for(let i=0;i<o.length;i++)(0,o[i])()}}(e,t),1===t[S].type&&t[Z].destroy();const r=t[_i];if(null!==r&&ot(t[Re])){r!==t[Re]&&nm(r,t);const o=t[Fn];null!==o&&o.detachView(e)}!function kb(e){$c.delete(e[yi])}(t)}finally{ee(n)}}function rm(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[Fe];{const{componentOffset:o}=r;if(o>-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===Vt.None||i===Vt.Emulated)return null}return at(r,n)}}function Mr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function om(e,t,n){e.appendChild(t,n)}function im(e,t,n,r,o){null!==r?Mr(e,t,n,r,o):om(e,t,n)}function Aa(e,t){return e.parentNode(t)}function am(e,t,n){return 40&e.type?at(e,n):null}let Xc,lm=am;function um(e,t){lm=e,Xc=t}function Pa(e,t,n,r){const o=function Wc(e,t,n){return rm(e,t.parent,n)}(e,r,t),i=t[Z],a=function sm(e,t,n){return lm(e,t,n)}(r.parent||t[nt],r,t);if(null!=o)if(Array.isArray(n))for(let l=0;l<n.length;l++)im(i,o,n[l],a,!1);else im(i,o,n,a,!1);void 0!==Xc&&Xc(i,r,t,n,o)}function ki(e,t){if(null!==t){const n=t.type;if(3&n)return at(t,e);if(4&n)return Kc(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return ki(e,r);{const o=e[t.index];return ot(o)?Kc(-1,o):me(o)}}if(32&n)return Gc(t,e)()||me(e[t.index]);{const r=cm(e,t);return null!==r?Array.isArray(r)?r[0]:ki(Er(e[Pe]),r):ki(e,t.next)}}return null}function cm(e,t){return null!==t?e[Pe][nt].projection[t.projection]:null}function Kc(e,t){const n=Oe+e+1;if(n<t.length){const r=t[n],o=r[S].firstChild;if(null!==o)return ki(r,o)}return t[nn]}function Li(e,t,n){const r=Aa(e,t);r&&function n0(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}function Yc(e,t,n,r,o,i,s){for(;null!=n;){const a=r[n.index],l=n.type;if(s&&0===t&&(a&&st(me(a),r),n.flags|=2),32&~n.flags)if(8&l)Yc(e,t,n.child,r,o,i,!1),Io(t,e,o,a,i);else if(32&l){const u=Gc(n,r);let c;for(;c=u();)Io(t,e,o,c,i);Io(t,e,o,a,i)}else 16&l?fm(e,t,r,n,o,i):Io(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Ra(e,t,n,r,o,i){Yc(n,r,e.firstChild,t,o,i,!1)}function fm(e,t,n,r,o,i){const s=n[Pe],l=s[nt].projection[r.projection];if(Array.isArray(l))for(let u=0;u<l.length;u++)Io(t,e,o,l[u],i);else{let u=l;const c=s[Re];pa(r)&&(u.flags|=128),Yc(e,t,u,c,o,i,!0)}}function hm(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function pm(e,t,n){const{mergedAttrs:r,classes:o,styles:i}=n;null!==r&&Ou(e,t,r),null!==o&&hm(e,t,o),null!==i&&function l0(e,t,n){e.setAttribute(t,"style",n)}(e,t,i)}const Y={};function m(e=1){gm(re(),E(),it()+e,!1)}function gm(e,t,n,r){if(!r)if(3&~t[L]){const i=e.preOrderHooks;null!==i&&sa(t,i,0,n)}else{const i=e.preOrderCheckHooks;null!==i&&ia(t,i,n)}Cr(n)}function z(e,t=oe.Default){const n=E();return null===n?j(e,t):Yp(pe(),n,Q(e),t)}function mm(e,t,n,r,o,i){const s=ee(null);try{let a=null;o&Zn.SignalBased&&(a=t[r][En]),null!==a&&void 0!==a.transformFn&&(i=a.transformFn(i)),o&Zn.HasDecoratorInputTransform&&(i=e.inputTransforms[r].call(t,i)),null!==e.setInput?e.setInput(t,a,i,n,r):Ip(t,a,r,i)}finally{ee(s)}}function Oa(e,t,n,r,o,i,s,a,l,u,c){const d=t.blueprint.slice();return d[Fe]=o,d[L]=204|r,(null!==u||e&&2048&e[L])&&(d[L]|=2048),Fp(d),d[Re]=d[ao]=e,d[Ce]=n,d[zt]=s||e&&e[zt],d[Z]=a||e&&e[Z],d[Je]=l||e&&e[Je]||null,d[nt]=i,d[yi]=function Ob(){return Rb++}(),d[wt]=c,d[yp]=u,d[Pe]=2==t.type?e[Pe]:d,d}function To(e,t,n,r,o){let i=e.data[t];if(null===i)i=Jc(e,t,n,r,o),function tw(){return W.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=Ii();i.injectorIndex=null===s?-1:s.injectorIndex}return sn(i,!0),i}function Jc(e,t,n,r,o){const i=Op(),s=rc(),l=e.data[t]=function _0(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return function fo(){return null!==W.skipHydrationRootTNode}()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=l),null!==i&&(s?null==i.child&&null!==l.parent&&(i.child=l):null===i.next&&(i.next=l,l.prev=i)),l}function $i(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function _m(e,t,n,r,o){const i=it(),s=2&r;try{Cr(-1),s&&t.length>K&&gm(e,t,K,!1),rn(s?2:0,o),n(r,o)}finally{Cr(i),rn(s?3:1,o)}}function ed(e,t,n){if(qu(t)){const r=ee(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;s<i;s++){const a=e.data[s];a.contentQueries&&a.contentQueries(1,n[s],s)}}finally{ee(r)}}}function td(e,t,n){Rp()&&(function T0(e,t,n,r){const o=n.directiveStart,i=n.directiveEnd;Dr(n)&&function A0(e,t,n){const r=at(t,e),o=ym(n);let s=16;n.signals?s=4096:n.onPush&&(s=64);const a=xa(e,Oa(e,o,null,s,r,t,null,e[zt].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=a}(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||la(n,t),st(r,t);const s=n.initialInputs;for(let a=o;a<i;a++){const l=e.data[a],u=Ir(t,e,a,n);st(u,t),null!==s&&P0(0,a-o,u,l,0,s),Gt(l)&&(bt(n.index,t)[Ce]=Ir(t,e,a,n))}}(e,t,n,at(n,t)),!(64&~n.flags)&&Im(e,t,n))}function nd(e,t,n=at){const r=t.localNames;if(null!==r){let o=t.index+1;for(let i=0;i<r.length;i+=2){const s=r[i+1],a=-1===s?n(t,e):e[s];e[o++]=a}}}function ym(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=rd(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function rd(e,t,n,r,o,i,s,a,l,u,c){const d=K+r,f=d+o,h=function d0(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Y);return n}(d,f),p="function"==typeof u?u():u;return h[S]={type:e,blueprint:h,template:n,queries:null,viewQuery:a,declTNode:t,data:h.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:f,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof i?i():i,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:l,consts:p,incompleteFirstPass:!1,ssrId:c}}let vm=()=>null;function Dm(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;const s=t[i];if(void 0===s)continue;r??={};let a,l=Zn.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let u=i;if(null!==o){if(!o.hasOwnProperty(i))continue;u=o[i]}0===e?Em(r,n,u,a,l):Em(r,n,u,a)}return r}function Em(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],void 0!==o&&i.push(o)}function vt(e,t,n,r,o,i,s,a){const l=at(t,n);let c,u=t.inputs;!a&&null!=u&&(c=u[r])?(ld(e,n,c,r,o),Dr(t)&&function D0(e,t){const n=bt(t,e);16&n[L]||(n[L]|=64)}(n,t.index)):3&t.type&&(r=function v0(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,i.setProperty(l,r,o))}function od(e,t,n,r){if(Rp()){const o=null===r?null:{"":-1},i=function b0(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i<n.length;i++){const s=n[i];if(sp(t,s.selectors,!1))if(r||(r=[]),Gt(s))if(null!==s.findHostDirectiveDefs){const a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s),id(e,t,a.length)}else r.unshift(s),id(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return null===r?null:[r,o]}(e,n);let s,a;null===i?s=a=null:[s,a]=i,null!==s&&Cm(e,t,n,s,o,a),o&&function M0(e,t,n){if(t){const r=e.localNames=[];for(let o=0;o<t.length;o+=2){const i=n[t[o+1]];if(null==i)throw new N(-301,!1);r.push(t[o],i)}}}(n,r,o)}n.mergedAttrs=hi(n.mergedAttrs,n.attrs)}function Cm(e,t,n,r,o,i){for(let u=0;u<r.length;u++)gc(la(n,t),e,r[u].type);!function N0(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let u=0;u<r.length;u++){const c=r[u];c.providersResolver&&c.providersResolver(c)}let s=!1,a=!1,l=$i(e,t,r.length,null);for(let u=0;u<r.length;u++){const c=r[u];n.mergedAttrs=hi(n.mergedAttrs,c.hostAttrs),F0(e,n,t,l,c),S0(l,c,o),null!==c.contentQueries&&(n.flags|=4),(null!==c.hostBindings||null!==c.hostAttrs||0!==c.hostVars)&&(n.flags|=64);const d=c.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),a=!0),l++}!function y0(e,t,n){const o=t.directiveEnd,i=e.data,s=t.attrs,a=[];let l=null,u=null;for(let c=t.directiveStart;c<o;c++){const d=i[c],f=n?n.get(d):null,p=f?f.outputs:null;l=Dm(0,d.inputs,c,l,f?f.inputs:null),u=Dm(1,d.outputs,c,u,p);const g=null===l||null===s||xu(t)?null:R0(l,c,s);a.push(g)}null!==l&&(l.hasOwnProperty("class")&&(t.flags|=8),l.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=l,t.outputs=u}(e,n,i)}function Im(e,t,n){const r=n.directiveStart,o=n.directiveEnd,i=n.index,s=function rw(){return W.lFrame.currentDirectiveIndex}();try{Cr(i);for(let a=r;a<o;a++){const l=e.data[a],u=t[a];ic(a),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&w0(l,u)}}finally{Cr(-1),ic(s)}}function w0(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function id(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function S0(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Gt(t)&&(n[""]=e)}}function F0(e,t,n,r,o){e.data[r]=o;const i=o.factory||(o.factory=gr(o.type)),s=new wi(i,Gt(o),z);e.blueprint[r]=s,n[r]=s,function C0(e,t,n,r,o){const i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const a=~t.index;(function I0(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,$i(e,n,o.hostVars,Y),o)}function sd(e,t,n,r,o,i,s){if(null==i)e.removeAttribute(t,o,n);else{const a=null==s?X(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function P0(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;a<s.length;)mm(r,n,s[a++],s[a++],s[a++],s[a++])}function R0(e,t,n){let r=null,o=0;for(;o<n.length;){const i=n[o];if(0!==i)if(5!==i){if("number"==typeof i)break;if(e.hasOwnProperty(i)){null===r&&(r=[]);const s=e[i];for(let a=0;a<s.length;a+=3)if(s[a]===t){r.push(i,s[a+1],s[a+2],n[o+1]);break}}o+=2}else o+=2;else o+=4}return r}function Tm(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function wm(e,t){const n=e.contentQueries;if(null!==n){const r=ee(null);try{for(let o=0;o<n.length;o+=2){const s=n[o+1];if(-1!==s){const a=e.data[s];ra(n[o]),a.contentQueries(2,t[s],s)}}}finally{ee(r)}}}function xa(e,t){return e[mi]?e[_p][Ht]=t:e[mi]=t,e[_p]=t,t}function ad(e,t,n){ra(0);const r=ee(null);try{t(e,n)}finally{ee(r)}}function ka(e,t){const n=e[Je],r=n?n.get(un,null):null;r&&r.handleError(t)}function ld(e,t,n,r,o){for(let i=0;i<n.length;){const s=n[i++],a=n[i++],l=n[i++];mm(e.data[s],t[s],r,a,l,o)}}function On(e,t,n){const r=Di(t,e);em(e[Z],r,n)}function O0(e,t){const n=bt(t,e),r=n[S];!function x0(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const o=n[Fe];null!==o&&null===n[wt]&&(n[wt]=Nc(o,n[Je])),ud(r,n,n[Ce])}function ud(e,t,n){lc(t);try{const r=e.viewQuery;null!==r&&ad(1,r,n);const o=e.template;null!==o&&_m(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Fn]?.finishViewCreation(e),e.staticContentQueries&&wm(e,t),e.staticViewQueries&&ad(2,e.viewQuery,n);const i=e.components;null!==i&&function k0(e,t){for(let n=0;n<t.length;n++)O0(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[L]&=-5,uc()}}function wo(e,t){return!t||null===t.firstChild||pa(e)}function Vi(e,t,n,r=!0){const o=t[S];if(function Yb(e,t,n,r){const o=Oe+r,i=n.length;r>0&&(n[o-1][Ht]=t),r<i-Oe?(t[Ht]=n[o],Yh(n,Oe+r,t)):(n.push(t),t[Ht]=null),t[Re]=n;const s=t[_i];null!==s&&n!==s&&function Jb(e,t){const n=e[uo];t[Pe]!==t[Re][Re][Pe]&&(e[L]|=Qu.HasTransplantedViews),null===n?e[uo]=[t]:n.push(t)}(s,t);const a=t[Fn];null!==a&&a.insertView(e),tc(t),t[L]|=128}(o,t,e,n),r){const s=Kc(n,e),a=t[Z],l=Aa(a,e[nn]);null!==l&&function Xb(e,t,n,r,o,i){r[Fe]=o,r[nt]=t,Ra(e,r,n,1,o,i)}(o,e[nt],a,t,l,s)}const i=t[wt];null!==i&&null!==i.firstChild&&(i.firstChild=null)}function Ui(e,t,n,r,o=!1){for(;null!==n;){const i=t[n.index];null!==i&&r.push(me(i)),ot(i)&&Fm(i,r);const s=n.type;if(8&s)Ui(e,t,n.child,r);else if(32&s){const a=Gc(n,t);let l;for(;l=a();)r.push(l)}else if(16&s){const a=cm(t,n);if(Array.isArray(a))r.push(...a);else{const l=Er(t[Pe]);Ui(l[S],l,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Fm(e,t){for(let n=Oe;n<e.length;n++){const r=e[n],o=r[S].firstChild;null!==o&&Ui(r[S],r,o,t)}e[nn]!==e[Fe]&&t.push(e[nn])}let Am=[];const V0={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Ci(e.lView)},consumerOnSignalRead(){this.lView[vr]=this}};function Pm(e){return Om(e[mi])}function Rm(e){return Om(e[Ht])}function Om(e){for(;null!==e&&!ot(e);)e=e[Ht];return e}const xm=100;function La(e,t=!0,n=0){const r=e[zt],o=r.rendererFactory;o.begin?.();try{!function H0(e,t){dd(e,t);let n=0;for(;ec(e);){if(n===xm)throw new N(103,!1);n++,dd(e,1)}}(e,n)}catch(s){throw t&&ka(e,s),s}finally{o.end?.(),r.inlineEffectRunner?.flush()}}function z0(e,t,n,r){const o=t[L];if(!(256&~o))return;t[zt].inlineEffectRunner?.flush(),lc(t);let s=null,a=null;(function G0(e){return 2!==e.type})(e)&&(a=function L0(e){return e[vr]??function $0(e){const t=Am.pop()??Object.create(V0);return t.lView=e,t}(e)}(t),s=function ri(e){return e&&(e.nextProducerIndex=0),ee(e)}(a));try{Fp(t),function kp(e){return W.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&_m(e,t,n,2,r);const l=!(3&~o);if(l){const d=e.preOrderCheckHooks;null!==d&&ia(t,d,null)}else{const d=e.preOrderHooks;null!==d&&sa(t,d,0,null),cc(t,0)}if(function Q0(e){for(let t=Pm(e);null!==t;t=Rm(t)){if(!(t[L]&Qu.HasTransplantedViews))continue;const n=t[uo];for(let r=0;r<n.length;r++){GT(n[r])}}}(t),km(t,0),null!==e.contentQueries&&wm(e,t),l){const d=e.contentCheckHooks;null!==d&&ia(t,d)}else{const d=e.contentHooks;null!==d&&sa(t,d,1),cc(t,1)}!function c0(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const o=n[r];if(o<0)Cr(~o);else{const i=o,s=n[++r],a=n[++r];nw(s,i),a(2,t[i])}}}finally{Cr(-1)}}(e,t);const u=e.components;null!==u&&$m(t,u,0);const c=e.viewQuery;if(null!==c&&ad(2,c,r),l){const d=e.viewCheckHooks;null!==d&&ia(t,d)}else{const d=e.viewHooks;null!==d&&sa(t,d,2),cc(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[Ys]){for(const d of t[Ys])d();t[Ys]=null}t[L]&=-73}catch(l){throw Ci(t),l}finally{null!==a&&(function oi(e,t){if(ee(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(fr(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)zn(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function j0(e){e.lView[vr]!==e&&(e.lView=null,Am.push(e))}(a)),uc()}}function km(e,t){for(let n=Pm(e);null!==n;n=Rm(n))for(let r=Oe;r<n.length;r++)Lm(n[r],t)}function q0(e,t,n){Lm(bt(t,e),n)}function Lm(e,t){Ju(e)&&dd(e,t)}function dd(e,t){const r=e[S],o=e[L],i=e[vr];let s=!!(0===t&&16&o);if(s||=!!(64&o&&0===t),s||=!!(1024&o),s||=!(!i?.dirty||!dr(i)),i&&(i.dirty=!1),e[L]&=-9217,s)z0(r,e,r.template,e[Ce]);else if(8192&o){km(e,1);const a=r.components;null!==a&&$m(e,a,1)}}function $m(e,t,n){for(let r=0;r<t.length;r++)q0(e,t[r],n)}function Bi(e){for(e[zt].changeDetectionScheduler?.notify();e;){e[L]|=64;const t=Er(e);if(Zu(e)&&!t)return e;e=t}return null}class Hi{get rootNodes(){const t=this._lView,n=t[S];return Ui(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Ce]}set context(t){this._lView[Ce]=t}get destroyed(){return!(256&~this._lView[L])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[Re];if(ot(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(xi(t,r),Us(n,r))}this._attachedToViewContainer=!1}Fa(this._lView[S],this._lView)}onDestroy(t){na(this._lView,t)}markForCheck(){Bi(this._cdRefInjectingView||this._lView)}detach(){this._lView[L]&=-129}reattach(){tc(this._lView),this._lView[L]|=128}detectChanges(){this._lView[L]|=1024,La(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new N(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,tm(this._lView[S],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new N(902,!1);this._appRef=t,tc(this._lView)}}let xn=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=X0}return e})();const Z0=xn,W0=class extends Z0{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const o=function ji(e,t,n,r){const o=ee(null);try{const i=t.tView,l=Oa(e,i,n,4096&e[L]?4096:16,null,t,null,null,null,r?.injector??null,r?.dehydratedView??null);l[_i]=e[t.index];const c=e[Fn];return null!==c&&(l[Fn]=c.createEmbeddedView(i)),ud(i,l,n),l}finally{ee(o)}}(this._declarationLView,this._declarationTContainer,t,{injector:n,dehydratedView:r});return new Hi(o)}};function X0(){return $a(pe(),E())}function $a(e,t){return 4&e.type?new W0(t,e,_o(e,t)):null}class _d{}class DM{}class Gm{}class CM{resolveComponentFactory(t){throw function EM(e){const t=Error(`No component factory found for ${Be(e)}.`);return t.ngComponent=e,t}(t)}}let Mo=(()=>{class e{static#e=this.NULL=new CM}return e})();class qm{}let Zm=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function IM(){const e=E(),n=bt(pe().index,e);return(rt(n)?n:e)[Z]}()}return e})(),TM=(()=>{class e{static#e=this.\u0275prov=q({token:e,providedIn:"root",factory:()=>null})}return e})();const yd={};function Xm(...e){}class ye{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new et(!1),this.onMicrotaskEmpty=new et(!1),this.onStable=new et(!1),this.onError=new et(!1),typeof Zone>"u")throw new N(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function wM(){const e="function"==typeof de.requestAnimationFrame;let t=de[e?"requestAnimationFrame":"setTimeout"],n=de[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function SM(e){const t=()=>{!function MM(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(de,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Dd(e),e.isCheckStableRunning=!0,vd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Dd(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(function NM(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return n.invokeTask(o,i,s,a);try{return Km(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Ym(e)}},onInvoke:(n,r,o,i,s,a,l)=>{try{return Km(e),n.invoke(o,i,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),Ym(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Dd(e),vd(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ye.isInAngularZone())throw new N(909,!1)}static assertNotInAngularZone(){if(ye.isInAngularZone())throw new N(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,bM,Xm,Xm);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const bM={};function vd(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Dd(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Km(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ym(e){e._nesting--,vd(e)}class Jm{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new et,this.onMicrotaskEmpty=new et,this.onStable=new et,this.onError=new et}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}let Zi=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const r of n)r()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=q({token:e,providedIn:"root",factory:()=>new e})}return e})();function za(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?i=a:1==i?o=gu(o,a):2==i&&(r=gu(r,a+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}class i_ extends Mo{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=ne(t);return new Ki(n,this.ngModule)}}function s_(e){const t=[];for(const n in e){if(!e.hasOwnProperty(n))continue;const r=e[n];void 0!==r&&t.push({propName:Array.isArray(r)?r[0]:r,templateName:n})}return t}class kM{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Vs(r);const o=this.injector.get(t,yd,r);return o!==yd||n===yd?o:this.parentInjector.get(t,n,r)}}class Ki extends Gm{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=s_(t.inputs);if(null!==n)for(const o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return s_(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function cT(e){return e.map(uT).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){const i=ee(null);try{let s=(o=o||this.ngModule)instanceof Bt?o:o?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const a=s?new kM(t,s):t,l=a.get(qm,null);if(null===l)throw new N(407,!1);const u=a.get(TM,null),f={rendererFactory:l,sanitizer:u,inlineEffectRunner:null,afterRenderEventManager:a.get(Zi,null),changeDetectionScheduler:a.get(_d,null)},h=l.createRenderer(null,this.componentDef),p=this.componentDef.selectors[0][0]||"div",g=r?function f0(e,t,n,r){const i=r.get(Ig,!1)||n===Vt.ShadowDom,s=e.selectRootElement(t,i);return function h0(e){vm(e)}(s),s}(h,r,this.componentDef.encapsulation,a):Na(h,p,function xM(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(p));let _=512;this.componentDef.signals?_|=4096:this.componentDef.onPush||(_|=16);let C=null;null!==g&&(C=Nc(g,a,!0));const D=rd(0,null,null,1,0,null,null,null,null,null,null),F=Oa(null,D,null,_,null,null,f,h,a,null,C);let U,J;lc(F);try{const ie=this.componentDef;let $e,jt=null;ie.findHostDirectiveDefs?($e=[],jt=new Map,ie.findHostDirectiveDefs(ie,$e,jt),$e.push(ie)):$e=[ie];const bs=function $M(e,t){const n=e[S],r=K;return e[r]=t,To(n,r,2,"#host",null)}(F,g),Kl=function jM(e,t,n,r,o,i,s){const a=o[S];!function VM(e,t,n,r){for(const o of e)t.mergedAttrs=hi(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(za(t,t.mergedAttrs,!0),null!==n&&pm(r,n,t))}(r,e,t,s);let l=null;null!==t&&(l=Nc(t,o[Je]));const u=i.rendererFactory.createRenderer(t,n);let c=16;n.signals?c=4096:n.onPush&&(c=64);const d=Oa(o,ym(n),null,c,o[e.index],e,i,u,null,null,l);return a.firstCreatePass&&id(a,e,r.length-1),xa(o,d),o[e.index]=d}(bs,g,ie,$e,F,f,h);J=Ei(D,K),g&&function BM(e,t,n,r){if(r)Ou(e,n,["ng-version","17.3.0"]);else{const{attrs:o,classes:i}=function dT(e){const t=[],n=[];let r=1,o=2;for(;r<e.length;){let i=e[r];if("string"==typeof i)2===o?""!==i&&t.push(i,e[++r]):8===o&&n.push(i);else{if(!Ut(o))break;o=i}r++}return{attrs:t,classes:n}}(t.selectors[0]);o&&Ou(e,n,o),i&&i.length>0&&hm(e,n,i.join(" "))}}(h,ie,g,r),void 0!==n&&function HM(e,t,n){const r=e.projection=[];for(let o=0;o<t.length;o++){const i=n[o];r.push(null!=i?Array.from(i):null)}}(J,this.ngContentSelectors,n),U=function UM(e,t,n,r,o,i){const s=pe(),a=o[S],l=at(s,o);Cm(a,o,s,n,null,r);for(let c=0;c<n.length;c++)st(Ir(o,a,s.directiveStart+c,s),o);Im(a,o,s),l&&st(l,o);const u=Ir(o,a,s.directiveStart+s.componentOffset,s);if(e[Ce]=o[Ce]=u,null!==i)for(const c of i)c(u,t);return ed(a,s,o),u}(Kl,ie,$e,jt,F,[zM]),ud(D,F,null)}finally{uc()}return new LM(this.componentType,U,_o(J,F),F,J)}finally{ee(i)}}}class LM extends DM{constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new Hi(o,void 0,!1),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let o;if(null!==r&&(o=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const i=this._rootLView;ld(i[S],i,o,t,n),this.previousInputValues.set(t,n),Bi(bt(this._tNode.index,i))}}get injector(){return new Ge(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function zM(){const e=pe();oa(E()[S],e)}let pn=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=GM}return e})();function GM(){return function u_(e,t){let n;const r=t[e.index];return ot(r)?n=r:(n=Tm(r,t,null,e),t[e.index]=n,xa(t,n)),c_(n,t,e,r),new a_(n,e,t)}(pe(),E())}const QM=pn,a_=class extends QM{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return _o(this._hostTNode,this._hostLView)}get injector(){return new Ge(this._hostTNode,this._hostLView)}get parentInjector(){const t=ua(this._hostTNode,this._hostLView);if(fc(t)){const n=Mi(t,this._hostLView),r=bi(t);return new Ge(n[S].data[r+8],n)}return new Ge(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=l_(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Oe}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=t.createEmbeddedViewImpl(n||{},i,null);return this.insertImpl(a,o,wo(this._hostTNode,null)),a}createComponent(t,n,r,o,i){const s=t&&!function gi(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const p=n||{};a=p.index,r=p.injector,o=p.projectableNodes,i=p.environmentInjector||p.ngModuleRef}const l=s?t:new Ki(ne(t)),u=r||this.parentInjector;if(!i&&null==l.ngModule){const g=(s?u:this.parentInjector).get(Bt,null);g&&(i=g)}ne(l.componentType??{});const h=l.create(u,o,null,i);return this.insertImpl(h.hostView,a,wo(this._hostTNode,null)),h}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const o=t._lView;if(function zT(e){return ot(e[Re])}(o)){const a=this.indexOf(t);if(-1!==a)this.detach(a);else{const l=o[Re],u=new a_(l,l[nt],l[Re]);u.detach(u.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;return Vi(s,o,i,r),t.attachToViewContainerRef(),Yh(Td(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=l_(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=xi(this._lContainer,n);r&&(Us(Td(this._lContainer),n),Fa(r[S],r))}detach(t){const n=this._adjustIndex(t,-1),r=xi(this._lContainer,n);return r&&null!=Us(Td(this._lContainer),n)?new Hi(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function l_(e){return e[8]}function Td(e){return e[8]||(e[8]=[])}let c_=function f_(e,t,n,r){if(e[nn])return;let o;o=8&n.type?me(r):function qM(e,t){const n=e[Z],r=n.createComment(""),o=at(t,e);return Mr(n,Aa(n,o),r,function r0(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[nn]=o},wd=()=>!1;class Fr{}class TS{}class Od extends Fr{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new i_(this);const o=function tt(e,t){const n=e[Qh]||null;if(!n&&!0===t)throw new Error(`Type ${Be(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function St(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=lg(t,n,[{provide:Fr,useValue:this},{provide:Mo,useValue:this.componentFactoryResolver},...r],Be(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class xd extends TS{constructor(t){super(),this.moduleType=t}create(t){return new Od(this.moduleType,t,[])}}let Ar=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new SI(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Za(e){return!!kd(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function kd(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function gn(e,t,n){return e[t]=n}function xe(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Pr(e,t,n,r){const o=xe(e,t,n);return xe(e,t+1,r)||o}function te(e,t,n,r,o,i,s,a){const l=E(),u=re(),c=e+K,d=u.firstCreatePass?function PS(e,t,n,r,o,i,s,a,l){const u=t.consts,c=To(t,e,4,s||null,on(u,a));od(t,n,c,on(u,l)),oa(t,c);const d=c.tView=rd(2,c,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u,null);return null!==t.queries&&(t.queries.template(t,c),d.queries=t.queries.embeddedTView(c)),c}(c,u,l,t,n,r,o,i,s):u.data[c];sn(d,!1);const f=V_(u,l,d,e);Ti()&&Pa(u,l,f,d),st(f,l);const h=Tm(f,l,f,d);return l[c]=h,xa(l,h),function d_(e,t,n){return wd(e,t,n)}(h,d,l),ea(d)&&td(u,l,d),null!=s&&nd(l,d,a),te}let V_=function U_(e,t,n,r){return an(!0),t[Z].createComment("")};function ut(e,t,n,r){const o=E();return xe(o,Qt(),t)&&(re(),function fn(e,t,n,r,o,i){const s=at(e,t);sd(t[Z],s,i,e.value,n,r,o)}(Ie(),o,e,t,n,r)),ut}function ko(e,t,n,r){return xe(e,Qt(),n)?t+X(n)+r:Y}function Lo(e,t,n,r,o,i){const a=Pr(e,An(),n,o);return function Pn(e){const t=W.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2),a?t+X(n)+r+X(o)+i:Y}function T(e,t,n){const r=E();return xe(r,Qt(),t)&&vt(re(),Ie(),r,e,t,r[Z],n,!1),T}function Wd(e,t,n,r,o){const s=o?"class":"style";ld(e,n,t.inputs[s],s,r)}function b(e,t,n,r){const o=E(),i=re(),s=K+e,a=o[Z],l=i.firstCreatePass?function t1(e,t,n,r,o,i){const s=t.consts,l=To(t,e,2,r,on(s,o));return od(t,n,l,on(s,i)),null!==l.attrs&&za(l,l.attrs,!1),null!==l.mergedAttrs&&za(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(s,i,o,t,n,r):i.data[s],u=ky(i,o,l,a,t,e);o[s]=u;const c=ea(l);return sn(l,!0),pm(a,u,l),!function es(e){return!(32&~e.flags)}(l)&&Ti()&&Pa(i,o,u,l),0===function QT(){return W.lFrame.elementDepthCount}()&&st(u,o),function qT(){W.lFrame.elementDepthCount++}(),c&&(td(i,o,l),ed(i,l,o)),null!==r&&nd(o,l),b}function w(){let e=pe();rc()?oc():(e=e.parent,sn(e,!1));const t=e;(function WT(e){return W.skipHydrationRootTNode===e})(t)&&function JT(){W.skipHydrationRootTNode=null}(),function ZT(){W.lFrame.elementDepthCount--}();const n=re();return n.firstCreatePass&&(oa(n,e),qu(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function pw(e){return!!(8&e.flags)}(t)&&Wd(n,t,E(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function gw(e){return!!(16&e.flags)}(t)&&Wd(n,t,E(),t.stylesWithoutHost,!1),w}function k(e,t,n,r){return b(e,t,n,r),w(),k}let ky=(e,t,n,r,o,i)=>(an(!0),Na(r,o,function Hp(){return W.lFrame.currentNamespace}()));function xr(e,t,n){const r=E(),o=re(),i=e+K,s=o.firstCreatePass?function o1(e,t,n,r,o){const i=t.consts,s=on(i,r),a=To(t,e,8,"ng-container",s);return null!==s&&za(a,s,!0),od(t,n,a,on(i,o)),null!==t.queries&&t.queries.elementStart(t,a),a}(i,o,r,t,n):o.data[i];sn(s,!0);const a=Ly(o,r,s,e);return r[i]=a,Ti()&&Pa(o,r,a,s),st(a,r),ea(s)&&(td(o,r,s),ed(o,s,r)),null!=n&&nd(r,s),xr}function kr(){let e=pe();const t=re();return rc()?oc():(e=e.parent,sn(e,!1)),t.firstCreatePass&&(oa(t,e),qu(e)&&t.queries.elementEnd(e)),kr}function nr(e,t,n){return xr(e,t,n),kr(),nr}let Ly=(e,t,n,r)=>(an(!0),qc(t[Z],""));function Xe(){return E()}const Lr=void 0;var l1=["en",[["a","p"],["AM","PM"],Lr],[["AM","PM"],Lr,Lr],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Lr,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Lr,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Lr,"{1} 'at' {0}",Lr],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function a1(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Go={};function ct(e){const t=function u1(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Uy(t);if(n)return n;const r=t.split("-")[0];if(n=Uy(r),n)return n;if("en"===r)return l1;throw new N(701,!1)}function Uy(e){return e in Go||(Go[e]=de.ng&&de.ng.common&&de.ng.common.locales&&de.ng.common.locales[e]),Go[e]}var Te=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Te||{});const c1=["zero","one","two","few","many"],Qo="en-US",rl={marker:"element"},ol={marker:"ICU"};var Dt=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(Dt||{});let By=Qo;function zy(e,t,n){const r=t.insertBeforeIndex,o=Array.isArray(r)?r[0]:r;return null===o?am(e,0,n):me(n[o])}function Gy(e,t,n,r,o){const i=t.insertBeforeIndex;if(Array.isArray(i)){let s=r,a=null;if(3&t.type||(a=s,s=o),null!==s&&-1===t.componentOffset)for(let l=1;l<i.length;l++)Mr(e,s,n[i[l]],a,!1)}}function Qy(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){const r=e[n];qy(r)||p1(r,t)&&null===g1(r)&&m1(r,t.index)}}function qy(e){return!(64&e.type)}function p1(e,t){return qy(t)||e.index>t.index}function g1(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function m1(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(um(zy,Gy),e.insertBeforeIndex=t)}function is(e,t){const n=e.data[t];return null===n||"string"==typeof n?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function v1(e,t,n){const r=Jc(e,n,64,null,null);return Qy(t,r),r}function il(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}function Zy(e){return e>>>17}function Wy(e){return(131070&e)>>>1}let ss=0,as=0;let ls=(e,t,n,r)=>(an(!0),function Ky(e,t,n){const r=e[Z];switch(n){case Node.COMMENT_NODE:return qc(r,t);case Node.TEXT_NODE:return Qc(r,t);case Node.ELEMENT_NODE:return Na(r,t,null)}}(e,n,r));function Yy(e,t,n,r){const o=n[Z];let s,i=null;for(let a=0;a<t.length;a++){const l=t[a];if("string"==typeof l){const u=t[++a];null===n[u]&&(n[u]=ls(n,u,l,Node.TEXT_NODE))}else if("number"==typeof l)switch(1&l){case 0:const u=Zy(l);let c,d;if(null===i&&(i=u,s=Aa(o,r)),u===i?(c=r,d=s):(c=null,d=me(n[u])),null!==d){const g=Wy(l);Mr(o,d,n[g],c,!1);const C=is(e,g);if(null!==C&&"object"==typeof C){const D=il(C,n);null!==D&&Yy(e,C.create[D],n,n[C.anchorIdx])}}break;case 1:const h=t[++a],p=t[++a];sd(o,Di(l>>>1,n),null,null,h,p,null)}else switch(l){case ol:const u=t[++a],c=t[++a];null===n[c]&&st(n[c]=ls(n,c,u,Node.COMMENT_NODE),n);break;case rl:const d=t[++a],f=t[++a];null===n[f]&&st(n[f]=ls(n,f,d,Node.ELEMENT_NODE),n)}}}function Jy(e,t,n,r,o){for(let i=0;i<n.length;i++){const s=n[i],a=n[++i];if(s&o){let l="";for(let u=i+1;u<=i+a;u++){const c=n[u];if("string"==typeof c)l+=c;else if("number"==typeof c)if(c<0)l+=X(t[r-c]);else{const d=c>>>2;switch(3&c){case 1:const f=n[++u],h=n[++u],p=e.data[d];"string"==typeof p?sd(t[Z],t[d],null,p,f,l,h):vt(e,p,t,f,l,t[Z],h,!1);break;case 0:const g=t[d];null!==g&&em(t[Z],g,l);break;case 2:b1(e,is(e,d),t,l);break;case 3:ev(e,is(e,d),r,t)}}}}else{const l=n[i+1];if(l>0&&!(3&~l)){const c=is(e,l>>>2);t[c.currentCaseLViewIndex]<0&&ev(e,c,r,t)}}i+=a}}function ev(e,t,n,r){let o=r[t.currentCaseLViewIndex];if(null!==o){let i=ss;o<0&&(o=r[t.currentCaseLViewIndex]=~o,i=-1),Jy(e,r,t.update[o],n,i)}}function b1(e,t,n,r){const o=function M1(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const r=function d1(e,t){const n=function Vy(e){return ct(e)[Te.PluralCase]}(t)(parseInt(e,10)),r=c1[n];return void 0!==r?r:"other"}(t,function h1(){return By}());n=e.cases.indexOf(r),-1===n&&"other"!==r&&(n=e.cases.indexOf("other"));break}case 0:n=e.cases.indexOf("other")}return-1===n?null:n}(t,r);if(il(t,n)!==o&&(tv(e,t,n),n[t.currentCaseLViewIndex]=null===o?null:~o,null!==o)){const s=n[t.anchorIdx];s&&Yy(e,t.create[o],n,s)}}function tv(e,t,n){let r=il(t,n);if(null!==r){const o=t.remove[r];for(let i=0;i<o.length;i++){const s=o[i];if(s>0){const a=Di(s,n);null!==a&&Li(n[Z],a)}else tv(e,is(e,~s),n)}}}function S1(){const e=[];let n,r,t=-1;function i(a,l){t=0;const u=il(a,l);r=null!==u?a.remove[u]:se}function s(){if(t<r.length){const a=r[t++];return a>0?n[a]:(e.push(t,r),i(n[S].data[~a],n),s())}return 0===e.length?null:(r=e.pop(),t=e.pop(),s())}return function o(a,l){for(n=l;e.length;)e.pop();return i(a.value,l),s}}const sl=/\ufffd(\d+):?\d*\ufffd/gi,N1=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,F1=/\ufffd(\d+)\ufffd/,rv=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,us="\ufffd",A1=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,P1=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,R1=/\uE500/g;function ov(e,t,n,r,o,i,s){const a=$i(e,r,1,null);let l=a<<Dt.SHIFT,u=Ii();t===u&&(u=null),null===u&&(l|=Dt.APPEND_EAGERLY),s&&(l|=Dt.COMMENT,function Zb(e){void 0===zc&&(zc=e())}(S1)),o.push(l,null===i?"":i);const c=Jc(e,a,s?32:1,null===i?"":i,null);Qy(n,c);const d=c.index;return sn(c,!1),null!==u&&t!==u&&function y1(e,t){let n=e.insertBeforeIndex;null===n?(um(zy,Gy),n=e.insertBeforeIndex=[null,t]):(Gn(Array.isArray(n),!0,"Expecting array here"),n.push(t))}(u,d),c}function k1(e,t,n,r,o,i,s,a){const l=a.match(sl),c=ov(t,n,r,s,o,l?null:a,!1).index;l&&cs(i,a,c,null,0,null),e.push({kind:0,index:c})}function cs(e,t,n,r,o,i){const s=e.length,a=s+1;e.push(null,null);const l=s+2,u=t.split(sl);let c=0;for(let d=0;d<u.length;d++){const f=u[d];if(1&d){const h=o+parseInt(f,10);e.push(-1-h),c|=iv(h)}else""!==f&&e.push(f)}return e.push(n<<2|(r?1:0)),r&&e.push(r,i),e[s]=c,e[a]=e.length-l,c}function $1(e){let t=0;for(let n=0;n<e.length;n++){const r=e[n];"number"==typeof r&&r<0&&t++}return t}function iv(e){return 1<<Math.min(e,31)}function sv(e){let t,i,n="",r=0,o=!1;for(;null!==(t=A1.exec(e));)o?t[0]===`${us}/*${i}${us}`&&(r=t.index,o=!1):(n+=e.substring(r,t.index+t[0].length),i=t[1],o=!0);return n+=e.slice(r),n}function av(e,t,n,r,o,i,s){let a=0;const l={type:i.type,currentCaseLViewIndex:$i(t,n,1,null),anchorIdx:s,cases:[],create:[],remove:[],update:[]};(function z1(e,t,n){e.push(iv(t.mainBinding),2,-1-t.mainBinding,n<<2|2)})(r,i,s),function _1(e,t,n){const r=e.data[t];null===r?e.data[t]=n:r.value=n}(t,s,l);const u=i.values,c=[];for(let d=0;d<u.length;d++){const f=u[d],h=[];for(let g=0;g<f.length;g++){const _=f[g];if("string"!=typeof _){const C=h.push(_)-1;f[g]=`\x3c!--\ufffd${C}\ufffd--\x3e`}}const p=[];c.push(p),a=B1(p,t,l,n,r,o,i.cases[d],f.join(""),h)|a}a&&function G1(e,t,n){e.push(t,1,n<<2|3)}(r,a,s),e.push({kind:3,index:s,cases:c,currentCaseLViewIndex:l.currentCaseLViewIndex})}function U1(e){const t=[],n=[];let r=1,o=0;const i=tf(e=e.replace(rv,function(s,a,l){return r="select"===l?0:1,o=parseInt(a.slice(1),10),""}));for(let s=0;s<i.length;){let a=i[s++].trim();1===r&&(a=a.replace(/\s*(?:=)?(\w+)\s*/,"$1")),a.length&&t.push(a);const l=tf(i[s++]);t.length>n.length&&n.push(l)}return{type:r,mainBinding:o,cases:t,values:n}}function tf(e){if(!e)return[];let t=0;const n=[],r=[],o=/[{}]/g;let i;for(o.lastIndex=0;i=o.exec(e);){const a=i.index;if("}"==i[0]){if(n.pop(),0==n.length){const l=e.substring(t,a);rv.test(l)?r.push(U1(l)):r.push(l),t=a+1}}else{if(0==n.length){const l=e.substring(t,a);r.push(l),t=a+1}n.push("{")}}const s=e.substring(t);return r.push(s),r}function B1(e,t,n,r,o,i,s,a,l){const u=[],c=[],d=[];n.cases.push(s),n.create.push(u),n.remove.push(c),n.update.push(d);const h=Sg(Xn()).getInertBodyElement(a),p=Lc(h)||h;return p?lv(e,t,n,r,o,u,c,d,p,i,l,0):0}function lv(e,t,n,r,o,i,s,a,l,u,c,d){let f=0,h=l.firstChild;for(;h;){const p=$i(t,r,1,null);switch(h.nodeType){case Node.ELEMENT_NODE:const g=h,_=g.tagName.toLowerCase();if(xc.hasOwnProperty(_)){nf(i,rl,_,u,p),t.data[p]=_;const U=g.attributes;for(let ie=0;ie<U.length;ie++){const $e=U.item(ie),jt=$e.name.toLowerCase();$e.value.match(sl)?Pg.hasOwnProperty(jt)&&cs(a,$e.value,p,$e.name,0,kc[jt]?wa:null):Q1(i,p,$e)}const J={kind:1,index:p,children:[]};e.push(J),f=lv(J.children,t,n,r,o,i,s,a,h,p,c,d+1)|f,uv(s,p,d)}break;case Node.TEXT_NODE:const C=h.textContent||"",D=C.match(sl);nf(i,null,D?"":C,u,p),uv(s,p,d),D&&(f=cs(a,C,p,null,0,null)|f),e.push({kind:0,index:p});break;case Node.COMMENT_NODE:const F=F1.exec(h.textContent||"");if(F){const J=c[parseInt(F[1],10)];nf(i,ol,"",u,p),av(e,t,r,o,u,J,p),H1(s,p,d)}}h=h.nextSibling}return f}function uv(e,t,n){0===n&&e.push(t)}function H1(e,t,n){0===n&&(e.push(~t),e.push(t))}function nf(e,t,n,r,o){null!==t&&e.push(t),e.push(n,o,function D1(e,t,n){return e|t<<17|n<<1}(0,r,o))}function Q1(e,t,n){e.push(t<<1|1,n.name,n.value)}const q1=/\[(\ufffd.+?\ufffd?)\]/,Z1=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,W1=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,X1=/{([A-Z0-9_]+)}/g,K1=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,Y1=/\/\*/,J1=/\d+\:(\d+)/;function kn(e,t,n=-1){const r=re(),o=E(),i=K+e,s=on(r.consts,t),a=Ii();r.firstCreatePass&&function x1(e,t,n,r,o,i){const s=Ii(),a=[],l=[],u=[[]],c=[[]];o=function V1(e,t){if(function j1(e){return-1===e}(t))return sv(e);{const n=e.indexOf(`:${t}${us}`)+2+t.toString().length,r=e.search(new RegExp(`${us}\\/\\*\\d+:${t}${us}`));return sv(e.substring(n,r))}}(o,i);const d=function O1(e){return e.replace(R1," ")}(o).split(P1);for(let f=0;f<d.length;f++){let h=d[f];if(1&f){const p=47===h.charCodeAt(0),g=h.charCodeAt(p?1:0),_=K+Number.parseInt(h.substring(p?2:1));if(p)u.shift(),c.shift(),sn(Ii(),!1);else{const C=v1(e,u[0],_);u.unshift([]),sn(C,!0);const D={kind:2,index:_,children:[],type:35===g?0:1};c[0].push(D),c.unshift(D.children)}}else{const p=tf(h);for(let g=0;g<p.length;g++){let _=p[g];if(1&g){const C=_;if("object"!=typeof C)throw new Error(`Unable to parse ICU expression in "${o}" message.`);const F=ov(e,s,u[0],n,a,"",!0).index;av(c[0],e,n,l,t,C,F)}else""!==_&&k1(c[0],e,s,u[0],a,l,n,_)}}}e.data[r]={create:a,update:l,ast:c[0]}}(r,null===a?0:a.index,o,i,s,n),2===r.type?o[Pe][L]|=32:o[L]|=32;const l=r.data[i],c=rm(r,a===o[nt]?null:a,o);(function w1(e,t,n,r){const o=e[Z];for(let i=0;i<t.length;i++){const s=t[i++],u=(s&Dt.APPEND_EAGERLY)===Dt.APPEND_EAGERLY,c=s>>>Dt.SHIFT;let d=e[c],f=!1;null===d&&(d=e[c]=ls(e,c,t[i],(s&Dt.COMMENT)===Dt.COMMENT?Node.COMMENT_NODE:Node.TEXT_NODE),f=Ti()),u&&null!==n&&f&&Mr(o,n,d,r,!1)}})(o,l.create,c,a&&8&a.type?o[a.index]:null),Lp(!0)}function Ln(){Lp(!1)}function ae(e,t,n){kn(e,t,n),Ln()}function Ft(e,t){const n=re(),r=on(n.consts,t);!function L1(e,t,n){const o=pe().index,i=[];if(e.firstCreatePass&&null===e.data[t]){for(let s=0;s<n.length;s+=2){const a=n[s],l=n[s+1];if(""!==l){if(N1.test(l))throw new Error(`ICU expressions are not supported in attributes. Message: "${l}".`);cs(i,l,o,a,$1(i),null)}}e.data[t]=i}}(n,e+K,r)}function V(e){return function E1(e){e&&(ss|=1<<Math.min(as,31)),as++}(xe(E(),Qt(),e)),V}function H(e){!function C1(e,t,n){if(as>0){const r=e.data[n];Jy(e,t,Array.isArray(r)?r:r.update,An()-as-1,ss)}ss=0,as=0}(re(),E(),e+K)}function ve(e,t,n,r){const o=E(),i=re(),s=pe();return function rf(e,t,n,r,o,i,s){const a=ea(r),u=e.firstCreatePass&&function Mm(e){return e.cleanup||(e.cleanup=[])}(e),c=t[Ce],d=function bm(e){return e[so]||(e[so]=[])}(t);let f=!0;if(3&r.type||s){const g=at(r,t),_=s?s(g):g,C=d.length,D=s?U=>s(me(U[r.index])):r.index;let F=null;if(!s&&a&&(F=function tF(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;i<o.length-1;i+=2){const s=o[i];if(s===n&&o[i+1]===r){const a=t[so],l=o[i+2];return a.length>l?a[l]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==F)(F.__ngLastListenerFn__||F).__ngNextListenerFn__=i,F.__ngLastListenerFn__=i,f=!1;else{i=pv(r,t,c,i,!1);const U=n.listen(_,o,i);d.push(i,U),u&&u.push(o,D,C,C+1)}}else i=pv(r,t,c,i,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[o])){const g=p.length;if(g)for(let _=0;_<g;_+=2){const J=t[p[_]][p[_+1]].subscribe(i),ie=d.length;d.push(i,J),u&&u.push(o,r.index,ie,-(ie+1))}}}(i,o,o[Z],s,e,t,r),ve}function hv(e,t,n,r){const o=ee(null);try{return rn(6,t,n),!1!==n(r)}catch(i){return ka(e,i),!1}finally{rn(7,t,n),ee(o)}}function pv(e,t,n,r,o){return function i(s){if(s===Function)return r;Bi(e.componentOffset>-1?bt(e.index,t):t);let l=hv(t,n,r,s),u=i.__ngNextListenerFn__;for(;u;)l=hv(t,n,u,s)&&l,u=u.__ngNextListenerFn__;return o&&!1===l&&s.preventDefault(),l}}function R(e=1){return function iw(e){return(W.lFrame.contextLView=function Ap(e,t){for(;e>0;)t=t[ao],e--;return t}(e,W.lFrame.contextLView))[Ce]}(e)}function al(e,t,n){return sf(e,"",t,"",n),al}function sf(e,t,n,r,o){const i=E(),s=ko(i,t,n,r);return s!==Y&&vt(re(),Ie(),i,e,s,i[Z],o,!1),sf}function $r(e){return co(function ew(){return W.lFrame.contextLView}(),K+e)}function Ne(e,t=""){const n=E(),r=re(),o=e+K,i=r.firstCreatePass?To(r,o,1,t,null):r.data[o],s=Pv(r,n,i,t,e);n[o]=s,Ti()&&Pa(r,n,s,i),sn(i,!1)}let Pv=(e,t,n,r,o)=>(an(!0),Qc(t[Z],r));function At(e){return dt("",e,""),At}function dt(e,t,n){const r=E(),o=ko(r,e,t,n);return o!==Y&&On(r,it(),o),dt}function af(e,t,n,r,o){const i=E(),s=Lo(i,e,t,n,r,o);return s!==Y&&On(i,it(),s),af}function lf(e,t,n,r,o){if(e=Q(e),Array.isArray(e))for(let i=0;i<e.length;i++)lf(e[i],t,n,r,o);else{const i=re(),s=E(),a=pe();let l=yr(e)?e:Q(e.provide);const u=pp(e),c=1048575&a.providerIndexes,d=a.directiveStart,f=a.providerIndexes>>20;if(yr(e)||!e.multi){const h=new wi(u,o,z),p=cf(l,t,o?c:c+f,d);-1===p?(gc(la(a,s),i,l),uf(i,e,t.length),t.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=cf(l,t,c+f,d),p=cf(l,t,c,c+f),_=p>=0&&n[p];if(o&&!_||!o&&!(h>=0&&n[h])){gc(la(a,s),i,l);const C=function SF(e,t,n,r,o){const i=new wi(e,n,z);return i.multi=[],i.index=t,i.componentProviders=0,Bv(i,o,r&&!n),i}(o?MF:bF,n.length,o,r,u);!o&&_&&(n[p].providerFactory=C),uf(i,e,t.length,0),t.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(C),s.push(C)}else uf(i,e,h>-1?h:p,Bv(n[o?p:h],u,!o&&r));!o&&r&&_&&n[p].componentProviders++}}}function uf(e,t,n,r){const o=yr(t),i=function yT(e){return!!e.useClass}(t);if(o||i){const l=(i?Q(t.useClass):t).prototype.ngOnDestroy;if(l){const u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const c=u.indexOf(n);-1===c?u.push(n,[r,l]):u[c+1].push(r,l)}else u.push(n,l)}}}function Bv(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function cf(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function bF(e,t,n,r){return df(this.multi,[])}function MF(e,t,n,r){const o=this.multi;let i;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=Ir(n,n[S],this.providerFactory.index,r);i=a.slice(0,s),df(o,i);for(let l=s;l<a.length;l++)i.push(a[l])}else i=[],df(o,i);return i}function df(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function Hv(e,t=[]){return n=>{n.providersResolver=(r,o)=>function wF(e,t,n){const r=re();if(r.firstCreatePass){const o=Gt(e);lf(n,r.data,r.blueprint,o,!0),lf(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}function rr(e,t,n,r){return eD(E(),lt(),e,t,n,r)}function ds(e,t){const n=e[t];return n===Y?void 0:n}function eD(e,t,n,r,o,i){const s=t+n;return xe(e,s,o)?gn(e,s+1,i?r.call(i,o):r(o)):ds(e,s+1)}function tD(e,t,n,r,o,i,s){const a=t+n;return Pr(e,a,o,i)?gn(e,a+2,s?r.call(s,o,i):r(o,i)):ds(e,a+2)}function A(e,t){const n=re();let r;const o=e+K;n.firstCreatePass?(r=function qF(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];const i=r.factory||(r.factory=gr(r.type)),a=gt(z);try{const l=aa(!1),u=i();return aa(l),function fF(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,E(),o,u),u}finally{gt(a)}}function P(e,t,n){const r=e+K,o=E(),i=co(o,r);return fs(o,r)?eD(o,lt(),t,i.transform,n,i):i.transform(n)}function qo(e,t,n,r){const o=e+K,i=E(),s=co(i,o);return fs(i,o)?tD(i,lt(),t,s.transform,n,r,s):s.transform(n,r)}function fs(e,t){return e[S].data[t].pure}function hf(e,t){return $a(e,t)}const TD=new x(""),fl=new x("");let Ef,vf=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Ef||(function zA(e){Ef=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ye.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n()},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(j(ye),j(Df),j(fl))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),Df=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Ef?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Cf(e){return!!e&&"function"==typeof e.then}function wD(e){return!!e&&"function"==typeof e.subscribe}const GA=new x("");let If=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=B(GA,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=o();if(Cf(i))n.push(i);else if(wD(i)){const s=new Promise((a,l)=>{i.subscribe({complete:a,error:l})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const bD=new x("");function ND(e,t){return Array.isArray(t)?t.reduce(ND,e):{...e,...t}}let or=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=B(cg),this.afterRenderEffectManager=B(Zi),this.externalTestViews=new Set,this.beforeRender=new pr,this.afterTick=new pr,this.componentTypes=[],this.components=[],this.isStable=B(Ar).hasPendingTasks.pipe(en(n=>!n)),this._injector=B(Bt)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof Gm;if(!this._injector.get(If).done)throw!o&&function _r(e){const t=ne(e)||He(e)||Ye(e);return null!==t&&t.standalone}(n),new N(405,!1);let s;s=o?n:this._injector.get(Mo).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function QA(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Fr),u=s.create(_t.NULL,[],r||s.selector,a),c=u.location.nativeElement,d=u.injector.get(TD,null);return d?.registerApplication(c),u.onDestroy(()=>{this.detachView(u.hostView),hl(this.components,u),d?.unregisterApplication(c)}),this._loadComponent(u),u}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new N(101,!1);const r=ee(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(o){this.internalErrorHandler(o)}finally{this.afterTick.next(),this._runningTick=!1,ee(r)}}detectChangesInAttachedViews(n){let r=0;const o=this.afterRenderEffectManager;for(;;){if(r===xm)throw new N(103,!1);if(n){const i=0===r;this.beforeRender.next(i);for(let{_lView:s,notifyErrorHandler:a}of this._views)ZA(s,i,a)}if(r++,o.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:i})=>Tf(i))&&(o.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:i})=>Tf(i))))break}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;hl(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(bD,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>hl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new N(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function hl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function ZA(e,t,n){!t&&!Tf(e)||function WA(e,t,n){let r;n?(r=0,e[L]|=1024):r=64&e[L]?0:1,La(e,t,r)}(e,n,t)}function Tf(e){return ec(e)}let JA=(()=>{class e{constructor(){this.zone=B(ye),this.applicationRef=B(or)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function eP(){const e=B(ye),t=B(un);return n=>e.runOutsideAngular(()=>t.handleError(n))}let nP=(()=>{class e{constructor(){this.subscription=new Ee,this.initialized=!1,this.zone=B(ye),this.pendingTasks=B(Ar)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ye.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ye.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const $n=new x("",{providedIn:"root",factory:()=>B($n,oe.Optional|oe.SkipSelf)||function rP(){return typeof $localize<"u"&&$localize.locale||Qo}()}),wf=new x("");let RD=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function FM(e="zone.js",t){return"noop"===e?new Jm:"zone.js"===e?new ye(t):e}(r?.ngZone,function PD(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=function bS(e,t,n){return new Od(e,t,n)}(n.moduleType,this.injector,function AD(e){return[{provide:ye,useFactory:e},{provide:no,multi:!0,useFactory:()=>{const t=B(JA,{optional:!0});return()=>t.initialize()}},{provide:no,multi:!0,useFactory:()=>{const t=B(nP);return()=>{t.initialize()}}},{provide:cg,useFactory:eP}]}(()=>o)),s=i.injector.get(un,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:l=>{s.handleError(l)}});i.onDestroy(()=>{hl(this._modules,i),a.unsubscribe()})}),function SD(e,t,n){try{const r=n();return Cf(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(s,o,()=>{const a=i.injector.get(If);return a.runInitializers(),a.donePromise.then(()=>(function Hy(e){"string"==typeof e&&(By=e.toLowerCase().replace(/_/g,"-"))}(i.injector.get($n,Qo)||Qo),this._moduleDoBootstrap(i),i))})})}bootstrapModule(n,r=[]){const o=ND({},r);return function YA(e,t,n){const r=new xd(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(or);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new N(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new N(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(wf,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(j(_t))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),ir=null;const OD=new x("");function xD(e,t,n=[]){const r=`Platform: ${t}`,o=new x(r);return(i=[])=>{let s=bf();if(!s||s.injector.get(OD,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function sP(e){if(ir&&!ir.get(OD,!1))throw new N(400,!1);(function MD(){!function iu(e){Ps=e}(()=>{throw new N(600,!1)})})(),ir=e;const t=e.get(RD);(function LD(e){e.get(gg,null)?.forEach(n=>n())})(e)}(function kD(e=[],t){return _t.create({name:t,providers:[{provide:ju,useValue:"platform"},{provide:wf,useValue:new Set([()=>ir=null])},...e]})}(a,r))}return function aP(e){const t=bf();if(!t)throw new N(401,!1);return t}()}}function bf(){return ir?.get(RD)??null}let jr=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=uP}return e})();function uP(e){return function cP(e,t,n){if(Dr(e)&&!n){const r=bt(e.index,t);return new Hi(r,r)}return 47&e.type?new Hi(t[Pe],t):null}(pe(),E(),!(16&~e))}class BD{constructor(){}supports(t){return Za(t)}create(t){return new gP(t)}}const pP=(e,t)=>t;class gP{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||pP}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex<zD(r,o,i)?n:r,a=zD(s,o,i),l=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,null==s.previousIndex)o++;else{i||(i=[]);const u=a-o,c=l-o;if(u!=c){for(let f=0;f<u;f++){const h=f<i.length?i[f]:i[f]=0,p=h+f;c<=p&&p<u&&(i[f]=h+1)}i[s.previousIndex]=c-u}}a!==l&&t(s,a,l)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Za(t))throw new N(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let o,i,s,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)):(n=this._mismatch(n,i,s,a),r=!0),n=n._next}else o=0,function FS(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,a=>{s=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new mP(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new HD),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new HD),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class mP{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class _P{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class HD{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new _P,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function zD(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}class GD{constructor(){}supports(t){return t instanceof Map||kd(t)}create(){return new yP}}class yP{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||kd(t)))throw new N(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}const r=new vP(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class vP{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function QD(){return new Af([new BD])}let Af=(()=>{class e{static#e=this.\u0275prov=q({token:e,providedIn:"root",factory:QD});constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||QD()),deps:[[e,new Fu,new Nu]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new N(901,!1)}}return e})();function qD(){return new _l([new GD])}let _l=(()=>{class e{static#e=this.\u0275prov=q({token:e,providedIn:"root",factory:qD});constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||qD()),deps:[[e,new Fu,new Nu]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new N(901,!1)}}return e})();const CP=xD(null,"core",[]);let IP=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(j(or))};static#t=this.\u0275mod=mr({type:e});static#n=this.\u0275inj=Qn({})}return e})(),mE=null;function Of(){return mE}class iR{}const yn=new x(""),_E={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var Il=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(Il||{});const Ve={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function kt(e,t){const n=ct(e),r=n[Te.NumberSymbols][t];if(typeof r>"u"){if(t===Ve.CurrencyDecimal)return n[Te.NumberSymbols][Ve.Decimal];if(t===Ve.CurrencyGroup)return n[Te.NumberSymbols][Ve.Group]}return r}const RR=/^(\d+)?\.((\d+)(-(\d+))?)?$/,IE=22,Rl=".",_s="0",OR=";",xR=",",jf="#";function wE(e,t,n,r,o){const s=function Uf(e,t="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(OR),o=r[0],i=r[1],s=-1!==o.indexOf(Rl)?o.split(Rl):[o.substring(0,o.lastIndexOf(_s)+1),o.substring(o.lastIndexOf(_s)+1)],a=s[0],l=s[1]||"";n.posPre=a.substring(0,a.indexOf(jf));for(let c=0;c<l.length;c++){const d=l.charAt(c);d===_s?n.minFrac=n.maxFrac=c+1:d===jf?n.maxFrac=c+1:n.posSuf+=d}const u=a.split(xR);if(n.gSize=u[1]?u[1].length:0,n.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,i){const c=o.length-n.posPre.length-n.posSuf.length,d=i.indexOf(jf);n.negPre=i.substring(0,d).replace(/'/g,""),n.negSuf=i.slice(d+c).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}(function xf(e,t){return ct(e)[Te.NumberFormats][t]}(t,Il.Currency),kt(t,Ve.MinusSign));return s.minFrac=function vR(e){let t;const n=_E[e];return n&&(t=n[2]),"number"==typeof t?t:2}(r),s.maxFrac=s.minFrac,function Vf(e,t,n,r,o,i,s=!1){let a="",l=!1;if(isFinite(e)){let u=function VR(e){let r,o,i,s,a,t=Math.abs(e)+"",n=0;for((o=t.indexOf(Rl))>-1&&(t=t.replace(Rl,"")),(i=t.search(/e/i))>0?(o<0&&(o=i),o+=+t.slice(i+1),t=t.substring(0,i)):o<0&&(o=t.length),i=0;t.charAt(i)===_s;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===_s;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>IE&&(r=r.splice(0,IE-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}(e);s&&(u=function jR(e){if(0===e.digits[0])return e;const t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2),e}(u));let c=t.minInt,d=t.minFrac,f=t.maxFrac;if(i){const D=i.match(RR);if(null===D)throw new Error(`${i} is not a valid digit info`);const F=D[1],U=D[3],J=D[5];null!=F&&(c=Bf(F)),null!=U&&(d=Bf(U)),null!=J?f=Bf(J):null!=U&&d>f&&(f=d)}!function UR(e,t,n){if(t>n)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${n}).`);let r=e.digits,o=r.length-e.integerLen;const i=Math.min(Math.max(t,o),n);let s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d<r.length;d++)r[d]=0}else{o=Math.max(0,o),e.integerLen=1,r.length=Math.max(1,s=i+1),r[0]=0;for(let d=1;d<s;d++)r[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o<Math.max(0,i);o++)r.push(0);let l=0!==i;const u=t+e.integerLen,c=r.reduceRight(function(d,f,h,p){return p[h]=(f+=d)<10?f:f-10,l&&(0===p[h]&&h>=u?p.pop():l=!1),f>=10?1:0},0);c&&(r.unshift(c),e.integerLen++)}(u,d,f);let h=u.digits,p=u.integerLen;const g=u.exponent;let _=[];for(l=h.every(D=>!D);p<c;p++)h.unshift(0);for(;p<0;p++)h.unshift(0);p>0?_=h.splice(p,h.length):(_=h,h=[0]);const C=[];for(h.length>=t.lgSize&&C.unshift(h.splice(-t.lgSize,h.length).join(""));h.length>t.gSize;)C.unshift(h.splice(-t.gSize,h.length).join(""));h.length&&C.unshift(h.join("")),a=C.join(kt(n,r)),_.length&&(a+=kt(n,o)+_.join("")),g&&(a+=kt(n,Ve.Exponential)+"+"+g)}else a=kt(n,Ve.Infinity);return a=e<0&&!l?t.negPre+a+t.negSuf:t.posPre+a+t.posSuf,a}(e,s,t,Ve.CurrencyGroup,Ve.CurrencyDecimal,o).replace("\xa4",n).replace("\xa4","").trim()}function Bf(e){const t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}function ME(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}const zf=/\s+/,SE=[];let Gf=(()=>{class e{constructor(n,r){this._ngEl=n,this._renderer=r,this.initialClasses=SE,this.stateMap=new Map}set klass(n){this.initialClasses=null!=n?n.trim().split(zf):SE}set ngClass(n){this.rawClass="string"==typeof n?n.trim().split(zf):n}ngDoCheck(){for(const r of this.initialClasses)this._updateState(r,!0);const n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(const r of n)this._updateState(r,!0);else if(null!=n)for(const r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){const o=this.stateMap.get(n);void 0!==o?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(const n of this.stateMap){const r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){(n=n.trim()).length>0&&n.split(zf).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static#e=this.\u0275fac=function(r){return new(r||e)(z(Tr),z(Zm))};static#t=this.\u0275dir=Rt({type:e,selectors:[["","ngClass",""]],inputs:{klass:[Zn.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return e})();class zR{constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let FE=(()=>{class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new zR(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===i?void 0:i);else if(null!==i){const a=r.get(i);r.move(a,s),AE(a,o)}});for(let o=0,i=r.length;o<i;o++){const a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{AE(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(z(pn),z(xn),z(Af))};static#t=this.\u0275dir=Rt({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function AE(e,t){e.context.$implicit=t.item}let Ol=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new GR,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){PE("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){PE("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(z(pn),z(xn))};static#t=this.\u0275dir=Rt({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class GR{constructor(){this.$implicit=null,this.ngIf=null}}function PE(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Be(t)}'.`)}let OE=(()=>{class e{constructor(n,r,o){this._ngEl=n,this._differs=r,this._renderer=o,this._ngStyle=null,this._differ=null}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){const n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,r){const[o,i]=n.split("."),s=-1===o.indexOf("-")?void 0:Yn.DashCase;null!=r?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static#e=this.\u0275fac=function(r){return new(r||e)(z(Tr),z(_l),z(Zm))};static#t=this.\u0275dir=Rt({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return e})(),Zf=(()=>{class e{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(this._shouldRecreateView(n)){const r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,r,o),get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static#e=this.\u0275fac=function(r){return new(r||e)(z(pn))};static#t=this.\u0275dir=Rt({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[ta]})}return e})(),kE=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=mr({type:e});static#n=this.\u0275inj=Qn({})}return e})();function $E(e){return"server"===e}class jE{}class WO extends iR{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Yf extends WO{static makeCurrent(){!function oR(e){mE??=e}(new Yf)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function XO(){return Ds=Ds||document.querySelector("base"),Ds?Ds.getAttribute("href"):null}();return null==n?null:function KO(e){return new URL(e,document.baseURI).pathname}(n)}resetBaseElement(){Ds=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return ME(document.cookie,t)}}let Ds=null,JO=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();const Jf=new x("");let ZE=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new N(5101,!1);return this._eventNameToPlugin.set(n,r),r}static#e=this.\u0275fac=function(r){return new(r||e)(j(Jf),j(ye))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();class WE{constructor(t){this._doc=t}}const eh="ng-app-id";let XE=(()=>{class e{constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=$E(i),this.resetHostNodes()}addStyles(n){for(const r of n)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(n){for(const r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(const r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){const r=this.styleRef;r.get(n)?.elements?.forEach(o=>o.remove()),r.delete(n)}collectServerRenderedStyles(){const n=this.doc.head?.querySelectorAll(`style[${eh}="${this.appId}"]`);if(n?.length){const r=new Map;return n.forEach(o=>{null!=o.textContent&&r.set(o.textContent,o)}),r}return null}changeUsageCount(n,r){const o=this.styleRef;if(o.has(n)){const i=o.get(n);return i.usage+=r,i.usage}return o.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){const o=this.styleNodesInDOM,i=o?.get(r);if(i?.parentNode===n)return o.delete(r),i.removeAttribute(eh),i;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(eh,this.appId),n.appendChild(s),s}}addStyleToHost(n,r){const o=this.getStyleElement(n,r),i=this.styleRef,s=i.get(r)?.elements;s?s.push(o):i.set(r,{elements:[o],usage:1})}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}static#e=this.\u0275fac=function(r){return new(r||e)(j(yn),j(ma),j(mg,8),j(wr))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();const th={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},nh=/%COMP%/g,rx=new x("",{providedIn:"root",factory:()=>!0});function YE(e,t){return t.map(n=>n.replace(nh,e))}let JE=(()=>{class e{constructor(n,r,o,i,s,a,l,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=$E(a),this.defaultRenderer=new rh(n,s,l,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Vt.ShadowDom&&(r={...r,encapsulation:Vt.Emulated});const o=this.getOrCreateRenderer(n,r);return o instanceof tC?o.applyToHost(n):o instanceof oh&&o.applyStyles(),o}getOrCreateRenderer(n,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.doc,a=this.ngZone,l=this.eventManager,u=this.sharedStylesHost,c=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case Vt.Emulated:i=new tC(l,u,r,this.appId,c,s,a,d);break;case Vt.ShadowDom:return new ax(l,u,n,r,s,a,this.nonce,d);default:i=new oh(l,u,r,c,s,a,d)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||e)(j(ZE),j(XE),j(ma),j(rx),j(yn),j(wr),j(ye),j(mg))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();class rh{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(th[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(eC(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(eC(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new N(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=th[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=th[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(Yn.DashCase|Yn.Important)?t.style.setProperty(n,r,o&Yn.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Yn.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){null!=t&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r){if("string"==typeof t&&!(t=Of().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))&&n.preventDefault()}}}function eC(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class ax extends rh{constructor(t,n,r,o,i,s,a,l){super(t,i,s,l),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const u=YE(o.id,o.styles);for(const c of u){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=c,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class oh extends rh{constructor(t,n,r,o,i,s,a,l){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=l?YE(l,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class tC extends oh{constructor(t,n,r,o,i,s,a,l){const u=o+"-"+r.id;super(t,n,r,i,s,a,l,u),this.contentAttr=function ox(e){return"_ngcontent-%COMP%".replace(nh,e)}(u),this.hostAttr=function ix(e){return"_nghost-%COMP%".replace(nh,e)}(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}let lx=(()=>{class e extends WE{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}static#e=this.\u0275fac=function(r){return new(r||e)(j(yn))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();const nC=["alt","control","meta","shift"],ux={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},cx={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let dx=(()=>{class e extends WE{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Of().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),nC.forEach(u=>{const c=r.indexOf(u);c>-1&&(r.splice(c,1),s+=u+".")}),s+=i,0!=r.length||0===i.length)return null;const l={};return l.domEventName=o,l.fullKey=s,l}static matchEventFullKeyCode(n,r){let o=ux[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),nC.forEach(s=>{s!==o&&(0,cx[s])(n)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}static#e=this.\u0275fac=function(r){return new(r||e)(j(yn))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();const gx=xD(CP,"browser",[{provide:wr,useValue:"browser"},{provide:gg,useValue:function fx(){Yf.makeCurrent()},multi:!0},{provide:yn,useFactory:function px(){return function Lw(e){Ec=e}(document),document},deps:[]}]),mx=new x(""),iC=[{provide:fl,useClass:class YO{addToWindow(t){de.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new N(5103,!1);return i},de.getAllAngularTestabilities=()=>t.getAllTestabilities(),de.getAllAngularRootElements=()=>t.getAllRootElements(),de.frameworkStabilizers||(de.frameworkStabilizers=[]),de.frameworkStabilizers.push(r=>{const o=de.getAllAngularTestabilities();let i=o.length;const s=function(){i--,0==i&&r()};o.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?Of().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:TD,useClass:vf,deps:[ye,Df,fl]},{provide:vf,useClass:vf,deps:[ye,Df,fl]}],sC=[{provide:ju,useValue:"root"},{provide:un,useFactory:function hx(){return new un},deps:[]},{provide:Jf,useClass:lx,multi:!0,deps:[yn,ye,wr]},{provide:Jf,useClass:dx,multi:!0,deps:[yn]},JE,XE,ZE,{provide:qm,useExisting:JE},{provide:jE,useClass:JO,deps:[]},[]];let _x=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:ma,useValue:n.appId}]}}static#e=this.\u0275fac=function(r){return new(r||e)(j(mx,12))};static#t=this.\u0275mod=mr({type:e});static#n=this.\u0275inj=Qn({providers:[...sC,...iC],imports:[kE,IP]})}return e})(),uC=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=q({token:e,factory:function(r){let o=null;return o=r?new(r||e):j(Ex),o},providedIn:"root"})}return e})(),Ex=(()=>{class e extends uC{constructor(n){super(),this._doc=n}sanitize(n,r){if(null==r)return null;switch(n){case Ot.NONE:return r;case Ot.HTML:return cn(r,"HTML")?Mt(r):kg(this._doc,String(r)).toString();case Ot.STYLE:return cn(r,"Style")?Mt(r):r;case Ot.SCRIPT:if(cn(r,"Script"))return Mt(r);throw new N(5200,!1);case Ot.URL:return cn(r,"URL")?Mt(r):wa(String(r));case Ot.RESOURCE_URL:if(cn(r,"ResourceURL"))return Mt(r);throw new N(5201,!1);default:throw new N(5202,!1)}}bypassSecurityTrustHtml(n){return function rb(e){return new Kw(e)}(n)}bypassSecurityTrustStyle(n){return function ob(e){return new Yw(e)}(n)}bypassSecurityTrustScript(n){return function ib(e){return new Jw(e)}(n)}bypassSecurityTrustUrl(n){return function sb(e){return new eb(e)}(n)}bypassSecurityTrustResourceUrl(n){return function ab(e){return new tb(e)}(n)}static#e=this.\u0275fac=function(r){return new(r||e)(j(yn))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ih(e){return e[e.length-1]}function sh(e){return function Cx(e){return e&&I(e.schedule)}(ih(e))?e.pop():void 0}function sr(e){return this instanceof sr?(this.v=e,this):new sr(e)}function pC(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function ch(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,l){!function o(i,s,a,l){Promise.resolve(l).then(function(u){i({value:u,done:a})},s)}(a,l,(s=e[i](s)).done,s.value)})}}}!function(e){e.ng??={},e.ng.common??={},e.ng.common.locales??={};const t=void 0;e.ng.common.locales.et=["et",[["AM","PM"],t,t],t,[["P","E","T","K","N","R","L"],t,["P\xfchap\xe4ev","Esmasp\xe4ev","Teisip\xe4ev","Kolmap\xe4ev","Neljap\xe4ev","Reede","Laup\xe4ev"],["P","E","T","K","N","R","L"]],t,[["J","V","M","A","M","J","J","A","S","O","N","D"],["jaan","veebr","m\xe4rts","apr","mai","juuni","juuli","aug","sept","okt","nov","dets"],["jaanuar","veebruar","m\xe4rts","aprill","mai","juuni","juuli","august","september","oktoober","november","detsember"]],t,[["eKr","pKr"],t,["enne Kristust","p\xe4rast Kristust"]],1,[6,0],["dd.MM.yy","d. MMM y","d. MMMM y","EEEE, d. MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}",t,t,t],[",","\xa0",";","%","+","\u2212","\xd710^","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","euro",{AUD:["AU$","$"],EEK:["kr"],PHP:[t,"\u20b1"],THB:["\u0e3f"],TWD:["NT$"]},"ltr",function n(r){const i=Math.floor(Math.abs(r)),s=r.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===s?1:5},[[["kesk\xf6\xf6l","keskp\xe4eval","hommikul","p\xe4rastl\xf5unal","\xf5htul","\xf6\xf6sel"],t,t],[["kesk\xf6\xf6","keskp\xe4ev","hommik","p\xe4rastl\xf5una","\xf5htu","\xf6\xf6"],t,t],["00:00","12:00",["05:00","12:00"],["12:00","18:00"],["18:00","23:00"],["23:00","05:00"]]]]}(globalThis),"function"==typeof SuppressedError&&SuppressedError;const gC=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function mC(e){return I(e?.then)}function _C(e){return I(e[hu])}function yC(e){return Symbol.asyncIterator&&I(e?.[Symbol.asyncIterator])}function vC(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const DC=function Qx(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function EC(e){return I(e?.[DC])}function CC(e){return function hC(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(h){return new Promise(function(p,g){i.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function l(f){f.value instanceof sr?Promise.resolve(f.value.v).then(u,c):d(i[0][2],f)}(r[f](h))}catch(p){d(i[0][3],p)}}function u(f){a("next",f)}function c(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield sr(n.read());if(o)return yield sr(void 0);yield yield sr(r)}}finally{n.releaseLock()}})}function IC(e){return I(e?.getReader)}function Kt(e){if(e instanceof Ke)return e;if(null!=e){if(_C(e))return function qx(e){return new Ke(t=>{const n=e[hu]();if(I(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(gC(e))return function Zx(e){return new Ke(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(mC(e))return function Wx(e){return new Ke(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,hr)})}(e);if(yC(e))return TC(e);if(EC(e))return function Xx(e){return new Ke(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(IC(e))return function Kx(e){return TC(CC(e))}(e)}throw vC(e)}function TC(e){return new Ke(t=>{(function Yx(e,t){var n,r,o,i;return function dC(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(c){try{u(r.next(c))}catch(d){s(d)}}function l(c){try{u(r.throw(c))}catch(d){s(d)}}function u(c){c.done?i(c.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(c.value).then(a,l)}u((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=pC(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function ar(e,t,n,r=0,o=!1){const i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function wC(e,t=0){return bn((n,r)=>{n.subscribe(Mn(r,o=>ar(r,e,()=>r.next(o),t),()=>ar(r,e,()=>r.complete(),t),o=>ar(r,e,()=>r.error(o),t)))})}function bC(e,t=0){return bn((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function MC(e,t){if(!e)throw new Error("Iterable cannot be null");return new Ke(n=>{ar(n,t,()=>{const r=e[Symbol.asyncIterator]();ar(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Ll(e,t){return t?function ok(e,t){if(null!=e){if(_C(e))return function Jx(e,t){return Kt(e).pipe(bC(t),wC(t))}(e,t);if(gC(e))return function tk(e,t){return new Ke(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(mC(e))return function ek(e,t){return Kt(e).pipe(bC(t),wC(t))}(e,t);if(yC(e))return MC(e,t);if(EC(e))return function nk(e,t){return new Ke(n=>{let r;return ar(n,t,()=>{r=e[DC](),ar(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>I(r?.return)&&r.return()})}(e,t);if(IC(e))return function rk(e,t){return MC(CC(e),t)}(e,t)}throw vC(e)}(e,t):Kt(e)}function vn(...e){return Ll(e,sh(e))}function Ur(e){return!!e&&(e instanceof Ke||I(e.lift)&&I(e.subscribe))}const{isArray:ik}=Array,{getPrototypeOf:sk,prototype:ak,keys:lk}=Object;const{isArray:dk}=Array;function pk(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function gk(...e){const t=function Ix(e){return I(ih(e))?e.pop():void 0}(e),{args:n,keys:r}=function uk(e){if(1===e.length){const t=e[0];if(ik(t))return{args:t,keys:null};if(function ck(e){return e&&"object"==typeof e&&sk(e)===ak}(t)){const n=lk(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}(e),o=new Ke(i=>{const{length:s}=n;if(!s)return void i.complete();const a=new Array(s);let l=s,u=s;for(let c=0;c<s;c++){let d=!1;Kt(n[c]).subscribe(Mn(i,f=>{d||(d=!0,u--),a[c]=f},()=>l--,void 0,()=>{(!l||!d)&&(u||i.next(r?pk(r,a):a),i.complete())}))}});return t?o.pipe(function hk(e){return en(t=>function fk(e,t){return dk(t)?e(...t):e(t)}(e,t))}(t)):o}function $l(e,t,n=1/0){return I(t)?$l((r,o)=>en((i,s)=>t(r,i,o,s))(Kt(e(r,o))),n):("number"==typeof t&&(n=t),bn((r,o)=>function mk(e,t,n,r,o,i,s,a){const l=[];let u=0,c=0,d=!1;const f=()=>{d&&!l.length&&!u&&t.complete()},h=g=>u<r?p(g):l.push(g),p=g=>{i&&t.next(g),u++;let _=!1;Kt(n(g,c++)).subscribe(Mn(t,C=>{o?.(C),i?h(C):t.next(C)},()=>{_=!0},void 0,()=>{if(_)try{for(u--;l.length&&u<r;){const C=l.shift();s?ar(t,s,()=>p(C)):p(C)}f()}catch(C){t.error(C)}}))};return e.subscribe(Mn(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}function SC(e=1/0){return $l(xh,e)}function NC(...e){return function _k(){return SC(1)}()(Ll(e,sh(e)))}function FC(e){return new Ke(t=>{Kt(e()).subscribe(t)})}const dh=new Ke(e=>e.complete());function jl(e){return e<=0?()=>dh:bn((t,n)=>{let r=0;t.subscribe(Mn(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}const AC={now:()=>(AC.delegate||Date).now(),delegate:void 0};class PC extends pr{constructor(t=1/0,n=1/0,r=AC){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){const{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){const{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){const s=n.now();let a=0;for(let l=1;l<r.length&&r[l]<=s;l+=2)a=l;a&&r.splice(0,a+1)}}}function fh(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new li({next:()=>{r.unsubscribe(),e()}});return Kt(t(...n)).subscribe(r)}function RC(e,t,n){let r,o=!1;return e&&"object"==typeof e?({bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e):r=e??1/0,function vk(e={}){const{connector:t=(()=>new pr),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,l,u=0,c=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=l=void 0,c=d=!1},p=()=>{const g=s;h(),g?.unsubscribe()};return bn((g,_)=>{u++,!d&&!c&&f();const C=l=l??t();_.add(()=>{u--,0===u&&!d&&!c&&(a=fh(p,o))}),C.subscribe(_),!s&&u>0&&(s=new li({next:D=>C.next(D),error:D=>{d=!0,f(),a=fh(h,n,D),C.error(D)},complete:()=>{c=!0,f(),a=fh(h,r),C.complete()}}),Kt(g).subscribe(s))})(i)}}({connector:()=>new PC(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function OC(e,t){return I(t)?$l(e,t,1):$l(e,1)}function Vl(e,t){return bn((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(Mn(r,l=>{o?.unsubscribe();let u=0;const c=i++;Kt(e(l,c)).subscribe(o=Mn(r,d=>r.next(t?t(l,d,c,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}class Cs{}let xC=(()=>{class e extends Cs{getTranslation(n){return vn({})}static \u0275fac=(()=>{let n;return function(o){return(n||(n=da(e)))(o||e)}})();static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})();class hh{}let kC=(()=>{class e{handle(n){return n.key}static \u0275fac=function(r){return new(r||e)};static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})();function Ul(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!=e&&t!=t)return!0;let o,i,s,n=typeof e;if(n==typeof t&&"object"==n){if(!Array.isArray(e)){if(Array.isArray(t))return!1;for(i in s=Object.create(null),e){if(!Ul(e[i],t[i]))return!1;s[i]=!0}for(i in t)if(!(i in s)&&typeof t[i]<"u")return!1;return!0}if(!Array.isArray(t))return!1;if((o=e.length)==t.length){for(i=0;i<o;i++)if(!Ul(e[i],t[i]))return!1;return!0}}return!1}function lr(e){return typeof e<"u"&&null!==e}function ph(e){return e&&"object"==typeof e&&!Array.isArray(e)}function LC(e,t){let n=Object.assign({},e);return ph(e)&&ph(t)&&Object.keys(t).forEach(r=>{ph(t[r])?r in e?n[r]=LC(e[r],t[r]):Object.assign(n,{[r]:t[r]}):Object.assign(n,{[r]:t[r]})}),n}class Bl{}let $C=(()=>{class e extends Bl{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(n,r){let o;return o="string"==typeof n?this.interpolateString(n,r):"function"==typeof n?this.interpolateFunction(n,r):n,o}getValue(n,r){let o="string"==typeof r?r.split("."):[r];r="";do{r+=o.shift(),!lr(n)||!lr(n[r])||"object"!=typeof n[r]&&o.length?o.length?r+=".":n=void 0:(n=n[r],r="")}while(o.length);return n}interpolateFunction(n,r){return n(r)}interpolateString(n,r){return r?n.replace(this.templateMatcher,(o,i)=>{let s=this.getValue(r,i);return lr(s)?s:o}):n}static \u0275fac=(()=>{let n;return function(o){return(n||(n=da(e)))(o||e)}})();static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})();class Hl{}let jC=(()=>{class e extends Hl{compile(n,r){return n}compileTranslations(n,r){return n}static \u0275fac=(()=>{let n;return function(o){return(n||(n=da(e)))(o||e)}})();static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})();class VC{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new et;onLangChange=new et;onDefaultLangChange=new et}const gh=new x("USE_STORE"),mh=new x("USE_DEFAULT_LANG"),_h=new x("DEFAULT_LANGUAGE"),yh=new x("USE_EXTEND");let Br=(()=>{class e{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new et;_onLangChange=new et;_onDefaultLangChange=new et;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(n){this.isolate?this._defaultLang=n:this.store.defaultLang=n}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(n){this.isolate?this._currentLang=n:this.store.currentLang=n}get langs(){return this.isolate?this._langs:this.store.langs}set langs(n){this.isolate?this._langs=n:this.store.langs=n}get translations(){return this.isolate?this._translations:this.store.translations}set translations(n){this.isolate?this._translations=n:this.store.translations=n}constructor(n,r,o,i,s,a=!0,l=!1,u=!1,c){this.store=n,this.currentLoader=r,this.compiler=o,this.parser=i,this.missingTranslationHandler=s,this.useDefaultLang=a,this.isolate=l,this.extend=u,c&&this.setDefaultLang(c)}setDefaultLang(n){if(n===this.defaultLang)return;let r=this.retrieveTranslations(n);typeof r<"u"?(null==this.defaultLang&&(this.defaultLang=n),r.pipe(jl(1)).subscribe(o=>{this.changeDefaultLang(n)})):this.changeDefaultLang(n)}getDefaultLang(){return this.defaultLang}use(n){if(n===this.currentLang)return vn(this.translations[n]);let r=this.retrieveTranslations(n);return typeof r<"u"?(this.currentLang||(this.currentLang=n),r.pipe(jl(1)).subscribe(o=>{this.changeLang(n)}),r):(this.changeLang(n),vn(this.translations[n]))}retrieveTranslations(n){let r;return(typeof this.translations[n]>"u"||this.extend)&&(this._translationRequests[n]=this._translationRequests[n]||this.getTranslation(n),r=this._translationRequests[n]),r}getTranslation(n){this.pending=!0;const r=this.currentLoader.getTranslation(n).pipe(RC(1),jl(1));return this.loadingTranslations=r.pipe(en(o=>this.compiler.compileTranslations(o,n)),RC(1),jl(1)),this.loadingTranslations.subscribe({next:o=>{this.translations[n]=this.extend&&this.translations[n]?{...o,...this.translations[n]}:o,this.updateLangs(),this.pending=!1},error:o=>{this.pending=!1}}),r}setTranslation(n,r,o=!1){r=this.compiler.compileTranslations(r,n),this.translations[n]=(o||this.extend)&&this.translations[n]?LC(this.translations[n],r):r,this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}getLangs(){return this.langs}addLangs(n){n.forEach(r=>{-1===this.langs.indexOf(r)&&this.langs.push(r)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(n,r,o){let i;if(r instanceof Array){let s={},a=!1;for(let l of r)s[l]=this.getParsedResult(n,l,o),Ur(s[l])&&(a=!0);return a?gk(r.map(u=>Ur(s[u])?s[u]:vn(s[u]))).pipe(en(u=>{let c={};return u.forEach((d,f)=>{c[r[f]]=d}),c})):s}if(n&&(i=this.parser.interpolate(this.parser.getValue(n,r),o)),typeof i>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(i=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],r),o)),typeof i>"u"){let s={key:r,translateService:this};typeof o<"u"&&(s.interpolateParams=o),i=this.missingTranslationHandler.handle(s)}return typeof i<"u"?i:r}get(n,r){if(!lr(n)||!n.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(OC(o=>Ur(o=this.getParsedResult(o,n,r))?o:vn(o)));{let o=this.getParsedResult(this.translations[this.currentLang],n,r);return Ur(o)?o:vn(o)}}getStreamOnTranslationChange(n,r){if(!lr(n)||!n.length)throw new Error('Parameter "key" required');return NC(FC(()=>this.get(n,r)),this.onTranslationChange.pipe(Vl(o=>{const i=this.getParsedResult(o.translations,n,r);return"function"==typeof i.subscribe?i:vn(i)})))}stream(n,r){if(!lr(n)||!n.length)throw new Error('Parameter "key" required');return NC(FC(()=>this.get(n,r)),this.onLangChange.pipe(Vl(o=>{const i=this.getParsedResult(o.translations,n,r);return Ur(i)?i:vn(i)})))}instant(n,r){if(!lr(n)||!n.length)throw new Error('Parameter "key" required');let o=this.getParsedResult(this.translations[this.currentLang],n,r);if(Ur(o)){if(n instanceof Array){let i={};return n.forEach((s,a)=>{i[n[a]]=n[a]}),i}return n}return o}set(n,r,o=this.currentLang){this.translations[o][n]=this.compiler.compile(r,o),this.updateLangs(),this.onTranslationChange.emit({lang:o,translations:this.translations[o]})}changeLang(n){this.currentLang=n,this.onLangChange.emit({lang:n,translations:this.translations[n]}),null==this.defaultLang&&this.changeDefaultLang(n)}changeDefaultLang(n){this.defaultLang=n,this.onDefaultLangChange.emit({lang:n,translations:this.translations[n]})}reloadLang(n){return this.resetLang(n),this.getTranslation(n)}resetLang(n){this._translationRequests[n]=void 0,this.translations[n]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let n=window.navigator.languages?window.navigator.languages[0]:null;return n=n||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof n>"u"?void 0:(-1!==n.indexOf("-")&&(n=n.split("-")[0]),-1!==n.indexOf("_")&&(n=n.split("_")[0]),n)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let n=window.navigator.languages?window.navigator.languages[0]:null;return n=n||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,n}static \u0275fac=function(r){return new(r||e)(j(VC),j(Cs),j(Hl),j(Bl),j(hh),j(mh),j(gh),j(yh),j(_h))};static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),vh=(()=>{class e{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(n,r){this.translate=n,this._ref=r}updateValue(n,r,o){let i=s=>{this.value=void 0!==s?s:n,this.lastKey=n,this._ref.markForCheck()};if(o){let s=this.translate.getParsedResult(o,n,r);Ur(s.subscribe)?s.subscribe(i):i(s)}this.translate.get(n,r).subscribe(i)}transform(n,...r){if(!n||!n.length)return n;if(Ul(n,this.lastKey)&&Ul(r,this.lastParams))return this.value;let o;if(lr(r[0])&&r.length)if("string"==typeof r[0]&&r[0].length){let i=r[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{o=JSON.parse(i)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${r[0]}`)}}else"object"==typeof r[0]&&!Array.isArray(r[0])&&(o=r[0]);return this.lastKey=n,this.lastParams=r,this.updateValue(n,o),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(i=>{this.lastKey&&i.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(n,o,i.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(i=>{this.lastKey&&(this.lastKey=null,this.updateValue(n,o,i.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(n,o))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(r){return new(r||e)(z(Br,16),z(jr,16))};static \u0275pipe=We({name:"translate",type:e,pure:!1});static \u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),UC=(()=>{class e{static forRoot(n={}){return{ngModule:e,providers:[n.loader||{provide:Cs,useClass:xC},n.compiler||{provide:Hl,useClass:jC},n.parser||{provide:Bl,useClass:$C},n.missingTranslationHandler||{provide:hh,useClass:kC},VC,{provide:gh,useValue:n.isolate},{provide:mh,useValue:n.useDefaultLang},{provide:yh,useValue:n.extend},{provide:_h,useValue:n.defaultLanguage},Br]}}static forChild(n={}){return{ngModule:e,providers:[n.loader||{provide:Cs,useClass:xC},n.compiler||{provide:Hl,useClass:jC},n.parser||{provide:Bl,useClass:$C},n.missingTranslationHandler||{provide:hh,useClass:kC},{provide:gh,useValue:n.isolate},{provide:mh,useValue:n.useDefaultLang},{provide:yh,useValue:n.extend},{provide:_h,useValue:n.defaultLanguage},Br]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=mr({type:e});static \u0275inj=Qn({})}return e})();class Dk{http;prefix;suffix;constructor(t,n="/assets/i18n/",r=".json"){this.http=t,this.prefix=n,this.suffix=r}getTranslation(t){return this.http.get(`${this.prefix}${t}${this.suffix}`)}}function BC(e){return bn((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}class zl{}class Gl{}class $t{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?"string"==typeof t?this.lazyInit=()=>{this.headers=new Map,t.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof $t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){const n=new $t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof $t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){const n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,n);const o=("a"===t.op?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":const i=t.value;if(i){let s=this.headers.get(n);if(!s)return;s=s.filter(a=>-1===i.indexOf(a)),0===s.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}else this.headers.delete(n),this.normalizedNames.delete(n)}}setHeaderEntries(t,n){const r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class Ck{encodeKey(t){return HC(t)}encodeValue(t){return HC(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const Tk=/%(\d[a-f0-9])/gi,wk={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function HC(e){return encodeURIComponent(e).replace(Tk,(t,n)=>wk[n]??t)}function Ql(e){return`${e}`}class Un{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new Ck,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Ik(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{const i=o.indexOf("="),[s,a]=-1==i?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],l=n.get(s)||[];l.push(a),n.set(s,l)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{const r=t.fromObject[n],o=Array.isArray(r)?r.map(Ql):[Ql(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){const n=[];return Object.keys(t).forEach(r=>{const o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const n=new Un({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const n=("a"===t.op?this.map.get(t.param):void 0)||[];n.push(Ql(t.value)),this.map.set(t.param,n);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let r=this.map.get(t.param)||[];const o=r.indexOf(Ql(t.value));-1!==o&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class bk{constructor(){this.map=new Map}set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function zC(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function GC(e){return typeof Blob<"u"&&e instanceof Blob}function QC(e){return typeof FormData<"u"&&e instanceof FormData}class Is{constructor(t,n,r,o){let i;if(this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function Mk(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==r?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??=new $t,this.context??=new bk,this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=n;else{const a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":a<n.length-1?"&":"")+s}}else this.params=new Un,this.urlWithParams=n}serializeBody(){return null===this.body?null:zC(this.body)||GC(this.body)||QC(this.body)||function Sk(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Un?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||QC(this.body)?null:GC(this.body)?this.body.type||null:zC(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Un?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(t={}){const n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=void 0!==t.body?t.body:this.body,s=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,a=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let l=t.headers||this.headers,u=t.params||this.params;const c=t.context??this.context;return void 0!==t.setHeaders&&(l=Object.keys(t.setHeaders).reduce((d,f)=>d.set(f,t.setHeaders[f]),l)),t.setParams&&(u=Object.keys(t.setParams).reduce((d,f)=>d.set(f,t.setParams[f]),u)),new Is(n,r,i,{params:u,headers:l,context:c,reportProgress:a,responseType:o,withCredentials:s})}}var ur=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(ur||{});class Dh{constructor(t,n=Ts.Ok,r="OK"){this.headers=t.headers||new $t,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class ql extends Dh{constructor(t={}){super(t),this.type=ur.ResponseHeader}clone(t={}){return new ql({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Hr extends Dh{constructor(t={}){super(t),this.type=ur.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Hr({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Yo extends Dh{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}var Ts=function(e){return e[e.Continue=100]="Continue",e[e.SwitchingProtocols=101]="SwitchingProtocols",e[e.Processing=102]="Processing",e[e.EarlyHints=103]="EarlyHints",e[e.Ok=200]="Ok",e[e.Created=201]="Created",e[e.Accepted=202]="Accepted",e[e.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",e[e.NoContent=204]="NoContent",e[e.ResetContent=205]="ResetContent",e[e.PartialContent=206]="PartialContent",e[e.MultiStatus=207]="MultiStatus",e[e.AlreadyReported=208]="AlreadyReported",e[e.ImUsed=226]="ImUsed",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.Found=302]="Found",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.Unused=306]="Unused",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.LengthRequired=411]="LengthRequired",e[e.PreconditionFailed=412]="PreconditionFailed",e[e.PayloadTooLarge=413]="PayloadTooLarge",e[e.UriTooLong=414]="UriTooLong",e[e.UnsupportedMediaType=415]="UnsupportedMediaType",e[e.RangeNotSatisfiable=416]="RangeNotSatisfiable",e[e.ExpectationFailed=417]="ExpectationFailed",e[e.ImATeapot=418]="ImATeapot",e[e.MisdirectedRequest=421]="MisdirectedRequest",e[e.UnprocessableEntity=422]="UnprocessableEntity",e[e.Locked=423]="Locked",e[e.FailedDependency=424]="FailedDependency",e[e.TooEarly=425]="TooEarly",e[e.UpgradeRequired=426]="UpgradeRequired",e[e.PreconditionRequired=428]="PreconditionRequired",e[e.TooManyRequests=429]="TooManyRequests",e[e.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",e[e.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout",e[e.HttpVersionNotSupported=505]="HttpVersionNotSupported",e[e.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",e[e.InsufficientStorage=507]="InsufficientStorage",e[e.LoopDetected=508]="LoopDetected",e[e.NotExtended=510]="NotExtended",e[e.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",e}(Ts||{});function Eh(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}let Ch=(()=>{class e{constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof Is)i=n;else{let l,u;l=o.headers instanceof $t?o.headers:new $t(o.headers),o.params&&(u=o.params instanceof Un?o.params:new Un({fromObject:o.params})),i=new Is(n,r,void 0!==o.body?o.body:null,{headers:l,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}const s=vn(i).pipe(OC(l=>this.handler.handle(l)));if(n instanceof Is||"events"===o.observe)return s;const a=s.pipe(function Ek(e,t){return bn((n,r)=>{let o=0;n.subscribe(Mn(r,i=>e.call(t,i,o++)&&r.next(i)))})}(l=>l instanceof Hr));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(en(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(en(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(en(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(en(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:(new Un).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,Eh(o,r))}post(n,r,o={}){return this.request("POST",n,Eh(o,r))}put(n,r,o={}){return this.request("PUT",n,Eh(o,r))}static#e=this.\u0275fac=function(r){return new(r||e)(j(zl))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();function ZC(e,t){return t(e)}function Rk(e,t){return(n,r)=>t.intercept(n,{handle:o=>e(o,r)})}const xk=new x(""),ws=new x(""),WC=new x(""),XC=new x("");function kk(){let e=null;return(t,n)=>{null===e&&(e=(B(xk,{optional:!0})??[]).reduceRight(Rk,ZC));const r=B(Ar),o=r.add();return e(t,n).pipe(BC(()=>r.remove(o)))}}let KC=(()=>{class e extends zl{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null,this.pendingTasks=B(Ar);const o=B(XC,{optional:!0});this.backend=o??n}handle(n){if(null===this.chain){const o=Array.from(new Set([...this.injector.get(ws),...this.injector.get(WC,[])]));this.chain=o.reduceRight((i,s)=>function Ok(e,t,n){return(r,o)=>function Hu(e,t){e instanceof ro&&e.assertNotDestroyed();const r=qn(e),o=gt(void 0);try{return t()}finally{qn(r),gt(o)}}(n,()=>t(r,i=>e(i,o)))}(i,s,this.injector),ZC)}const r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(BC(()=>this.pendingTasks.remove(r)))}static#e=this.\u0275fac=function(r){return new(r||e)(j(Gl),j(Bt))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();const Uk=/^\)\]\}',?\n/;let JC=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new N(-2800,!1);const r=this.xhrFactory;return(r.\u0275loadImpl?Ll(r.\u0275loadImpl()):vn(null)).pipe(Vl(()=>new Ke(i=>{const s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((g,_)=>s.setRequestHeader(g,_.join(","))),n.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const g=n.detectContentTypeHeader();null!==g&&s.setRequestHeader("Content-Type",g)}if(n.responseType){const g=n.responseType.toLowerCase();s.responseType="json"!==g?g:"text"}const a=n.serializeBody();let l=null;const u=()=>{if(null!==l)return l;const g=s.statusText||"OK",_=new $t(s.getAllResponseHeaders()),C=function Bk(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||n.url;return l=new ql({headers:_,status:s.status,statusText:g,url:C}),l},c=()=>{let{headers:g,status:_,statusText:C,url:D}=u(),F=null;_!==Ts.NoContent&&(F=typeof s.response>"u"?s.responseText:s.response),0===_&&(_=F?Ts.Ok:0);let U=_>=200&&_<300;if("json"===n.responseType&&"string"==typeof F){const J=F;F=F.replace(Uk,"");try{F=""!==F?JSON.parse(F):null}catch(ie){F=J,U&&(U=!1,F={error:ie,text:F})}}U?(i.next(new Hr({body:F,headers:g,status:_,statusText:C,url:D||void 0})),i.complete()):i.error(new Yo({error:F,headers:g,status:_,statusText:C,url:D||void 0}))},d=g=>{const{url:_}=u(),C=new Yo({error:g,status:s.status||0,statusText:s.statusText||"Unknown Error",url:_||void 0});i.error(C)};let f=!1;const h=g=>{f||(i.next(u()),f=!0);let _={type:ur.DownloadProgress,loaded:g.loaded};g.lengthComputable&&(_.total=g.total),"text"===n.responseType&&s.responseText&&(_.partialText=s.responseText),i.next(_)},p=g=>{let _={type:ur.UploadProgress,loaded:g.loaded};g.lengthComputable&&(_.total=g.total),i.next(_)};return s.addEventListener("load",c),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",h),null!==a&&s.upload&&s.upload.addEventListener("progress",p)),s.send(a),i.next({type:ur.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",c),s.removeEventListener("timeout",d),n.reportProgress&&(s.removeEventListener("progress",h),null!==a&&s.upload&&s.upload.removeEventListener("progress",p)),s.readyState!==s.DONE&&s.abort()}})))}static#e=this.\u0275fac=function(r){return new(r||e)(j(jE))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();const wh=new x(""),eI=new x("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),tI=new x("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class nI{}let Gk=(()=>{class e{constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=ME(n,this.cookieName),this.lastCookieString=n),this.lastToken}static#e=this.\u0275fac=function(r){return new(r||e)(j(yn),j(wr),j(eI))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();function Qk(e,t){const n=e.url.toLowerCase();if(!B(wh)||"GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t(e);const r=B(nI).getToken(),o=B(tI);return null!=r&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}var cr=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(cr||{});function qk(...e){const t=[Ch,JC,KC,{provide:zl,useExisting:KC},{provide:Gl,useExisting:JC},{provide:ws,useValue:Qk,multi:!0},{provide:wh,useValue:!0},{provide:nI,useClass:Gk}];for(const n of e)t.push(...n.\u0275providers);return function pi(e){return{\u0275providers:e}}(t)}const rI=new x("");function Zk(){return function zr(e,t){return{\u0275kind:e,\u0275providers:t}}(cr.LegacyInterceptors,[{provide:rI,useFactory:kk},{provide:ws,useExisting:rI,multi:!0}])}let oI=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=mr({type:e});static#n=this.\u0275inj=Qn({providers:[qk(Zk())]})}return e})(),bh=(()=>{class e{constructor(n){this.http=n}getProducts(n="et",r,o="BOTH",i=!1,s=!1,a=null){let l=Object.assign({},r,{productGroup:o,productPropertyId:863});return i&&(l=Object.assign({},l,{intraUser:!0})),a?(l=Object.assign({},l,{campaign:a}),this.http.post("/"+n+"/elamus/getprices/campaign",l)):this.http.post(s?"/"+n+"/elamus/getprices/partners":"/"+n+"/elamus/getprices",l)}static#e=this.\u0275fac=function(r){return new(r||e)(j(Ch))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),Wl=(()=>{class e{constructor(n){this._document=n,this.window=this._document.defaultView,this.window.dataLayer=this.window.dataLayer||[]}pushData(n){this.window.dataLayer.push(n)}static#e=this.\u0275fac=function(r){return new(r||e)(j(yn))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),dI=(()=>{class e{constructor(n){this.sanitizer=n}transform(n){return this.sanitizer.bypassSecurityTrustHtml(n)}static#e=this.\u0275fac=function(r){return new(r||e)(z(uC,16))};static#t=this.\u0275pipe=We({name:"bypassSecurity",type:e,pure:!0})}return e})(),Mh=(()=>{class e{transform(n,r="\u20ac",o="symbol",i="0.2-2",s="et-EE"){return wE(n,s,function vE(e,t,n="en"){const r=function pR(e){return ct(e)[Te.Currencies]}(n)[e]||_E[e]||[],o=r[1];return"narrow"===t&&"string"==typeof o?o:r[0]||e}(r,"wide"),r,i).replace(",",".")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275pipe=We({name:"customCurrency",type:e,pure:!0})}return e})();const eL=e=>({downloadSpeed:e}),tL=(e,t)=>({downloadSpeed:e,uploadSpeed:t}),nL=e=>({price:e});function rL(e,t){1&e&&nr(0)}function oL(e,t){if(1&e&&(b(0,"div",14)(1,"eds-box",15),te(2,rL,1,0,"ng-container",16),w()()),2&e){R();const n=$r(4);m(2),T("ngTemplateOutlet",n)}}function iL(e,t){1&e&&nr(0)}function sL(e,t){if(1&e&&(b(0,"div",14)(1,"eds-campaign-badge",17)(2,"span",18),Ne(3),w(),b(4,"eds-box",15),te(5,iL,1,0,"ng-container",16),w()()()),2&e){const n=R(),r=$r(4);m(3),At(n.product.campaign_badge),m(2),T("ngTemplateOutlet",r)}}function aL(e,t){1&e&&(b(0,"span",18),kn(1,1),k(2,"eds-icon",24),A(3,"translate"),Ln(),w()),2&e&&(m(3),V(P(3,1,"Populaarne")),H(1))}function lL(e,t){1&e&&(b(0,"span",18),kn(1,2),k(2,"eds-icon",25),A(3,"translate"),Ln(),w()),2&e&&(m(3),V(P(3,1,"Sobib sulle!")),H(1))}function uL(e,t){if(1&e&&(b(0,"span",26),Ne(1),w()),2&e){const n=R(2);m(),At(n.product.campaign_badge)}}function cL(e,t){1&e&&nr(0)}function dL(e,t){if(1&e&&(b(0,"div",14)(1,"eds-campaign-badge",19),te(2,aL,4,3,"span",20)(3,lL,4,3,"span",20)(4,uL,2,1,"span",21),b(5,"span",22)(6,"eds-box",23),te(7,cL,1,0,"ng-container",16),w()()()()),2&e){const n=R(),r=$r(4);m(),ut("variant",n.product.campaign_badge&&!n.partners?"row":null)("second-color",n.product.campaign_badge&&!n.partners?"orange":null),m(),T("ngIf",!n.sobib&&n.populaarne),m(),T("ngIf",n.sobib),m(),T("ngIf",n.product.campaign_badge&&!n.partners),m(3),T("ngTemplateOutlet",r)}}function fL(e,t){if(1&e&&(b(0,"eds-text"),Ne(1),w()),2&e){const n=R(2);m(),af("",n.downloadSpeed," / ",n.uploadSpeed,"")}}function hL(e,t){if(1&e&&(b(0,"eds-text"),Ne(1),w()),2&e){const n=R(2);m(),At(n.downloadSpeed)}}function pL(e,t){if(1&e&&(b(0,"eds-text",49),A(1,"translate"),kn(2,3),k(3,"strong"),Ln(),w()),2&e){const n=R(3);T("innerHTML",qo(1,2,"Alla ja \xfcles kuni <strong>{{ downloadSpeed }} Mbit/s</strong>",rr(5,eL,n.downloadSpeed)),dn),m(3),V(n.downloadSpeed),H(2)}}function gL(e,t){if(1&e&&(b(0,"eds-text",49),A(1,"translate"),kn(2,4),k(3,"strong")(4,"strong"),Ln(),w()),2&e){const n=R(3);T("innerHTML",qo(1,3,"Alla kuni <strong>{{ downloadSpeed }} Mbit/s</strong> ja \xfcles kuni <strong>{{ uploadSpeed }} Mbit/s</strong>",function Jv(e,t,n,r,o){return tD(E(),lt(),e,t,n,r,o)}(6,tL,n.downloadSpeed,n.uploadSpeed)),dn),m(4),V(n.downloadSpeed)(n.uploadSpeed),H(2)}}function mL(e,t){if(1&e&&(b(0,"div",47),te(1,pL,4,7,"eds-text",38)(2,gL,5,9,"eds-text",38),k(3,"eds-icon",48),w()),2&e){const n=R(2);m(),T("ngIf",n.uploadSpeed==n.downloadSpeed),m(),T("ngIf",n.uploadSpeed!=n.downloadSpeed)}}function _L(e,t){1&e&&(b(0,"div",47)(1,"eds-text",49),A(2,"translate"),ae(3,5),A(4,"translate"),w(),k(5,"eds-icon",48),w()),2&e&&(m(),T("innerHTML",P(2,2,"Alla ja \xfcles <strong>Piiramatu</strong>"),dn),m(3),V(P(4,4,"Alla ja \xfcles <strong>Piiramatu</strong>")),H(3))}function yL(e,t){if(1&e&&(k(0,"div",49),A(1,"bypassSecurity")),2&e){let n;const r=R(2);T("innerHTML",P(1,1,r.product.readMore[null!==(n=r.lang)&&void 0!==n?n:"et"].camp_markup),dn)}}function vL(e,t){if(1&e&&(b(0,"div",50)(1,"div")(2,"eds-text",51),Ne(3),A(4,"customCurrency"),w(),b(5,"eds-text",52),ae(6,6),A(7,"translate"),w()(),b(8,"div")(9,"eds-text",53),A(10,"customCurrency"),A(11,"translate"),ae(12,7),A(13,"customCurrency"),w()()()),2&e){const n=R(2);m(3),dt(" ",P(4,4,n.product.price.campaignPrice)," "),m(4),V(P(7,6,"kuus")),H(6),m(2),T("innerHTML",qo(11,10,"Tavahind: {{ price }} kuus",rr(15,nL,P(10,8,n.product.price.monthlyPrice))),dn),m(4),V(P(13,13,n.product.price.monthlyPrice)),H(12)}}function DL(e,t){if(1&e&&(b(0,"eds-text",58),Ne(1),A(2,"customCurrency"),w()),2&e){const n=R(3);m(),At(P(2,1,n.product.price.campaignPrice))}}function EL(e,t){if(1&e&&(b(0,"eds-text",58),Ne(1),A(2,"customCurrency"),w()),2&e){const n=R(3);m(),At(P(2,1,n.product.price.monthlyPrice))}}function CL(e,t){if(1&e&&(b(0,"div",54),te(1,DL,3,3,"eds-text",55)(2,EL,3,3,"eds-text",55),k(3,"eds-spacer",56),b(4,"eds-text",57),ae(5,8),A(6,"translate"),w()()),2&e){const n=R(2);m(),T("ngIf",n.product.price.campaignPrice&&!n.partners),m(),T("ngIf",!n.product.price.campaignPrice||n.partners),m(4),V(P(6,3,"kuus")),H(5)}}function IL(e,t){1&e&&k(0,"eds-icon",59)}function TL(e,t){1&e&&(xr(0),ae(1,9),A(2,"translate"),kr()),2&e&&(m(2),V(P(2,1,"Valik salvestatud")),H(1))}function wL(e,t){1&e&&(xr(0),ae(1,10),A(2,"translate"),kr()),2&e&&(m(2),V(P(2,1,"Vali pakett")),H(1))}function bL(e,t){if(1&e){const n=Xe();b(0,"eds-button",60),ve("click",function(){Me(n);const o=R(2);return Se(o.showModal(o.product,"Vajalikud seadmed"))}),ae(1,11),A(2,"translate"),w()}2&e&&(m(2),V(P(2,1,"Vajalikud seadmed")),H(1))}function ML(e,t){if(1&e){const n=Xe();b(0,"eds-modal",61),A(1,"translate"),A(2,"bypassSecurity"),ve("edsModalClose",function(){Me(n);const o=R(2);return Se(o.closeModal(o.product,"Vajalikud seadmed"))}),Ft(3,12),w()}if(2&e){const n=R(2);V(P(1,3,"Koduinterneti seadmed")),H(3),T("innerHTML",P(2,5,n.product.readMore[n.lang].description_markup),dn),ut("is-open",n.open)}}function SL(e,t){if(1&e){const n=Xe();b(0,"div",27),k(1,"eds-icon",28)(2,"eds-spacer",29),b(3,"eds-heading",30),Ne(4),w(),k(5,"eds-spacer",31),te(6,fL,2,2,"eds-text",32)(7,hL,2,1,"eds-text",32),w(),k(8,"eds-divider",33),b(9,"div",34)(10,"eds-text",35),Ne(11),w(),te(12,mL,4,2,"div",36)(13,_L,6,6,"div",36),w(),k(14,"eds-divider",37),te(15,yL,2,3,"div",38)(16,vL,14,17,"div",39)(17,CL,7,5,"div",40),k(18,"eds-spacer",41),b(19,"eds-button-group",42)(20,"eds-button",43),ve("click",function(){Me(n);const o=R();return Se(o.selectProduct(o.product))}),te(21,IL,1,0,"eds-icon",44)(22,TL,3,3,"ng-container",32)(23,wL,3,3,"ng-container",32),w(),te(24,bL,3,3,"eds-button",45),w(),te(25,ML,4,7,"eds-modal",46)}if(2&e){let n,r;const o=R();m(),al("name",o.getIco(o.product,o.position)),m(3),At(o.product.name),m(2),T("ngIf","Piiramatu"!=o.downloadSpeed),m(),T("ngIf","Piiramatu"==o.downloadSpeed),m(4),dt(" ",o.getProductDescription(o.product)," "),m(),T("ngIf","Piiramatu"!=o.downloadSpeed),m(),T("ngIf","Piiramatu"==o.downloadSpeed),m(2),T("ngIf",o.product.readMore&&o.product.readMore[null!==(n=o.lang)&&void 0!==n?n:"et"].camp_markup&&!o.partners),m(),T("ngIf",o.product.price.campaignPrice),m(),T("ngIf",!o.product.price.campaignPrice),m(3),ut("variant",o.buttonClasses(o.product)),m(),T("ngIf",o.selected),m(),T("ngIf",o.selected),m(),T("ngIf",!o.selected),m(),T("ngIf",o.product.readMore&&o.lang&&o.product.readMore[null!==(r=o.lang)&&void 0!==r?r:"et"].description_markup),m(),T("ngIf",o.product.readMore&&o.lang)}}let NL=(()=>{class e{constructor(n,r,o){this.translate=n,this.DataLayerService=r,this.selected=!1,this.callToParent=new et,this.tvEnabled=!1,this.partners=!1,this.populaarne=!1,this.cdRef=o,typeof this.lang<"u"&&(this.translate.getLangs().includes(this.lang)||this.translate.setDefaultLang(this.lang),this.translate.use(this.lang))}ngOnInit(){this.downloadSpeed=this.getProductProperties(this.product,"download_speed"),this.uploadSpeed=this.getProductProperties(this.product,"upload_speed")}getProductDescription(n){if(typeof this.lang<"u")return n.productTranslations.productShortDescription[this.lang]}getCampMarkup(n){if(typeof this.lang<"u"&&n.readMore[this.lang??"et"].camp_markup.length>0)return n.readMore[this.lang??"et"].camp_markup}getProductProperties(n,r){let o=n.productParams.filter(i=>i.parameter.toLocaleLowerCase()===r)[0].value;return"download_speed"!=r&&"upload_speed"!=r||"-1"!==o?o:"Piiramatu"}showModal(n,r){this.open?(delete this.open,this.cdRef.detectChanges()):(this.open=!0,this.DataLayerService.pushData({event:"click_information",content:{item_name:n.name,name:r}}),this.cdRef.detectChanges())}closeModal(n,r){delete this.open,this.DataLayerService.pushData({event:"close_popup",content:{name:r,id:[n.id]}})}selectProduct(n){this.callToParent.emit(n)}getIco(n,r){const o=this.getProductProperties(n,"required_technologies");if(typeof o<"u"&&null!==o){const i=this.getProductProperties(n,"download_speed");if("5g"==o)return"Piiramatu"===i?"gb-limitless-5g":"mbits-"+i+"-5g";if("air"==o){const s=this.getProductProperties(n,"gsmtype");if(-1===s||"PIIRAMATUKI"==s)return"ule-ohu-piiramatu-internet-pictogram";if("PRAKTILINEKI"==s)return"ule-ohu-praktiline-internet-pictogram";if("LIHTNEKI"==s)return"ule-ohu-lihtne-internet-pictogram"}else if("pon"==o||"docsis"==o){let s=n.name.match(/Internet (XXL|XL|L|M|S)(?:\s\d+\/\d+)?/);if(s&&typeof s[1]<"u")return"kaabliga-internet-"+s[1].toLocaleLowerCase()+"-pictogram"}}return""}buttonClasses(n){return this.tvEnabled?"secondary"+(this.selected?"-selected":""):"primary"+(this.selected?"-selected":"")}static#e=this.\u0275fac=function(r){return new(r||e)(z(Br),z(Wl),z(jr))};static#t=this.\u0275cmp=Gs({type:e,selectors:[["quiz-product"]],inputs:{product:"product",position:"position",lang:"lang",selected:"selected",sobib:"sobib",tvEnabled:"tvEnabled",partners:"partners",populaarne:"populaarne"},outputs:{callToParent:"callToParent"},decls:5,vars:3,consts:()=>{let n,r,o,i,s,a,l,u,c,d,f,h;return n=$localize`:@@Parim pakkumine:${"\ufffd#2\ufffd"}:START_TAG_EDS_ICON:${"\ufffd/#2\ufffd"}:CLOSE_TAG_EDS_ICON: ${"\ufffd0\ufffd"}:INTERPOLATION:`,r=$localize`:@@Sobib sulle!:${"\ufffd#2\ufffd"}:START_TAG_EDS_ICON:${"\ufffd/#2\ufffd"}:CLOSE_TAG_EDS_ICON: ${"\ufffd0\ufffd"}:INTERPOLATION:`,o=$localize`:@@Koduinterneti seadmed:${"\ufffd0\ufffd"}:INTERPOLATION:`,i=$localize`:@@Alla ja üles kuni <strong>{{ downloadSpeed }} Mbit/s</strong>:Alla ja üles kuni ${"\ufffd#3\ufffd"}:START_TAG_STRONG:${"\ufffd0\ufffd"}:INTERPOLATION: Mbit/s${"\ufffd/#3\ufffd"}:CLOSE_TAG_STRONG:`,s=$localize`:@@Alla kuni <strong>{{ downloadSpeed }} Mbit/s</strong> ja üles kuni <strong>{{ uploadSpeed }} Mbit/s</strong>:Alla kuni ${"[\ufffd#3\ufffd|\ufffd#4\ufffd]"}:START_TAG_STRONG:${"\ufffd0\ufffd"}:INTERPOLATION: Mbit/s${"[\ufffd/#3\ufffd|\ufffd/#4\ufffd]"}:CLOSE_TAG_STRONG: ja üles kuni ${"[\ufffd#3\ufffd|\ufffd#4\ufffd]"}:START_TAG_STRONG:${"\ufffd1\ufffd"}:INTERPOLATION_1: Mbit/s${"[\ufffd/#3\ufffd|\ufffd/#4\ufffd]"}:CLOSE_TAG_STRONG:`,s=function dv(e,t={}){return function eF(e,t={}){let n=e;if(q1.test(e)){const r={},o=[0];n=n.replace(Z1,(i,s,a)=>{const l=s||a,u=r[l]||[];if(u.length||(l.split("|").forEach(g=>{const _=g.match(J1),C=_?parseInt(_[1],10):0,D=Y1.test(g);u.push([C,D,g])}),r[l]=u),!u.length)throw new Error(`i18n postprocess: unmatched placeholder - ${l}`);const c=o[o.length-1];let d=0;for(let g=0;g<u.length;g++)if(u[g][0]===c){d=g;break}const[f,h,p]=u[d];return h?o.pop():c!==f&&o.push(f),u.splice(d,1),p})}return Object.keys(t).length&&(n=n.replace(W1,(r,o,i,s,a,l)=>t.hasOwnProperty(i)?`${o}${t[i]}${l}`:r),n=n.replace(X1,(r,o)=>t.hasOwnProperty(o)?t[o]:r),n=n.replace(K1,(r,o)=>{if(t.hasOwnProperty(o)){const i=t[o];if(!i.length)throw new Error(`i18n postprocess: unmatched ICU - ${r} with key: ${o}`);return i.shift()}return r})),n}(e,t)}(s),a=$localize`:@@Alla ja üles <strong>Piiramatu</strong>:${"\ufffd0\ufffd"}:INTERPOLATION:`,l=$localize`:@@kuus:${"\ufffd0\ufffd"}:INTERPOLATION:`,u=$localize`:@@Tavahind\: {{ price }} kuus:Tavahind: ${"\ufffd0\ufffd"}:INTERPOLATION: kuus`,c=$localize`:@@kuus:${"\ufffd0\ufffd"}:INTERPOLATION:`,d=$localize`:@@Valik salvestatud:${"\ufffd0\ufffd"}:INTERPOLATION:`,f=$localize`:@@Vali pakett:${"\ufffd0\ufffd"}:INTERPOLATION:`,h=$localize`:@@Vajalikud seadmed:${"\ufffd0\ufffd"}:INTERPOLATION:`,[["productContent",""],n,r,i,s,a,l,u,c,d,f,h,["heading",o],["class","eds-h-100 eds-py-4",4,"ngIf"],[1,"eds-h-100","eds-py-4"],["variant","elevated","padding","5","slot","item",1,"eds-flex","eds-flex-direction-column","eds-h-100"],[4,"ngTemplateOutlet"],["color","orange","size","responsive",1,"eds-flex","eds-h-100"],["slot","first-badge"],["color","light-blue","size","responsive",1,"eds-flex","eds-h-100"],["slot","first-badge",4,"ngIf"],["slot","second-badge",4,"ngIf"],["slot","item"],["padding","5",1,"eds-flex","eds-flex-direction-column","eds-h-100",2,"--box-border-color","var(--color-light-blue-50)"],["name","star"],["name","win"],["slot","second-badge"],[1,"eds-flex","eds-flex-direction-column","eds-align-items-center"],["color","light-blue-50","type","service","size","12",3,"name"],["size","3"],["level","3","weight","bold","no-spacing",""],["size","1"],[4,"ngIf"],[1,"eds-my-4"],[1,"eds-flex","eds-flex-direction-column","eds-justify-content-between","eds-flex-fill"],["size","2",1,"eds-mb-4"],["class","eds-flex eds-justify-content-between",4,"ngIf"],[1,"eds-mt-5","eds-mb-4"],[3,"innerHTML",4,"ngIf"],["class","eds-flex eds-flex-direction-column eds-align-items-center eds-w-100","style","height: 3.25rem;",4,"ngIf"],["class","eds-flex eds-justify-content-center eds-align-items-end",4,"ngIf"],["size","4"],["direction","column"],[3,"click"],["name","check",4,"ngIf"],["variant","link",3,"click",4,"ngIf"],[3,"heading","innerHTML","edsModalClose",4,"ngIf"],[1,"eds-flex","eds-justify-content-between"],["name","check","color","green-40","size","6"],[3,"innerHTML"],[1,"eds-flex","eds-flex-direction-column","eds-align-items-center","eds-w-100",2,"height","3.25rem"],["size","4","weight","bold","color","gray-70","vertical-align","center","horizontal-align","start",1,"eds-color-gray-70","hydrated"],["color","gray-50","vertical-align","center","horizontal-align","start","size","3",1,"eds-color-gray-50","hydrated"],["color","gray-50","size","2","horizontal-align","start","vertical-align","baseline",1,"eds-color-gray-50","hydrated",3,"innerHTML"],[1,"eds-flex","eds-justify-content-center","eds-align-items-end"],["size","4","weight","bold",4,"ngIf"],["direction","vertical","size","2"],["color","gray-50"],["size","4","weight","bold"],["name","check"],["variant","link",3,"click"],[3,"edsModalClose","innerHTML",6,"heading"]]},template:function(r,o){1&r&&te(0,oL,3,1,"div",13)(1,sL,6,2,"div",13)(2,dL,8,6,"div",13)(3,SL,26,16,"ng-template",null,0,hf),2&r&&(T("ngIf",!o.sobib&&!o.populaarne&&!o.product.campaign_badge||!o.sobib&&o.product.campaign_badge&&o.partners),m(),T("ngIf",!o.sobib&&!o.populaarne&&o.product.campaign_badge&&!o.partners),m(),T("ngIf",o.sobib||o.populaarne))},dependencies:[Ol,Zf,vh,dI,Mh]})}return e})();const FL=e=>({"--box-background-color":e}),AL=e=>({"partner-hide":e}),PL=e=>({price:e});function RL(e,t){1&e&&nr(0)}function OL(e,t){if(1&e&&(b(0,"div",10)(1,"eds-box",11),te(2,RL,1,0,"ng-container",12),w()()),2&e){const n=R(),r=$r(4);m(),ut("variant",n.internetEnabled?"elevated":null),m(),T("ngTemplateOutlet",r)}}function xL(e,t){1&e&&nr(0)}function kL(e,t){if(1&e&&(b(0,"div",10)(1,"eds-campaign-badge",13)(2,"span",14),Ne(3),w(),b(4,"span",15)(5,"eds-box",11),te(6,xL,1,0,"ng-container",12),w()()()()),2&e){const n=R(),r=$r(4);m(3),At(n.product.campaign_badge),m(2),ut("variant",n.internetEnabled?"elevated":null),m(),T("ngTemplateOutlet",r)}}function LL(e,t){1&e&&(b(0,"span",14),kn(1,1),k(2,"eds-icon",20),A(3,"translate"),Ln(),w()),2&e&&(m(3),V(P(3,1,"Parim pakkumine")),H(1))}function $L(e,t){1&e&&(b(0,"span",14),kn(1,2),k(2,"eds-icon",21),A(3,"translate"),Ln(),w()),2&e&&(m(3),V(P(3,1,"Sobib sulle!")),H(1))}function jL(e,t){if(1&e&&(b(0,"span",22),Ne(1),w()),2&e){const n=R(2);m(),At(n.product.campaign_badge)}}function VL(e,t){1&e&&nr(0)}function UL(e,t){if(1&e&&(b(0,"div",10)(1,"eds-campaign-badge",16),te(2,LL,4,3,"span",17)(3,$L,4,3,"span",17)(4,jL,2,1,"span",18),b(5,"span",15)(6,"eds-box",19),te(7,VL,1,0,"ng-container",12),w()()()()),2&e){const n=R(),r=$r(4);m(),ut("variant",n.product.campaign_badge&&!n.partners?"row":null)("second-color",n.product.campaign_badge&&!n.partners?"orange":null),m(),T("ngIf",!n.sobib&&n.populaarne),m(),T("ngIf",n.sobib),m(),T("ngIf",n.product.campaign_badge&&!n.partners),m(2),T("ngStyle",rr(7,FL,n.internetEnabled?null:"var(--color-light-blue-5)")),m(),T("ngTemplateOutlet",r)}}function BL(e,t){if(1&e&&(k(0,"div",36),A(1,"bypassSecurity")),2&e){let n;const r=R(2);T("innerHTML",P(1,2,r.product.readMore[null!==(n=r.lang)&&void 0!==n?n:"et"].camp_markup),dn)("ngClass",rr(4,AL,r.partners))}}function HL(e,t){if(1&e&&(b(0,"div",37)(1,"div")(2,"eds-text",38),Ne(3),A(4,"customCurrency"),w(),b(5,"eds-text",39),ae(6,3),A(7,"translate"),w()(),b(8,"div")(9,"eds-text",40),A(10,"customCurrency"),A(11,"translate"),ae(12,4),A(13,"customCurrency"),w()()()),2&e){const n=R(2);m(3),dt(" ",P(4,4,n.product.price.campaignPrice)," "),m(4),V(P(7,6,"kuus")),H(6),m(2),T("innerHTML",qo(11,10,"Tavahind: {{ price }} kuus",rr(15,PL,P(10,8,n.product.price.monthlyPrice))),dn),m(4),V(P(13,13,n.product.price.monthlyPrice)),H(12)}}function zL(e,t){if(1&e&&(b(0,"eds-text",45),Ne(1),A(2,"customCurrency"),w()),2&e){const n=R(3);m(),At(P(2,1,n.product.price.campaignPrice))}}function GL(e,t){if(1&e&&(b(0,"eds-text",45),Ne(1),A(2,"customCurrency"),w()),2&e){const n=R(3);m(),At(P(2,1,n.product.price.monthlyPrice))}}function QL(e,t){if(1&e&&(b(0,"div",41),te(1,zL,3,3,"eds-text",42)(2,GL,3,3,"eds-text",42),k(3,"eds-spacer",43),b(4,"eds-text",44),ae(5,5),A(6,"translate"),w()()),2&e){const n=R(2);m(),T("ngIf",n.product.price.campaignPrice&&!n.partners),m(),T("ngIf",!n.product.price.campaignPrice||n.partners),m(4),V(P(6,3,"kuus")),H(5)}}function qL(e,t){1&e&&k(0,"eds-icon",46)}function ZL(e,t){1&e&&(xr(0),ae(1,6),A(2,"translate"),kr()),2&e&&(m(2),V(P(2,1,"Valik salvestatud")),H(1))}function WL(e,t){1&e&&(xr(0),ae(1,7),A(2,"translate"),kr()),2&e&&(m(2),V(P(2,1,"Vali pakett")),H(1))}function XL(e,t){if(1&e){const n=Xe();b(0,"eds-button",47),ve("click",function(){Me(n);const o=R(2);return Se(o.showModal(o.product,"Loe l\xe4hemalt"))}),ae(1,8),A(2,"translate"),w()}2&e&&(m(2),V(P(2,1,"Loe l\xe4hemalt")),H(1))}function KL(e,t){if(1&e){const n=Xe();b(0,"eds-modal",48),A(1,"bypassSecurity"),ve("edsModalClose",function(){Me(n);const o=R(2);return Se(o.closeModal(o.product,"Loe l\xe4hemalt"))}),w()}if(2&e){const n=R(2);al("heading",n.product.name),T("innerHTML",P(1,3,n.product.readMore[n.lang].description_markup),dn),ut("is-open",n.open)}}function YL(e,t){if(1&e){const n=Xe();b(0,"div",23)(1,"eds-heading",24),Ne(2),w()(),k(3,"eds-divider",25),te(4,BL,2,6,"div",26)(5,HL,14,17,"div",27)(6,QL,7,5,"div",28),k(7,"eds-spacer",29),b(8,"eds-button-group",30)(9,"eds-button",31),ve("click",function(){Me(n);const o=R();return Se(o.selectProduct(o.product))}),te(10,qL,1,0,"eds-icon",32)(11,ZL,3,3,"ng-container",33)(12,WL,3,3,"ng-container",33),w(),te(13,XL,3,3,"eds-button",34),w(),te(14,KL,2,5,"eds-modal",35)}if(2&e){let n,r;const o=R();m(2),At(o.product.name),m(2),T("ngIf",o.product.readMore&&o.product.readMore[null!==(n=o.lang)&&void 0!==n?n:"et"].camp_markup),m(),T("ngIf",o.product.price.campaignPrice),m(),T("ngIf",!o.product.price.campaignPrice),m(3),ut("variant",o.buttonClasses(o.product)),m(),T("ngIf",o.selected),m(),T("ngIf",o.selected),m(),T("ngIf",!o.selected),m(),T("ngIf",o.product.readMore&&o.lang&&o.product.readMore[null!==(r=o.lang)&&void 0!==r?r:"et"].description_markup),m(),T("ngIf",o.product.readMore&&o.lang)}}let JL=(()=>{class e{constructor(n,r,o){this.translate=n,this.DataLayerService=r,this.selected=!1,this.internetEnabled=!1,this.partners=!1,this.callToParent=new et,this.cdRef=o,typeof this.lang<"u"&&(this.translate.getLangs().includes(this.lang)||this.translate.setDefaultLang(this.lang),this.translate.use(this.lang))}getProductDescription(n){if(typeof this.lang<"u")return n.productTranslations.productShortDescription[this.lang]}getProductProperties(n,r){let o=n.productParams.filter(i=>i.parameter.toLocaleLowerCase()===r)[0].value;return"download_speed"!=r&&"upload_speed"!=r||"-1"!==o?o:"Piiramatu"}getPublicParams(n,r){let o=n.publicParams.filter(i=>i.name===r);if(typeof o<"u"&&o[0]&&typeof this.lang<"u")return o[0].valueTranslation[this.lang]}getBulletList(n){if(typeof this.lang<"u"){let r=n.productTranslations.productBulletList[this.lang];if(typeof r<"u")return r.split("\n")}return[]}selectProduct(n){this.callToParent.emit(n)}buttonClasses(n){return this.internetEnabled?"secondary"+(this.selected?"-selected":""):"primary"+(this.selected?"-selected":"")}showModal(n,r){this.open?delete this.open:(this.open=!0,this.DataLayerService.pushData({event:"click_information",content:{item_name:n.name,name:r}})),this.cdRef.detectChanges()}closeModal(n,r){delete this.open,this.DataLayerService.pushData({event:"close_popup",content:{name:r,id:[n.id]}})}static#e=this.\u0275fac=function(r){return new(r||e)(z(Br),z(Wl),z(jr))};static#t=this.\u0275cmp=Gs({type:e,selectors:[["quiz-tv"]],inputs:{product:"product",lang:"lang",selected:"selected",sobib:"sobib",populaarne:"populaarne",internetEnabled:"internetEnabled",partners:"partners"},outputs:{callToParent:"callToParent"},decls:5,vars:3,consts:()=>{let n,r,o,i,s,a,l,u;return n=$localize`:@@Parim pakkumine:${"\ufffd#2\ufffd"}:START_TAG_EDS_ICON:${"\ufffd/#2\ufffd"}:CLOSE_TAG_EDS_ICON: ${"\ufffd0\ufffd"}:INTERPOLATION:`,r=$localize`:@@Sobib sulle!:${"\ufffd#2\ufffd"}:START_TAG_EDS_ICON:${"\ufffd/#2\ufffd"}:CLOSE_TAG_EDS_ICON: ${"\ufffd0\ufffd"}:INTERPOLATION:`,o=$localize`:@@kuus:${"\ufffd0\ufffd"}:INTERPOLATION:`,i=$localize`:@@Tavahind\: {{ price }} kuus:Tavahind: ${"\ufffd0\ufffd"}:INTERPOLATION: kuus`,s=$localize`:@@kuus:${"\ufffd0\ufffd"}:INTERPOLATION:`,a=$localize`:@@Valik salvestatud:${"\ufffd0\ufffd"}:INTERPOLATION:`,l=$localize`:@@Vali pakett:${"\ufffd0\ufffd"}:INTERPOLATION:`,u=$localize`:@@Loe lähemalt:${"\ufffd0\ufffd"}:INTERPOLATION:`,[["tvCard",""],n,r,o,i,s,a,l,u,["class","eds-h-100 eds-py-4",4,"ngIf"],[1,"eds-h-100","eds-py-4"],["padding","5",1,"eds-flex","eds-flex-direction-column","eds-h-100"],[4,"ngTemplateOutlet"],["color","orange","size","responsive",1,"eds-flex","eds-h-100"],["slot","first-badge"],["slot","item",1,"eds-w-100"],["color","light-blue","size","responsive",1,"eds-flex","eds-h-100"],["slot","first-badge",4,"ngIf"],["slot","second-badge",4,"ngIf"],["padding","5",1,"eds-flex","eds-flex-direction-column","eds-h-100",2,"--box-border-color","var(--color-light-blue-50)",3,"ngStyle"],["name","star"],["name","win"],["slot","second-badge"],[1,"eds-flex","eds-flex-direction-column","eds-align-items-center"],["level","3","weight","bold","no-spacing",""],[1,"eds-my-4"],["class","eds-flex eds-flex-direction-column eds-flex-fill",3,"innerHTML","ngClass",4,"ngIf"],["class","eds-flex eds-flex-direction-column eds-align-items-center eds-w-100","style","height: 3.25rem;",4,"ngIf"],["class","eds-flex eds-justify-content-center eds-align-items-end",4,"ngIf"],["size","4"],["direction","column"],[3,"click"],["name","check",4,"ngIf"],[4,"ngIf"],["variant","link",3,"click",4,"ngIf"],[3,"heading","innerHTML","edsModalClose",4,"ngIf"],[1,"eds-flex","eds-flex-direction-column","eds-flex-fill",3,"innerHTML","ngClass"],[1,"eds-flex","eds-flex-direction-column","eds-align-items-center","eds-w-100",2,"height","3.25rem"],["size","4","weight","bold","color","gray-70","vertical-align","center","horizontal-align","start",1,"eds-color-gray-70","hydrated"],["color","gray-50","vertical-align","center","horizontal-align","start","size","3",1,"eds-color-gray-50","hydrated"],["color","gray-50","size","2","horizontal-align","start","vertical-align","baseline",1,"eds-color-gray-50","hydrated",3,"innerHTML"],[1,"eds-flex","eds-justify-content-center","eds-align-items-end"],["size","4","weight","bold",4,"ngIf"],["direction","vertical","size","2"],["color","gray-50"],["size","4","weight","bold"],["name","check"],["variant","link",3,"click"],[3,"edsModalClose","heading","innerHTML"]]},template:function(r,o){1&r&&te(0,OL,3,2,"div",9)(1,kL,7,3,"div",9)(2,UL,8,9,"div",9)(3,YL,15,10,"ng-template",null,0,hf),2&r&&(T("ngIf",!o.sobib&&!o.populaarne&&!o.product.campaign_badge||!o.sobib&&!o.populaarne&&o.partners),m(),T("ngIf",!o.sobib&&!o.populaarne&&o.product.campaign_badge&&!o.partners),m(),T("ngIf",o.sobib||o.populaarne))},dependencies:[Gf,Ol,Zf,OE,vh,dI,Mh]})}return e})(),e2=(()=>{class e{transform(n){return n?(n=n.map((r,o)=>({...r,originalIndex:o}))).sort((r,o)=>1==r.populaarne?-1:1):[]}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275pipe=We({name:"PopularitySortPipe",type:e,pure:!0})}return e})();const t2=e=>({"eds-bg-color-light-blue-5":e}),n2=()=>["jarelvaatamiseta","jarelvaatamisega"],r2=e=>({monthlyPrice:e});function o2(e,t){1&e&&k(0,"eds-spacer",44)}function i2(e,t){if(1&e){const n=Xe();b(0,"eds-radio-group",65),A(1,"translate"),ve("edsChange",function(o){return Me(n),Se(R(4).updateScores(void 0,o))}),Ft(2,20),b(3,"eds-radio",66),ae(4,1),A(5,"translate"),w(),b(6,"eds-radio",67),ae(7,2),A(8,"translate"),w(),b(9,"eds-radio",68),ae(10,3),A(11,"translate"),w(),b(12,"eds-radio",69),ae(13,4),A(14,"translate"),w()()}2&e&&(V(P(1,5,"Korraga internetti kasutavate seadmete arv")),H(2),m(5),V(P(5,7,"1-2 seadet")),H(4),m(3),V(P(8,9,"3-4 seadet")),H(7),m(3),V(P(11,11,"5-6 seadet")),H(10),m(3),V(P(14,13,"7+ seadet")),H(13))}function s2(e,t){1&e&&k(0,"eds-spacer",57)}function a2(e,t){1&e&&(b(0,"eds-label"),ae(1,5),A(2,"translate"),w()),2&e&&(m(2),V(P(2,1,"Milleks kasutad internetti?")),H(1))}function l2(e,t){1&e&&(b(0,"eds-text",70),ae(1,6),A(2,"translate"),w()),2&e&&(m(2),V(P(2,1,"Vali k\xf5ik sobilikud valikud")),H(1))}function u2(e,t){1&e&&k(0,"eds-spacer",71)}function c2(e,t){if(1&e){const n=Xe();b(0,"eds-stack",72)(1,"div",73)(2,"eds-checkbox",74),A(3,"translate"),ve("edsChange",function(){return Me(n),Se(R(4).updateScores(0))}),Ft(4,21),Ne(5),A(6,"translate"),w(),k(7,"eds-icon",75),w(),b(8,"div",73)(9,"eds-checkbox",76),A(10,"translate"),ve("edsChange",function(){return Me(n),Se(R(4).updateScores(1))}),Ft(11,22),Ne(12),A(13,"translate"),w(),k(14,"eds-icon",77),w(),b(15,"div",73)(16,"eds-checkbox",78),A(17,"translate"),ve("edsChange",function(){return Me(n),Se(R(4).updateScores(2))}),Ft(18,23),Ne(19),A(20,"translate"),w(),k(21,"eds-icon",79),w()()}2&e&&(m(2),V(P(3,6,"Internetis surfamiseks")),H(4),m(3),dt(" ",P(6,8,"Internetis surfamiseks")," "),m(4),V(P(10,10,"Uudiste ja kirjade lugemiseks")),H(11),m(3),dt(" ",P(13,12,"Uudiste ja kirjade lugemiseks")," "),m(4),V(P(17,14,"Filmide-seriaalide vaatamiseks")),H(18),m(3),dt(" ",P(20,16,"Filmide-seriaalide vaatamiseks")," "))}function d2(e,t){1&e&&k(0,"eds-divider")}function f2(e,t){if(1&e){const n=Xe();b(0,"eds-stack",80)(1,"div",73)(2,"eds-checkbox",81),A(3,"translate"),ve("edsChange",function(){return Me(n),Se(R(4).updateScores(3))}),Ft(4,24),Ne(5),A(6,"translate"),w(),k(7,"eds-icon",82),w(),b(8,"div",73)(9,"eds-checkbox",83),A(10,"translate"),ve("edsChange",function(){return Me(n),Se(R(4).updateScores(4))}),Ft(11,25),Ne(12),A(13,"translate"),w(),k(14,"eds-icon",84),w(),b(15,"div",73)(16,"eds-checkbox",85),A(17,"translate"),ve("edsChange",function(){return Me(n),Se(R(4).updateScores(5))}),Ft(18,26),Ne(19),A(20,"translate"),w(),k(21,"eds-icon",86),w()()}2&e&&(m(2),V(P(3,6,"M\xe4ngimiseks")),H(4),m(3),dt(" ",P(6,8,"M\xe4ngimiseks")," "),m(4),V(P(10,10,"Kodukontor")),H(11),m(3),dt(" ",P(13,12,"Kodukontor")," "),m(4),V(P(17,14,"Piltide ja videote laadimiseks")),H(18),m(3),dt(" ",P(20,16,"Piltide ja videote laadimiseks")," "))}function h2(e,t){if(1&e){const n=Xe();b(0,"eds-radio-group",87),A(1,"translate"),ve("edsChange",function(o){return Me(n),Se(R(4).updateTab(o))}),Ft(2,27),b(3,"eds-radio",88),ae(4,7),A(5,"translate"),w(),b(6,"eds-radio",89),ae(7,8),A(8,"translate"),w()()}if(2&e){const n=R(4);V(P(1,5,"Kuidas sa tavaliselt sisu tarbid?")),H(2),m(3),ut("checked","jarelvaatamiseta"==n.activeTab||null),m(2),V(P(5,7,"Vaatan ainult otsesaateid")),H(4),m(),ut("checked","jarelvaatamisega"==n.activeTab||null),m(2),V(P(8,9,"Kasutan j\xe4relvaatamist")),H(7)}}function p2(e,t){1&e&&(b(0,"eds-label"),ae(1,9),A(2,"translate"),w()),2&e&&(m(2),V(P(2,1,"Millist meelelahutuslikku sisu sa tavaliselt tarbid?")),H(1))}function g2(e,t){1&e&&(b(0,"eds-text",70),ae(1,10),A(2,"translate"),w()),2&e&&(m(2),V(P(2,1,"Vali k\xf5ik sobilikud valikud")),H(1))}function m2(e,t){1&e&&k(0,"eds-spacer",90)}function _2(e,t){if(1&e){const n=Xe();b(0,"eds-stack",72)(1,"div",73)(2,"eds-checkbox",91),A(3,"translate"),ve("edsChange",function(){return Me(n),Se(R(4).updateTVSugestion("huub"))}),Ft(4,28),Ne(5),A(6,"translate"),w(),k(7,"eds-icon",92),w(),b(8,"div",73)(9,"eds-checkbox",93),A(10,"translate"),ve("edsChange",function(){return Me(n),Se(R(4).updateTVSugestion("laste pakett"))}),Ft(11,29),Ne(12),A(13,"translate"),w(),k(14,"eds-icon",94),w(),b(15,"div",73)(16,"eds-checkbox",95),A(17,"translate"),ve("edsChange",function(){return Me(n),Se(R(4).updateTVSugestion("spordikanalid"))}),Ft(18,30),Ne(19),A(20,"translate"),w(),k(21,"eds-icon",96),w()()}2&e&&(m(2),V(P(3,6,"Filme, sarju ja saateid")),H(4),m(3),dt(" ",P(6,8,"Filme, sarju ja saateid")," "),m(4),V(P(10,10,"Lastesaateid ja -filme")),H(11),m(3),dt(" ",P(13,12,"Lastesaateid ja -filme")," "),m(4),V(P(17,14,"Spordikanaleid")),H(18),m(3),dt(" ",P(20,16,"Spordikanaleid")," "))}function y2(e,t){1&e&&k(0,"eds-divider",59)}function v2(e,t){1&e&&k(0,"eds-spacer",57)}function D2(e,t){if(1&e){const n=Xe();b(0,"eds-expand-link",45),ve("click",function(o){return Me(n),Se(R(3).openQuiz(o))}),k(1,"eds-spacer",46),b(2,"div",47),k(3,"eds-spacer",48),b(4,"div",49),k(5,"eds-spacer",50),b(6,"div",51),te(7,i2,15,15,"eds-radio-group",52)(8,s2,1,0,"eds-spacer",38)(9,a2,3,3,"eds-label",33)(10,l2,3,3,"eds-text",53)(11,u2,1,0,"eds-spacer",54)(12,c2,22,18,"eds-stack",55)(13,d2,1,0,"eds-divider",33)(14,f2,22,18,"eds-stack",56),k(15,"eds-spacer",57),te(16,h2,9,11,"eds-radio-group",58),k(17,"eds-divider",59)(18,"eds-divider",59)(19,"eds-spacer",57),te(20,p2,3,3,"eds-label",33)(21,g2,3,3,"eds-text",53)(22,m2,1,0,"eds-spacer",60)(23,_2,22,18,"eds-stack",55)(24,y2,1,0,"eds-divider",61)(25,v2,1,0,"eds-spacer",38),b(26,"div",62)(27,"eds-button",63),ve("click",function(){return Me(n),Se(R(3).scroll("packetsList"))}),kn(28,0),k(29,"eds-icon",64),A(30,"translate"),Ln(),w()(),k(31,"eds-spacer",57),w(),k(32,"eds-spacer",50),w()()()}if(2&e){const n=R(3);T("textOpen",n.description_text),m(7),T("ngIf",n.internetEnabled),m(),T("ngIf",n.internetEnabled),m(),T("ngIf",n.internetEnabled),m(),T("ngIf",n.internetEnabled),m(),T("ngIf",n.internetEnabled),m(),T("ngIf",n.internetEnabled),m(),T("ngIf",n.internetEnabled),m(),T("ngIf",n.internetEnabled),m(2),T("ngIf",n.tvEnabled),m(4),T("ngIf",n.tvEnabled),m(),T("ngIf",n.tvEnabled),m(),T("ngIf",n.tvEnabled),m(),T("ngIf",n.tvEnabled),m(),T("ngIf",n.tvEnabled),m(),T("ngIf",n.tvEnabled),m(5),V(P(30,17,"N\xe4ita pakette")),H(28)}}function E2(e,t){1&e&&(b(0,"eds-heading",97),ae(1,11),A(2,"translate"),w()),2&e&&(m(2),V(P(2,1,"Koduinterneti paketid")),H(1))}function C2(e,t){1&e&&k(0,"eds-spacer",42)}function I2(e,t){if(1&e&&(b(0,"eds-container"),te(1,o2,1,0,"eds-spacer",40)(2,D2,33,19,"eds-expand-link",41),k(3,"eds-spacer",42),te(4,E2,3,3,"eds-heading",43)(5,C2,1,0,"eds-spacer",36),w()),2&e){const n=R(2);m(),T("ngIf",n.internetEnabled),m(),T("ngIf",n.internetEnabled),m(2),T("ngIf",n.internetEnabled),m(),T("ngIf",n.internetEnabled)}}function T2(e,t){if(1&e){const n=Xe();b(0,"eds-carousel-item")(1,"quiz-product",100),ve("callToParent",function(o){return Me(n),Se(R(3).selectProduct(o,"internet"))}),w()()}if(2&e){const n=t.$implicit,r=t.index,o=R(3);m(),T("product",n)("lang",o.lang)("selected",o.selected.internet==n&&o.tvEnabled)("sobib",o.checkInetSuggestion(n.originalIndex,o.internetSuggestion))("populaarne",null==n?null:n.populaarne)("position",r)("tvEnabled",o.tvEnabled)("partners",o.partners)}}function w2(e,t){if(1&e&&(b(0,"eds-carousel",98),te(1,T2,2,8,"eds-carousel-item",99),A(2,"PopularitySortPipe"),w()),2&e){const n=R(2);m(),T("ngForOf",P(2,1,n.products))}}function b2(e,t){1&e&&k(0,"eds-spacer",42)}function M2(e,t){1&e&&(b(0,"eds-container"),k(1,"eds-divider",101)(2,"eds-spacer",42),b(3,"eds-heading",97),ae(4,12),A(5,"translate"),w(),k(6,"eds-spacer",42),w()),2&e&&(m(5),V(P(5,1,"TV-paketid")),H(4))}function S2(e,t){if(1&e){const n=Xe();b(0,"eds-tab",105),ve("edsTabActiveChanged",function(o){return Me(n),Se(R(3).updateTab(o,"jarelvaatamiseta"))}),ae(1,13),A(2,"translate"),w()}2&e&&(ut("active","jarelvaatamiseta"==R(3).activeTab||null),m(2),V(P(2,2,"Ilma j\xe4relvaatamiseta")),H(1))}function N2(e,t){if(1&e){const n=Xe();b(0,"eds-tab",105),ve("edsTabActiveChanged",function(o){return Me(n),Se(R(3).updateTab(o,"jarelvaatamisega"))}),ae(1,14),A(2,"translate"),w()}2&e&&(ut("active","jarelvaatamisega"==R(3).activeTab||null),m(2),V(P(2,2,"Koos j\xe4relvaatamisega")),H(1))}function F2(e,t){1&e&&k(0,"eds-spacer",42)}function A2(e,t){if(1&e){const n=Xe();b(0,"eds-carousel-item")(1,"quiz-tv",107),ve("callToParent",function(o){return Me(n),Se(R(4).selectProduct(o,"tv"))}),w()()}if(2&e){const n=t.$implicit,r=t.index,o=R(4);m(),T("product",n)("lang",o.lang)("selected",o.selected.tv==n&&o.internetEnabled)("sobib",o.checkTVSuggestions(n))("populaarne",1==r&&n.name.toLowerCase().includes("populaarne elamus"))("internetEnabled",o.internetEnabled)("partners",o.partners)}}function P2(e,t){if(1&e&&(b(0,"div",106),te(1,F2,1,0,"eds-spacer",36),b(2,"eds-carousel",98),te(3,A2,2,7,"eds-carousel-item",99),w()()),2&e){const n=t.$implicit,r=R(3);m(),T("ngIf",r.tvEnabled),m(2),T("ngForOf",r.tv[n])}}function R2(e,t){if(1&e&&(b(0,"eds-tabs",102),te(1,S2,3,4,"eds-tab",103)(2,N2,3,4,"eds-tab",103)(3,P2,4,2,"div",104),w()),2&e){const n=R(2);m(),T("ngIf",n.tv.jarelvaatamiseta.length),m(),T("ngIf",n.tv.jarelvaatamisega.length),m(),T("ngForOf",function Yv(e,t,n){const r=lt()+e,o=E();return o[r]===Y?gn(o,r,n?t.call(n):t()):function Ji(e,t){return e[t]}(o,r)}(3,n2))}}function O2(e,t){1&e&&k(0,"eds-spacer",57)}function x2(e,t){if(1&e&&(b(0,"eds-heading",115),ae(1,17),A(2,"customCurrency"),A(3,"translate"),w()),2&e){const n=R(3);m(3),V(qo(3,3,"Kokku {{ monthlyPrice }} kuus",rr(6,r2,P(2,1,n.monthlyPrice)))),H(1)}}function k2(e,t){1&e&&k(0,"eds-spacer",116)}function L2(e,t){1&e&&(b(0,"eds-text",117),ae(1,18),A(2,"translate"),w()),2&e&&(m(2),V(P(2,1,"Hinnale lisandub seadmete \xfc\xfcritasu v\xf5i osamaksetega v\xe4ljaostmise hind.")),H(1))}function $2(e,t){1&e&&k(0,"eds-spacer",42)}function j2(e,t){1&e&&(b(0,"eds-tooltip",118),ae(1,19),A(2,"translate"),w()),2&e&&(m(2),V(P(2,1,"J\xe4tkamiseks vali sobiv koduinterneti ja TV-pakett")),H(1))}function V2(e,t){if(1&e){const n=Xe();b(0,"eds-container")(1,"eds-alert",108),ae(2,15),A(3,"translate"),w(),k(4,"eds-spacer",57),b(5,"div",109),te(6,x2,4,8,"eds-heading",110)(7,k2,1,0,"eds-spacer",111)(8,L2,3,3,"eds-text",112)(9,$2,1,0,"eds-spacer",36)(10,j2,3,3,"eds-tooltip",113),b(11,"eds-button",114),ve("click",function(){return Me(n),Se(R(2).movetoITB())}),ae(12,16),A(13,"translate"),w()()()}if(2&e){const n=R(2);m(3),V(P(3,8,"Koduinterneti ja TV-teenuse tarbimiseks vajalikud seadmed saad lisada j\xe4rgmises sammus.")),H(2),m(3),T("ngIf",-1!==n.monthlyPrice&&n.monthlyPrice>0),m(),T("ngIf",-1!==n.monthlyPrice&&n.monthlyPrice>0),m(),T("ngIf",-1!==n.monthlyPrice&&n.monthlyPrice>0),m(),T("ngIf",-1!==n.monthlyPrice&&n.monthlyPrice>0),m(),T("ngIf",-1===n.monthlyPrice||0==n.monthlyPrice),m(),ut("disabled",-1===n.monthlyPrice||0==n.monthlyPrice||null),m(2),V(P(13,10,"Edasi")),H(12)}}function U2(e,t){1&e&&k(0,"eds-spacer",119)}function B2(e,t){if(1&e&&(b(0,"div",32),te(1,I2,6,4,"eds-container",33),b(2,"section",34),te(3,w2,3,3,"eds-carousel",35)(4,b2,1,0,"eds-spacer",36)(5,M2,7,3,"eds-container",33)(6,R2,4,4,"eds-tabs",37)(7,O2,1,0,"eds-spacer",38)(8,V2,14,12,"eds-container",33)(9,U2,1,0,"eds-spacer",39),w()()),2&e){const n=R();T("ngClass",rr(9,t2,n.internetEnabled)),m(),T("ngIf",n.addressData&&n.addressData.inAddressId&&(null==n.products?null:n.products.length)&&(!n.tvEnabled||1==n.tvEnabled&&((null==n.tv||null==n.tv.jarelvaatamiseta?null:n.tv.jarelvaatamiseta.length)||(null==n.tv||null==n.tv.jarelvaatamisega?null:n.tv.jarelvaatamisega.length)))),m(2),T("ngIf",n.products&&n.internetEnabled),m(),T("ngIf",n.tvEnabled&&n.internetEnabled&&n.tv&&n.products),m(),T("ngIf",n.tvEnabled&&n.internetEnabled&&n.tv&&n.products),m(),T("ngIf",n.tv.jarelvaatamiseta.length>0||n.tv.jarelvaatamisega.length>0),m(),T("ngIf",n.internetEnabled&&n.tvEnabled),m(),T("ngIf",n.internetEnabled&&n.tvEnabled),m(),T("ngIf",n.internetEnabled&&n.tvEnabled)}}let fI=(()=>{class e{onSessionEvent(n){this.intraUser=typeof n.detail<"u"&&typeof n.detail.is_intra_user<"u"&&n.detail.is_intra_user,this.cdRef.detectChanges()}constructor(n,r,o,i,s){this.elementRef=n,this.QuizService=r,this.translate=o,this.DataLayerService=i,this.intraUser=!1,this.activeTab="jarelvaatamiseta",this.partners=!1,this.tv={jarelvaatamisega:[],jarelvaatamiseta:[]},this.selected={tv:null,internet:null},this.monthlyPrice=-1,this.score=0,this.devices=1,this.tvSuggestion=[],this.tvEnabled=!1,this.internetEnabled=!1,this.addressData={inAddressId:0,inAddressObjectId:0,svAddressId:0,label:""},this.scores=[{isChecked:!1,value:5},{isChecked:!1,value:5},{isChecked:!1,value:50},{isChecked:!1,value:50},{isChecked:!1,value:50},{isChecked:!1,value:100}],this.addressData.inAddressId=Number(this.elementRef.nativeElement.getAttribute("inAddressId")),this.addressData.inAddressObjectId=Number(this.elementRef.nativeElement.getAttribute("inAddressObjectId")),this.addressData.svAddressId=Number(this.elementRef.nativeElement.getAttribute("svAddressId")),this.tvEnabled=0!=this.elementRef.nativeElement.getAttribute("tv"),this.internetEnabled=0!=this.elementRef.nativeElement.getAttribute("internet"),this.lang=this.elementRef.nativeElement.getAttribute("lang")??"et",this.activeTab=this.elementRef.nativeElement.getAttribute("activeTab")??"jarelvaatamiseta",this.partners=this.elementRef.nativeElement.getAttribute("partners")??!1,this.campaign=this.elementRef.nativeElement.getAttribute("campaign")??!1,this.cdRef=s,typeof this.lang<"u"&&(this.translate.getLangs().includes(this.lang)||this.translate.setDefaultLang(this.lang),this.translate.use(this.lang).subscribe(()=>{setTimeout(()=>{this.cdRef.detectChanges()})})),this.tvEnabled&&this.internetEnabled?o.get("Ei tea millist internetikiirust ja TV-paketti valida?").subscribe(a=>{this.description_text=a,this.cdRef.detectChanges()}):this.internetEnabled?o.get("Ei tea millist internetikiirust valida?").subscribe(a=>{this.description_text=a,this.cdRef.detectChanges()}):this.tvEnabled&&o.get("Ei tea millist Elamust valida?").subscribe(a=>{this.description_text=a,this.cdRef.detectChanges()}),window.addEventListener("updateAddressData",a=>{const l=a.detail;l&&(this.addressData=l,this.ngOnInit(),this.cdRef.detectChanges())})}ngOnInit(){typeof this.addressData<"u"&&0!==this.addressData.inAddressId&&this.internetEnabled?this.QuizService.getProducts(this.lang,this.addressData,this.internetEnabled&&this.tvEnabled?"BOTH":"INTERNET",this.intraUser,this.partners,this.campaign).subscribe(n=>{typeof n.INTERNET<"u"&&(this.products=n.INTERNET.products),typeof n.TV<"u"&&(this.tv.jarelvaatamisega=this.jarelvaatmamisega(n.TV.products,!0),this.tv.jarelvaatamiseta=this.jarelvaatmamisega(n.TV.products,!1)),(typeof n.INTERNET<"u"||typeof n.TV<"u")&&window.dispatchEvent(new CustomEvent("updatePacketList",{detail:{internetPackages:n.INTERNET&&n.INTERNET.products?n.INTERNET.products.length:void 0,tvPackages:n.TV&&n.TV.products?n.TV.products.length:void 0}})),this.internetEnabled&&this.selected.internet&&this.updatePrice(),this.cdRef.detectChanges()}):!this.internetEnabled&&this.tvEnabled&&this.QuizService.getProducts(this.lang,{},"TV",!1,this.partners).subscribe(n=>{typeof n.TV<"u"&&(this.tv.jarelvaatamisega=this.jarelvaatmamisega(n.TV.products,!0),this.tv.jarelvaatamiseta=this.jarelvaatmamisega(n.TV.products,!1)),this.cdRef.detectChanges()})}scroll(n){let r={flow_category1:"",flow_category2:"",flow_category3:"",flow_category4:""},o=document.getElementsByClassName(n);Array.from(o).forEach(u=>{typeof u<"u"&&null!==u&&u.scrollIntoView({behavior:"smooth"})});let i=document.querySelector('eds-radio-group[name="number-of-devices"] eds-radio[checked]');i&&(r.flow_category1=i.getAttribute("text")??"");let s=document.querySelectorAll('eds-checkbox[name="kasutus"][checked]');s&&s.forEach(u=>{r.flow_category2+=(r.flow_category2?", ":"")+u.getAttribute("text").trim()});let a=document.querySelector('eds-radio-group[name="jarelvaatamine"] eds-radio[checked]');a&&(r.flow_category3=a.getAttribute("text")??"");let l=document.querySelectorAll('eds-checkbox[name="meelelahutus"][checked]');l&&l.forEach(u=>{r.flow_category4+=(r.flow_category4?", ":"")+u.getAttribute("text").trim()}),this.DataLayerService.pushData({event:"finish_questionnaire",content:r}),this.cdRef.detectChanges()}selectProduct(n,r){this.internetEnabled&&this.tvEnabled?(n==this.selected[r]?delete this.selected[r]:(this.selected[r]=n,this.DataLayerService.pushData({event:"select_product",content:{item_name:n.name,item_id:n.id,currency:"EUR",value:n.price.campaignPrice?parseFloat(n.price.campaignPrice):parseFloat(n.price.monthlyPrice)}})),this.updatePrice()):(this.selected[r]=n,this.updatePrice(),this.movetoITB()),this.cdRef.detectChanges()}updatePrice(){this.monthlyPrice=0,this.internetEnabled&&this.selected.internet&&(this.monthlyPrice=this.selected.internet.price.campaignPrice?parseFloat(this.selected.internet.price.campaignPrice):parseFloat(this.selected.internet.price.monthlyPrice)),this.tvEnabled&&this.selected.tv&&(this.monthlyPrice+=this.selected.tv.price.campaignPrice?parseFloat(this.selected.tv.price.campaignPrice):parseFloat(this.selected.tv.price.monthlyPrice)),this.cdRef.detectChanges()}updateTab(n,r){n&&n.target&&!r?this.activeTab=n.currentTarget.value:r&&typeof n.detail<"u"&&n.detail.active&&(this.activeTab=r);let o=this.activeTab??"";this.DataLayerService.pushData({event:"click_cta",content:{name:o[0].toUpperCase()+o.slice(1)}}),this.cdRef.detectChanges()}updateScores(n,r){if(r&&r.target&&r.target){let o=r.currentTarget;typeof o.value<"u"&&(this.devices=Number(o.value))}typeof n<"u"&&(this.scores[n].isChecked=!this.scores[n].isChecked),this.score=this.scores.filter(o=>o.isChecked).reduce((o,i)=>o+i.value+0,0),this.score>0&&this.score<15?(this.internetSuggestion="MIN",this.devices>2&&(this.internetSuggestion="MID")):this.score>=15&&this.score<200?(this.internetSuggestion="MID",this.devices>2&&(this.internetSuggestion="MAX")):this.score>=200?this.internetSuggestion="MAX":0==this.score&&delete this.internetSuggestion,this.cdRef.detectChanges()}checkInetSuggestion(n,r){return{2:"MIN",1:"MID",0:"MAX"}[n]===r&&typeof r<"u"}updateTVSugestion(n){this.tvSuggestion&&n&&-1!==this.tvSuggestion.indexOf(n)?delete this.tvSuggestion[this.tvSuggestion.indexOf(n)]:this.tvSuggestion.push(n),this.cdRef.detectChanges()}checkTVSuggestions(n){let r=-1;return 0!==this.tvSuggestion.length&&(r=0),-1!==this.tvSuggestion.indexOf("huub")&&this.checkTranslations(n,"huub")&&r++,-1!==this.tvSuggestion.indexOf("laste pakett")&&this.checkTranslations(n,"laste pakett")&&r++,-1!==this.tvSuggestion.indexOf("spordikanalid")&&this.checkTranslations(n,"spordi")&&r++,r===Object.keys(this.tvSuggestion).length&&r>0}getPublicParams(n,r){let o=n.publicParams.filter(i=>i.name===r);if(typeof o<"u"&&o[0]&&typeof this.lang<"u")return o[0].valueTranslation[this.lang]}checkTranslations(n,r){return typeof n.productTranslations<"u"&&typeof n.productTranslations.productBulletList<"u"&&typeof n.productTranslations.productBulletList.et<"u"&&-1!==n.productTranslations.productBulletList.et.toLocaleLowerCase().indexOf(r)}movetoITB(){let n="/"+this.lang+"/itb/elamus-liitumine?",r={currency:"EUR",value:this.monthlyPrice,item_id:"",item_name:""};typeof this.selected.internet<"u"&&this.selected.internet&&(n+="productId="+this.selected.internet.id,r.item_id=this.selected.internet.id,r.item_name=this.selected.internet.name,this.tvEnabled&&(n+="&")),typeof this.selected.tv<"u"&&this.selected.tv&&(n+="productId="+this.selected.tv.id,r.item_id+=(r.item_id?", ":"")+this.selected.tv.id,r.item_name+=(r.item_name?", ":"")+this.selected.tv.name),typeof this.campaign<"u"&&this.campaign&&(n+="&campaign="+this.campaign),this.DataLayerService.pushData({event:"flow_select_item",content:r});let o=new Un;0!==this.addressData.inAddressId&&(o=o.appendAll({inAdd:this.addressData.inAddressId,inAddObj:this.addressData.inAddressObjectId,svAdd:this.addressData.svAddressId,addLabel:this.addressData.label??""}),n+="&"+o.toString()),location.href=n}jarelvaatmamisega(n,r){if(typeof n<"u")return n.filter(o=>this.getPublicParams(o,"tv_additional_service_catch_up")?r&&!o.name.toLowerCase().includes("huub"):!r&&!o.name.toLowerCase().includes("huub"))}openQuiz(n){if(n&&n.target&&n.target){let r=n.currentTarget,o=r.hasAttribute("is-open");r.getAttribute("text-open"),o||this.DataLayerService.pushData({event:"open_questionnaire",content:{name:"Ei tea millist Internetikiirust ja TV-pakeeti valida?"}})}}static#e=this.\u0275fac=function(r){return new(r||e)(z(Tr),z(bh),z(Br),z(Wl),z(jr))};static#t=this.\u0275cmp=Gs({type:e,selectors:[["koduinternet-quiz"]],hostBindings:function(r,o){1&r&&ve("session",function(s){return o.onSessionEvent(s)},0,Wg)},inputs:{inAddressId:"inAddressId",inAddressObjectId:"inAddressObjectId",svAddressId:"svAddressId",lang:"lang"},features:[Hv([bh,Wl])],decls:1,vars:1,consts:()=>{let n,r,o,i,s,a,l,u,c,d,f,h,p,g,_,C,D,F,U,J,ie,$e,jt,bs,Kl,hI,pI,gI,mI,_I,yI;return n=$localize`:@@Korraga internetti kasutavate seadmete arv:${"\ufffd0\ufffd"}:INTERPOLATION:`,r=$localize`:@@Kuidas sa tavaliselt sisu tarbid?:${"\ufffd0\ufffd"}:INTERPOLATION:`,o=$localize`:@@Näita pakette:${"\ufffd#29\ufffd"}:START_TAG_EDS_ICON:${"\ufffd/#29\ufffd"}:CLOSE_TAG_EDS_ICON:${"\ufffd0\ufffd"}:INTERPOLATION:`,i=$localize`:@@1-2 seadet:${"\ufffd0\ufffd"}:INTERPOLATION:`,s=$localize`:@@3-4 seadet:${"\ufffd0\ufffd"}:INTERPOLATION:`,a=$localize`:@@5-6 seadet:${"\ufffd0\ufffd"}:INTERPOLATION:`,l=$localize`:@@7+ seadet:${"\ufffd0\ufffd"}:INTERPOLATION:`,u=$localize`:@@Milleks kasutad internetti?:${"\ufffd0\ufffd"}:INTERPOLATION:`,c=$localize`:@@Vali kõik sobilikud valikud:${"\ufffd0\ufffd"}:INTERPOLATION:`,d=$localize`:@@Internetis surfamiseks:${"\ufffd0\ufffd"}:INTERPOLATION:`,f=$localize`:@@Uudiste ja kirjade lugemiseks:${"\ufffd0\ufffd"}:INTERPOLATION:`,h=$localize`:@@Filmide-seriaalide vaatamiseks:${"\ufffd0\ufffd"}:INTERPOLATION:`,p=$localize`:@@Mängimiseks:${"\ufffd0\ufffd"}:INTERPOLATION:`,g=$localize`:@@Kodukontor:${"\ufffd0\ufffd"}:INTERPOLATION:`,_=$localize`:@@Piltide ja videote laadimiseks:${"\ufffd0\ufffd"}:INTERPOLATION:`,C=$localize`:@@Vaatan ainult otsesaateid:${"\ufffd0\ufffd"}:INTERPOLATION:`,D=$localize`:@@Kasutan järelvaatamist:${"\ufffd0\ufffd"}:INTERPOLATION:`,F=$localize`:@@Millist meelelahutuslikku sisu sa tavaliselt tarbid?:${"\ufffd0\ufffd"}:INTERPOLATION:`,U=$localize`:@@Vali kõik sobilikud valikud:${"\ufffd0\ufffd"}:INTERPOLATION:`,J=$localize`:@@Filme, sarju ja saateid:${"\ufffd0\ufffd"}:INTERPOLATION:`,ie=$localize`:@@Lastesaateid ja -filme:${"\ufffd0\ufffd"}:INTERPOLATION:`,$e=$localize`:@@Spordikanaleid:${"\ufffd0\ufffd"}:INTERPOLATION:`,jt=$localize`:@@Koduinterneti paketid:${"\ufffd0\ufffd"}:INTERPOLATION:`,bs=$localize`:@@TV-paketid:${"\ufffd0\ufffd"}:INTERPOLATION:`,Kl=$localize`:@@Ilma järelvaatamiseta:${"\ufffd0\ufffd"}:INTERPOLATION:`,hI=$localize`:@@Koos järelvaatamisega:${"\ufffd0\ufffd"}:INTERPOLATION:`,pI=$localize`:@@Koduinterneti ja TV-teenuse tarbimiseks vajalikud seadmed saad lisada järgmises sammus.:${"\ufffd0\ufffd"}:INTERPOLATION:`,gI=$localize`:@@Edasi:${"\ufffd0\ufffd"}:INTERPOLATION:`,mI=$localize`:@@Kokku {{ monthlyPrice }} kuus:${"\ufffd0\ufffd"}:INTERPOLATION:`,_I=$localize`:@@Hinnale lisandub seadmete üüritasu või osamaksetega väljaostmise hind.:${"\ufffd0\ufffd"}:INTERPOLATION:`,yI=$localize`:@@Jätkamiseks vali sobiv koduinterneti ja TV-pakett:${"\ufffd0\ufffd"}:INTERPOLATION:`,[o,i,s,a,l,u,c,C,D,F,U,jt,bs,Kl,hI,pI,gI,mI,_I,yI,["label",n],["value",d],["value",f],["value",h],["value",p],["value",g],["value",_],["label",r],["value",J],["value",ie],["value",$e],[3,"ngClass",4,"ngIf"],[3,"ngClass"],[4,"ngIf"],[1,"packetsList"],["page-size","3","nav-arrows-dark-bg","",4,"ngIf"],["size","5",4,"ngIf"],["variant","line","text-aria-label","","contain-tabs-width","",4,"ngIf"],["size","6",4,"ngIf"],["size",'{ "xs": 6, "md": 10 }',4,"ngIf"],["size",'{ "xs": 5, "md": 4 }',4,"ngIf"],["weight","bold",3,"textOpen","click",4,"ngIf"],["size","5"],["level","2","no-spacing","",4,"ngIf"],["size",'{ "xs": 5, "md": 4 }'],["weight","bold",3,"click","textOpen"],["size","7"],[1,"eds-bg-color-white"],["size",'{"xs": 4, "md": 6 }'],[1,"eds-flex"],["direction","vertical","size",'{ "xs": 4, "md": 6 }'],[1,"eds-w-100"],["required","","name","number-of-devices","variant","solid","responsive","","eds-radio-group","","ces-width","",3,"label","edsChange",4,"ngIf"],["size","2",4,"ngIf"],["size","4",4,"ngIf"],["dividers","","direction",'{"xs": "column", "md": "row"}',"spacing","0",4,"ngIf"],["dividers","","direction",'{"xs": "column", "md": "row"}',"class","eds-w-100","spacing","0",4,"ngIf"],["size","6"],["required","","name","jarelvaatamine","variant","solid","responsive","","eds-radio-group","","ces-width","",3,"label","edsChange",4,"ngIf"],[1,"eds-hide-md-up"],["size",'{ "xs": 0, "md": 4 }',4,"ngIf"],["class","eds-hide-md-up",4,"ngIf"],[1,"eds-flex","eds-justify-content-center"],["responsive","","variant","link",3,"click"],["name","circle-down"],["required","","name","number-of-devices","variant","solid","responsive","","eds-radio-group","","ces-width","",3,"edsChange",6,"label"],["value","1","text","1-2 seadet"],["value","2","checked","","text","3-4 seadet"],["value","3","text","5-6 seadet"],["value","4","text","7+ seadet"],["size","2"],["size","4"],["dividers","","direction",'{"xs": "column", "md": "row"}',"spacing","0"],[1,"eds-flex","eds-align-items-center","eds-px-4","eds-py-6","eds-w-100"],["name","kasutus","text","Internetis surfamiseks","weight","bold",1,"eds-mr-4","eds-w-100",3,"edsChange",6,"value"],["aria-hidden","true","color","light-blue-50","name","globe","size","10",2,"flex-shrink","0"],["name","kasutus","text","Uudiste ja kirjade lugemiseks","weight","bold",1,"eds-mr-4","eds-w-100",3,"edsChange",6,"value"],["aria-hidden","true","color","light-blue-50","name","envelope","size","10",2,"flex-shrink","0"],["name","kasutus","text","Filmide-seriaalide vaatamiseks","weight","bold",1,"eds-mr-4","eds-w-100",3,"edsChange",6,"value"],["aria-hidden","true","color","light-blue-50","name","video","size","10",2,"flex-shrink","0"],["dividers","","direction",'{"xs": "column", "md": "row"}',"spacing","0",1,"eds-w-100"],["name","kasutus","text","M\xe4ngimiseks","weight","bold",1,"eds-mr-4","eds-w-100",3,"edsChange",6,"value"],["aria-hidden","true","color","light-blue-50","name","gamepad","size","10",2,"flex-shrink","0"],["name","kasutus","text","Kodukontor","weight","bold",1,"eds-mr-4","eds-w-100",3,"edsChange",6,"value"],["aria-hidden","true","color","light-blue-50","name","camera-web","size","10",2,"flex-shrink","0"],["name","kasutus","text","Piltide ja videote laadimiseks","weight","bold",1,"eds-mr-4","eds-w-100",3,"edsChange",6,"value"],["aria-hidden","true","color","light-blue-50","name","photo-film","size","10",2,"flex-shrink","0"],["required","","name","jarelvaatamine","variant","solid","responsive","","eds-radio-group","","ces-width","",3,"edsChange",6,"label"],["value","jarelvaatamiseta","text","Vaatan ainult otsesaateid"],["value","jarelvaatamisega","text","Kasutan j\xe4relvaatamist"],["size",'{ "xs": 0, "md": 4 }'],["name","meelelahutus","text","Filme, sarju ja saateid","weight","bold",1,"eds-mr-4","eds-w-100",3,"edsChange",6,"value"],["aria-hidden","true","color","light-blue-50","name","clapperboard","size","10",2,"flex-shrink","0"],["name","meelelahutus","text","Lastesaateid ja -filme","weight","bold",1,"eds-mr-4","eds-w-100",3,"edsChange",6,"value"],["aria-hidden","true","color","light-blue-50","name","teddy-bear","size","10",2,"flex-shrink","0"],["name","meelelahutus","text","Spordikanaleid","weight","bold",1,"eds-mr-4","eds-w-100",3,"edsChange",6,"value"],["aria-hidden","true","color","light-blue-50","name","futbol","size","10",2,"flex-shrink","0"],["level","2","no-spacing",""],["page-size","3","nav-arrows-dark-bg",""],[4,"ngFor","ngForOf"],[3,"callToParent","product","lang","selected","sobib","populaarne","position","tvEnabled","partners"],["variant","dashed-plus",2,"--divider-color","var(--color-gray-50)"],["variant","line","text-aria-label","","contain-tabs-width",""],["slot","tab",3,"edsTabActiveChanged",4,"ngIf"],["slot","tab-content",4,"ngFor","ngForOf"],["slot","tab",3,"edsTabActiveChanged"],["slot","tab-content"],[3,"callToParent","product","lang","selected","sobib","populaarne","internetEnabled","partners"],["information-only","","type","info","variant","secondary"],[1,"eds-flex","eds-flex-direction-column","eds-align-items-center"],["no-spacing","","level","3","weight","bold",4,"ngIf"],["size","3",4,"ngIf"],["horizontal-align","center","color","gray-50","size","2",4,"ngIf"],["target","#disabled-btn",4,"ngIf"],["id","disabled-btn","size","large","responsive","",3,"click"],["no-spacing","","level","3","weight","bold"],["size","3"],["horizontal-align","center","color","gray-50","size","2"],["target","#disabled-btn"],["size",'{ "xs": 6, "md": 10 }']]},template:function(r,o){1&r&&te(0,B2,10,11,"div",31),2&r&&T("ngIf",!o.tvEnabled||!0===o.tvEnabled&&((null==o.tv||null==o.tv.jarelvaatamiseta?null:o.tv.jarelvaatamiseta.length)||(null==o.tv||null==o.tv.jarelvaatamisega?null:o.tv.jarelvaatamisega.length)))},dependencies:[Gf,FE,Ol,NL,JL,vh,Mh,e2]})}return e})();const Xl={schedule(e,t){const n=setTimeout(e,t);return()=>clearTimeout(n)},scheduleBeforeRender(e){if(typeof window>"u")return Xl.schedule(e,0);if(typeof window.requestAnimationFrame>"u")return Xl.schedule(e,16);const t=window.requestAnimationFrame(e);return()=>window.cancelAnimationFrame(t)}};let Sh;function Y2(e,t,n){let r=n;return function G2(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some((o,i)=>!("*"===o||!function q2(e,t){if(!Sh){const n=Element.prototype;Sh=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&Sh.call(e,t)}(e,o)||(r=i,0))),r}class e${constructor(t,n){this.componentFactory=n.get(Mo).resolveComponentFactory(t)}create(t){return new t$(this.componentFactory,t)}}class t${constructor(t,n){this.componentFactory=t,this.injector=n,this.eventEmitters=new PC(1),this.events=this.eventEmitters.pipe(Vl(r=>function H2(...e){const t=sh(e),n=function Tx(e,t){return"number"==typeof ih(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?Kt(r[0]):SC(n)(Ll(r,t)):dh}(...r))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:r})=>r)),this.ngZone=this.injector.get(ye),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=Xl.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(t){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,n,r){this.runInZone(()=>{r&&(n=r.call(this.componentRef?.instance,n)),null!==this.componentRef?function Z2(e,t){return e===t||e!=e&&t!=t}(n,this.getInputValue(t))&&(void 0!==n||!this.unchangedInputs.has(t))||(this.recordInputChange(t,n),this.unchangedInputs.delete(t),this.hasInputChanges=!0,this.componentRef.instance[t]=n,this.scheduleDetectChanges()):this.initialInputValues.set(t,n)})}initializeComponent(t){const n=_t.create({providers:[],parent:this.injector}),r=function K2(e,t){const n=e.childNodes,r=t.map(()=>[]);let o=-1;t.some((i,s)=>"*"===i&&(o=s,!0));for(let i=0,s=n.length;i<s;++i){const a=n[i],l=Y2(a,t,o);-1!==l&&r[l].push(a)}return r}(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(n,r,t),this.viewChangeDetectorRef=this.componentRef.injector.get(jr),this.implementsOnChanges=function Q2(e){return"function"==typeof e}(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(or).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:t,transform:n})=>{this.initialInputValues.has(t)&&this.setInputValue(t,this.initialInputValues.get(t),n)}),this.initialInputValues.clear()}initializeOutputs(t){const n=this.componentFactory.outputs.map(({propName:r,templateName:o})=>t.instance[r].pipe(en(s=>({name:o,value:s}))));this.eventEmitters.next(n)}callNgOnChanges(t){if(!this.implementsOnChanges||null===this.inputChanges)return;const n=this.inputChanges;this.inputChanges=null,t.instance.ngOnChanges(n)}markViewForCheck(t){this.hasInputChanges&&(this.hasInputChanges=!1,t.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=Xl.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(t,n){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const r=this.inputChanges[t];if(r)return void(r.currentValue=n);const o=this.unchangedInputs.has(t),i=o?void 0:this.getInputValue(t);this.inputChanges[t]=new Cp(i,n,o)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}}class n$ extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}let o$=(()=>{class e{constructor(n){this.injector=n;const r=function r$(e,t){const n=function X2(e,t){return t.get(Mo).resolveComponentFactory(e).inputs}(e,t.injector),r=t.strategyFactory||new e$(e,t.injector),o=function W2(e){const t={};return e.forEach(({propName:n,templateName:r,transform:o})=>{t[function z2(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}(r)]=[n,o]}),t}(n);class i extends n${static#e=this.observedAttributes=Object.keys(o);get ngElementStrategy(){if(!this._ngElementStrategy){const a=this._ngElementStrategy=r.create(this.injector||t.injector);n.forEach(({propName:l,transform:u})=>{if(!this.hasOwnProperty(l))return;const c=this[l];delete this[l],a.setInputValue(l,c,u)})}return this._ngElementStrategy}constructor(a){super(),this.injector=a}attributeChangedCallback(a,l,u,c){const[d,f]=o[a];this.ngElementStrategy.setInputValue(d,u,f)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{const l=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(l)})}}return n.forEach(({propName:s,transform:a})=>{Object.defineProperty(i.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(l){this.ngElementStrategy.setInputValue(s,l,a)},configurable:!0,enumerable:!0})}),i}(fI,{injector:n});customElements.define("koduinternet-quiz",r)}ngDoBootstrap(){}static#e=this.\u0275fac=function(r){return new(r||e)(j(_t))};static#t=this.\u0275mod=mr({type:e,bootstrap:[fI]});static#n=this.\u0275inj=Qn({providers:[bh,Br],imports:[_x,oI,UC.forRoot({loader:{provide:Cs,useFactory:i$,deps:[Ch]}}),kE,oI,UC]})}return e})();function i$(e){return new Dk(e,"/","/elamus/getTranslations")}gx().bootstrapModule(o$,{ngZone:"noop"}).catch(e=>console.error(e))},73:()=>{const Dn=":";Error;const si=function(y,...v){if(si.translate){const M=si.translate(y,v);y=M[0],v=M[1]}let I=ai(y[0],y.raw[0]);for(let M=1;M<y.length;M++)I+=v[M-1]+ai(y[M],y.raw[M]);return I},Oh=":";function ai(y,v){return v.charAt(0)===Oh?y.substring(function ru(y,v){for(let I=1,M=1;I<y.length;I++,M++)if("\\"===v[M])M++;else if(y[I]===Dn)return I;throw new Error(`Unterminated $localize metadata block in "${v}".`)}(y,v)+1):y}globalThis.$localize=si}},Dn=>{var Bn=Ae=>Dn(Dn.s=Ae);Bn(73),Bn(615)}]);