globalThis.$localize=Object.assign(globalThis.$localize || {},{locale:"en"});
"use strict";(function(global,_global$ng,_global$ng2,_global$ng2$common,_global$ng$common,_global$ng$common$loc){(_global$ng=global.ng)!==null&&_global$ng!==void 0?_global$ng:global.ng={};(_global$ng2$common=(_global$ng2=global.ng).common)!==null&&_global$ng2$common!==void 0?_global$ng2$common:_global$ng2.common={};(_global$ng$common$loc=(_global$ng$common=global.ng.common).locales)!==null&&_global$ng$common$loc!==void 0?_global$ng$common$loc:_global$ng$common.locales={};const u=undefined;function plural(val){const n=val,i=Math.floor(Math.abs(val)),v=val.toString().replace(/^[^.]*\.?/,"").length;if(i===1&&v===0)return 1;return 5}global.ng.common.locales["en"]=["en",[["a","p"],["AM","PM"],u],[["AM","PM"],u,u],[["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"]],u,[["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"]],u,[["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}",u,"{1} 'at' {0}",u],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",plural,[[["mi","n","in the morning","in the afternoon","in the evening","at night"],["midnight","noon","in the morning","in the afternoon","in the evening","at night"],u],[["midnight","noon","morning","afternoon","evening","night"],u,u],["00:00","12:00",["06:00","12:00"],["12:00","18:00"],["18:00","21:00"],["21:00","06:00"]]]]})(globalThis);;
"use strict";(self.webpackChunkwebshop_price_tag=self.webpackChunkwebshop_price_tag||[]).push([[792],{401:(Qc,Jh,Kh)=>{let Me=null,ps=1;const Fn=Symbol("SIGNAL");function B(e){const t=Me;return Me=e,t}const tp={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:()=>{}};function np(e){if((!Fo(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==ps)){if(!e.producerMustRecompute(e)&&!el(e))return e.dirty=!1,void(e.lastCleanEpoch=ps);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=ps}}function Kc(e){return e&&(e.nextProducerIndex=0),B(e)}function el(e){ms(e);for(let t=0;t0}function ms(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let up=null;function ee(e){return"function"==typeof e}function hp(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 nl=hp(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 _s(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class je{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(ee(r))try{r()}catch(i){t=i instanceof nl?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{mp(i)}catch(s){t=t??[],s instanceof nl?t=[...t,...s.errors]:t.push(s)}}if(t)throw new nl(t)}}add(t){var n;if(t&&t!==this)if(this.closed)mp(t);else{if(t instanceof je){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)&&_s(n,t)}remove(t){const{_finalizers:n}=this;n&&_s(n,t),t instanceof je&&t._removeParent(this)}}je.EMPTY=(()=>{const e=new je;return e.closed=!0,e})();const pp=je.EMPTY;function gp(e){return e instanceof je||e&&"closed"in e&&ee(e.remove)&&ee(e.add)&&ee(e.unsubscribe)}function mp(e){ee(e)?e():e.unsubscribe()}const jn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},vs={setTimeout(e,t,...n){const{delegate:r}=vs;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=vs;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function yp(e){vs.setTimeout(()=>{const{onUnhandledError:t}=jn;if(!t)throw e;t(e)})}function jo(){}const SM=rl("C",void 0,void 0);function rl(e,t,n){return{kind:e,value:t,error:n}}let Vn=null;function ws(e){if(jn.useDeprecatedSynchronousErrorHandling){const t=!Vn;if(t&&(Vn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=Vn;if(Vn=null,n)throw r}}else e()}class ol extends je{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,gp(t)&&t.add(this)):this.destination=LM}static create(t,n,r){return new sl(t,n,r)}next(t){this.isStopped?al(function AM(e){return rl("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?al(function NM(e){return rl("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?al(SM,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 OM=Function.prototype.bind;function il(e,t){return OM.call(e,t)}class RM{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Es(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Es(r)}else Es(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Es(n)}}}class sl extends ol{constructor(t,n,r){let o;if(super(),ee(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&jn.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&il(t.next,i),error:t.error&&il(t.error,i),complete:t.complete&&il(t.complete,i)}):o=t}this.destination=new RM(o)}}function Es(e){jn.useDeprecatedSynchronousErrorHandling?function xM(e){jn.useDeprecatedSynchronousErrorHandling&&Vn&&(Vn.errorThrown=!0,Vn.error=e)}(e):yp(e)}function al(e,t){const{onStoppedNotification:n}=jn;n&&vs.setTimeout(()=>n(e,t))}const LM={closed:!0,next:jo,error:function PM(e){throw e},complete:jo},cl="function"==typeof Symbol&&Symbol.observable||"@@observable";function Vo(e){return e}let _e=(()=>{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 FM(e){return e&&e instanceof ol||function kM(e){return e&&ee(e.next)&&ee(e.error)&&ee(e.complete)}(e)&&gp(e)}(n)?n:new sl(n,r,o);return ws(()=>{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=vp(r))((o,i)=>{const s=new sl({next:a=>{try{n(a)}catch(c){i(c),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)}[cl](){return this}pipe(...n){return function _p(e){return 0===e.length?Vo:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=vp(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function vp(e){var t;return null!==(t=e??jn.Promise)&&void 0!==t?t:Promise}const jM=hp(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Pe=(()=>{class e extends _e{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new wp(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new jM}next(n){ws(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){ws(()=>{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(){ws(()=>{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?pp:(this.currentObservers=null,i.push(n),new je(()=>{this.currentObservers=null,_s(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new _e;return n.source=this,n}}return e.create=(t,n)=>new wp(t,n),e})();class wp extends Pe{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:pp}}class Ep extends Pe{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 et(e){return t=>{if(function VM(e){return ee(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 Ve(e,t,n,r,o){return new BM(e,t,n,r,o)}class BM extends ol{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}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 Ge(e,t){return et((n,r)=>{let o=0;n.subscribe(Ve(r,i=>{r.next(e.call(t,i,o++))}))})}typeof navigator<"u"&&navigator,typeof navigator<"u"&&!/Opera/.test(navigator.userAgent)&&navigator,typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||navigator),typeof navigator<"u"&&!/Opera|WebKit/.test(navigator.userAgent)&&navigator,typeof navigator<"u"&&navigator;const Bp="https://g.co/ng/security#xss";class C extends Error{constructor(t,n){super(function Ir(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function rn(e){return{toString:e}.toString()}const ae=globalThis;function J(e){for(let t in e)if(e[t]===J)return t;throw Error("Could not find renamed property on target object.")}function HI(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Ie(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Ie).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 yl(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const UI=J({__forward_ref__:J});function _l(e){return e.__forward_ref__=_l,e.toString=function(){return Ie(this())},e}function R(e){return function Is(e){return"function"==typeof e&&e.hasOwnProperty(UI)&&e.__forward_ref__===_l}(e)?e():e}function _n(e,t,n){e!=t&&function x(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(n,e,t,"==")}function I(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Mt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ts(e){return zp(e,Ns)||zp(e,Gp)}function zp(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ss(e){return e&&(e.hasOwnProperty(vl)||e.hasOwnProperty(YI))?e[vl]:null}const Ns=J({\u0275prov:J}),vl=J({\u0275inj:J}),Gp=J({ngInjectableDef:J}),YI=J({ngInjectorDef:J});class M{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=I({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function bl(e){return e&&!!e.\u0275providers}const Ho=J({\u0275cmp:J}),Ml=J({\u0275dir:J}),Il=J({\u0275pipe:J}),Yp=J({\u0275mod:J}),on=J({\u0275fac:J}),Uo=J({__NG_ELEMENT_ID__:J}),qp=J({__NG_ENV_ID__:J});function k(e){return"string"==typeof e?e:null==e?"":String(e)}function Tl(e,t){throw new C(-201,!1)}var G=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}(G||{});let Sl;function Zp(){return Sl}function tt(e){const t=Sl;return Sl=e,t}function Qp(e,t,n){const r=Ts(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&G.Optional?null:void 0!==t?t:void Tl()}const $o={},Nl="__NG_DI_FLAG__",As="ngTempTokenPath",KI=/\n/gm,Xp="__source";let xr;function vn(e){const t=xr;return xr=e,t}function nT(e,t=G.Default){if(void 0===xr)throw new C(-203,!1);return null===xr?Qp(e,void 0,t):xr.get(e,t&G.Optional?null:void 0,t)}function E(e,t=G.Default){return(Zp()||nT)(R(e),t)}function b(e,t=G.Default){return E(e,xs(t))}function xs(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Al(e){const t=[];for(let n=0;nArray.isArray(n)?Or(n,t):t(n))}function Kp(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Os(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ut(e,t,n){let r=Rr(e,t);return r>=0?e[1|r]=n:(r=~r,function eg(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Pl(e,t){const n=Rr(e,t);if(n>=0)return e[1|n]}function Rr(e,t){return function tg(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<t){s=i-1;break}}}for(;i-1){let i;for(;++oi?"":o[u+1].toLowerCase(),2&r&&l!==d){if(Tt(r))return!1;s=!0}}}}else{if(!s&&!Tt(r)&&!Tt(c))return!1;if(s&&Tt(c))continue;s=!1,r=c|1&r}}return Tt(r)||s}function Tt(e){return!(1&e)}function pT(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!Tt(s)&&(t+=cg(i,o),o=""),r=s,i=i||!Tt(r);n++}return""!==o&&(t+=cg(i,o)),t}function lg(e){return rn(()=>{const t=dg(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ls.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||It.Emulated,styles:e.styles||Y,_:null,schemas:e.schemas||null,tView:null,id:""};fg(n);const r=e.dependencies;return n.directiveDefs=ks(r,!1),n.pipeDefs=ks(r,!0),n.id=function MT(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 DT(e){return U(e)||Te(e)}function CT(e){return null!==e}function zt(e){return rn(()=>({type:e.type,bootstrap:e.bootstrap||Y,declarations:e.declarations||Y,imports:e.imports||Y,exports:e.exports||Y,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function ug(e,t){if(null==e)return Ut;const n={};for(const r in e)if(e.hasOwnProperty(r)){const o=e[r];let i,s,a=wn.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==wn.None?[r,a]:r,t[i]=s):n[i]=r}return n}function dt(e){return rn(()=>{const t=dg(e);return fg(t),t})}function rt(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 U(e){return e[Ho]||null}function Te(e){return e[Ml]||null}function Le(e){return e[Il]||null}function dg(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||Ut,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Y,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:ug(e.inputs,t),outputs:ug(e.outputs),debugInfo:null}}function fg(e){e.features?.forEach(t=>t(e))}function ks(e,t){if(!e)return null;const n=t?Le:DT;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(CT)}function IT(...e){return{\u0275providers:jl(0,e),\u0275fromNgModule:!0}}function jl(e,...t){const n=[],r=new Set;let o;const i=s=>{n.push(s)};return Or(t,s=>{const a=s;Fs(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&hg(o,i),n}function hg(e,t){for(let n=0;n{t(i,r)})}}function Fs(e,t,n,r){if(!(e=R(e)))return!1;let o=null,i=Ss(e);const s=!i&&U(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const c=e.ngModule;if(i=Ss(c),!i)return!1;o=c}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const c="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const l of c)Fs(l,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let l;r.add(o);try{Or(i.imports,u=>{Fs(u,t,n,r)&&(l||=[],l.push(u))})}finally{}void 0!==l&&hg(l,t)}if(!a){const l=Hn(o)||(()=>new o);t({provide:o,useFactory:l,deps:Y},o),t({provide:Ll,useValue:o,multi:!0},o),t({provide:$t,useValue:()=>E(o),multi:!0},o)}const c=i.providers;if(null!=c&&!a){const l=e;Vl(c,u=>{t(u,l)})}}}return o!==e&&void 0!==e.providers}function Vl(e,t){for(let n of e)bl(n)&&(n=n.\u0275providers),Array.isArray(n)?Vl(n,t):t(n)}const TT=J({provide:String,useValue:J});function Bl(e){return null!==e&&"object"==typeof e&&TT in e}function $n(e){return"function"==typeof e}const Hl=new M(""),js={},NT={};let Ul;function Vs(){return void 0===Ul&&(Ul=new Ps),Ul}class ft{}class Pr extends ft{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,zl(t,s=>this.processProvider(s)),this.records.set(ng,Lr(void 0,this)),o.has("environment")&&this.records.set(ft,Lr(void 0,this));const i=this.records.get(Hl);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ll,Y,G.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=B(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(),B(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=vn(this),r=tt(void 0);try{return t()}finally{vn(n),tt(r)}}get(t,n=$o,r=G.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(qp))return t[qp](this);r=xs(r);const i=vn(this),s=tt(void 0);try{if(!(r&G.SkipSelf)){let c=this.records.get(t);if(void 0===c){const l=function PT(e){return"function"==typeof e||"object"==typeof e&&e instanceof M}(t)&&Ts(t);c=l&&this.injectableDefInScope(l)?Lr($l(t),js):null,this.records.set(t,c)}if(null!=c)return this.hydrate(t,c)}return(r&G.Self?Vs():this.parent).get(t,n=r&G.Optional&&n===$o?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[As]=a[As]||[]).unshift(Ie(t)),i)throw a;return function oT(e,t,n,r){const o=e[As];throw t[Xp]&&o.unshift(t[Xp]),e.message=function iT(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=Ie(t);if(Array.isArray(t))o=t.map(Ie).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):Ie(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(KI,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[As]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{tt(s),vn(i)}}resolveInjectorInitializers(){const t=B(null),n=vn(this),r=tt(void 0);try{const i=this.get($t,Y,G.Self);for(const s of i)s()}finally{vn(n),tt(r),B(t)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Ie(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new C(205,!1)}processProvider(t){let n=$n(t=R(t))?t:R(t&&t.provide);const r=function xT(e){return Bl(e)?Lr(void 0,e.useValue):Lr(mg(e),js)}(t);if(!$n(t)&&!0===t.multi){let o=this.records.get(n);o||(o=Lr(void 0,js,!0),o.factory=()=>Al(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){const r=B(null);try{return n.value===js&&(n.value=NT,n.value=n.factory()),"object"==typeof n.value&&n.value&&function RT(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{B(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=R(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 $l(e){const t=Ts(e),n=null!==t?t.factory:Hn(e);if(null!==n)return n;if(e instanceof M)throw new C(204,!1);if(e instanceof Function)return function AT(e){if(e.length>0)throw new C(204,!1);const n=function WI(e){return e&&(e[Ns]||e[Gp])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new C(204,!1)}function mg(e,t,n){let r;if($n(e)){const o=R(e);return Hn(o)||$l(o)}if(Bl(e))r=()=>R(e.useValue);else if(function gg(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Al(e.deps||[]));else if(function pg(e){return!(!e||!e.useExisting)}(e))r=()=>E(R(e.useExisting));else{const o=R(e&&(e.useClass||e.provide));if(!function OT(e){return!!e.deps}(e))return Hn(o)||$l(o);r=()=>new o(...Al(e.deps))}return r}function Lr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function zl(e,t){for(const n of e)Array.isArray(n)?zl(n,t):n&&bl(n)?zl(n.\u0275providers,t):t(n)}function yg(e,t){e instanceof Pr&&e.assertNotDestroyed();const r=vn(e),o=tt(void 0);try{return t()}finally{vn(r),tt(o)}}function _g(){return void 0!==Zp()||null!=function tT(){return xr}()}function Bs(e){if(!_g())throw new C(-203,!1)}const le=0,w=1,S=2,we=3,St=4,ke=5,We=6,Fr=7,re=8,Ee=9,Gt=10,P=11,qo=12,wg=13,jr=14,ue=15,zn=16,Vr=17,sn=18,Br=19,Eg=20,En=21,Us=22,_t=23,T=25,Wl=1,Wt=7,Hr=9,pe=10;var zs=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(zs||{});function Oe(e){return Array.isArray(e)&&"object"==typeof e[Wl]}function He(e){return Array.isArray(e)&&!0===e[Wl]}function Yl(e){return!!(4&e.flags)}function Gn(e){return e.componentOffset>-1}function Gs(e){return!(1&~e.flags)}function Nt(e){return!!e.template}function Qo(e){return!!(512&e[S])}class Mg{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Ig(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}function Tg(e){return e.type.prototype.ngOnChanges&&(e.setInput=qT),YT}function YT(){const e=Ng(this),t=e?.current;if(t){const n=e.previous;if(n===Ut)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function qT(e,t,n,r,o){const i=this.declaredInputs[r],s=Ng(e)||function ZT(e,t){return e[Sg]=t}(e,{previous:Ut,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Mg(l&&l.currentValue,n,c===Ut),Ig(e,t,o,n)}const Sg="__ngSimpleChanges__";function Ng(e){return e[Sg]||null}const Yt=function(e,t,n){};function q(e){for(;Array.isArray(e);)e=e[le];return e}function Xo(e,t){return q(t[e])}function Ye(e,t){return q(t[e.index])}function Jo(e,t){return e.data[t]}function Wn(e,t){return e[t]}function ht(e,t){const n=t[e];return Oe(n)?n:n[le]}function Jl(e){return!(128&~e[S])}function vt(e,t){return null==t?null:e[t]}function Og(e){e[Vr]=0}function Rg(e){1024&e[S]||(e[S]|=1024,Jl(e)&&Ys(e))}function Ko(e){return!!(9216&e[S]||e[_t]?.dirty)}function Kl(e){e[Gt].changeDetectionScheduler?.notify(7),64&e[S]&&(e[S]|=1024),Ko(e)&&Ys(e)}function Ys(e){e[Gt].changeDetectionScheduler?.notify(0);let t=an(e);for(;null!==t&&!(8192&t[S])&&(t[S]|=8192,Jl(t));)t=an(t)}function qs(e,t){if(!(256&~e[S]))throw new C(911,!1);null===e[En]&&(e[En]=[]),e[En].push(t)}function an(e){const t=e[we];return He(t)?t[we]:t}const L={lFrame:Wg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Lg=!1;function kg(){return L.bindingsEnabled}function Yn(){return null!==L.skipHydrationRootTNode}function _(){return L.lFrame.lView}function H(){return L.lFrame.tView}function nu(e){return L.lFrame.contextLView=e,e[re]}function ru(e){return L.lFrame.contextLView=null,e}function K(){let e=Fg();for(;null!==e&&64===e.type;)e=e.parent;return e}function Fg(){return L.lFrame.currentTNode}function ei(){const e=L.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function At(e,t){const n=L.lFrame;n.currentTNode=e,n.isParent=t}function ou(){return L.lFrame.isParent}function iu(){L.lFrame.isParent=!1}function Bg(){return Lg}function Hg(e){Lg=e}function qe(){const e=L.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function xt(){return L.lFrame.bindingIndex++}function ln(e){const t=L.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function $g(e){L.lFrame.inI18n=e}function lS(e,t){const n=L.lFrame;n.bindingIndex=n.bindingRootIndex=e,su(t)}function su(e){L.lFrame.currentDirectiveIndex=e}function cu(){return L.lFrame.currentQueryIndex}function Qs(e){L.lFrame.currentQueryIndex=e}function dS(e){const t=e[w];return 2===t.type?t.declTNode:1===t.type?e[ke]:null}function zg(e,t,n){if(n&G.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&G.Host||(o=dS(i),null===o||(i=i[jr],10&o.type))););if(null===o)return!1;t=o,e=i}const r=L.lFrame=Gg();return r.currentTNode=t,r.lView=e,!0}function lu(e){const t=Gg(),n=e[w];L.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Gg(){const e=L.lFrame,t=null===e?null:e.child;return null===t?Wg(e):t}function Wg(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 Yg(){const e=L.lFrame;return L.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const qg=Yg;function uu(){const e=Yg();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 Fe(){return L.lFrame.selectedIndex}function qn(e){L.lFrame.selectedIndex=e}function oe(){const e=L.lFrame;return Jo(e.tView,e.selectedIndex)}let Jg=!0;function ti(){return Jg}function qt(e){Jg=e}function Xs(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[c]<0&&(e[Vr]+=65536),(a>14>16&&(3&e[S])===t&&(e[S]+=16384,em(a,i)):em(a,i)}const Ur=-1;class ni{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}const hu={};class Zn{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=xs(r);const o=this.injector.get(t,hu,r);return o!==hu||n===hu?o:this.parentInjector.get(t,n,r)}}function pu(e){return e!==Ur}function ri(e){return 32767&e}function oi(e,t){let n=function wS(e){return e>>16}(e),r=t;for(;n>0;)r=r[jr],n--;return r}let gu=!0;function ea(e){const t=gu;return gu=e,t}const nm=255,rm=5;let DS=0;const Zt={};function ta(e,t){const n=om(e,t);if(-1!==n)return n;const r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,mu(r.data,e),mu(t,null),mu(r.blueprint,null));const o=na(e,t),i=e.injectorIndex;if(pu(o)){const s=ri(o),a=oi(o,t),c=a[w].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function mu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function om(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function na(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=dm(o),null===r)return Ur;if(n++,o=o[jr],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Ur}function yu(e,t,n){!function CS(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Uo)&&(r=n[Uo]),null==r&&(r=n[Uo]=DS++);const o=r&nm;t.data[e+(o>>rm)]|=1<=0?t&nm:TS:t}(n);if("function"==typeof i){if(!zg(t,e,r))return r&G.Host?im(o,0,r):sm(t,n,r,o);try{let s;if(s=i(r),null!=s||r&G.Optional)return s;Tl()}finally{qg()}}else if("number"==typeof i){let s=null,a=om(e,t),c=Ur,l=r&G.Host?t[ue][ke]:null;for((-1===a||r&G.SkipSelf)&&(c=-1===a?na(e,t):t[a+8],c!==Ur&&um(r,!1)?(s=t[w],a=ri(c),t=oi(c,t)):a=-1);-1!==a;){const u=t[w];if(lm(i,a,u.data)){const d=MS(a,t,n,s,r,l);if(d!==Zt)return d}c=t[a+8],c!==Ur&&um(r,t[w].data[a+8]===l)&&lm(i,a,t)?(s=u,a=ri(c),t=oi(c,t)):a=-1}}return o}function MS(e,t,n,r,o,i){const s=t[w],a=s.data[e+8],u=ra(a,s,n,null==r?Gn(a)&&gu:r!=s&&!!(3&a.type),o&G.Host&&i===a);return null!==u?Qn(t,s,u,a):Zt}function ra(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,c=e.directiveStart,u=i>>20,h=o?a+u:e.directiveEnd;for(let f=r?a:a+u;f=c&&p.type===n)return f}if(o){const f=s[c];if(f&&Nt(f)&&f.type===n)return c}return null}function Qn(e,t,n,r){let o=e[n];const i=t.data;if(function yS(e){return e instanceof ni}(o)){const s=o;s.resolving&&function QI(e,t){throw t&&t.join(" > "),new C(-200,e)}(function Z(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():k(e)}(i[n]));const a=ea(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?tt(s.injectImpl):null;zg(e,r,G.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function gS(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=Tg(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!==l&&tt(l),ea(a),s.resolving=!1,qg()}}return o}function lm(e,t,n){return!!(n[t+(e>>rm)]&1<E(ng)});static#r=this.__NG_ELEMENT_ID__=-1}new M("").__NG_ELEMENT_ID__=e=>{const t=K();if(null===t)throw new C(204,!1);if(2&t.type)return t.value;if(e&G.Optional)return null;throw new C(204,!1)};function wu(e){return e.ngOriginalError}let ii=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=VS;static#t=this.__NG_ENV_ID__=n=>n}return e})();class jS extends ii{constructor(t){super(),this._lView=t}onDestroy(t){return qs(this._lView,t),()=>function eu(e,t){if(null===e[En])return;const n=e[En].indexOf(t);-1!==n&&e[En].splice(n,1)}(this._lView,t)}}function VS(){return new jS(_())}let Dn=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ep(!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.\u0275prov=I({token:e,providedIn:"root",factory:()=>new e})}return e})();const Ot=class BS extends Pe{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,_g()&&(this.destroyRef=b(ii,{optional:!0})??void 0,this.pendingTasks=b(Dn,{optional:!0})??void 0)}emit(t){const n=B(null);try{super.next(t)}finally{B(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof je&&t.add(a),a}wrapInTimeout(t){return n=>{const r=this.pendingTasks?.add();setTimeout(()=>{t(n),void 0!==r&&this.pendingTasks?.remove(r)})}}};function sa(...e){}function vm(e){let t,n;function r(){e=sa;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==t&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function wm(e){return queueMicrotask(()=>e()),()=>{e=sa}}class z{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ot(!1),this.onMicrotaskEmpty=new Ot(!1),this.onStable=new Ot(!1),this.onError=new Ot(!1),typeof Zone>"u")throw new C(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.callbackScheduled=!1,function $S(e){const t=()=>{!function US(e){e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,Zone.root.run(()=>{vm(()=>{e.callbackScheduled=!1,Du(e),e.isCheckStableRunning=!0,Eu(e),e.isCheckStableRunning=!1})}),Du(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(function zS(e){return Cm(e,"__ignore_ng_zone__")}(a))return n.invokeTask(o,i,s,a);try{return Em(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Dm(e)}},onInvoke:(n,r,o,i,s,a,c)=>{try{return Em(e),n.invoke(o,i,s,a,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function GS(e){return Cm(e,"__scheduler_tick__")}(a)&&t(),Dm(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Du(e),Eu(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(!z.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(z.isInAngularZone())throw new C(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,HS,sa,sa);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 HS={};function Eu(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 Du(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function Em(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Dm(e){e._nesting--,Eu(e)}class Cu{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ot,this.onMicrotaskEmpty=new Ot,this.onStable=new Ot,this.onError=new Ot}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)}}function Cm(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}class Rt{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&&wu(t);for(;n&&wu(n);)n=wu(n);return n||null}}const YS=new M("",{providedIn:"root",factory:()=>{const e=b(z),t=b(Rt);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function qS(){return Gr(K(),_())}function Gr(e,t){return new Qt(Ye(e,t))}let Qt=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=qS}return e})();function Mm(e){return e instanceof Qt?e.nativeElement:e}function ZS(){return this._results[Symbol.iterator]()}class bu{static#e=Symbol.iterator;get changes(){return this._changes??=new Ot}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const n=bu.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=ZS)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;const r=function nt(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function lT(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r_0}),_0="ng",Gm=new M(""),bn=new M("",{providedIn:"platform",factory:()=>"unknown"}),v0=new M(""),Wm=new M("",{providedIn:"root",factory:()=>Cn().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Ym=()=>null;function Pu(e,t,n=!1){return Ym(e,t,n)}const ty=new M("",{providedIn:"root",factory:()=>!1});let _a;function Qr(e){return function Vu(){if(void 0===_a&&(_a=null,ae.trustedTypes))try{_a=ae.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return _a}()?.createHTML(e)||e}class ay{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Bp})`}}function Mn(e){return e instanceof ay?e.changingThisBreaksApplicationSecurity:e}class V0{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=" "+t;try{const n=(new window.DOMParser).parseFromString(Qr(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}}class B0{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Qr(t),n}}const U0=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Hu(e){return(e=String(e)).match(U0)?e:"unsafe:"+e}function un(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 ly=un("area,br,col,hr,img,wbr"),uy=un("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),dy=un("rp,rt"),Uu=pi(ly,pi(uy,un("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(dy,un("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(dy,uy)),$u=un("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),fy=pi($u,un("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"),un("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"));var Xr=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}(Xr||{});function Ea(e){const t=function gi(){const e=_();return e&&e[Gt].sanitizer}();return t?t.sanitize(Xr.URL,e)||"":function hi(e,t){const n=function j0(e){return e instanceof ay&&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 ${Bp})`)}return n===t}(e,"URL")?Mn(e):Hu(k(e))}const iN=/^>|^->||--!>|)/g,aN="\u200b$1\u200b";function it(e){return"browser"===(e??b(fe)).get(bn)}var In=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(In||{});let Yu;function qu(e,t){return Yu(e,t)}function Kr(e,t,n,r,o){if(null!=r){let i,s=!1;He(r)?i=r:Oe(r)&&(s=!0,r=r[le]);const a=q(r);0===e&&null!==n?null==o?Ny(t,n,a):Xn(t,n,a,o||null,!0):1===e&&null!==n?Xn(t,n,a,o||null,!0):2===e?yi(t,a,s):3===e&&t.destroyNode(a),null!=i&&function TN(e,t,n,r,o){const i=n[Wt];i!==q(n)&&Kr(t,e,r,i,o);for(let a=pe;at.replace(sN,aN))}(t))}function ba(e,t,n){return e.createElement(t,n)}function Iy(e,t){t[Gt].changeDetectionScheduler?.notify(8),Ta(e,t,t[P],2,null,null)}function Ty(e,t){const n=e[Hr],r=t[we];(Oe(r)||t[ue]!==r[we][ue])&&(e[S]|=zs.HasTransplantedViews),null===n?e[Hr]=[t]:n.push(t)}function Xu(e,t){const n=e[Hr],r=n.indexOf(t);n.splice(r,1)}function mi(e,t){if(e.length<=pe)return;const n=pe+t,r=e[n];if(r){const o=r[zn];null!==o&&o!==e&&Xu(o,r),t>0&&(e[n-1][St]=r[St]);const i=Os(e,pe+t);!function vN(e,t){Iy(e,t),t[le]=null,t[ke]=null}(r[w],r);const s=i[sn];null!==s&&s.detachView(i[w]),r[we]=null,r[St]=null,r[S]&=-129}return r}function Ma(e,t){if(!(256&t[S])){const n=t[P];n.destroyNode&&Ta(e,t,n,3,null,null),function EN(e){let t=e[qo];if(!t)return Ju(e[w],e);for(;t;){let n=null;if(Oe(t))n=t[qo];else{const r=t[pe];r&&(n=r)}if(!n){for(;t&&!t[St]&&t!==e;)Oe(t)&&Ju(t[w],t),t=t[we];null===t&&(t=e),Oe(t)&&Ju(t[w],t),n=t&&t[St]}t=n}}(t)}}function Ju(e,t){if(256&t[S])return;const n=B(null);try{t[S]&=-129,t[S]|=256,t[_t]&&tl(t[_t]),function bN(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[Fr]=null);const o=t[En];if(null!==o){t[En]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===It.None||i===It.Emulated)return null}return Ye(r,n)}}function Xn(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Ny(e,t,n){e.appendChild(t,n)}function Ay(e,t,n,r,o){null!==r?Xn(e,t,n,r,o):Ny(e,t,n)}function ed(e,t){return e.parentNode(t)}function xy(e,t,n){return Ry(e,t,n)}function Oy(e,t,n){return 40&e.type?Ye(e,n):null}let td,Ry=Oy;function Py(e,t){Ry=e,td=t}function Ia(e,t,n,r){const o=Ku(e,r,t),i=t[P],a=xy(r.parent||t[ke],r,t);if(null!=o)if(Array.isArray(n))for(let c=0;cT&&By(e,t,T,!1),Yt(s?2:0,o),n(r,o)}finally{qn(i),Yt(s?3:1,o)}}function id(e,t,n){if(Yl(t)){const r=B(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;snull;function Gy(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,c=wn.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let l=i;if(null!==o){if(!o.hasOwnProperty(i))continue;l=o[i]}0===e?Wy(r,n,l,a,c):Wy(r,n,l,a)}return r}function Wy(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 st(e,t,n,r,o,i,s,a){const c=Ye(t,n);let u,l=t.inputs;!a&&null!=l&&(u=l[r])?(hd(e,n,u,r,o),Gn(t)&&function HN(e,t){const n=ht(t,e);16&n[S]||(n[S]|=64)}(n,t.index)):3&t.type&&(r=function BN(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(c,r,o))}function ld(e,t,n,r){if(kg()){const o=null===r?null:{"":-1},i=function YN(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i0;){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,F),o)}function dd(e,t,n,r,o,i,s){if(null==i)e.removeAttribute(t,o,n);else{const a=null==s?k(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function KN(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;a0&&(n[o-1][St]=t),r{Ys(e.lView)},consumerOnSignalRead(){this.lView[_t]=this}},lA={...tp,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=an(e.lView);for(;t&&!r_(t[w]);)t=an(t);t&&Rg(t)},consumerOnSignalRead(){this.lView[_t]=this}};function r_(e){return 2!==e.type}const uA=100;function xa(e,t=!0,n=0){const r=e[Gt],o=r.rendererFactory;o.begin?.();try{!function dA(e,t){const n=Bg();try{Hg(!0),md(e,t);let r=0;for(;Ko(e);){if(r===uA)throw new C(103,!1);r++,md(e,1)}}finally{Hg(n)}}(e,n)}catch(s){throw t&&Aa(e,s),s}finally{o.end?.(),r.inlineEffectRunner?.flush()}}function fA(e,t,n,r){const o=t[S];if(!(256&~o))return;t[Gt].inlineEffectRunner?.flush(),lu(t);let a=!0,c=null,l=null;r_(e)?(l=function oA(e){return e[_t]??function iA(e){const t=n_.pop()??Object.create(aA);return t.lView=e,t}(e)}(t),c=Kc(l)):null===function Xc(){return Me}()?(a=!1,l=function cA(e){const t=e[_t]??Object.create(lA);return t.lView=e,t}(t),c=Kc(l)):t[_t]&&(tl(t[_t]),t[_t]=null);try{Og(t),function Ug(e){return L.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Uy(e,t,n,2,r);const u=!(3&~o);if(u){const f=e.preOrderCheckHooks;null!==f&&Js(t,f,null)}else{const f=e.preOrderHooks;null!==f&&Ks(t,f,0,null),du(t,0)}if(function hA(e){for(let t=Lm(e);null!==t;t=km(t)){if(!(t[S]&zs.HasTransplantedViews))continue;const n=t[Hr];for(let r=0;re.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(l,c),a&&function sA(e){e.lView[_t]!==e&&(e.lView=null,n_.push(e))}(l)),uu()}}function i_(e,t){for(let n=Lm(e);null!==n;n=km(n))for(let r=pe;r-1&&(mi(t,r),Os(n,r))}this._attachedToViewContainer=!1}Ma(this._lView[w],this._lView)}onDestroy(t){qs(this._lView,t)}markForCheck(){wi(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[S]&=-129}reattach(){Kl(this._lView),this._lView[S]|=128}detectChanges(){this._lView[S]|=1024,xa(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=Qo(this._lView),n=this._lView[zn];null!==n&&!t&&Xu(n,this._lView),Iy(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=t;const n=Qo(this._lView),r=this._lView[zn];null!==r&&!n&&Ty(r,this._lView),Kl(this._lView)}}let fn=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=yA}return e})();const gA=fn,mA=class extends gA{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=eo(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Ei(o)}};function yA(){return Oa(K(),_())}function Oa(e,t){return 4&e.type?new mA(t,e,Gr(e,t)):null}function u_(e,t,n){const r=t.insertBeforeIndex,o=Array.isArray(r)?r[0]:r;return null===o?Oy(e,0,n):q(n[o])}function d_(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 c=1;c1)for(let n=e.length-2;n>=0;n--){const r=e[n];h_(r)||IA(r,t)&&null===TA(r)&&SA(r,t.index)}}function h_(e){return!(64&e.type)}function IA(e,t){return h_(t)||e.index>t.index}function TA(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function SA(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(Py(u_,d_),e.insertBeforeIndex=t)}function Mi(e,t){const n=e.data[t];return null===n||"string"==typeof n?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function xA(e,t,n){const r=od(e,n,64,null,null);return f_(t,r),r}function Pa(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}function p_(e){return e>>>17}function g_(e){return(131070&e)>>>1}function wd(e,t,n){e.index=0;const r=Pa(t,n);e.removes=null!==r?t.remove[r]:Y}function La(e){if(e.index0?e.lView[t]:(e.stack.push(e.index,e.removes),wd(e,e.lView[w].data[~t],e.lView),La(e))}return 0===e.stack.length?null:(e.removes=e.stack.pop(),e.index=e.stack.pop(),La(e))}function RA(){const e={stack:[],index:-1};return function t(n,r){for(e.lView=r;e.stack.length;)e.stack.pop();return wd(e,n.value,r),La.bind(null,e)}}let C_=()=>{},M_=()=>{},S_=()=>null;function nr(e,t){return S_(e,t)}class ro{}const Ni=new M("",{providedIn:"root",factory:()=>!1}),N_=new M("");class lx{}class A_{}class dx{resolveComponentFactory(t){throw function ux(e){const t=Error(`No component factory found for ${Ie(e)}.`);return t.ngComponent=e,t}(t)}}class rr{static#e=this.NULL=new dx}class Td{}let Sd=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function fx(){const e=_(),n=ht(K().index,e);return(Oe(n)?n:e)[P]}()}return e})(),hx=(()=>{class e{static#e=this.\u0275prov=I({token:e,providedIn:"root",factory:()=>null})}return e})();const O_=new Set;function Ze(e){O_.has(e)||(O_.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Qe=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Qe||{});const R_={destroy(){}};function k_(e,t,n,r){const o=function px(e,t){if(e instanceof Function)switch(t){case Qe.EarlyRead:return{earlyRead:e};case Qe.Write:return{write:e};case Qe.MixedReadWrite:return{mixedReadWrite:e};case Qe.Read:return{read:e}}return e}(e,r),i=t.get(ja),s=i.handler??=new mx,a=[],c=[],l=()=>{for(const f of c)s.unregister(f);u()},u=t.get(ii).onDestroy(l);let d=0;const h=(f,p)=>{if(!p)return;const g=n?(...v)=>(d--,d<1&&l(),p(...v)):p,m=yg(t,()=>new gx(f,a,g));s.register(m),c.push(m),d++};return h(Qe.EarlyRead,o.earlyRead),h(Qe.Write,o.write),h(Qe.MixedReadWrite,o.mixedReadWrite),h(Qe.Read,o.read),{destroy:l}}class gx{constructor(t,n,r){this.phase=t,this.pipelinedArgs=n,this.callbackFn=r,this.zone=b(z),this.errorHandler=b(Rt,{optional:!0}),b(ro,{optional:!0})?.notify(6)}invoke(){try{const t=this.zone.runOutsideAngular(()=>this.callbackFn.apply(null,this.pipelinedArgs));this.pipelinedArgs.splice(0,this.pipelinedArgs.length,t)}catch(t){this.errorHandler?.handleError(t)}}}class mx{constructor(){this.executingCallbacks=!1,this.buckets={[Qe.EarlyRead]:new Set,[Qe.Write]:new Set,[Qe.MixedReadWrite]:new Set,[Qe.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(const t of Object.values(this.buckets))for(const n of t)n.invoke();this.executingCallbacks=!1;for(const t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(const t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}}let ja=(()=>{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=I({token:e,providedIn:"root",factory:()=>new e})}return e})();function Ba(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s0&&jy(e,n,i.join(" "))}}(f,O,g,r),void 0!==n&&function Ix(e,t,n){const r=e.projection=[];for(let o=0;o{class e{static#e=this.__NG_ELEMENT_ID__=Sx}return e})();function Sx(){return $_(K(),_())}const Nx=Pt,H_=class extends Nx{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Gr(this._hostTNode,this._hostLView)}get injector(){return new Ne(this._hostTNode,this._hostLView)}get parentInjector(){const t=na(this._hostTNode,this._hostLView);if(pu(t)){const n=oi(t,this._hostLView),r=ri(t);return new Ne(n[w].data[r+8],n)}return new Ne(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=U_(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-pe}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const s=nr(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,er(this._hostTNode,s)),a}createComponent(t,n,r,o,i){const s=t&&!function Yo(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 c=s?t:new Oi(U(t)),l=r||this.parentInjector;if(!i&&null==c.ngModule){const g=(s?l:this.parentInjector).get(ft,null);g&&(i=g)}const u=U(c.componentType??{}),d=nr(this._lContainer,u?.id??null),f=c.create(l,o,d?.firstChild??null,i);return this.insertImpl(f.hostView,a,er(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const o=t._lView;if(function KT(e){return He(e[we])}(o)){const a=this.indexOf(t);if(-1!==a)this.detach(a);else{const c=o[we],l=new H_(c,c[ke],c[we]);l.detach(l.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;return to(s,o,i,r),t.attachToViewContainerRef(),Kp(Od(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=U_(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=mi(this._lContainer,n);r&&(Os(Od(this._lContainer),n),Ma(r[w],r))}detach(t){const n=this._adjustIndex(t,-1),r=mi(this._lContainer,n);return r&&null!=Os(Od(this._lContainer),n)?new Ei(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function U_(e){return e[8]}function Od(e){return e[8]||(e[8]=[])}function $_(e,t){let n;const r=t[e.index];return He(r)?n=r:(n=Zy(r,t,null,e),t[e.index]=n,Na(t,n)),z_(n,t,e,r),new H_(n,e,t)}let z_=function W_(e,t,n,r){if(e[Wt])return;let o;o=8&n.type?q(r):function Ax(e,t){const n=e[P],r=n.createComment(""),o=Ye(t,e);return Xn(n,ed(n,o),r,function MN(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[Wt]=o},Rd=()=>!1;class Pd{constructor(t){this.queryList=t,this.matches=null}clone(){return new Pd(this.queryList)}setDirty(){this.queryList.setDirty()}}class Ld{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let i=0;it.trim())}(t):t}}class kd{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r0)r.push(s[a/2]);else{const l=i[a+1],u=t[-c];for(let d=pe;d=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Go(o.hostAttrs,n=Go(n,o.hostAttrs))}}(r)}function Qx(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const r=t.inputs[n];if(void 0!==r&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],null!==t.inputTransforms)){const o=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=t.inputTransforms[o]}}}function Ua(e){return e===Ut?{}:e===Y?[]:e}function Jx(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function Kx(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function eO(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}class ir{}class aO{}class $d extends ir{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new V_(this);const o=function Be(e,t){const n=e[Yp]||null;if(!n&&!0===t)throw new Error(`Type ${Ie(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function pt(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=ym(t,n,[{provide:ir,useValue:this},{provide:rr,useValue:this.componentFactoryResolver},...r],Ie(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 zd extends aO{constructor(t){super(),this.moduleType=t}create(t){return new $d(this.moduleType,t,[])}}function Jt(e,t,n){return e[t]=n}function ge(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function sr(e,t,n,r){const o=ge(e,t,n);return ge(e,t+1,r)||o}function Li(e,t,n,r,o,i,s,a,c,l){const u=n+T,d=t.firstCreatePass?function pO(e,t,n,r,o,i,s,a,c){const l=t.consts,u=Kn(t,e,4,s||null,a||null);ld(t,n,u,vt(l,c)),Xs(t,u);const d=u.tView=cd(2,u,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return null!==t.queries&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}(u,t,e,r,o,i,s,a,c):t.data[u];At(d,!1);const h=vv(t,e,d,n);ti()&&Ia(t,e,h,d),Ue(h,e);const f=Zy(h,e,h,d);return e[u]=f,Na(e,f),function G_(e,t,n){return Rd(e,t,n)}(f,d,e),Gs(d)&&sd(t,e,d),null!=c&&ad(e,d,l),d}function Sn(e,t,n,r,o,i,s,a){const c=_(),l=H();return Li(c,l,e,t,n,r,o,vt(l.consts,i),s,a),Sn}let vv=function wv(e,t,n,r){return qt(!0),t[P].createComment("")};function Qa(e,t){return e<<17|t<<2}function An(e){return e>>17&32767}function nf(e){return 2|e}function cr(e){return(131068&e)>>2}function rf(e,t){return-131069&e|t<<2}function sf(e){return 1|e}function Jv(e,t,n,r){const o=e[n+1],i=null===t;let s=r?An(o):cr(o),a=!1;for(;0!==s&&(!1===a||i);){const l=e[s+1];KO(e[s],t)&&(a=!0,e[s+1]=r?sf(l):nf(l)),s=r?An(l):cr(l)}a&&(e[n+1]=r?nf(o):sf(o))}function KO(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Rr(e,t)>=0}const Ae={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Kv(e){return e.substring(Ae.key,Ae.keyEnd)}function ew(e,t){const n=Ae.textEnd;return n===t?-1:(t=Ae.keyEnd=function rR(e,t,n){for(;t32;)t++;return t}(e,Ae.key=t,n),Do(e,t,n))}function Do(e,t,n){for(;t=0;n=ew(t,n))ut(e,Kv(t),!0)}function aw(e,t){return t>=e.expandoStartIndex}function cw(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[Fe()],s=aw(e,n);fw(i,r)&&null===t&&!s&&(t=!1),t=function aR(e,t,n,r){const o=function au(e){const t=L.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=Vi(n=lf(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=lf(o,e,t,n,r),null===i){let c=function cR(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==cr(r))return e[An(r)]}(e,t,r);void 0!==c&&Array.isArray(c)&&(c=lf(null,e,t,c[1],r),c=Vi(c,t.attrs,r),function lR(e,t,n,r){e[An(n?t.classBindings:t.styleBindings)]=r}(e,t,r,c))}else i=function uR(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(l=!0)):u=n,o)if(0!==c){const h=An(e[a+1]);e[r+1]=Qa(h,a),0!==h&&(e[h+1]=rf(e[h+1],r)),e[a+1]=function ZO(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=Qa(a,0),0!==a&&(e[a+1]=rf(e[a+1],r)),a=r;else e[r+1]=Qa(c,0),0===a?a=r:e[c+1]=rf(e[c+1],r),c=r;l&&(e[r+1]=nf(e[r+1])),Jv(e,u,r,!0),Jv(e,u,r,!1),function JO(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Rr(i,t)>=0&&(n[r+1]=sf(n[r+1]))}(t,u,e,r,i),s=Qa(a,c),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}function lf(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=null===u;let h=n[o+1];h===F&&(h=d?Y:void 0);let f=d?Pl(h,r):u===r?h:void 0;if(l&&!Xa(f)&&(f=Pl(c,r)),Xa(f)&&(a=f,s))return a;const p=e[o+1];o=s?An(p):cr(p)}if(null!==t){let c=i?t.residualClasses:t.residualStyles;null!=c&&(a=Pl(c,r))}return a}function Xa(e){return void 0!==e}function fw(e,t){return!!(e.flags&(t?8:16))}function $(e,t,n,r){const o=_(),i=H(),s=T+e,a=o[P],c=i.firstCreatePass?function FR(e,t,n,r,o,i){const s=t.consts,c=Kn(t,e,2,r,vt(s,o));return ld(t,n,c,vt(s,i)),null!==c.attrs&&Ba(c,c.attrs,!1),null!==c.mergedAttrs&&Ba(c,c.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,c),c}(s,i,o,t,n,r):i.data[s],l=mw(i,o,c,a,t,e);o[s]=l;const u=Gs(c);return At(c,!0),Vy(a,l,c),!function io(e){return!(32&~e.flags)}(c)&&ti()&&Ia(i,o,l,c),0===function eS(){return L.lFrame.elementDepthCount}()&&Ue(l,o),function tS(){L.lFrame.elementDepthCount++}(),u&&(sd(i,o,c),id(i,c,o)),null!==r&&ad(o,c),$}function W(){let e=K();ou()?iu():(e=e.parent,At(e,!1));const t=e;(function rS(e){return L.skipHydrationRootTNode===e})(t)&&function aS(){L.skipHydrationRootTNode=null}(),function nS(){L.lFrame.elementDepthCount--}();const n=H();return n.firstCreatePass&&(Xs(n,e),Yl(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function _S(e){return!!(8&e.flags)}(t)&&af(n,t,_(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function vS(e){return!!(16&e.flags)}(t)&&af(n,t,_(),t.stylesWithoutHost,!1),W}function tn(e,t,n,r){return $(e,t,n,r),W(),tn}let mw=(e,t,n,r,o,i)=>(qt(!0),ba(r,o,function Xg(){return L.lFrame.currentNamespace}()));function lr(e,t,n){const r=_(),o=H(),i=e+T,s=o.firstCreatePass?function BR(e,t,n,r,o){const i=t.consts,s=vt(i,r),a=Kn(t,e,8,"ng-container",s);return null!==s&&Ba(a,s,!0),ld(t,n,a,vt(i,o)),null!==t.queries&&t.queries.elementStart(t,a),a}(i,o,r,t,n):o.data[i];At(s,!0);const a=_w(o,r,s,e);return r[i]=a,ti()&&Ia(o,r,a,s),Ue(a,r),Gs(s)&&(sd(o,r,s),id(o,s,r)),null!=n&&ad(r,s),lr}function ur(){let e=K();const t=H();return ou()?iu():(e=e.parent,At(e,!1)),t.firstCreatePass&&(Xs(t,e),Yl(e)&&t.queries.elementEnd(e)),ur}let _w=(e,t,n,r)=>(qt(!0),Qu(t[P],""));function hf(){return _()}function pf(e,t,n){const r=_();return ge(r,xt(),t)&&st(H(),oe(),r,e,t,r[P],n,!0),pf}const dr=void 0;var zR=["en",[["a","p"],["AM","PM"],dr],[["AM","PM"],dr,dr],[["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"]],dr,[["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"]],dr,[["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}",dr,"{1} 'at' {0}",dr],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function $R(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Co={};function Xe(e){const t=function WR(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Ew(t);if(n)return n;const r=t.split("-")[0];if(n=Ew(r),n)return n;if("en"===r)return zR;throw new C(701,!1)}function Ew(e){return e in Co||(Co[e]=ae.ng&&ae.ng.common&&ae.ng.common.locales&&ae.ng.common.locales[e]),Co[e]}var ie=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}(ie||{});const YR=["zero","one","two","few","many"],bo="en-US",Ka={marker:"element"},ec={marker:"ICU"};var at=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(at||{});let Dw=bo;let Bi=0,Hi=0;let Ui=(e,t,n,r)=>(qt(!0),function bw(e,t,n){const r=e[P];switch(n){case Node.COMMENT_NODE:return Qu(r,t);case Node.TEXT_NODE:return Zu(r,t);case Node.ELEMENT_NODE:return ba(r,t,null)}}(e,n,r));function Mw(e,t,n,r){const o=n[P];let s,i=null;for(let a=0;a>>1,n),null,null,f,p,null)}else switch(c){case ec:const l=t[++a],u=t[++a];null===n[u]&&Ue(n[u]=Ui(n,u,l,Node.COMMENT_NODE),n);break;case Ka:const d=t[++a],h=t[++a];null===n[h]&&Ue(n[h]=Ui(n,h,d,Node.ELEMENT_NODE),n)}}}function Iw(e,t,n,r,o){for(let i=0;i>>2;switch(3&u){case 1:const h=n[++l],f=n[++l],p=e.data[d];"string"==typeof p?dd(t[P],t[d],null,p,h,c,f):st(e,p,t,h,c,t[P],f,!1);break;case 0:const g=t[d];null!==g&&My(t[P],g,c);break;case 2:nP(e,Mi(e,d),t,c);break;case 3:Tw(e,Mi(e,d),r,t)}}}}else{const c=n[i+1];if(c>0&&!(3&~c)){const u=Mi(e,c>>>2);t[u.currentCaseLViewIndex]<0&&Tw(e,u,r,t)}}i+=a}}function Tw(e,t,n,r){let o=r[t.currentCaseLViewIndex];if(null!==o){let i=Bi;o<0&&(o=r[t.currentCaseLViewIndex]=~o,i=-1),Iw(e,r,t.update[o],n,i)}}function nP(e,t,n,r){const o=function rP(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const r=function qR(e,t){const n=function ww(e){return Xe(e)[ie.PluralCase]}(t)(parseInt(e,10)),r=YR[n];return void 0!==r?r:"other"}(t,function QR(){return Dw}());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(Pa(t,n)!==o&&(Sw(e,t,n),n[t.currentCaseLViewIndex]=null===o?null:~o,null!==o)){const s=n[t.anchorIdx];s&&Mw(e,t.create[o],n,s),function KA(e,t,n){M_(e,t,n)}(n,t.anchorIdx,o)}}function Sw(e,t,n){let r=Pa(t,n);if(null!==r){const o=t.remove[r];for(let i=0;i0){const a=Xo(s,n);null!==a&&yi(n[P],a)}else Sw(e,Mi(e,~s),n)}}}const tc=/\ufffd(\d+):?\d*\ufffd/gi,iP=/\ufffd(\d+)\ufffd/,Aw=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,$i="\ufffd",sP=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,aP=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,cP=/\uE500/g;function xw(e,t,n,r,o,i,s){const a=_i(e,r,1,null);let c=a<n.length&&n.push(c)}return{type:r,mainBinding:o,cases:t,values:n}}function gf(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 c=e.substring(t,a);Aw.test(c)?r.push(gP(c)):r.push(c),t=a+1}}else{if(0==n.length){const c=e.substring(t,a);r.push(c),t=a+1}n.push("{")}}const s=e.substring(t);return r.push(s),r}function mP(e,t,n,r,o,i,s,a,c){const l=[],u=[],d=[];n.cases.push(s),n.create.push(l),n.remove.push(u),n.update.push(d);const f=function cy(e){const t=new B0(e);return function H0(){try{return!!(new window.DOMParser).parseFromString(Qr(""),"text/html")}catch{return!1}}()?new V0(t):t}(Cn()).getInertBodyElement(a),p=function zu(e){return"content"in e&&function X0(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}(f)||f;return p?Lw(e,t,n,r,o,l,u,d,p,i,c,0):0}function Lw(e,t,n,r,o,i,s,a,c,l,u,d){let h=0,f=c.firstChild;for(;f;){const p=_i(t,r,1,null);switch(f.nodeType){case Node.ELEMENT_NODE:const g=f,m=g.tagName.toLowerCase();if(Uu.hasOwnProperty(m)){mf(i,Ka,m,l,p),t.data[p]=m;const N=g.attributes;for(let O=0;O>>at.SHIFT;let d=e[u],h=!1;null===d&&(d=e[u]=Ui(e,u,t[i],(s&at.COMMENT)===at.COMMENT?Node.COMMENT_NODE:Node.TEXT_NODE),h=ti()),l&&null!==n&&h&&Xn(o,n,d,r,!1)}}(o,c.create,u,d),$g(!0)}function De(e,t,n){jw(e,t,n),function Vw(){$g(!1)}()}function xn(e){return function XR(e){e&&(Bi|=1<0){const r=e.data[n];Iw(e,t,Array.isArray(r)?r:r.update,function cn(){return L.lFrame.bindingIndex}()-Hi-1,Bi)}Bi=0,Hi=0}(H(),_(),e+T)}let Bw=(e,t,n)=>{};function nc(e,t,n,r){const o=_(),i=H(),s=K();return function yf(e,t,n,r,o,i,s){const a=Gs(r),l=e.firstCreatePass&&Jy(e),u=t[re],d=Xy(t);let h=!0;if(3&r.type||s){const g=Ye(r,t),m=s?s(g):g,v=d.length,y=s?N=>s(q(N[r.index])):r.index;let D=null;if(!s&&a&&(D=function xP(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;ic?a[c]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==D)(D.__ngLastListenerFn__||D).__ngNextListenerFn__=i,D.__ngLastListenerFn__=i,h=!1;else{i=zw(r,t,u,i),Bw(g,o,i);const N=n.listen(m,o,i);d.push(i,N),l&&l.push(o,y,v,v+1)}}else i=zw(r,t,u,i);const f=r.outputs;let p;if(h&&null!==f&&(p=f[o])){const g=p.length;if(g)for(let m=0;m-1?ht(e.index,t):t,5);let a=$w(t,n,r,i),c=o.__ngNextListenerFn__;for(;c;)a=$w(t,n,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function Ft(e=1){return function fS(e){return(L.lFrame.contextLView=function Pg(e,t){for(;e>0;)t=t[jr],e--;return t}(e,L.lFrame.contextLView))[re]}(e)}function OP(e,t){let n=null;const r=function gT(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let o=0;o(qt(!0),Zu(t[P],r));function Gi(e){return wf("",e,""),Gi}function wf(e,t,n){const r=_(),o=function po(e,t,n,r){return ge(e,xt(),n)?t+k(n)+r:F}(r,e,t,n);return o!==F&&function dn(e,t,n){const r=Xo(t,e);My(e[P],r,n)}(r,Fe(),o),wf}function Ef(e,t,n,r,o){if(e=R(e),Array.isArray(e))for(let i=0;i>20;if($n(e)||!e.multi){const f=new ni(l,o,j),p=Cf(c,t,o?u:u+h,d);-1===p?(yu(ta(a,s),i,c),Df(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[p]=f,s[p]=f)}else{const f=Cf(c,t,u+h,d),p=Cf(c,t,u,u+h),m=p>=0&&n[p];if(o&&!m||!o&&!(f>=0&&n[f])){yu(ta(a,s),i,c);const v=function tL(e,t,n,r,o){const i=new ni(e,n,j);return i.multi=[],i.index=t,i.componentProviders=0,SE(i,o,r&&!n),i}(o?eL:KP,n.length,o,r,l);!o&&m&&(n[p].providerFactory=v),Df(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(v),s.push(v)}else Df(i,e,f>-1?f:p,SE(n[o?p:f],l,!o&&r));!o&&r&&m&&n[p].componentProviders++}}}function Df(e,t,n,r){const o=$n(t),i=function ST(e){return!!e.useClass}(t);if(o||i){const c=(i?R(t.useClass):t).prototype.ngOnDestroy;if(c){const l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const u=l.indexOf(n);-1===u?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function SE(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Cf(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function JP(e,t,n){const r=H();if(r.firstCreatePass){const o=Nt(e);Ef(n,r.data,r.blueprint,o,!0),Ef(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}function Mo(e,t,n,r,o,i){return function PE(e,t,n,r,o,i,s,a){const c=t+n;return function za(e,t,n,r,o){const i=sr(e,t,n,r);return ge(e,t+2,o)||i}(e,c,o,i,s)?Jt(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):Wi(e,c+3)}(_(),qe(),e,t,n,r,o,i)}function Wi(e,t){const n=e[t];return n===F?void 0:n}function nn(e,t){const n=H();let r;const o=e+T;n.firstCreatePass?(r=function mL(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=Hn(r.type)),a=tt(j);try{const c=ea(!1),l=i();return ea(c),function vf(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,_(),o,l),l}finally{tt(a)}}function FE(e,t,n){const r=e+T,o=_(),i=Wn(o,r);return Yi(o,r)?function OE(e,t,n,r,o,i){const s=t+n;return ge(e,s,o)?Jt(e,s+1,i?r.call(i,o):r(o)):Wi(e,s+1)}(o,qe(),t,i.transform,n,i):i.transform(n)}function ic(e,t,n,r){const o=e+T,i=_(),s=Wn(i,o);return Yi(i,o)?function RE(e,t,n,r,o,i,s){const a=t+n;return sr(e,a,o,i)?Jt(e,a+2,s?r.call(s,o,i):r(o,i)):Wi(e,a+2)}(i,qe(),t,s.transform,n,r,s):s.transform(n,r)}function Io(e,t,n){const r=e+T,o=_(),i=Wn(o,r);return Yi(o,r)?function kE(e,t,n,r,o,i){let s=t+n,a=!1;for(let c=0;c{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Of||(function f1(e){Of=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:()=>{z.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!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()}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)(E(z),E(xf),E(lc))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})(),xf=(()=>{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 Of?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Rf(e){return!!e&&"function"==typeof e.then}function iD(e){return!!e&&"function"==typeof e.subscribe}const h1=new M("");let Pf=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=b(h1,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=o();if(Rf(i))n.push(i);else if(iD(i)){const s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});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=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Lf=new M("");function cD(e,t){return Array.isArray(t)?t.reduce(cD,e):{...e,...t}}let Et=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=b(YS),this.afterRenderEffectManager=b(ja),this.zonelessEnabled=b(Ni),this.externalTestViews=new Set,this.beforeRender=new Pe,this.afterTick=new Pe,this.componentTypes=[],this.components=[],this.isStable=b(Dn).hasPendingTasks.pipe(Ge(n=>!n)),this._injector=b(ft)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof A_;if(!this._injector.get(Pf).done)throw!o&&function Un(e){const t=U(e)||Te(e)||Le(e);return null!==t&&t.standalone}(n),new C(405,!1);let s;s=o?n:this._injector.get(rr).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function p1(e){return e.isBoundToModule}(s)?void 0:this._injector.get(ir),l=s.create(fe.NULL,[],r||s.selector,a),u=l.location.nativeElement,d=l.injector.get(oD,null);return d?.registerApplication(u),l.onDestroy(()=>{this.detachView(l.hostView),uc(this.components,l),d?.unregisterApplication(u)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new C(101,!1);const r=B(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(o){this.internalErrorHandler(o)}finally{this._runningTick=!1,B(r),this.afterTick.next()}}detectChangesInAttachedViews(n){let r=null;this._injector.destroyed||(r=this._injector.get(Td,null,{optional:!0}));let o=0;const i=this.afterRenderEffectManager;for(;o<10;){const s=0===o;if(n||!s){this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:c}of this._views)m1(a,c,s,this.zonelessEnabled)}else r?.begin?.(),r?.end?.();if(o++,i.executeInternalCallbacks(),!this.allViews.some(({_lView:a})=>Ko(a))&&(i.execute(),!this.allViews.some(({_lView:a})=>Ko(a))))break}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;uc(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(Lf,[]);[...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),()=>uc(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new C(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=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function uc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function m1(e,t,n,r){(n||Ko(e))&&xa(e,t,n&&!r?0:1)}let w1=(()=>{class e{constructor(){this.zone=b(z),this.changeDetectionScheduler=b(ro),this.applicationRef=b(Et)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function kf({ngZoneFactory:e,ignoreChangesOutsideZone:t}){return e??=()=>new z(Ff()),[{provide:z,useFactory:e},{provide:$t,multi:!0,useFactory:()=>{const n=b(w1,{optional:!0});return()=>n.initialize()}},{provide:$t,multi:!0,useFactory:()=>{const n=b(D1);return()=>{n.initialize()}}},!0===t?{provide:N_,useValue:!0}:[]]}function Ff(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let D1=(()=>{class e{constructor(){this.subscription=new je,this.initialized=!1,this.zone=b(z),this.pendingTasks=b(Dn)}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(()=>{z.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{z.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Qi=(()=>{class e{constructor(){this.appRef=b(Et),this.taskService=b(Dn),this.ngZone=b(z),this.zonelessEnabled=b(Ni),this.disableScheduling=b(N_,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new je,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Cu||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&5===n)return;switch(n){case 3:case 2:case 0:case 4:case 5:case 1:this.shouldRefreshViews=!0}if(!this.shouldScheduleTick())return;const r=this.useMicrotaskScheduler?wm:vm;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=r(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=r(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&z.isInAngularZone())}tick(n){if(this.runningTick||this.appRef.destroyed)return;const r=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(n)},void 0,this.schedulerTickApplyArgs)}catch(o){throw this.taskService.remove(r),o}finally{this.cleanup()}this.useMicrotaskScheduler=!0,wm(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(r)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const jt=new M("",{providedIn:"root",factory:()=>b(jt,G.Optional|G.SkipSelf)||function C1(){return typeof $localize<"u"&&$localize.locale||bo}()}),b1=new M("",{providedIn:"root",factory:()=>"USD"}),Vf=new M("");let hD=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function WS(e="zone.js",t){return"noop"===e?new Cu:"zone.js"===e?new z(t):e}(r?.ngZone,Ff({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=r?.ignoreChangesOutsideZone,s=function lO(e,t,n){return new $d(e,t,n)}(n.moduleType,this.injector,[...kf({ngZoneFactory:()=>o,ignoreChangesOutsideZone:i}),{provide:ro,useExisting:Qi}]),a=s.injector.get(Rt,null);return o.runOutsideAngular(()=>{const c=o.onError.subscribe({next:l=>{a.handleError(l)}});s.onDestroy(()=>{uc(this._modules,s),c.unsubscribe()})}),function aD(e,t,n){try{const r=n();return Rf(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(a,o,()=>{const c=s.injector.get(Pf);return c.runInitializers(),c.donePromise.then(()=>(function Cw(e){"string"==typeof e&&(Dw=e.toLowerCase().replace(/_/g,"-"))}(s.injector.get(jt,bo)||bo),this._moduleDoBootstrap(s),s))})})}bootstrapModule(n,r=[]){const o=cD({},r);return function v1(e,t,n){const r=new zd(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(Et);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new C(-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 C(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Vf,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)(E(fe))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),On=null;const pD=new M("");function gD(e,t,n=[]){const r=`Platform: ${t}`,o=new M(r);return(i=[])=>{let s=Bf();if(!s||s.injector.get(pD,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function I1(e){if(On&&!On.get(pD,!1))throw new C(400,!1);(function sD(){!function CM(e){up=e}(()=>{throw new C(600,!1)})})(),On=e;const t=e.get(hD);(function yD(e){e.get(Gm,null)?.forEach(n=>n())})(e)}(function mD(e=[],t){return fe.create({name:t,providers:[{provide:Hl,useValue:"platform"},{provide:Vf,useValue:new Set([()=>On=null])},...e]})}(a,r))}return function T1(e){const t=Bf();if(!t)throw new C(401,!1);return t}()}}function Bf(){return On?.get(hD)??null}let Hf=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=N1}return e})();function N1(e){return function A1(e,t,n){if(Gn(e)&&!n){const r=ht(e.index,t);return new Ei(r,r)}return 175&e.type?new Ei(t[ue],t):null}(K(),_(),!(16&~e))}const U1=gD(null,"core",[]);let $1=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(E(Et))};static#t=this.\u0275mod=zt({type:e});static#n=this.\u0275inj=Mt({})}return e})();const zD=new M("");function Qf(e){const t=B(null);try{return e()}finally{B(t)}}let eC=null;function No(){return eC}class xk{}const he=new M("");let tC=(()=>{class e{historyGo(n){throw new Error("")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=I({token:e,factory:()=>b(Ok),providedIn:"platform"})}return e})(),Ok=(()=>{class e extends tC{constructor(){super(),this._doc=b(he),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return No().getBaseHref(this._doc)}onPopState(n){const r=No().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=No().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=I({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function nC(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function rC(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function gr(e){return e&&"?"!==e[0]?"?"+e:e}let Xf=(()=>{class e{historyGo(n){throw new Error("")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=I({token:e,factory:()=>b(Pk),providedIn:"root"})}return e})();const Rk=new M("");let Pk=(()=>{class e extends Xf{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??b(he).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return nC(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+gr(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){const s=this.prepareExternalUrl(o+gr(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){const s=this.prepareExternalUrl(o+gr(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static#e=this.\u0275fac=function(r){return new(r||e)(E(tC),E(Rk,8))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),oC=(()=>{class e{constructor(n){this._subject=new Ot,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const r=this._locationStrategy.getBaseHref();this._basePath=function Fk(e){if(new RegExp("^(https?:)?//").test(e)){const[,n]=e.split(/\/\/[^\/]+/);return n}return e}(rC(iC(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+gr(r))}normalize(n){return e.stripTrailingSlash(function kk(e,t){if(!e||!t.startsWith(e))return t;const n=t.substring(e.length);return""===n||["/",";","?","#"].includes(n[0])?n:t}(this._basePath,iC(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+gr(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+gr(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{const r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}static#e=this.normalizeQueryParams=gr;static#t=this.joinWithSlash=nC;static#n=this.stripTrailingSlash=rC;static#r=this.\u0275fac=function(r){return new(r||e)(E(Xf))};static#o=this.\u0275prov=I({token:e,factory:()=>function Lk(){return new oC(E(Xf))}(),providedIn:"root"})}return e})();function iC(e){return e.replace(/\/index.html$/,"")}const sC={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 es=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(es||{});const de={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 ze(e,t){const n=Xe(e),r=n[ie.NumberSymbols][t];if(typeof r>"u"){if(t===de.CurrencyDecimal)return n[ie.NumberSymbols][de.Decimal];if(t===de.CurrencyGroup)return n[ie.NumberSymbols][de.Group]}return r}function bc(e,t){return Xe(e)[ie.NumberFormats][t]}const uF=/^(\d+)?\.((\d+)(-(\d+))?)?$/,dC=22,xc=".",ts="0",dF=";",fF=",",th="#";function nh(e,t,n,r,o,i,s=!1){let a="",c=!1;if(isFinite(e)){let l=function _F(e){let r,o,i,s,a,t=Math.abs(e)+"",n=0;for((o=t.indexOf(xc))>-1&&(t=t.replace(xc,"")),(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)===ts;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===ts;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>dC&&(r=r.splice(0,dC-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}(e);s&&(l=function yF(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}(l));let u=t.minInt,d=t.minFrac,h=t.maxFrac;if(i){const y=i.match(uF);if(null===y)throw new Error(`${i} is not a valid digit info`);const D=y[1],N=y[3],V=y[5];null!=D&&(u=oh(D)),null!=N&&(d=oh(N)),null!=V?h=oh(V):null!=N&&d>h&&(h=d)}!function vF(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=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=l?p.pop():c=!1),h>=10?1:0},0);u&&(r.unshift(u),e.integerLen++)}(l,d,h);let f=l.digits,p=l.integerLen;const g=l.exponent;let m=[];for(c=f.every(y=>!y);p0?m=f.splice(p,f.length):(m=f,f=[0]);const v=[];for(f.length>=t.lgSize&&v.unshift(f.splice(-t.lgSize,f.length).join(""));f.length>t.gSize;)v.unshift(f.splice(-t.gSize,f.length).join(""));f.length&&v.unshift(f.join("")),a=v.join(ze(n,r)),m.length&&(a+=ze(n,o)+m.join("")),g&&(a+=ze(n,de.Exponential)+"+"+g)}else a=ze(n,de.Infinity);return a=e<0&&!c?t.negPre+a+t.negSuf:t.posPre+a+t.posSuf,a}function rh(e,t="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(dF),o=r[0],i=r[1],s=-1!==o.indexOf(xc)?o.split(xc):[o.substring(0,o.lastIndexOf(ts)+1),o.substring(o.lastIndexOf(ts)+1)],a=s[0],c=s[1]||"";n.posPre=a.substring(0,a.indexOf(th));for(let u=0;u{class e{constructor(n,r){this._viewContainer=n,this._context=new IF,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){vC("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){vC("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)(j(Pt),j(fn))};static#t=this.\u0275dir=dt({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class IF{constructor(){this.$implicit=null,this.ngIf=null}}function vC(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Ie(t)}'.`)}class ah{constructor(t,n){this._viewContainerRef=t,this._templateRef=n,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let Oc=(()=>{class e{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(n){this._ngSwitch=n,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(n){this._defaultViews.push(n)}_matchCase(n){const r=n===this._ngSwitch;return this._lastCasesMatched||=r,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),r}_updateDefaultCases(n){if(this._defaultViews.length>0&&n!==this._defaultUsed){this._defaultUsed=n;for(const r of this._defaultViews)r.enforceState(n)}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=dt({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return e})(),wC=(()=>{class e{constructor(n,r,o){this.ngSwitch=o,o._addCase(),this._view=new ah(n,r)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(r){return new(r||e)(j(Pt),j(fn),j(Oc,9))};static#t=this.\u0275dir=dt({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return e})();function Bt(e,t){return new C(2100,!1)}class SF{createSubscription(t,n){return Qf(()=>t.subscribe({next:n,error:r=>{throw r}}))}dispose(t){Qf(()=>t.unsubscribe())}}class NF{createSubscription(t,n){return t.then(n,r=>{throw r})}dispose(t){}}const AF=new NF,xF=new SF;let DC=(()=>{class e{constructor(n){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,r=>this._updateLatestValue(n,r))}_selectStrategy(n){if(Rf(n))return AF;if(iD(n))return xF;throw Bt()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,r){n===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static#e=this.\u0275fac=function(r){return new(r||e)(j(Hf,16))};static#t=this.\u0275pipe=rt({name:"async",type:e,pure:!1,standalone:!0})}return e})(),bC=(()=>{class e{constructor(n){this._locale=n}transform(n,r,o){if(!lh(n))return null;o||=this._locale;try{return function mF(e,t,n){return nh(e,rh(bc(t,es.Decimal),ze(t,de.MinusSign)),t,de.Group,de.Decimal,n)}(uh(n),o,r)}catch(i){throw Bt()}}static#e=this.\u0275fac=function(r){return new(r||e)(j(jt,16))};static#t=this.\u0275pipe=rt({name:"number",type:e,pure:!0,standalone:!0})}return e})(),ch=(()=>{class e{constructor(n,r="USD"){this._locale=n,this._defaultCurrencyCode=r}transform(n,r=this._defaultCurrencyCode,o="symbol",i,s){if(!lh(n))return null;s||=this._locale,"boolean"==typeof o&&(o=o?"symbol":"code");let a=r||this._defaultCurrencyCode;"code"!==o&&(a="symbol"===o||"symbol-narrow"===o?function qk(e,t,n="en"){const r=function zk(e){return Xe(e)[ie.Currencies]}(n)[e]||sC[e]||[],o=r[1];return"narrow"===t&&"string"==typeof o?o:r[0]||e}(a,"symbol"===o?"wide":"narrow",s):o);try{return function pF(e,t,n,r,o){const s=rh(bc(t,es.Currency),ze(t,de.MinusSign));return s.minFrac=function Qk(e){let t;const n=sC[e];return n&&(t=n[2]),"number"==typeof t?t:2}(r),s.maxFrac=s.minFrac,nh(e,s,t,de.CurrencyGroup,de.CurrencyDecimal,o).replace("\xa4",n).replace("\xa4","").trim()}(uh(n),s,a,r,i)}catch(c){throw Bt()}}static#e=this.\u0275fac=function(r){return new(r||e)(j(jt,16),j(b1,16))};static#t=this.\u0275pipe=rt({name:"currency",type:e,pure:!0,standalone:!0})}return e})();function lh(e){return!(null==e||""===e||e!=e)}function uh(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error(`${e} is not a number`);return e}let YF=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=zt({type:e});static#n=this.\u0275inj=Mt({})}return e})();const MC="browser";function IC(e){return"server"===e}class TC{}class bj extends xk{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class ph extends bj{static makeCurrent(){!function Ak(e){eC??=e}(new ph)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}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 Mj(){return os=os||document.querySelector("base"),os?os.getAttribute("href"):null}();return null==n?null:function Ij(e){return new URL(e,document.baseURI).pathname}(n)}resetBaseElement(){os=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return pC(document.cookie,t)}}let os=null,Sj=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();const kc=new M("");let FC=(()=>{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 C(5101,!1);return this._eventNameToPlugin.set(n,r),r}static#e=this.\u0275fac=function(r){return new(r||e)(E(kc),E(z))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();class gh{constructor(t){this._doc=t}}const mh="ng-app-id";let jC=(()=>{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=IC(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[${mh}="${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(mh),i;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(mh,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)(E(he),E(Yr),E(Wm,8),E(bn))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();const yh={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/Math/MathML"},_h=/%COMP%/g,Oj=new M("",{providedIn:"root",factory:()=>!0});function BC(e,t){return t.map(n=>n.replace(_h,e))}let HC=(()=>{class e{constructor(n,r,o,i,s,a,c,l=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=IC(a),this.defaultRenderer=new vh(n,s,c,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===It.ShadowDom&&(r={...r,encapsulation:It.Emulated});const o=this.getOrCreateRenderer(n,r);return o instanceof $C?o.applyToHost(n):o instanceof wh&&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,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case It.Emulated:i=new $C(c,l,r,this.appId,u,s,a,d);break;case It.ShadowDom:return new kj(c,l,n,r,s,a,this.nonce,d);default:i=new wh(c,l,r,u,s,a,d)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||e)(E(FC),E(jC),E(Yr),E(Oj),E(he),E(bn),E(z),E(Wm))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();class vh{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(yh[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(UC(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(UC(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new C(-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=yh[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=yh[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&(In.DashCase|In.Important)?t.style.setProperty(n,r,o&In.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&In.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=No().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 UC(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class kj extends vh{constructor(t,n,r,o,i,s,a,c){super(t,i,s,c),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=BC(o.id,o.styles);for(const u of l){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,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(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class wh extends vh{constructor(t,n,r,o,i,s,a,c){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=c?BC(c,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class $C extends wh{constructor(t,n,r,o,i,s,a,c){const l=o+"-"+r.id;super(t,n,r,i,s,a,c,l),this.contentAttr=function Rj(e){return"_ngcontent-%COMP%".replace(_h,e)}(l),this.hostAttr=function Pj(e){return"_nghost-%COMP%".replace(_h,e)}(l)}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 Fj=(()=>{class e extends gh{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)(E(he))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})(),jj=(()=>{class e extends gh{constructor(n){super(n),this.delegate=b(zD,{optional:!0})}supports(n){return!!this.delegate&&this.delegate.supports(n)}addEventListener(n,r,o){return this.delegate.addEventListener(n,r,o)}removeEventListener(n,r,o){return this.delegate.removeEventListener(n,r,o)}static#e=this.\u0275fac=function(r){return new(r||e)(E(he))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();const zC=["alt","control","meta","shift"],Vj={"\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"},Bj={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let Hj=(()=>{class e extends gh{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(()=>No().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."),zC.forEach(l=>{const u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=i,0!=r.length||0===i.length)return null;const c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let o=Vj[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"),zC.forEach(s=>{s!==o&&(0,Bj[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)(E(he))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();const Gj=gD(U1,"browser",[{provide:bn,useValue:MC},{provide:Gm,useValue:function Uj(){ph.makeCurrent()},multi:!0},{provide:he,useFactory:function zj(){return function y0(e){Tu=e}(document),document},deps:[]}]),Wj=new M(""),YC=[{provide:lc,useClass:class Tj{addToWindow(t){ae.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new C(5103,!1);return i},ae.getAllAngularTestabilities=()=>t.getAllTestabilities(),ae.getAllAngularRootElements=()=>t.getAllRootElements(),ae.frameworkStabilizers||(ae.frameworkStabilizers=[]),ae.frameworkStabilizers.push(r=>{const o=ae.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?No().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:oD,useClass:Af,deps:[z,xf,lc]},{provide:Af,useClass:Af,deps:[z,xf,lc]}],qC=[{provide:Hl,useValue:"root"},{provide:Rt,useFactory:function $j(){return new Rt},deps:[]},{provide:kc,useClass:Fj,multi:!0,deps:[he,z,bn]},{provide:kc,useClass:Hj,multi:!0,deps:[he]},{provide:kc,useClass:jj,multi:!0},HC,jC,FC,{provide:Td,useExisting:HC},{provide:TC,useClass:Sj,deps:[]},[]];let Yj=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Yr,useValue:n.appId}]}}static#e=this.\u0275fac=function(r){return new(r||e)(E(Wj,12))};static#t=this.\u0275mod=zt({type:e});static#n=this.\u0275inj=Mt({providers:[...qC,...YC],imports:[YF,$1]})}return e})();var Jj=Kh.t(JSON.parse('{"ckeditorLicense":"ETYPME234.GTL514TCO770","sentryUrl":"https://055692dd96b545f9a5a6287694cd14b2@o1177741.ingest.sentry.io/6725188","matomoContainerUrl":"https://cdn.matomo.cloud/anyday.matomo.cloud/container_Dv9yazIC.js","enableCookieConsent":"true","seonJsFile":"https://cdn.seondf.com/js/v5/agent.js","marqetaJsFile":""}'),2);const yr={host:"",basePath:"/api/v1/internal/",basePathV2:"/api/v2/internal/",production:!0,lazyTimeMs:0,ckeditorLicense:Jj.ckeditorLicense,sentryUrl:Jj.sentryUrl,matomoContainerUrl:Jj.matomoContainerUrl,enableCookieConsent:"true"===Jj.enableCookieConsent,storytellerApi:"8414e416-8684-4a36-89dc-8ab4b5acb1d5",seonJsFile:Jj.seonJsFile,marqetaJsFile:Jj.marqetaJsFile};function XC(e,t=0){return function Kj(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}(e)?Number(e):2===arguments.length?t:0}function JC(e){return Array.isArray(e)?e:[e]}function be(e){return null==e?"":"string"==typeof e?e:`${e}px`}function KC(e){return e instanceof Qt?e.nativeElement:e}class Eh{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class e2 extends Eh{constructor(t,n,r,o,i){super(),this.component=t,this.viewContainerRef=n,this.injector=r,this.componentFactoryResolver=o,this.projectableNodes=i}}class eb extends Eh{constructor(t,n,r,o){super(),this.templateRef=t,this.viewContainerRef=n,this.context=r,this.injector=o}get origin(){return this.templateRef.elementRef}attach(t,n=this.context){return this.context=n,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class t2 extends Eh{constructor(t){super(),this.element=t instanceof Qt?t.nativeElement:t}}class n2{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof e2?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof eb?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof t2?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class r2 extends n2{constructor(t,n,r,o,i){super(),this.outletElement=t,this._componentFactoryResolver=n,this._appRef=r,this._defaultInjector=o,this.attachDomPortal=s=>{const a=s.element,c=this._document.createComment("dom-portal");a.parentNode.insertBefore(c,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(a,c)})},this._document=i}attachComponentPortal(t){const r=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let o;return t.viewContainerRef?(o=t.viewContainerRef.createComponent(r,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector,t.projectableNodes||void 0),this.setDisposeFn(()=>o.destroy())):(o=r.create(t.injector||this._defaultInjector||fe.NULL),this._appRef.attachView(o.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(o.hostView),o.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(o)),this._attachedPortal=t,o}attachTemplatePortal(t){let n=t.viewContainerRef,r=n.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return r.rootNodes.forEach(o=>this.outletElement.appendChild(o)),r.detectChanges(),this.setDisposeFn(()=>{let o=n.indexOf(r);-1!==o&&n.remove(o)}),this._attachedPortal=t,r}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let o2=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=zt({type:e});static#n=this.\u0275inj=Mt({})}return e})();function Rn(e){return this instanceof Rn?(this.v=e,this):new Rn(e)}function ob(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 Mh(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,c){!function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}(a,c,(s=e[i](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Ih=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function ib(e){return ee(e?.then)}function sb(e){return ee(e[cl])}function ab(e){return Symbol.asyncIterator&&ee(e?.[Symbol.asyncIterator])}function cb(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 lb=function T2(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function ub(e){return ee(e?.[lb])}function db(e){return function rb(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},a("next"),a("throw"),a("return",function s(f){return function(p){return Promise.resolve(p).then(f,d)}}),o[Symbol.asyncIterator]=function(){return this},o;function a(f,p){r[f]&&(o[f]=function(g){return new Promise(function(m,v){i.push([f,g,m,v])>1||c(f,g)})},p&&(o[f]=p(o[f])))}function c(f,p){try{!function l(f){f.value instanceof Rn?Promise.resolve(f.value.v).then(u,d):h(i[0][2],f)}(r[f](p))}catch(g){h(i[0][3],g)}}function u(f){c("next",f)}function d(f){c("throw",f)}function h(f,p){f(p),i.shift(),i.length&&c(i[0][0],i[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield Rn(n.read());if(o)return yield Rn(void 0);yield yield Rn(r)}}finally{n.releaseLock()}})}function fb(e){return ee(e?.getReader)}function Ht(e){if(e instanceof _e)return e;if(null!=e){if(sb(e))return function S2(e){return new _e(t=>{const n=e[cl]();if(ee(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Ih(e))return function N2(e){return new _e(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,yp)})}(e);if(ab(e))return hb(e);if(ub(e))return function x2(e){return new _e(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(fb(e))return function O2(e){return hb(db(e))}(e)}throw cb(e)}function hb(e){return new _e(t=>{(function R2(e,t){var n,r,o,i;return function tb(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=ob(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 Th(e){return et((t,n)=>{Ht(e).subscribe(Ve(n,()=>n.complete(),jo)),!n.closed&&t.subscribe(n)})}let pb=(()=>{class e{get $onDestroy(){return this._onDestroySubject.asObservable()}takeUntilDestroyed(){return Th(this.$onDestroy)}constructor(){this._onDestroySubject=new Pe}ngOnDestroy(){this._onDestroySubject.next(),this._onDestroySubject.complete()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=dt({type:e})}return e})();const Sh={now:()=>(Sh.delegate||Date).now(),delegate:void 0};class _r extends Pe{constructor(t=1/0,n=1/0,r=Sh){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{n.subscribe(Ve(r,o=>gn(r,e,()=>r.next(o),t),()=>gn(r,e,()=>r.complete(),t),o=>gn(r,e,()=>r.error(o),t)))})}function mb(e,t=0){return et((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function yb(e,t){if(!e)throw new Error("Iterable cannot be null");return new _e(n=>{gn(n,t,()=>{const r=e[Symbol.asyncIterator]();gn(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Ro(e,t){return t?function G2(e,t){if(null!=e){if(sb(e))return function B2(e,t){return Ht(e).pipe(mb(t),gb(t))}(e,t);if(Ih(e))return function U2(e,t){return new _e(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(ib(e))return function H2(e,t){return Ht(e).pipe(mb(t),gb(t))}(e,t);if(ab(e))return yb(e,t);if(ub(e))return function $2(e,t){return new _e(n=>{let r;return gn(n,t,()=>{r=e[lb](),gn(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)}),()=>ee(r?.return)&&r.return()})}(e,t);if(fb(e))return function z2(e,t){return yb(db(e),t)}(e,t)}throw cb(e)}(e,t):Ht(e)}const{isArray:W2}=Array;function _b(e){return Ge(t=>function Y2(e,t){return W2(t)?e(...t):e(t)}(e,t))}function vb(e){return e&&ee(e.schedule)}function Nh(e){return e[e.length-1]}function is(e){return vb(Nh(e))?e.pop():void 0}function Ah(...e){const t=is(e),n=function q2(e){return ee(Nh(e))?e.pop():void 0}(e),{args:r,keys:o}=function j2(e){if(1===e.length){const t=e[0];if(P2(t))return{args:t,keys:null};if(function V2(e){return e&&"object"==typeof e&&L2(e)===k2}(t)){const n=F2(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}(e);if(0===r.length)return Ro([],t);const i=new _e(function X2(e,t,n=Vo){return r=>{wb(t,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let c=0;c{const l=Ro(e[c],t);let u=!1;l.subscribe(Ve(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,t,o?s=>function Q2(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}(o,s):Vo));return n?i.pipe(_b(n)):i}function wb(e,t,n){e?gn(n,e,t):t()}class J2 extends je{constructor(t,n){super()}schedule(t,n=0){return this}}const jc={setInterval(e,t,...n){const{delegate:r}=jc;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){const{delegate:t}=jc;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};class xh extends J2{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;const o=this.id,i=this.scheduler;return null!=o&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=null!==(r=this.id)&&void 0!==r?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return jc.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(null!=r&&this.delay===r&&!1===this.pending)return n;null!=n&&jc.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(t,n);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let o,r=!1;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){const{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,_s(r,this),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}}class ss{constructor(t,n=ss.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}}ss.now=Sh.now;class Oh extends ss{constructor(t,n=ss.now){super(t,n),this.actions=[],this._active=!1}flush(t){const{actions:n}=this;if(this._active)return void n.push(t);let r;this._active=!0;do{if(r=t.execute(t.state,t.delay))break}while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}}const Rh=new Oh(xh),K2=Rh;function Ph(e=0,t,n=K2){let r=-1;return null!=t&&(vb(t)?n=t:r=t),new _e(o=>{let i=function e4(e){return e instanceof Date&&!isNaN(e)}(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function as(e,t,n=1/0){return ee(t)?as((r,o)=>Ge((i,s)=>t(r,i,o,s))(Ht(e(r,o))),n):("number"==typeof t&&(n=t),et((r,o)=>function t4(e,t,n,r,o,i,s,a){const c=[];let l=0,u=0,d=!1;const h=()=>{d&&!c.length&&!l&&t.complete()},f=g=>l{i&&t.next(g),l++;let m=!1;Ht(n(g,u++)).subscribe(Ve(t,v=>{o?.(v),i?f(v):t.next(v)},()=>{m=!0},void 0,()=>{if(m)try{for(l--;c.length&&lp(v)):p(v)}h()}catch(v){t.error(v)}}))};return e.subscribe(Ve(t,f,()=>{d=!0,h()})),()=>{a?.()}}(r,o,e,n)))}function Eb(e=1/0){return as(Vo,e)}function Db(...e){return function n4(){return Eb(1)}()(Ro(e,is(e)))}function Ct(...e){const t=is(e);return et((n,r)=>{(t?Db(e,n,t):Db(e,n)).subscribe(r)})}function Cb(e){return et((t,n)=>{let r=!1,o=null;t.subscribe(Ve(n,i=>{r=!0,o=i})),Ht(e).subscribe(Ve(n,()=>{if(r){r=!1;const i=o;o=null,n.next(i)}},jo))})}const Lh=new _e(e=>e.complete());function kh(e){return e<=0?()=>Lh:et((t,n)=>{let r=0;t.subscribe(Ve(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function vr(e,t){return et((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(Ve(r,c=>{o?.unsubscribe();let l=0;const u=i++;Ht(e(c,u)).subscribe(o=Ve(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}const bb=new _e(jo);function Vc(e,t=Rh){return et((n,r)=>{let o=null,i=null,s=null;const a=()=>{if(o){o.unsubscribe(),o=null;const l=i;i=null,r.next(l)}};function c(){const l=s+e,u=t.now();if(u{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function wr(e,t){return et((n,r)=>{let o=0;n.subscribe(Ve(r,i=>e.call(t,i,o++)&&r.next(i)))})}function i4(e,t){return e===t}let c4=(()=>{class e{create(n){return typeof MutationObserver>"u"?null:new MutationObserver(n)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),l4=(()=>{class e{constructor(n){this._mutationObserverFactory=n,this._observedElements=new Map,this._ngZone=b(z)}ngOnDestroy(){this._observedElements.forEach((n,r)=>this._cleanupObserver(r))}observe(n){const r=KC(n);return new _e(o=>{const s=this._observeElement(r).pipe(Ge(a=>a.filter(c=>!function a4(e){if("characterData"===e.type&&e.target instanceof Comment)return!0;if("childList"===e.type){for(let t=0;t!!a.length)).subscribe(a=>{this._ngZone.run(()=>{o.next(a)})});return()=>{s.unsubscribe(),this._unobserveElement(r)}})}_observeElement(n){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(n))this._observedElements.get(n).count++;else{const r=new Pe,o=this._mutationObserverFactory.create(i=>r.next(i));o&&o.observe(n,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(n,{observer:o,stream:r,count:1})}return this._observedElements.get(n).stream})}_unobserveElement(n){this._observedElements.has(n)&&(this._observedElements.get(n).count--,this._observedElements.get(n).count||this._cleanupObserver(n))}_cleanupObserver(n){if(this._observedElements.has(n)){const{observer:r,stream:o}=this._observedElements.get(n);r&&r.disconnect(),o.complete(),this._observedElements.delete(n)}}static#e=this.\u0275fac=function(r){return new(r||e)(E(c4))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Mb=(()=>{class e extends pb{static#e=this.priceMatcher=/(\d[\d,.\s]+\d|\d{1,2})/;constructor(n,r,o,i){super(),this.contentObserver=n,this.priceTag=r,this.document=o,this.localeId=i}watchSelector$(n,r){return Ah([n,r.pipe(Ct(this.localeId))]).pipe(Vc(1),vr(([o,i])=>this.watchPriceElement(o,i)),wr(o=>!!o),function o4(e,t=Vo){return e=e??i4,et((n,r)=>{let o,i=!0;n.subscribe(Ve(r,s=>{const a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}(),this.takeUntilDestroyed())}watchPriceElement(n,r){let i,o=e.findCommonParent(n,this.priceTag.nativeElement);return i=o?this.observe(o):this.observe(this.document.body).pipe(Vc(1),Ge(()=>e.findCommonParent(n,this.priceTag.nativeElement)),wr(s=>!!s),kh(1),vr(s=>this.observe(s))),i.pipe(Ge(s=>e.findElement(n,s)),vr(s=>this.observe(s)),Vc(1),Ge(s=>e.getPriceFromElement(s,r)))}observe(n){return n?this.contentObserver.observe(n).pipe(Ct(void 0),function s4(e){return Ge(()=>e)}(n)):bb}static findCommonParent(n,r){let i,o=r;do{o=o?.parentElement,i=this.findElement(n,o)}while(o&&!i);return o}static findElement(n,r){return r?.querySelector(n)??null}static getPriceFromElement(n,r){return this.getPriceFromText(n.innerText,r)}static getPriceFromText(n,r){let o=this.getCleanedPriceText(n);if(null!==o)return this.validateFormat(o,r),o=this.replaceLocaleGroupWithBlank(o,r),o=this.replaceLocaleDecimalWithPeriod(o,r),parseFloat(o);console.error("Anyday-Price-Tag found a valid 'price-tag-selector' element but could not find a valid number '"+n+"'")}static getCleanedPriceText(n){const r=this.priceMatcher.exec(n);return r&&r[1]||null}static validateFormat(n,r){if(!this.isFormatValid(n,r)){let i=bc(r,es.Currency);console.error("Anyday-Price-Tag the format of the price '"+n+"' did not match the locale '"+r+"'. Expected format for locale '"+r+"' is '"+i+"'")}}static isFormatValid(n,r){let o=ze(r,de.CurrencyDecimal),i=ze(r,de.CurrencyGroup);"."===o?o="\\.":"."===i&&(i="\\.");let c=new RegExp("^(\\d{1,3})(["+i+"\\s]{1}\\d{3})*("+o+"\\d+)?$|^(\\d+)?("+o+"\\d+)?$").exec(n);return!(!c||!c[1])}static replaceLocaleDecimalWithPeriod(n,r){let o=ze(r,de.CurrencyDecimal);return n.replace(new RegExp(this.escapeRegExp(o),"g"),".")}static replaceLocaleGroupWithBlank(n,r){let o=ze(r,de.CurrencyGroup),i=this.escapeRegExp(o);return n.replace(new RegExp(i,"g"),"")}static escapeRegExp(n){return n.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&").replace(/\s/g,"\\s")}static#t=this.\u0275fac=function(r){return new(r||e)(E(l4),E(Qt),E(he),E(jt))};static#n=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();var Er=function(e){return e[e.Fine=0]="Fine",e[e.MerchantDeactivated=1]="MerchantDeactivated",e[e.WebShopNotfound=2]="WebShopNotfound",e[e.WebShopHostNotAllowed=3]="WebShopHostNotAllowed",e[e.CannotConnectToAPI=4]="CannotConnectToAPI",e[e.Unknown=5]="Unknown",e}(Er||{});let u4=(()=>{class e{static getLocale(n,r){return{DKK:"da",USD:"en"}[n]||r}static format(n,r,o=2){n||(n=0),r||(r="DKK");const i=this.getLocale(r,"da"),s=`1.${o}-${o}`;return new ch(i,r).transform(n,r,"symbol-narrow",s,i)||String(n)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ib(e,t,n,r,o,i,s){try{var a=e[i](s),c=a.value}catch(l){return void n(l)}a.done?t(c):Promise.resolve(c).then(r,o)}function Fh(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function s(c){Ib(i,r,o,s,a,"next",c)}function a(c){Ib(i,r,o,s,a,"throw",c)}s(void 0)})}}let d4=(()=>{class e{calculateEstimatedPrice(n){var r=this;return Fh(function*(){const o={totalPrice:parseFloat(XC(n.totalPrice,0).toFixed(2)),currency:n.currency},i={error:Er.Fine};try{i.estimate={currency:o.currency,totalPrice:o.totalPrice,splitCount:4,splitPercent:25,monthlyPayment:r.bankersRounding(o.totalPrice/4,2)}}catch{i.error=Er.Unknown,console.error("Price tag unknown error, please contact Anyday support")}return i})()}bankersRounding(n,r){let o=r||0,i=Math.pow(10,o),s=+(o?n*i:n).toFixed(8),a=Math.floor(s),c=s-a,u=c>.5-1e-8&&c<.5+1e-8?a%2==0?a:a+1:Math.round(s);return o?u/i:u}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),f4=(()=>{class e{constructor(n){this.priceEstimateService=n}watchPrice(n,r,o){const i=Ah([o.pipe(Ct(void 0)),r.pipe(Ct(void 0)),n.pipe(Ct(void 0))]).pipe(Ge(([a,c,l])=>({priceTagToken:a,currency:c,totalPrice:l}))),s=i.pipe(wr(a=>void 0!==a.currency&&void 0!==a.totalPrice&&void 0!==a.priceTagToken));return i.pipe(Cb(Ph(3e3)),kh(1),Th(s)).subscribe(a=>{this.checkQuery(a)}),s.pipe(Vc(1e3),vr(a=>this.priceEstimateService.calculateEstimatedPrice(a)))}checkQuery(n){const r=[];if(void 0===n.totalPrice&&r.push("Total price could not be resolved. If there are no other validation errors or warnings in the log this is likely because the 'price-tag-selector' could not be located."),void 0===n.priceTagToken&&r.push("Price tag token not set, did you forget to specify the 'price-tag-token' attribute?"),void 0===n.currency&&r.push("Currency not set, did you forget to specify the 'currency' attribute"),r.length>0)throw new Error("Anyday price tag error: "+r.join(", "))}static#e=this.\u0275fac=function(r){return new(r||e)(E(d4))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function jh(...e){return Ro(e,is(e))}const h4=["addListener","removeListener"],p4=["addEventListener","removeEventListener"],g4=["on","off"];function Vh(e,t,n,r){if(ee(n)&&(r=n,n=void 0),r)return Vh(e,t,n).pipe(_b(r));const[o,i]=function _4(e){return ee(e.addEventListener)&&ee(e.removeEventListener)}(e)?p4.map(s=>a=>e[s](t,a,n)):function m4(e){return ee(e.addListener)&&ee(e.removeListener)}(e)?h4.map(Tb(e,t)):function y4(e){return ee(e.on)&&ee(e.off)}(e)?g4.map(Tb(e,t)):[];if(!o&&Ih(e))return as(s=>Vh(s,t,n))(Ht(e));if(!o)throw new TypeError("Invalid event target");return new _e(s=>{const a=(...c)=>s.next(1i(a)})}function Tb(e,t){return n=>r=>e[n](t,r)}const cs={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame;const{delegate:r}=cs;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);const o=t(i=>{n=void 0,e(i)});return new je(()=>n?.(o))},requestAnimationFrame(...e){const{delegate:t}=cs;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){const{delegate:t}=cs;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};new class w4 extends Oh{flush(t){this._active=!0;const n=this._scheduled;this._scheduled=void 0;const{actions:r}=this;let o;t=t||r.shift();do{if(o=t.execute(t.state,t.delay))break}while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}}(class v4 extends xh{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return null!==r&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=cs.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var o;if(null!=r?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);const{actions:i}=t;null!=n&&(null===(o=i[i.length-1])||void 0===o?void 0:o.id)!==n&&(cs.cancelAnimationFrame(n),t._scheduled=void 0)}});let Bh,D4=1;const Bc={};function Sb(e){return e in Bc&&(delete Bc[e],!0)}const C4={setImmediate(e){const t=D4++;return Bc[t]=!0,Bh||(Bh=Promise.resolve()),Bh.then(()=>Sb(t)&&e()),t},clearImmediate(e){Sb(e)}},{setImmediate:b4,clearImmediate:M4}=C4,Hc={setImmediate(...e){const{delegate:t}=Hc;return(t?.setImmediate||b4)(...e)},clearImmediate(e){const{delegate:t}=Hc;return(t?.clearImmediate||M4)(e)},delegate:void 0};new class T4 extends Oh{flush(t){this._active=!0;const n=this._scheduled;this._scheduled=void 0;const{actions:r}=this;let o;t=t||r.shift();do{if(o=t.execute(t.state,t.delay))break}while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}}(class I4 extends xh{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return null!==r&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=Hc.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,n,r=0){var o;if(null!=r?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);const{actions:i}=t;null!=n&&(null===(o=i[i.length-1])||void 0===o?void 0:o.id)!==n&&(Hc.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0))}});function Nb(e,t=Rh){return function N4(e){return et((t,n)=>{let r=!1,o=null,i=null,s=!1;const a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;const l=o;o=null,n.next(l)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(Ve(n,l=>{r=!0,o=l,i||Ht(e(l)).subscribe(i=Ve(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}(()=>Ph(e,t))}let Hh;try{Hh=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Hh=!1}let Dr,ls=(()=>{class e{constructor(n){this._platformId=n,this.isBrowser=this._platformId?function ZF(e){return e===MC}(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Hh)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.\u0275fac=function(r){return new(r||e)(E(bn))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function x4(){if(null==Dr){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Dr=!1,Dr;if("scrollBehavior"in document.documentElement.style)Dr=!0;else{const e=Element.prototype.scrollTo;Dr=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return Dr}function xb(e){return e.composedPath?e.composedPath()[0]:e.target}function Ob(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}const R4=new M("cdk-dir-doc",{providedIn:"root",factory:function P4(){return b(he)}}),L4=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let F4=(()=>{class e{constructor(n){this.value="ltr",this.change=new Ot,n&&(this.value=function k4(e){const t=e?.toLowerCase()||"";return"auto"===t&&typeof navigator<"u"&&navigator?.language?L4.test(navigator.language)?"rtl":"ltr":"rtl"===t?"rtl":"ltr"}((n.body?n.body.dir:null)||(n.documentElement?n.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(r){return new(r||e)(E(R4,8))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),$h=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=zt({type:e});static#n=this.\u0275inj=Mt({})}return e})(),V4=(()=>{class e{constructor(n,r,o){this._ngZone=n,this._platform=r,this._scrolled=new Pe,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(n){this.scrollContainers.has(n)||this.scrollContainers.set(n,n.elementScrolled().subscribe(()=>this._scrolled.next(n)))}deregister(n){const r=this.scrollContainers.get(n);r&&(r.unsubscribe(),this.scrollContainers.delete(n))}scrolled(n=20){return this._platform.isBrowser?new _e(r=>{this._globalSubscription||this._addGlobalListener();const o=n>0?this._scrolled.pipe(Nb(n)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):jh()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((n,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(n,r){const o=this.getAncestorScrollContainers(n);return this.scrolled(r).pipe(wr(i=>!i||o.indexOf(i)>-1))}getAncestorScrollContainers(n){const r=[];return this.scrollContainers.forEach((o,i)=>{this._scrollableContainsElement(i,n)&&r.push(i)}),r}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(n,r){let o=KC(r),i=n.getElementRef().nativeElement;do{if(o==i)return!0}while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Vh(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(r){return new(r||e)(E(z),E(ls),E(he,8))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Rb=(()=>{class e{constructor(n,r,o){this._platform=n,this._change=new Pe,this._changeListener=i=>{this._change.next(i)},this._document=o,r.runOutsideAngular(()=>{if(n.isBrowser){const i=this._getWindow();i.addEventListener("resize",this._changeListener),i.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const n=this._getWindow();n.removeEventListener("resize",this._changeListener),n.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n}getViewportRect(){const n=this.getViewportScrollPosition(),{width:r,height:o}=this.getViewportSize();return{top:n.top,left:n.left,bottom:n.top+o,right:n.left+r,height:o,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const n=this._document,r=this._getWindow(),o=n.documentElement,i=o.getBoundingClientRect();return{top:-i.top||n.body.scrollTop||r.scrollY||o.scrollTop||0,left:-i.left||n.body.scrollLeft||r.scrollX||o.scrollLeft||0}}change(n=20){return n>0?this._change.pipe(Nb(n)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const n=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:n.innerWidth,height:n.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(r){return new(r||e)(E(ls),E(z),E(he,8))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Pb=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=zt({type:e});static#n=this.\u0275inj=Mt({})}return e})(),Lb=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=zt({type:e});static#n=this.\u0275inj=Mt({imports:[$h,Pb,$h,Pb]})}return e})();function kb(...e){const t=is(e),n=function Z2(e,t){return"number"==typeof Nh(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?Ht(r[0]):Eb(n)(Ro(r,t)):Lh}const Fb=x4();class H4{constructor(t,n){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=n}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=be(-this._previousScrollPosition.left),t.style.top=be(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,r=t.style,o=this._document.body.style,i=r.scrollBehavior||"",s=o.scrollBehavior||"";this._isEnabled=!1,r.left=this._previousHTMLStyles.left,r.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),Fb&&(r.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Fb&&(r.scrollBehavior=i,o.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const n=this._document.body,r=this._viewportRuler.getViewportSize();return n.scrollHeight>r.height||n.scrollWidth>r.width}}class U4{constructor(t,n,r,o){this._scrollDispatcher=t,this._ngZone=n,this._viewportRuler=r,this._config=o,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0).pipe(wr(n=>!n||!this._overlayRef.overlayElement.contains(n.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const n=this._viewportRuler.getViewportScrollPosition().top;Math.abs(n-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class jb{enable(){}disable(){}attach(){}}function zh(e,t){return t.some(n=>e.bottomn.bottom||e.rightn.right)}function Vb(e,t){return t.some(n=>e.topn.bottom||e.leftn.right)}class $4{constructor(t,n,r,o){this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=r,this._config=o,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const n=this._overlayRef.overlayElement.getBoundingClientRect(),{width:r,height:o}=this._viewportRuler.getViewportSize();zh(n,[{width:r,height:o,bottom:o,right:r,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let z4=(()=>{class e{constructor(n,r,o,i){this._scrollDispatcher=n,this._viewportRuler=r,this._ngZone=o,this.noop=()=>new jb,this.close=s=>new U4(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new H4(this._viewportRuler,this._document),this.reposition=s=>new $4(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=i}static#e=this.\u0275fac=function(r){return new(r||e)(E(V4),E(Rb),E(z),E(he))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class G4{constructor(t){if(this.scrollStrategy=new jb,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const n=Object.keys(t);for(const r of n)void 0!==t[r]&&(this[r]=t[r])}}}class W4{constructor(t,n){this.connectionPair=t,this.scrollableViewProperties=n}}let Bb=(()=>{class e{constructor(n){this._attachedOverlays=[],this._document=n}ngOnDestroy(){this.detach()}add(n){this.remove(n),this._attachedOverlays.push(n)}remove(n){const r=this._attachedOverlays.indexOf(n);r>-1&&this._attachedOverlays.splice(r,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(r){return new(r||e)(E(he))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Y4=(()=>{class e extends Bb{constructor(n,r){super(n),this._ngZone=r,this._keydownListener=o=>{const i=this._attachedOverlays;for(let s=i.length-1;s>-1;s--)if(i[s]._keydownEvents.observers.length>0){const a=i[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(o)):a.next(o);break}}}add(n){super.add(n),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static#e=this.\u0275fac=function(r){return new(r||e)(E(he),E(z,8))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),q4=(()=>{class e extends Bb{constructor(n,r,o){super(n),this._platform=r,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=i=>{this._pointerDownEventTarget=xb(i)},this._clickListener=i=>{const s=xb(i),a="click"===i.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const c=this._attachedOverlays.slice();for(let l=c.length-1;l>-1;l--){const u=c[l];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(Hb(u.overlayElement,s)||Hb(u.overlayElement,a))break;const d=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>d.next(i)):d.next(i)}}}add(n){if(super.add(n),!this._isAttached){const r=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(r)):this._addEventListeners(r),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=r.style.cursor,r.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const n=this._document.body;n.removeEventListener("pointerdown",this._pointerDownListener,!0),n.removeEventListener("click",this._clickListener,!0),n.removeEventListener("auxclick",this._clickListener,!0),n.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(n.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(n){n.addEventListener("pointerdown",this._pointerDownListener,!0),n.addEventListener("click",this._clickListener,!0),n.addEventListener("auxclick",this._clickListener,!0),n.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(r){return new(r||e)(E(he),E(ls),E(z,8))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Hb(e,t){const n=typeof ShadowRoot<"u"&&ShadowRoot;let r=t;for(;r;){if(r===e)return!0;r=n&&r instanceof ShadowRoot?r.host:r.parentNode}return!1}let Ub=(()=>{class e{constructor(n,r){this._platform=r,this._document=n}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const n="cdk-overlay-container";if(this._platform.isBrowser||Ob()){const o=this._document.querySelectorAll(`.${n}[platform="server"], .${n}[platform="test"]`);for(let i=0;ithis._backdropClick.next(h),this._backdropTransitionendHandler=h=>{this._disposeBackdrop(h.target)},this._keydownEvents=new Pe,this._outsidePointerEvents=new Pe,this._renders=new Pe,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy,this._afterRenderRef=Qf(()=>function P_(e,t){!t&&Bs();const n=t?.injector??b(fe);return it(n)?(Ze("NgAfterRender"),k_(e,n,!1,t?.phase??Qe.MixedReadWrite)):R_}(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const n=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),function L_(e,t){!t&&Bs();const n=t?.injector??b(fe);return it(n)?(Ze("NgAfterNextRender"),k_(e,n,!0,t?.phase??Qe.MixedReadWrite)):R_}(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof n?.onDestroy&&n.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),n}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,t&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config={...this._config,...t},this._updateElementSize()}setDirection(t){this._config={...this._config,direction:t},this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=be(this._config.width),t.height=be(this._config.height),t.minWidth=be(this._config.minWidth),t.minHeight=be(this._config.minHeight),t.maxWidth=be(this._config.maxWidth),t.maxHeight=be(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const t=this._backdropElement;if(t){if(this._animationsDisabled)return void this._disposeBackdrop(t);t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,n,r){const o=JC(n||[]).filter(i=>!!i);o.length&&(r?t.classList.add(...o):t.classList.remove(...o))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{const t=this._renders.pipe(Th(kb(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const $b="cdk-overlay-connected-position-bounding-box",Q4=/([A-Za-z%]+)$/;class X4{get positions(){return this._preferredPositions}constructor(t,n,r,o,i){this._viewportRuler=n,this._document=r,this._platform=o,this._overlayContainer=i,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new Pe,this._resizeSubscription=je.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}attach(t){this._validatePositions(),t.hostElement.classList.add($b),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._originRect,n=this._overlayRect,r=this._viewportRect,o=this._containerRect,i=[];let s;for(let a of this._preferredPositions){let c=this._getOriginPoint(t,o,a),l=this._getOverlayPoint(c,n,a),u=this._getOverlayFit(l,n,r,a);if(u.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,c);this._canFitWithFlexibleDimensions(u,l,r)?i.push({position:a,origin:c,overlayRect:n,boundingBoxRect:this._calculateBoundingBoxRect(c,a)}):(!s||s.overlayFit.visibleAreac&&(c=u,a=l)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Cr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove($b),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const n=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,n)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,n,r){let o,i;if("center"==r.originX)o=t.left+t.width/2;else{const s=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;o="start"==r.originX?s:a}return n.left<0&&(o-=n.left),i="center"==r.originY?t.top+t.height/2:"top"==r.originY?t.top:t.bottom,n.top<0&&(i-=n.top),{x:o,y:i}}_getOverlayPoint(t,n,r){let o,i;return o="center"==r.overlayX?-n.width/2:"start"===r.overlayX?this._isRtl()?-n.width:0:this._isRtl()?0:-n.width,i="center"==r.overlayY?-n.height/2:"top"==r.overlayY?0:-n.height,{x:t.x+o,y:t.y+i}}_getOverlayFit(t,n,r,o){const i=Gb(n);let{x:s,y:a}=t,c=this._getOffset(o,"x"),l=this._getOffset(o,"y");c&&(s+=c),l&&(a+=l);let h=0-a,f=a+i.height-r.height,p=this._subtractOverflows(i.width,0-s,s+i.width-r.width),g=this._subtractOverflows(i.height,h,f),m=p*g;return{visibleArea:m,isCompletelyWithinViewport:i.width*i.height===m,fitsInViewportVertically:g===i.height,fitsInViewportHorizontally:p==i.width}}_canFitWithFlexibleDimensions(t,n,r){if(this._hasFlexibleDimensions){const o=r.bottom-n.y,i=r.right-n.x,s=zb(this._overlayRef.getConfig().minHeight),a=zb(this._overlayRef.getConfig().minWidth);return(t.fitsInViewportVertically||null!=s&&s<=o)&&(t.fitsInViewportHorizontally||null!=a&&a<=i)}return!1}_pushOverlayOnScreen(t,n,r){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const o=Gb(n),i=this._viewportRect,s=Math.max(t.x+o.width-i.width,0),a=Math.max(t.y+o.height-i.height,0),c=Math.max(i.top-r.top-t.y,0),l=Math.max(i.left-r.left-t.x,0);let u=0,d=0;return u=o.width<=i.width?l||-s:t.xp&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-p/2)}if("end"===n.overlayX&&!o||"start"===n.overlayX&&o)h=r.width-t.x+2*this._viewportMargin,u=t.x-this._viewportMargin;else if("start"===n.overlayX&&!o||"end"===n.overlayX&&o)d=t.x,u=r.right-t.x;else{const f=Math.min(r.right-t.x+r.left,t.x),p=this._lastBoundingBoxSize.width;u=2*f,d=t.x-f,u>p&&!this._isInitialRender&&!this._growAfterOpen&&(d=t.x-p/2)}return{top:s,left:d,bottom:a,right:h,width:u,height:i}}_setBoundingBoxStyles(t,n){const r=this._calculateBoundingBoxRect(t,n);!this._isInitialRender&&!this._growAfterOpen&&(r.height=Math.min(r.height,this._lastBoundingBoxSize.height),r.width=Math.min(r.width,this._lastBoundingBoxSize.width));const o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{const i=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;o.height=be(r.height),o.top=be(r.top),o.bottom=be(r.bottom),o.width=be(r.width),o.left=be(r.left),o.right=be(r.right),o.alignItems="center"===n.overlayX?"center":"end"===n.overlayX?"flex-end":"flex-start",o.justifyContent="center"===n.overlayY?"center":"bottom"===n.overlayY?"flex-end":"flex-start",i&&(o.maxHeight=be(i)),s&&(o.maxWidth=be(s))}this._lastBoundingBoxSize=r,Cr(this._boundingBox.style,o)}_resetBoundingBoxStyles(){Cr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Cr(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,n){const r={},o=this._hasExactPosition(),i=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(o){const u=this._viewportRuler.getViewportScrollPosition();Cr(r,this._getExactOverlayY(n,t,u)),Cr(r,this._getExactOverlayX(n,t,u))}else r.position="static";let a="",c=this._getOffset(n,"x"),l=this._getOffset(n,"y");c&&(a+=`translateX(${c}px) `),l&&(a+=`translateY(${l}px)`),r.transform=a.trim(),s.maxHeight&&(o?r.maxHeight=be(s.maxHeight):i&&(r.maxHeight="")),s.maxWidth&&(o?r.maxWidth=be(s.maxWidth):i&&(r.maxWidth="")),Cr(this._pane.style,r)}_getExactOverlayY(t,n,r){let o={top:"",bottom:""},i=this._getOverlayPoint(n,this._overlayRect,t);return this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,r)),"bottom"===t.overlayY?o.bottom=this._document.documentElement.clientHeight-(i.y+this._overlayRect.height)+"px":o.top=be(i.y),o}_getExactOverlayX(t,n,r){let s,o={left:"",right:""},i=this._getOverlayPoint(n,this._overlayRect,t);return this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,r)),s=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===s?o.right=this._document.documentElement.clientWidth-(i.x+this._overlayRect.width)+"px":o.left=be(i.x),o}_getScrollVisibility(){const t=this._getOriginRect(),n=this._pane.getBoundingClientRect(),r=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Vb(t,r),isOriginOutsideView:zh(t,r),isOverlayClipped:Vb(n,r),isOverlayOutsideView:zh(n,r)}}_subtractOverflows(t,...n){return n.reduce((r,o)=>r-Math.max(o,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,n=this._document.documentElement.clientHeight,r=this._viewportRuler.getViewportScrollPosition();return{top:r.top+this._viewportMargin,left:r.left+this._viewportMargin,right:r.left+t-this._viewportMargin,bottom:r.top+n-this._viewportMargin,width:t-2*this._viewportMargin,height:n-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,n){return"x"===n?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&JC(t).forEach(n=>{""!==n&&-1===this._appliedPanelClasses.indexOf(n)&&(this._appliedPanelClasses.push(n),this._pane.classList.add(n))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof Qt)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const n=t.width||0,r=t.height||0;return{top:t.y,bottom:t.y+r,left:t.x,right:t.x+n,height:r,width:n}}}function Cr(e,t){for(let n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function zb(e){if("number"!=typeof e&&null!=e){const[t,n]=e.split(Q4);return n&&"px"!==n?null:parseFloat(t)}return e||null}function Gb(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}const Wb="cdk-global-overlay-wrapper";class K4{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){const n=t.getConfig();this._overlayRef=t,this._width&&!n.width&&t.updateSize({width:this._width}),this._height&&!n.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(Wb),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement.style,r=this._overlayRef.getConfig(),{width:o,height:i,maxWidth:s,maxHeight:a}=r,c=!("100%"!==o&&"100vw"!==o||s&&"100%"!==s&&"100vw"!==s),l=!("100%"!==i&&"100vh"!==i||a&&"100%"!==a&&"100vh"!==a),u=this._xPosition,d=this._xOffset,h="rtl"===this._overlayRef.getConfig().direction;let f="",p="",g="";c?g="flex-start":"center"===u?(g="center",h?p=d:f=d):h?"left"===u||"end"===u?(g="flex-end",f=d):("right"===u||"start"===u)&&(g="flex-start",p=d):"left"===u||"start"===u?(g="flex-start",f=d):("right"===u||"end"===u)&&(g="flex-end",p=d),t.position=this._cssPosition,t.marginLeft=c?"0":f,t.marginTop=l?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=c?"0":p,n.justifyContent=g,n.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement,r=n.style;n.classList.remove(Wb),r.justifyContent=r.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let eV=(()=>{class e{constructor(n,r,o,i){this._viewportRuler=n,this._document=r,this._platform=o,this._overlayContainer=i}global(){return new K4}flexibleConnectedTo(n){return new X4(n,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(r){return new(r||e)(E(Rb),E(he),E(ls),E(Ub))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),tV=0,$c=(()=>{class e{constructor(n,r,o,i,s,a,c,l,u,d,h,f){this.scrollStrategies=n,this._overlayContainer=r,this._componentFactoryResolver=o,this._positionBuilder=i,this._keyboardDispatcher=s,this._injector=a,this._ngZone=c,this._document=l,this._directionality=u,this._location=d,this._outsideClickDispatcher=h,this._animationsModuleType=f}create(n){const r=this._createHostElement(),o=this._createPaneElement(r),i=this._createPortalOutlet(o),s=new G4(n);return s.direction=s.direction||this._directionality.value,new Z4(i,r,o,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType,this._injector.get(ft))}position(){return this._positionBuilder}_createPaneElement(n){const r=this._document.createElement("div");return r.id="cdk-overlay-"+tV++,r.classList.add("cdk-overlay-pane"),n.appendChild(r),r}_createHostElement(){const n=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(n),n}_createPortalOutlet(n){return this._appRef||(this._appRef=this._injector.get(Et)),new r2(n,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(r){return new(r||e)(E(z4),E(Ub),E(rr),E(eV),E(Y4),E(fe),E(z),E(he),E(F4),E(oC),E(q4),E(v0,8))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const oV={provide:new M("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const e=b($c);return()=>e.scrollStrategies.reposition()}}),deps:[$c],useFactory:function rV(e){return()=>e.scrollStrategies.reposition()}};let iV=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=zt({type:e});static#n=this.\u0275inj=Mt({providers:[$c,oV],imports:[$h,o2,Lb,Lb]})}return e})();const sV=["linkElement"],aV=["*"],Gh=(e,t,n)=>[e,t,"symbol-narrow","1.2-2",n],Yb=(e,t,n)=>[e,t,"symbol-narrow","1.0-0",n];function cV(e,t){if(1&e&&($(0,"span",43),De(1,2),nn(2,"currency"),nn(3,"number"),W()),2&e){const n=Ft();ce(3),xn(Io(2,2,Mo(11,Gh,null==n.model?null:n.model.monthlyPayment,null==n.model?null:n.model.currency,n.currencyLocale)))(ic(3,8,null==n.model?null:n.model.splitCount,"0.0-0")),fr(1)}}function lV(e,t){if(1&e&&($(0,"span",43),De(1,3),nn(2,"currency"),W()),2&e){const n=Ft();ce(2),xn(Io(2,1,Mo(7,Yb,n.minimumPrice,null==n.model?null:n.model.currency,n.currencyLocale))),fr(1)}}function uV(e,t){1&e&&($(0,"span",48),De(1,4),W())}function dV(e,t){if(1&e&&($(0,"span",48),De(1,5),nn(2,"async"),W()),2&e){const n=Ft(2);ce(2),xn(FE(2,1,n.priceTagToken$)||"N/A"),fr(1)}}function fV(e,t){if(1&e&&($(0,"span",48),De(1,6),W()),2&e){const n=Ft(2);ce(),xn(n.origin),fr(1)}}function hV(e,t){1&e&&($(0,"span",48),De(1,7),W())}function pV(e,t){1&e&&($(0,"span",48),De(1,8),W())}function gV(e,t){if(1&e&&($(0,"div",44)(1,"div",45),tn(2,"i",46),Sn(3,uV,2,0,"span",47)(4,dV,3,3,"span",47)(5,fV,2,1,"span",47)(6,hV,2,0,"span",47)(7,pV,2,0,"span",47),W()()),2&e){const n=Ft();ce(),$e("ngSwitch",n.currentError),ce(2),$e("ngSwitchCase",n.ErrorTypes.MerchantDeactivated),ce(),$e("ngSwitchCase",n.ErrorTypes.WebShopNotfound),ce(),$e("ngSwitchCase",n.ErrorTypes.WebShopHostNotAllowed),ce(),$e("ngSwitchCase",n.ErrorTypes.CannotConnectToAPI),ce(),$e("ngSwitchCase",n.ErrorTypes.Unknown)}}function mV(e,t){if(1&e&&($(0,"div",80)(1,"h2",81),De(2,19),W(),$(3,"span"),hr(4),nn(5,"currency"),W(),$(6,"span",82),hr(7,"x"),W(),$(8,"span"),hr(9),W(),$(10,"span"),hr(11,"\xa0"),W(),$(12,"span",82),hr(13,"="),W(),$(14,"span"),hr(15),nn(16,"currency"),W()()),2&e){const n=Ft(3);ce(4),Gi(Io(5,3,Mo(15,Gh,n.model.monthlyPayment,n.model.currency,n.currencyLocale))),ce(5),Gi(n.model.splitCount),ce(6),Gi(Io(16,9,Mo(19,Gh,n.model.totalPrice,n.model.currency,n.currencyLocale)))}}function yV(e,t){if(1&e&&($(0,"div",80)(1,"h2",81),De(2,20),nn(3,"currency"),W()()),2&e){const n=Ft(3);ce(3),xn(Io(3,2,Mo(8,Yb,n.minimumPrice,n.model.currency,n.currencyLocale)))(n.model.splitCount),fr(2)}}function _V(e,t){if(1&e){const n=hf();$(0,"div",51)(1,"div",52)(2,"div",53)(3,"div",54)(4,"i",55),nc("click",function(){return nu(n),ru(Ft(2).closeTemplateModal())}),W()(),$(5,"div",56)(6,"div",57)(7,"div",23)(8,"div",58)(9,"div",59),tn(10,"img",60),W(),$(11,"div",61),Sn(12,mV,17,23,"div",62)(13,yV,4,12,"div",62),$(14,"div",63)(15,"a",64),lr(16),De(17,9),ur(),tn(18,"i",65),W(),$(19,"span",48),De(20,10),W()(),$(21,"div",66)(22,"a",67),De(23,11),W()()()()()()(),$(24,"div",68)(25,"div",69)(26,"div",70)(27,"div",71)(28,"div",72)(29,"div",73),tn(30,"i",74),lr(31),De(32,12),ur(),W(),$(33,"div",75)(34,"p"),De(35,13),W()()()(),$(36,"div",71)(37,"div",72)(38,"div",73),tn(39,"i",76),lr(40),De(41,14),ur(),W(),$(42,"div",75)(43,"p"),De(44,15),W()()()(),$(45,"div",71)(46,"div",72)(47,"div",73),tn(48,"i",77),lr(49),De(50,16),ur(),W(),$(51,"div",75)(52,"p"),De(53,17),nn(54,"number"),nn(55,"number"),W()()()()()(),$(56,"div",78)(57,"div",79)(58,"p"),De(59,18),W()()()()()()()}if(2&e){const n=Ft(2);ce(10),$e("src",n.logoPath,Ea),ce(2),$e("ngIf",!n.lessThanMinimum),ce(),$e("ngIf",n.lessThanMinimum),ce(2),$e("href",n.signUpUrl,Ea),ce(40),xn(ic(54,6,n.model.splitCount,"0.0-0"))(ic(55,9,n.model.splitPercent,"0.0-0")),fr(53)}}function vV(e,t){if(1&e&&($(0,"span",40)(1,"div",49),Sn(2,_V,60,12,"div",50),W()()),2&e){const n=Ft();ce(2),$e("ngIf",n.model&&n.currentError===n.ErrorTypes.Fine)}}let wV=(()=>{class e extends pb{get hide(){return this.currentError===Er.CannotConnectToAPI||this.currentError===Er.Unknown}set totalPrice(n){this._totalPrice$.next(n)}set environment(n){this._environment$.next(n)}set totalPriceSelector(n){this._totalPriceSelector$.next(n)}set priceFormatLocale(n){this._priceFormatLocale$.next(n)}set currency(n){this._currency$.next(n)}set priceTagToken(n){this.priceTagToken$.next(n)}set linkElement(n){this._linkElement$.next(n.nativeElement)}get logoPath(){return`${yr.host}/assets/img/anyday-logo-black.svg`}get signUpUrl(){return`${yr.host}/${this.localeId}/shopper`}constructor(n,r,o,i,s,a){super(),this.priceService=n,this.watcherService=r,this.render=o,this.localeId=i,this.viewContainerRef=s,this.overlay=a,this.componentClass="anyday-split",this._totalPrice$=new _r(1),this._totalPriceSelector$=new _r(1),this._priceFormatLocale$=new _r(1),this._currency$=new _r(1),this._environment$=new Ep("production"),this.priceTagToken$=new _r(1),this._linkElement$=new _r(1),this.currentError=Er.Unknown,this.ErrorTypes=Er,this.isReady=!1,this.origin=window.location.origin,this.formatLocale=i,this.overlayRef=this.overlay.create({hasBackdrop:!0,positionStrategy:this.overlay.position().global().centerHorizontally().centerVertically()}),this.overlayRef.backdropClick().subscribe(()=>this.closeTemplateModal())}get hidePriceTag(){return!this.model||!this.isReady||this.currentError!==this.ErrorTypes.Fine||!this.model||this.model?.totalPrice>this.maximumPrice}get lessThanMinimum(){return!this.model||!this.isReady||this.currentError!==this.ErrorTypes.Fine||!this.model||this.model?.totalPricethis.formatLocale=n),this.watcherService.watchSelector$(this._totalPriceSelector$,this._priceFormatLocale$).subscribe(n=>{this.totalPrice=n}),this.priceService.watchPrice(this._totalPrice$,this._currency$,this.priceTagToken$).subscribe(n=>{this.model=n.estimate,this.currentError=n.error,this.isReady=!0}),Ah([this._totalPrice$.pipe(Ct(void 0)),this._environment$.pipe(Ct(void 0)),this._totalPriceSelector$.pipe(Ct(void 0)),this._priceFormatLocale$.pipe(Ct(void 0)),this._currency$.pipe(Ct(void 0)),this.priceTagToken$.pipe(Ct(void 0)),this._linkElement$.pipe(Ct(void 0))]).pipe(Ge(([n,r,o,i,s,a,c])=>({totalPrice:n,environment:r,totalPriceSelector:o,priceFormatLocale:i,currency:s,priceTagToken:a,linkElement:c})),Cb(Ph(2500)),kh(1)).subscribe(n=>{this.validateInputs(n)})}validateInputs(n){let{priceTagToken:r,...o}=n;n.totalPrice?(n.totalPriceSelector&&console.warn("Anyday-Price-Tag was provided with both a 'total-price' and a 'total-price-selector'. Using both is not supported and may not work as expected.",o),n.priceFormatLocale&&console.warn("Anyday-Price-Tag was provided with both a 'total-price' and a 'price-format-locale'. The locale format is only needed when using the 'total-price-selector'.",o),0===XC(n.totalPrice,0)&&"0"!==n.totalPrice&&console.error("Anyday-Price-Tag was provided with a 'total-price', but value could not be read. The only supported format for 'total-price' is 0000.00",o)):n.totalPriceSelector||console.error("Anyday-Price-Tag was provided with neither a 'total-price' nor a 'total-price-selector'.",o)}showTemplateModal(n){const r=new eb(n,this.viewContainerRef);this.overlayRef.attach(r)}closeTemplateModal(){this.overlayRef.detach()}setupEnvironment(){this._environment$.pipe(this.takeUntilDestroyed()).subscribe(n=>{switch(n){case"test":yr.host="https://anyday-acceptance.yadyna.xyz";break;case"staging":yr.host="https://anyday-staging.yadyna.xyz";break;case"dev":yr.host="https://localhost:56747";break;default:yr.host="https://my.anyday.io"}})}setupLinkElement(){this._linkElement$.pipe(vr(n=>this.watcherService.observe(n)),this.takeUntilDestroyed()).subscribe(n=>{this.render.setAttribute(n,"data-content",n.innerText)})}static#e=this.\u0275fac=function(r){return new(r||e)(j(f4),j(Mb),j(Sd),j(jt),j(Pt),j($c))};static#t=this.\u0275cmp=lg({type:e,selectors:[["anyday-price-tag"]],viewQuery:function(r,o){if(1&r&&function nE(e,t,n){Q_(e,t,n)}(sV,5),2&r){let i;(function rE(e){const t=_(),n=H(),r=cu();Qs(r+1);const o=Bd(n,r);if(e.dirty&&function JT(e){return!(4&~e[S])}(t)===!(2&~o.metadata.flags)){if(null===o.matches)e.reset([]);else{const i=K_(t,r);e.reset(i,Mm),e.notifyOnChanges()}return!0}return!1})(i=oE())&&(o.linkElement=i.first)}},hostVars:3,hostBindings:function(r,o){2&r&&(pf("hidden",o.hide),sw(o.componentClass))},inputs:{totalPrice:[0,"total-price","totalPrice"],environment:"environment",totalPriceSelector:[0,"total-price-selector","totalPriceSelector"],priceFormatLocale:[0,"price-format-locale","priceFormatLocale"],currency:"currency",priceTagToken:[0,"price-tag-token","priceTagToken"]},features:[NE([Mb]),Ud],ngContentSelectors:aV,decls:28,vars:7,consts:()=>{let n,r,o,i,s,a,c,l,u,d,h,f,p,g,m,v,y,D,N,V;return n="Pay " + "\ufffd0\ufffd" + " x " + "\ufffd1\ufffd" + " ",r="Buy for " + "\ufffd0\ufffd" + " and split your payment with",o=" Merchant account has been deactivated, please contact Anyday Support. ",i=" Price tag token " + "\ufffd0\ufffd" + " invalid. ",s=" Price Tag not allowed on " + "\ufffd0\ufffd" + ". ",a=" Cannot connect to Anyday, please contact Anyday Support. ",c=" Unknown error, please contact Anyday Support. ",l="Anyday Logo",u=" Sign up for ANYDAY ",d="It's quick and easy",h="See terms here",f="0% interest or fees",p=" You only pay the purchase price, as long as you pay the installments. ",g="No waiting time",m=" Instant approval means your order is shipped at soon as other payment methods. ",v="Easy, automatic payments ",y=" The " + "\ufffd0\ufffd" + " installments will be automatically deducted from your card. The first installment of " + "\ufffd1\ufffd" + "% will be deducted immediately. ",D=" Just select Anyday at checkout ",N=" Split this into smaller payments ",V=" Buy for " + "\ufffd0\ufffd" + " and split your payment over " + "\ufffd1\ufffd" + " payments ",[["linkElement",""],["tpr",""],n,r,o,i,s,a,c,u,d,h,f,p,g,m,v,y,D,N,V,[1,"inherit-font-styles",".dont-inherit"],[1,"webshop-detail-box"],[1,"payment-wrapper"],[1,"price-wrapper"],[1,"number-wrapper"],[1,"number",3,"click"],[1,"webshop-modal-link"],["class","webshop-detail-text",4,"ngIf"],[1,"webshop-detail-wrapper"],["viewBox","0 0 572 149","fill","currentColor","xmlns","http://www.w3.org/2000/svg"],["clip-path","url(#AnyClip1)"],["d","M438.354 113.236C448.301 113.236 456.411 109.104 461.461 103.136V109.706C461.461 110.81 462.357 111.706 463.461 111.706H482.426V35.193H463.461C462.357 35.193 461.461 36.0884 461.461 37.193V42.6912C456.411 37.3353 448.607 33.6627 438.66 33.6627C421.369 33.6627 401.475 46.3638 401.475 73.4493C401.475 100.382 422.134 113.236 438.354 113.236ZM442.486 93.9546C430.856 93.9546 421.981 85.0792 421.981 73.2962C421.981 61.5133 430.856 52.7909 442.486 52.7909C453.81 52.7909 462.073 61.9724 462.073 73.2962C462.073 84.6201 453.81 93.9546 442.486 93.9546Z"],["d","M348.99 113.241C358.937 113.241 367.047 109.11 372.097 103.142V109.711C372.097 110.816 372.992 111.711 374.097 111.711H393.061V0.00268555H372.097V42.6967C367.047 37.3408 359.243 33.6682 349.296 33.6682C332.004 33.6682 312.111 46.3693 312.111 73.4547C312.111 100.387 332.769 113.241 348.99 113.241ZM353.122 93.9601C341.492 93.9601 332.616 85.0846 332.616 73.3017C332.616 61.5188 341.492 52.7963 353.122 52.7963C364.446 52.7963 372.709 61.9779 372.709 73.3017C372.709 84.6256 364.446 93.9601 353.122 93.9601Z"],["d","M195.652 32.1367C183.563 32.1367 174.381 37.3827 169.332 43.5037V37.163C169.332 36.0584 168.436 35.163 167.332 35.163H150.51V111.71H172.086V71.4642C172.086 57.8449 178.513 49.8876 189.684 49.8876C200.549 49.8876 205.599 56.9268 205.599 70.24V111.71H227.175V69.0158C227.175 40.4001 211.72 32.1367 195.652 32.1367Z"],["fill-rule","evenodd","clip-rule","evenodd","d","M62.9218 111.708H40.7332L53.1917 76.5934C41.5814 67.5817 24.8056 68.4076 14.1421 79.0711L0 64.9289C16.2895 48.6394 41.0908 46.0494 60.087 57.1588L80.3667 0H101.79L141.424 111.708H119.235L111.454 89.2307C98.531 95.0519 83.6252 95.0538 70.7005 89.2364L62.9218 111.708ZM77.2884 70.202C78.5676 70.8754 79.8858 71.4487 81.2314 71.9218C87.5876 74.1567 94.5545 74.1567 100.911 71.9218C102.261 71.4472 103.583 70.8717 104.866 70.1955L91.0784 30.299L77.2884 70.202Z"],["d","M244.832 148.949H262.808C264.858 148.949 266.7 147.698 267.456 145.793L311.444 34.9127H289.292L271.352 82.9607L252.164 34.9127H229.7L260.744 109.481L244.832 148.949Z"],["d","M505.402 149.149H523.379C525.429 149.149 527.271 147.898 528.026 145.992L572.014 35.1127H549.862L531.922 83.1607L512.734 35.1127H490.27L521.314 109.681L505.402 149.149Z"],["id","AnyClip1"],["width","572","height","149","fill","white"],[1,"dont-inherit-revert"],[1,"warning-box"],["class","anyday-split-warning",4,"ngIf"],[1,"webshop-detail-text"],[1,"anyday-split-warning"],[1,"content-alert",3,"ngSwitch"],[1,"ad-icn-exclamation"],["class","text",4,"ngSwitchCase"],[1,"text"],[1,"anyday-modal"],["class","anyday-modal-dialog anyday-modal-lg",4,"ngIf"],[1,"anyday-modal-dialog","anyday-modal-lg"],[1,"anyday-modal-wrapper"],[1,"anyday-modal-content","payment-black-version"],[1,"anyday-modal-header"],["aria-label","Close",1,"ad-icn-close",3,"click"],[1,"anyday-modal-body"],[1,"order-summary"],[1,"payment-type"],[1,"payment-logo"],["alt",l,2,"width","220px",3,"src"],[1,"payment-content"],["class","summary-payment",4,"ngIf"],[1,"link-payment"],["target","_blank",1,"link-button",3,"href"],[1,"ad-icn-arrow-right","ad-icns"],[1,"link-terms"],["href","https://www.anyday.io/da/terms-conditions-shopper/","target","_blank",1,"terms-link"],[1,"anyday-modal-footer"],[1,"ad-icn-teaser-wrapper"],[1,"anyday-row"],[1,"anyday-col-md-4"],[1,"ad-icn-teaser-item"],[1,"ad-icn-teaser-title"],[1,"ad-icn-teaser","ad-icn-interest"],[1,"ad-icn-teaser-content"],[1,"ad-icn-teaser","ad-icn-waiting-time"],[1,"ad-icn-teaser","ad-icn-credit-card"],[1,"payment-text-footer"],[1,"footer-bar"],[1,"summary-payment"],[1,"payment-title"],[1,"symbol"]]},template:function(r,o){if(1&r){const i=hf();(function Gw(e){const t=_()[ue][ke];if(!t.projection){const r=t.projection=function Rs(e,t){const n=[];for(let r=0;rclearTimeout(n)},scheduleBeforeRender(e){if(typeof window>"u")return zc.schedule(e,0);if(typeof window.requestAnimationFrame>"u")return zc.schedule(e,16);const t=window.requestAnimationFrame(e);return()=>window.cancelAnimationFrame(t)}};let Wh;function NV(e,t,n){let r=n;return function DV(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some((o,i)=>!("*"===o||!function bV(e,t){if(!Wh){const n=Element.prototype;Wh=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&Wh.call(e,t)}(e,o)||(r=i,0))),r}class xV{constructor(t,n){this.componentFactory=n.get(rr).resolveComponentFactory(t)}create(t){return new OV(this.componentFactory,t)}}class OV{constructor(t,n){this.componentFactory=t,this.injector=n,this.eventEmitters=new _r(1),this.events=this.eventEmitters.pipe(vr(r=>kb(...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(z),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=zc.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 MV(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=fe.create({providers:[],parent:this.injector}),r=function SV(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{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(Ge(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=zc.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 Mg(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 RV extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}function qb(e){return et((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}class Gc{}class Wc{}class bt{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 bt?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 bt;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof bt?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 kV{encodeKey(t){return Zb(t)}encodeValue(t){return Zb(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const jV=/%(\d[a-f0-9])/gi,VV={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Zb(e){return encodeURIComponent(e).replace(jV,(t,n)=>VV[n]??t)}function Yc(e){return`${e}`}class Pn{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new kV,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function FV(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))],c=n.get(s)||[];c.push(a),n.set(s,c)}),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(Yc):[Yc(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 Pn({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(Yc(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(Yc(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 BV{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 Qb(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Xb(e){return typeof Blob<"u"&&e instanceof Blob}function Jb(e){return typeof FormData<"u"&&e instanceof FormData}class fs{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 HV(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 bt,this.context??=new BV,this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=n;else{const a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":ah.set(f,t.setHeaders[f]),l)),t.setParams&&(u=Object.keys(t.setParams).reduce((h,f)=>h.set(f,t.setParams[f]),u)),new fs(n,r,s,{params:u,headers:l,context:d,reportProgress:c,responseType:o,withCredentials:a,transferCache:i})}}var Ln=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}(Ln||{});class Yh{constructor(t,n=200,r="OK"){this.headers=t.headers||new bt,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 qc extends Yh{constructor(t={}){super(t),this.type=Ln.ResponseHeader}clone(t={}){return new qc({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 br extends Yh{constructor(t={}){super(t),this.type=Ln.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new br({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 Lo extends Yh{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}}function qh(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 GV=(()=>{class e{constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof fs)i=n;else{let c,l;c=o.headers instanceof bt?o.headers:new bt(o.headers),o.params&&(l=o.params instanceof Pn?o.params:new Pn({fromObject:o.params})),i=new fs(n,r,void 0!==o.body?o.body:null,{headers:c,context:o.context,params:l,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}const s=jh(i).pipe(function LV(e,t){return ee(t)?as(e,t,1):as(e,1)}(c=>this.handler.handle(c)));if(n instanceof fs||"events"===o.observe)return s;const a=s.pipe(wr(c=>c instanceof br));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(Ge(c=>{if(null!==c.body&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return a.pipe(Ge(c=>{if(null!==c.body&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return a.pipe(Ge(c=>{if(null!==c.body&&"string"!=typeof c.body)throw new Error("Response is not a string.");return c.body}));default:return a.pipe(Ge(c=>c.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 Pn).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,qh(o,r))}post(n,r,o={}){return this.request("POST",n,qh(o,r))}put(n,r,o={}){return this.request("PUT",n,qh(o,r))}static#e=this.\u0275fac=function(r){return new(r||e)(E(Gc))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();const WV=/^\)\]\}',?\n/;function eM(e){if(e.url)return e.url;const t="X-Request-URL".toLocaleLowerCase();return e.headers.get(t)}let Zh=(()=>{class e{constructor(){this.fetchImpl=b(qV,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=b(z)}handle(n){return new _e(r=>{const o=new AbortController;return this.doRequest(n,o.signal,r).then(Qh,i=>r.error(new Lo({error:i}))),()=>o.abort()})}doRequest(n,r,o){var i=this;return Fh(function*(){const s=i.createRequestInit(n);let a;try{const p=i.ngZone.runOutsideAngular(()=>i.fetchImpl(n.urlWithParams,{signal:r,...s}));(function ZV(e){e.then(Qh,Qh)})(p),o.next({type:Ln.Sent}),a=yield p}catch(p){return void o.error(new Lo({error:p,status:p.status??0,statusText:p.statusText,url:n.urlWithParams,headers:p.headers}))}const c=new bt(a.headers),l=a.statusText,u=eM(a)??n.urlWithParams;let d=a.status,h=null;if(n.reportProgress&&o.next(new qc({headers:c,status:d,statusText:l,url:u})),a.body){const p=a.headers.get("content-length"),g=[],m=a.body.getReader();let y,D,v=0;const N=typeof Zone<"u"&&Zone.current;yield i.ngZone.runOutsideAngular(Fh(function*(){for(;;){const{done:O,value:Re}=yield m.read();if(O)break;if(g.push(Re),v+=Re.length,n.reportProgress){D="text"===n.responseType?(D??"")+(y??=new TextDecoder).decode(Re,{stream:!0}):void 0;const mn=()=>o.next({type:Ln.DownloadProgress,total:p?+p:void 0,loaded:v,partialText:D});N?N.run(mn):mn()}}}));const V=i.concatChunks(g,v);try{const O=a.headers.get("Content-Type")??"";h=i.parseBody(n,V,O)}catch(O){return void o.error(new Lo({error:O,headers:new bt(a.headers),status:a.status,statusText:a.statusText,url:eM(a)??n.urlWithParams}))}}0===d&&(d=h?200:0),d>=200&&d<300?(o.next(new br({body:h,headers:c,status:d,statusText:l,url:u})),o.complete()):o.error(new Lo({error:h,headers:c,status:d,statusText:l,url:u}))})()}parseBody(n,r,o){switch(n.responseType){case"json":const i=(new TextDecoder).decode(r).replace(WV,"");return""===i?null:JSON.parse(i);case"text":return(new TextDecoder).decode(r);case"blob":return new Blob([r],{type:o});case"arraybuffer":return r.buffer}}createRequestInit(n){const r={},o=n.withCredentials?"include":void 0;if(n.headers.forEach((i,s)=>r[i]=s.join(",")),n.headers.has("Accept")||(r.Accept="application/json, text/plain, */*"),!n.headers.has("Content-Type")){const i=n.detectContentTypeHeader();null!==i&&(r["Content-Type"]=i)}return{body:n.serializeBody(),method:n.method,headers:r,credentials:o}}concatChunks(n,r){const o=new Uint8Array(r);let i=0;for(const s of n)o.set(s,i),i+=s.length;return o}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();class qV{}function Qh(){}function tM(e,t){return t(e)}function QV(e,t){return(n,r)=>t.intercept(n,{handle:o=>e(o,r)})}const JV=new M(""),hs=new M(""),nM=new M(""),rM=new M("",{providedIn:"root",factory:()=>!0});function KV(){let e=null;return(t,n)=>{null===e&&(e=(b(JV,{optional:!0})??[]).reduceRight(QV,tM));const r=b(Dn);if(b(rM)){const i=r.add();return e(t,n).pipe(qb(()=>r.remove(i)))}return e(t,n)}}let oM=(()=>{class e extends Gc{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null,this.pendingTasks=b(Dn),this.contributeToStability=b(rM)}handle(n){if(null===this.chain){const r=Array.from(new Set([...this.injector.get(hs),...this.injector.get(nM,[])]));this.chain=r.reduceRight((o,i)=>function XV(e,t,n){return(r,o)=>yg(n,()=>t(r,i=>e(i,o)))}(o,i,this.injector),tM)}if(this.contributeToStability){const r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(qb(()=>this.pendingTasks.remove(r)))}return this.chain(n,r=>this.backend.handle(r))}static#e=this.\u0275fac=function(r){return new(r||e)(E(Wc),E(ft))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();const oB=/^\)\]\}',?\n/;let sM=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new C(-2800,!1);const r=this.xhrFactory;return(r.\u0275loadImpl?Ro(r.\u0275loadImpl()):jh(null)).pipe(vr(()=>new _e(i=>{const s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((g,m)=>s.setRequestHeader(g,m.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 c=null;const l=()=>{if(null!==c)return c;const g=s.statusText||"OK",m=new bt(s.getAllResponseHeaders()),v=function iB(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 c=new qc({headers:m,status:s.status,statusText:g,url:v}),c},u=()=>{let{headers:g,status:m,statusText:v,url:y}=l(),D=null;204!==m&&(D=typeof s.response>"u"?s.responseText:s.response),0===m&&(m=D?200:0);let N=m>=200&&m<300;if("json"===n.responseType&&"string"==typeof D){const V=D;D=D.replace(oB,"");try{D=""!==D?JSON.parse(D):null}catch(O){D=V,N&&(N=!1,D={error:O,text:D})}}N?(i.next(new br({body:D,headers:g,status:m,statusText:v,url:y||void 0})),i.complete()):i.error(new Lo({error:D,headers:g,status:m,statusText:v,url:y||void 0}))},d=g=>{const{url:m}=l(),v=new Lo({error:g,status:s.status||0,statusText:s.statusText||"Unknown Error",url:m||void 0});i.error(v)};let h=!1;const f=g=>{h||(i.next(l()),h=!0);let m={type:Ln.DownloadProgress,loaded:g.loaded};g.lengthComputable&&(m.total=g.total),"text"===n.responseType&&s.responseText&&(m.partialText=s.responseText),i.next(m)},p=g=>{let m={type:Ln.UploadProgress,loaded:g.loaded};g.lengthComputable&&(m.total=g.total),i.next(m)};return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",f),null!==a&&s.upload&&s.upload.addEventListener("progress",p)),s.send(a),i.next({type:Ln.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",d),n.reportProgress&&(s.removeEventListener("progress",f),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)(E(TC))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();const Xh=new M(""),aM=new M("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),cM=new M("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class lM{}let cB=(()=>{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=pC(n,this.cookieName),this.lastCookieString=n),this.lastToken}static#e=this.\u0275fac=function(r){return new(r||e)(E(he),E(bn),E(aM))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();function lB(e,t){const n=e.url.toLowerCase();if(!b(Xh)||"GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t(e);const r=b(lM).getToken(),o=b(cM);return null!=r&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}var kn=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}(kn||{});function uB(...e){const t=[GV,sM,oM,{provide:Gc,useExisting:oM},{provide:Wc,useFactory:()=>b(Zh,{optional:!0})??b(sM)},{provide:hs,useValue:lB,multi:!0},{provide:Xh,useValue:!0},{provide:lM,useClass:cB}];for(const n of e)t.push(...n.\u0275providers);return function Wo(e){return{\u0275providers:e}}(t)}const uM=new M("");function dB(){return function Mr(e,t){return{\u0275kind:e,\u0275providers:t}}(kn.LegacyInterceptors,[{provide:uM,useFactory:KV},{provide:hs,useExisting:uM,multi:!0}])}let wB=(()=>{class e{constructor(n){this.injector=n}ngDoBootstrap(n){const r=function PV(e,t){const n=function TV(e,t){return t.get(rr).resolveComponentFactory(e).inputs}(e,t.injector),r=t.strategyFactory||new xV(e,t.injector),o=function IV(e){const t={};return e.forEach(({propName:n,templateName:r,transform:o})=>{t[function EV(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}(r)]=[n,o]}),t}(n);class i extends RV{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:c,transform:l})=>{if(!this.hasOwnProperty(c))return;const u=this[c];delete this[c],a.setInputValue(c,u,l)})}return this._ngElementStrategy}constructor(a){super(),this.injector=a}attributeChangedCallback(a,c,l,u){const[d,h]=o[a];this.ngElementStrategy.setInputValue(d,l,h)}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 c=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(c)})}}return n.forEach(({propName:s,transform:a})=>{Object.defineProperty(i.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(c){this.ngElementStrategy.setInputValue(s,c,a)},configurable:!0,enumerable:!0})}),i}(wV,{injector:this.injector});customElements.define("anyday-price-tag",r)}static#e=this.\u0275fac=function(r){return new(r||e)(E(fe))};static#t=this.\u0275mod=zt({type:e});static#n=this.\u0275inj=Mt({providers:[uB(dB())],imports:[Yj,iV]})}return e})();const yt=void 0;(function EF(e,t,n){(function GR(e,t,n){"string"!=typeof t&&(n=t,t=e[ie.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Co[t]=e,n&&(Co[t][ie.ExtraData]=n)})(e,t,n)})(["da",[["a","p"],["AM","PM"],yt],[["AM","PM"],yt,yt],[["S","M","T","O","T","F","L"],["s\xf8n.","man.","tir.","ons.","tor.","fre.","l\xf8r."],["s\xf8ndag","mandag","tirsdag","onsdag","torsdag","fredag","l\xf8rdag"],["s\xf8","ma","ti","on","to","fr","l\xf8"]],[["S","M","T","O","T","F","L"],["s\xf8n","man","tir","ons","tor","fre","l\xf8r"],["s\xf8ndag","mandag","tirsdag","onsdag","torsdag","fredag","l\xf8rdag"],["s\xf8","ma","ti","on","to","fr","l\xf8"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan.","feb.","mar.","apr.","maj","jun.","jul.","aug.","sep.","okt.","nov.","dec."],["januar","februar","marts","april","maj","juni","juli","august","september","oktober","november","december"]],yt,[["fKr","eKr"],["f.Kr.","e.Kr."],yt],1,[6,0],["dd.MM.y","d. MMM y","d. MMMM y","EEEE 'den' d. MMMM y"],["HH.mm","HH.mm.ss","HH.mm.ss z","HH.mm.ss zzzz"],["{1} {0}",yt,"{1} 'kl'. {0}",yt],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN","."],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"DKK","kr.","dansk krone",{AUD:["AU$","$"],BYN:[yt,"Br."],DKK:["kr."],ISK:[yt,"kr."],JPY:["JP\xa5","\xa5"],NOK:[yt,"kr."],PHP:[yt,"\u20b1"],RON:[yt,"L"],SEK:[yt,"kr."],THB:["\u0e3f"],TWD:["NT$"],USD:["US$","$"]},"ltr",function EB(e){const t=e,n=Math.floor(Math.abs(e)),r=parseInt(e.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;return 1===t||0!==r&&(0===n||1===n)?1:5}],"da"),Gj().bootstrapModule(wB).catch(e=>console.error(e))}},Qc=>{Qc(Qc.s=401)}]);
(self.webpackChunkwebshop_price_tag=self.webpackChunkwebshop_price_tag||[]).push([[461],{273:(K,we,Ne)=>{"use strict";if(Ne(676),Ne(935),Ne(195),!(typeof Prototype>"u")){if("1.7"!==Prototype.Version&&"1.7.1"!==Prototype.Version&&"1.7.2"!==Prototype.Version)throw new Error("prototypejs version "+Prototype.Version+" is not supported");typeof Array.prototype._reverse<"u"&&(Array.prototype.reverse=Array.prototype._reverse),Array.from=function(){var de;try{de=Symbol.iterator?Symbol.iterator:"Symbol(Symbol.iterator)"}catch{de="Symbol(Symbol.iterator)"}var fe=Object.prototype.toString,He=function(z){return"function"==typeof z||"[object Function]"===fe.call(z)},Je=Math.pow(2,53)-1;return function(me){var Re=Object(me),je=He(Re[de]);if(null==me&&!je)throw new TypeError("Array.from requires an array-like object or iterator - not null or undefined");var De,ke=arguments.length>1?arguments[1]:void 0;if(typeof ke<"u"){if(!He(ke))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(De=arguments[2])}var D=function(z){var me=function(z){var me=Number(z);return isNaN(me)?0:0!==me&&isFinite(me)?(me>0?1:-1)*Math.floor(Math.abs(me)):me}(z);return Math.min(Math.max(me,0),Je)}(Re.length);return function(me,ve,Re,je,ke,De){for(var D=0;D"u"?De(qe,D):De.call(me,qe,D):qe,D+=1}if(ke)throw new TypeError("Array.from: provided arrayLike or iterator has length more then 2 ** 52 - 1");return ve.length=Re,ve}(De,He(this)?Object(new this(D)):new Array(D),D,function(me,ve){var Re=me&&ve[de]();return function(ke){return me?Re.next():ve[ke]}}(je,Re),je,ke)}}(),String.prototype.startsWith=function(de,fe){var He=fe>0?0|fe:0;return this.substring(He,He+de.length)===de},String.prototype.endsWith=function(de,fe){return(void 0===fe||fe>this.length)&&(fe=this.length),this.substring(fe-de.length,fe)===de}}},195:()=>{!function(K,we){"use strict";function Ne(){var n=it.splice(0,it.length);for(R=0;n.length;)n.shift().call(null,n.shift())}function Ke(n,o){for(var u=0,f=n.length;u1)&&je(this)}}}),re(w,Fe,{value:function(F){-1
",new O(function(n,o){if(n[0]&&"childList"==n[0].type&&!n[0].removedNodes[0].childNodes.length){var u=(Ve=P(ee,"innerHTML"))&&Ve.set;u&&_(ee,"innerHTML",{set:function(f){for(;this.lastChild;)this.removeChild(this.lastChild);u.call(this,f)}})}o.disconnect(),Ve=null}).observe(Ve,{childList:!0,subtree:!0}),Ve.innerHTML=""),M||(V||x?(ft=function(n,o){g.call(o,n)||Je(n,o)},Pe=Je):(ft=function(n,o){n[xe]||(n[xe]=Ee(!0),Je(n,o))},Pe=ft),ne?(A=!1,n=P(ee,Le),o=n.value,u=function(w){var C=new CustomEvent(Be,{bubbles:!0});C.attrName=w,C.prevValue=s.call(this,w),C.newValue=null,C[ht]=C.attrChange=2,I.call(this,w),t.call(this,C)},f=function(w,C){var le=H.call(this,w),F=le&&s.call(this,w),ae=new CustomEvent(Be,{bubbles:!0});pe.call(this,w,C),ae.attrName=w,ae.prevValue=le?F:null,ae.newValue=C,le?ae.MODIFICATION=ae.attrChange=1:ae[lt]=ae.attrChange=0,t.call(this,ae)},T=function(w){var C,le=w.currentTarget,F=le[xe],ae=w.propertyName;F.hasOwnProperty(ae)&&(F=F[ae],(C=new CustomEvent(Be,{bubbles:!0})).attrName=F.name,C.prevValue=F.value||null,C.newValue=F.value=le[ae]||null,null==C.prevValue?C[lt]=C.attrChange=0:C.MODIFICATION=C.attrChange=1,t.call(le,C))},n.value=function(w,C,le){w===Be&&this[Fe]&&this.setAttribute!==f&&(this[xe]={className:{name:"class",value:this.className}},this.setAttribute=f,this.removeAttribute=u,o.call(this,"propertychange",T)),o.call(this,w,C,le)},_(ee,Le,n)):O||(c[Le](Be,L),c.setAttribute(xe,1),c.removeAttribute(xe),A&&(ut=function(n){var o,u,f,T=this;if(T===n.target){for(f in o=T[xe],T[xe]=u=Ce(T),u){if(!(f in o))return at(0,T,f,o[f],u[f],lt);if(u[f]!==o[f])return at(1,T,f,o[f],u[f],"MODIFICATION")}for(f in o)if(!(f in u))return at(2,T,f,o[f],u[f],ht)}},at=function(n,o,u,f,T,w){var C={attrChange:n,currentTarget:o,attrName:u,prevValue:f,newValue:T};C[w]=n,st(C)},Ce=function(n){for(var o,u,f={},T=n.attributes,w=0,C=T.length;w$");if(o[ot]="a",(n.prototype=p(be.prototype)).constructor=n,K.customElements.define(u,n,o),!f.test(D.createElement("a",{is:u}).outerHTML)||!f.test((new n).outerHTML))throw o}(function n(){return Reflect.construct(be,[],n)},{},"document-register-element-a"+Et)}catch{De()}if(!we.noBuiltIn)try{if(d.call(D,"a","a").outerHTML.indexOf("is")<0)throw{}}catch{$=function(o){return{is:o.toLowerCase()}}}}(window)},935:()=>{"use strict";!function(e){const r=e.performance;function c(G){r&&r.mark&&r.mark(G)}function i(G,b){r&&r.measure&&r.measure(G,b)}c("Zone");const l=e.__Zone_symbol_prefix||"__zone_symbol__";function h(G){return l+G}const g=!0===e[h("forceDuplicateZoneCheck")];if(e.Zone){if(g||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let _=(()=>{class G{static#e=this.__symbol__=h;static assertZonePatched(){if(e.Promise!==ee.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=G.current;for(;t.parent;)t=t.parent;return t}static get current(){return re.zone}static get currentTask(){return Ie}static __load_patch(t,s,H=!1){if(ee.hasOwnProperty(t)){if(!H&&g)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const I="Zone:"+t;c(I),ee[t]=s(e,G,ne),i(I,I)}}get parent(){return this._parent}get name(){return this._name}constructor(t,s){this._parent=t,this._name=s?s.name||"unnamed":"",this._properties=s&&s.properties||{},this._zoneDelegate=new P(this,this._parent&&this._parent._zoneDelegate,s)}get(t){const s=this.getZoneWith(t);if(s)return s._properties[t]}getZoneWith(t){let s=this;for(;s;){if(s._properties.hasOwnProperty(t))return s;s=s._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,s){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const H=this._zoneDelegate.intercept(this,t,s),I=this;return function(){return I.runGuarded(H,this,arguments,s)}}run(t,s,H,I){re={parent:re,zone:this};try{return this._zoneDelegate.invoke(this,t,s,H,I)}finally{re=re.parent}}runGuarded(t,s=null,H,I){re={parent:re,zone:this};try{try{return this._zoneDelegate.invoke(this,t,s,H,I)}catch(pe){if(this._zoneDelegate.handleError(this,pe))throw pe}}finally{re=re.parent}}runTask(t,s,H){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||_e).name+"; Execution: "+this.name+")");if(t.state===Y&&(t.type===be||t.type===O))return;const I=t.state!=y;I&&t._transitionTo(y,U),t.runCount++;const pe=Ie;Ie=t,re={parent:re,zone:this};try{t.type==O&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,s,H)}catch(d){if(this._zoneDelegate.handleError(this,d))throw d}}finally{t.state!==Y&&t.state!==p&&(t.type==be||t.data&&t.data.isPeriodic?I&&t._transitionTo(U,y):(t.runCount=0,this._updateTaskCount(t,-1),I&&t._transitionTo(Y,y,Y))),re=re.parent,Ie=pe}}scheduleTask(t){if(t.zone&&t.zone!==this){let H=this;for(;H;){if(H===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);H=H.parent}}t._transitionTo(ie,Y);const s=[];t._zoneDelegates=s,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(H){throw t._transitionTo(p,ie,Y),this._zoneDelegate.handleError(this,H),H}return t._zoneDelegates===s&&this._updateTaskCount(t,1),t.state==ie&&t._transitionTo(U,ie),t}scheduleMicroTask(t,s,H,I){return this.scheduleTask(new k(B,t,s,H,I,void 0))}scheduleMacroTask(t,s,H,I,pe){return this.scheduleTask(new k(O,t,s,H,I,pe))}scheduleEventTask(t,s,H,I,pe){return this.scheduleTask(new k(be,t,s,H,I,pe))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||_e).name+"; Execution: "+this.name+")");if(t.state===U||t.state===y){t._transitionTo($,U,y);try{this._zoneDelegate.cancelTask(this,t)}catch(s){throw t._transitionTo(p,$),this._zoneDelegate.handleError(this,s),s}return this._updateTaskCount(t,-1),t._transitionTo(Y,$),t.runCount=0,t}}_updateTaskCount(t,s){const H=t._zoneDelegates;-1==s&&(t._zoneDelegates=null);for(let I=0;IG.hasTask(t,s),onScheduleTask:(G,b,t,s)=>G.scheduleTask(t,s),onInvokeTask:(G,b,t,s,H,I)=>G.invokeTask(t,s,H,I),onCancelTask:(G,b,t,s)=>G.cancelTask(t,s)};class P{constructor(b,t,s){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=b,this._parentDelegate=t,this._forkZS=s&&(s&&s.onFork?s:t._forkZS),this._forkDlgt=s&&(s.onFork?t:t._forkDlgt),this._forkCurrZone=s&&(s.onFork?this.zone:t._forkCurrZone),this._interceptZS=s&&(s.onIntercept?s:t._interceptZS),this._interceptDlgt=s&&(s.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=s&&(s.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=s&&(s.onInvoke?s:t._invokeZS),this._invokeDlgt=s&&(s.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=s&&(s.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=s&&(s.onHandleError?s:t._handleErrorZS),this._handleErrorDlgt=s&&(s.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=s&&(s.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=s&&(s.onScheduleTask?s:t._scheduleTaskZS),this._scheduleTaskDlgt=s&&(s.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=s&&(s.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=s&&(s.onInvokeTask?s:t._invokeTaskZS),this._invokeTaskDlgt=s&&(s.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=s&&(s.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=s&&(s.onCancelTask?s:t._cancelTaskZS),this._cancelTaskDlgt=s&&(s.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=s&&(s.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const H=s&&s.onHasTask;(H||t&&t._hasTaskZS)&&(this._hasTaskZS=H?s:N,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=b,s.onScheduleTask||(this._scheduleTaskZS=N,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),s.onInvokeTask||(this._invokeTaskZS=N,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),s.onCancelTask||(this._cancelTaskZS=N,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(b,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,b,t):new _(b,t)}intercept(b,t,s){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,b,t,s):t}invoke(b,t,s,H,I){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,b,t,s,H,I):t.apply(s,H)}handleError(b,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,b,t)}scheduleTask(b,t){let s=t;if(this._scheduleTaskZS)this._hasTaskZS&&s._zoneDelegates.push(this._hasTaskDlgtOwner),s=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,b,t),s||(s=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=B)throw new Error("Task is missing scheduleFn.");S(t)}return s}invokeTask(b,t,s,H){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,b,t,s,H):t.callback.apply(s,H)}cancelTask(b,t){let s;if(this._cancelTaskZS)s=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,b,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");s=t.cancelFn(t)}return s}hasTask(b,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,b,t)}catch(s){this.handleError(b,s)}}_updateTaskCount(b,t){const s=this._taskCounts,H=s[b],I=s[b]=H+t;if(I<0)throw new Error("More tasks executed then were scheduled.");0!=H&&0!=I||this.hasTask(this.zone,{microTask:s.microTask>0,macroTask:s.macroTask>0,eventTask:s.eventTask>0,change:b})}}class k{constructor(b,t,s,H,I,pe){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=b,this.source=t,this.data=H,this.scheduleFn=I,this.cancelFn=pe,!s)throw new Error("callback is not defined");this.callback=s;const d=this;this.invoke=b===be&&H&&H.useG?k.invokeTask:function(){return k.invokeTask.call(e,d,this,arguments)}}static invokeTask(b,t,s){b||(b=this),ye++;try{return b.runCount++,b.zone.runTask(b,t,s)}finally{1==ye&&v(),ye--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(Y,ie)}_transitionTo(b,t,s){if(this._state!==t&&this._state!==s)throw new Error(`${this.type} '${this.source}': can not transition to '${b}', expecting state '${t}'${s?" or '"+s+"'":""}, was '${this._state}'.`);this._state=b,b==Y&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const W=h("setTimeout"),V=h("Promise"),x=h("then");let se,oe=[],q=!1;function te(G){if(se||e[V]&&(se=e[V].resolve(0)),se){let b=se[x];b||(b=se.then),b.call(se,G)}else e[W](G,0)}function S(G){0===ye&&0===oe.length&&te(v),G&&oe.push(G)}function v(){if(!q){for(q=!0;oe.length;){const G=oe;oe=[];for(let b=0;bre,onUnhandledError:ce,microtaskDrainDone:ce,scheduleMicroTask:S,showUncaughtError:()=>!_[h("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:ce,patchMethod:()=>ce,bindArguments:()=>[],patchThen:()=>ce,patchMacroTask:()=>ce,patchEventPrototype:()=>ce,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>ce,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>ce,wrapWithCurrentZone:()=>ce,filterProperties:()=>[],attachOriginToPatched:()=>ce,_redefineProperty:()=>ce,patchCallbacks:()=>ce,nativeScheduleMicroTask:te};let re={parent:null,zone:new _(null,null)},Ie=null,ye=0;function ce(){}i("Zone","Zone"),e.Zone=_}(globalThis);const K=Object.getOwnPropertyDescriptor,we=Object.defineProperty,Ne=Object.getPrototypeOf,Ke=Object.create,mt=Array.prototype.slice,$e="addEventListener",tt="removeEventListener",nt=Zone.__symbol__($e),st=Zone.__symbol__(tt),de="true",fe="false",He=Zone.__symbol__("");function rt(e,r){return Zone.current.wrap(e,r)}function Je(e,r,c,i,l){return Zone.current.scheduleMacroTask(e,r,c,i,l)}const X=Zone.__symbol__,Qe=typeof window<"u",Ze=Qe?window:void 0,z=Qe&&Ze||globalThis,me="removeAttribute";function ve(e,r){for(let c=e.length-1;c>=0;c--)"function"==typeof e[c]&&(e[c]=rt(e[c],r+"_"+c));return e}function je(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const ke=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,De=!("nw"in z)&&typeof z.process<"u"&&"[object process]"==={}.toString.call(z.process),D=!De&&!ke&&!(!Qe||!Ze.HTMLElement),Ee=typeof z.process<"u"&&"[object process]"==={}.toString.call(z.process)&&!ke&&!(!Qe||!Ze.HTMLElement),qe={},it=function(e){if(!(e=e||z.event))return;let r=qe[e.type];r||(r=qe[e.type]=X("ON_PROPERTY"+e.type));const c=this||e.target||z,i=c[r];let l;return D&&c===Ze&&"error"===e.type?(l=i&&i.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===l&&e.preventDefault()):(l=i&&i.apply(this,arguments),null!=l&&!l&&e.preventDefault()),l};function ut(e,r,c){let i=K(e,r);if(!i&&c&&K(c,r)&&(i={enumerable:!0,configurable:!0}),!i||!i.configurable)return;const l=X("on"+r+"patched");if(e.hasOwnProperty(l)&&e[l])return;delete i.writable,delete i.value;const h=i.get,g=i.set,_=r.slice(2);let N=qe[_];N||(N=qe[_]=X("ON_PROPERTY"+_)),i.set=function(P){let k=this;!k&&e===z&&(k=z),k&&("function"==typeof k[N]&&k.removeEventListener(_,it),g&&g.call(k,null),k[N]=P,"function"==typeof P&&k.addEventListener(_,it,!1))},i.get=function(){let P=this;if(!P&&e===z&&(P=z),!P)return null;const k=P[N];if(k)return k;if(h){let W=h.call(this);if(W)return i.set.call(this,W),"function"==typeof P[me]&&P.removeAttribute(r),W}return null},we(e,r,i),e[l]=!0}function at(e,r,c){if(r)for(let i=0;ifunction(g,_){const N=c(g,_);return N.cbIdx>=0&&"function"==typeof _[N.cbIdx]?Je(N.name,_[N.cbIdx],N,l):h.apply(g,_)})}function Pe(e,r){e[X("OriginalDelegate")]=r}let Ve=!1,Xe=!1;function xe(){if(Ve)return Xe;Ve=!0;try{const e=Ze.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(Xe=!0)}catch{}return Xe}Zone.__load_patch("ZoneAwarePromise",(e,r,c)=>{const i=Object.getOwnPropertyDescriptor,l=Object.defineProperty,g=c.symbol,_=[],N=!1!==e[g("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],P=g("Promise"),k=g("then"),W="__creationTrace__";c.onUnhandledError=d=>{if(c.showUncaughtError()){const m=d&&d.rejection;m?console.error("Unhandled Promise rejection:",m instanceof Error?m.message:m,"; Zone:",d.zone.name,"; Task:",d.task&&d.task.source,"; Value:",m,m instanceof Error?m.stack:void 0):console.error(d)}},c.microtaskDrainDone=()=>{for(;_.length;){const d=_.shift();try{d.zone.runGuarded(()=>{throw d.throwOriginal?d.rejection:d})}catch(m){x(m)}}};const V=g("unhandledPromiseRejectionHandler");function x(d){c.onUnhandledError(d);try{const m=r[V];"function"==typeof m&&m.call(this,d)}catch{}}function oe(d){return d&&d.then}function q(d){return d}function se(d){return t.reject(d)}const te=g("state"),S=g("value"),v=g("finally"),_e=g("parentPromiseValue"),Y=g("parentPromiseState"),ie="Promise.then",U=null,y=!0,$=!1,p=0;function B(d,m){return a=>{try{ne(d,m,a)}catch(E){ne(d,!1,E)}}}const O=function(){let d=!1;return function(a){return function(){d||(d=!0,a.apply(null,arguments))}}},be="Promise resolved with itself",ee=g("currentTaskTrace");function ne(d,m,a){const E=O();if(d===a)throw new TypeError(be);if(d[te]===U){let L=null;try{("object"==typeof a||"function"==typeof a)&&(L=a&&a.then)}catch(R){return E(()=>{ne(d,!1,R)})(),d}if(m!==$&&a instanceof t&&a.hasOwnProperty(te)&&a.hasOwnProperty(S)&&a[te]!==U)Ie(a),ne(d,a[te],a[S]);else if(m!==$&&"function"==typeof L)try{L.call(a,E(B(d,m)),E(B(d,!1)))}catch(R){E(()=>{ne(d,!1,R)})()}else{d[te]=m;const R=d[S];if(d[S]=a,d[v]===v&&m===y&&(d[te]=d[Y],d[S]=d[_e]),m===$&&a instanceof Error){const M=r.currentTask&&r.currentTask.data&&r.currentTask.data[W];M&&l(a,ee,{configurable:!0,enumerable:!1,writable:!0,value:M})}for(let M=0;M{try{const Z=d[S],j=!!a&&v===a[v];j&&(a[_e]=Z,a[Y]=R);const A=m.run(M,void 0,j&&M!==se&&M!==q?[]:[Z]);ne(a,!0,A)}catch(Z){ne(a,!1,Z)}},a)}const G=function(){},b=e.AggregateError;class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(m){return m instanceof t?m:ne(new this(null),y,m)}static reject(m){return ne(new this(null),$,m)}static withResolvers(){const m={};return m.promise=new t((a,E)=>{m.resolve=a,m.reject=E}),m}static any(m){if(!m||"function"!=typeof m[Symbol.iterator])return Promise.reject(new b([],"All promises were rejected"));const a=[];let E=0;try{for(let M of m)E++,a.push(t.resolve(M))}catch{return Promise.reject(new b([],"All promises were rejected"))}if(0===E)return Promise.reject(new b([],"All promises were rejected"));let L=!1;const R=[];return new t((M,Z)=>{for(let j=0;j{L||(L=!0,M(A))},A=>{R.push(A),E--,0===E&&(L=!0,Z(new b(R,"All promises were rejected")))})})}static race(m){let a,E,L=new this((Z,j)=>{a=Z,E=j});function R(Z){a(Z)}function M(Z){E(Z)}for(let Z of m)oe(Z)||(Z=this.resolve(Z)),Z.then(R,M);return L}static all(m){return t.allWithCallback(m)}static allSettled(m){return(this&&this.prototype instanceof t?this:t).allWithCallback(m,{thenCallback:E=>({status:"fulfilled",value:E}),errorCallback:E=>({status:"rejected",reason:E})})}static allWithCallback(m,a){let E,L,R=new this((A,Q)=>{E=A,L=Q}),M=2,Z=0;const j=[];for(let A of m){oe(A)||(A=this.resolve(A));const Q=Z;try{A.then(J=>{j[Q]=a?a.thenCallback(J):J,M--,0===M&&E(j)},J=>{a?(j[Q]=a.errorCallback(J),M--,0===M&&E(j)):L(J)})}catch(J){L(J)}M++,Z++}return M-=2,0===M&&E(j),R}constructor(m){const a=this;if(!(a instanceof t))throw new Error("Must be an instanceof Promise.");a[te]=U,a[S]=[];try{const E=O();m&&m(E(B(a,y)),E(B(a,$)))}catch(E){ne(a,!1,E)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(m,a){let E=this.constructor?.[Symbol.species];(!E||"function"!=typeof E)&&(E=this.constructor||t);const L=new E(G),R=r.current;return this[te]==U?this[S].push(R,L,m,a):ye(this,R,L,m,a),L}catch(m){return this.then(null,m)}finally(m){let a=this.constructor?.[Symbol.species];(!a||"function"!=typeof a)&&(a=t);const E=new a(G);E[v]=v;const L=r.current;return this[te]==U?this[S].push(L,E,m,m):ye(this,L,E,m,m),E}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const s=e[P]=e.Promise;e.Promise=t;const H=g("thenPatched");function I(d){const m=d.prototype,a=i(m,"then");if(a&&(!1===a.writable||!a.configurable))return;const E=m.then;m[k]=E,d.prototype.then=function(L,R){return new t((Z,j)=>{E.call(this,Z,j)}).then(L,R)},d[H]=!0}return c.patchThen=I,s&&(I(s),Se(e,"fetch",d=>function pe(d){return function(m,a){let E=d.apply(m,a);if(E instanceof t)return E;let L=E.constructor;return L[H]||I(L),E}}(d))),Promise[r.__symbol__("uncaughtPromiseErrors")]=_,t}),Zone.__load_patch("toString",e=>{const r=Function.prototype.toString,c=X("OriginalDelegate"),i=X("Promise"),l=X("Error"),h=function(){if("function"==typeof this){const P=this[c];if(P)return"function"==typeof P?r.call(P):Object.prototype.toString.call(P);if(this===Promise){const k=e[i];if(k)return r.call(k)}if(this===Error){const k=e[l];if(k)return r.call(k)}}return r.call(this)};h[c]=r,Function.prototype.toString=h;const g=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":g.call(this)}});let Le=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){Le=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{Le=!1}const Ue={useG:!0},Te={},Ae={},ot=new RegExp("^"+He+"(\\w+)(true|false)$"),Fe=X("propagationStopped");function Tt(e,r){const c=(r?r(e):e)+fe,i=(r?r(e):e)+de,l=He+c,h=He+i;Te[e]={},Te[e][fe]=l,Te[e][de]=h}function pt(e,r,c,i){const l=i&&i.add||$e,h=i&&i.rm||tt,g=i&&i.listeners||"eventListeners",_=i&&i.rmAll||"removeAllListeners",N=X(l),P="."+l+":",k="prependListener",W="."+k+":",V=function(S,v,_e){if(S.isRemoved)return;const Y=S.callback;let ie;"object"==typeof Y&&Y.handleEvent&&(S.callback=y=>Y.handleEvent(y),S.originalDelegate=Y);try{S.invoke(S,v,[_e])}catch(y){ie=y}const U=S.options;return U&&"object"==typeof U&&U.once&&v[h].call(v,_e.type,S.originalDelegate?S.originalDelegate:S.callback,U),ie};function x(S,v,_e){if(!(v=v||e.event))return;const Y=S||v.target||e,ie=Y[Te[v.type][_e?de:fe]];if(ie){const U=[];if(1===ie.length){const y=V(ie[0],Y,v);y&&U.push(y)}else{const y=ie.slice();for(let $=0;${throw $})}}}const oe=function(S){return x(this,S,!1)},q=function(S){return x(this,S,!0)};function se(S,v){if(!S)return!1;let _e=!0;v&&void 0!==v.useG&&(_e=v.useG);const Y=v&&v.vh;let ie=!0;v&&void 0!==v.chkDup&&(ie=v.chkDup);let U=!1;v&&void 0!==v.rt&&(U=v.rt);let y=S;for(;y&&!y.hasOwnProperty(l);)y=Ne(y);if(!y&&S[l]&&(y=S),!y||y[N])return!1;const $=v&&v.eventNameToString,p={},B=y[N]=y[l],O=y[X(h)]=y[h],be=y[X(g)]=y[g],ee=y[X(_)]=y[_];let ne;v&&v.prepend&&(ne=y[X(v.prepend)]=y[v.prepend]);const t=_e?function(a){if(!p.isExisting)return B.call(p.target,p.eventName,p.capture?q:oe,p.options)}:function(a){return B.call(p.target,p.eventName,a.invoke,p.options)},s=_e?function(a){if(!a.isRemoved){const E=Te[a.eventName];let L;E&&(L=E[a.capture?de:fe]);const R=L&&a.target[L];if(R)for(let M=0;M{Oe.zone.cancelTask(Oe)},{once:!0})),p.target=null,Me&&(Me.taskData=null),T&&(o.once=!0),!Le&&"boolean"==typeof Oe.options||(Oe.options=o),Oe.target=j,Oe.capture=f,Oe.eventName=A,J&&(Oe.originalDelegate=Q),Z?F.unshift(Oe):F.push(Oe),M?j:void 0}};return y[l]=m(B,P,t,s,U),ne&&(y[k]=m(ne,W,function(a){return ne.call(p.target,p.eventName,a.invoke,p.options)},s,U,!0)),y[h]=function(){const a=this||e;let E=arguments[0];v&&v.transferEventName&&(E=v.transferEventName(E));const L=arguments[2],R=!!L&&("boolean"==typeof L||L.capture),M=arguments[1];if(!M)return O.apply(this,arguments);if(Y&&!Y(O,M,a,arguments))return;const Z=Te[E];let j;Z&&(j=Z[R?de:fe]);const A=j&&a[j];if(A)for(let Q=0;Qfunction(l,h){l[Fe]=!0,i&&i.apply(l,h)})}function yt(e,r,c,i,l){const h=Zone.__symbol__(i);if(r[h])return;const g=r[h]=r[i];r[i]=function(_,N,P){return N&&N.prototype&&l.forEach(function(k){const W=`${c}.${i}::`+k,V=N.prototype;try{if(V.hasOwnProperty(k)){const x=e.ObjectGetOwnPropertyDescriptor(V,k);x&&x.value?(x.value=e.wrapWithCurrentZone(x.value,W),e._redefineProperty(N.prototype,k,x)):V[k]&&(V[k]=e.wrapWithCurrentZone(V[k],W))}else V[k]&&(V[k]=e.wrapWithCurrentZone(V[k],W))}catch{}}),g.call(r,_,N,P)},e.attachOriginToPatched(r[i],g)}function lt(e,r,c){if(!c||0===c.length)return r;const i=c.filter(h=>h.target===e);if(!i||0===i.length)return r;const l=i[0].ignoreProperties;return r.filter(h=>-1===l.indexOf(h))}function ht(e,r,c,i){e&&at(e,lt(e,r,c),i)}function Be(e){return Object.getOwnPropertyNames(e).filter(r=>r.startsWith("on")&&r.length>2).map(r=>r.substring(2))}Zone.__load_patch("util",(e,r,c)=>{const i=Be(e);c.patchOnProperties=at,c.patchMethod=Se,c.bindArguments=ve,c.patchMacroTask=ft;const l=r.__symbol__("BLACK_LISTED_EVENTS"),h=r.__symbol__("UNPATCHED_EVENTS");e[h]&&(e[l]=e[h]),e[l]&&(r[l]=r[h]=e[l]),c.patchEventPrototype=ct,c.patchEventTarget=pt,c.isIEOrEdge=xe,c.ObjectDefineProperty=we,c.ObjectGetOwnPropertyDescriptor=K,c.ObjectCreate=Ke,c.ArraySlice=mt,c.patchClass=ze,c.wrapWithCurrentZone=rt,c.filterProperties=lt,c.attachOriginToPatched=Pe,c._redefineProperty=Object.defineProperty,c.patchCallbacks=yt,c.getGlobalObjects=()=>({globalSources:Ae,zoneSymbolEventNames:Te,eventNames:i,isBrowser:D,isMix:Ee,isNode:De,TRUE_STR:de,FALSE_STR:fe,ZONE_SYMBOL_PREFIX:He,ADD_EVENT_LISTENER_STR:$e,REMOVE_EVENT_LISTENER_STR:tt})});const Ye=X("zoneTask");function Ge(e,r,c,i){let l=null,h=null;c+=i;const g={};function _(P){const k=P.data;return k.args[0]=function(){return P.invoke.apply(this,arguments)},k.handleId=l.apply(e,k.args),P}function N(P){return h.call(e,P.data.handleId)}l=Se(e,r+=i,P=>function(k,W){if("function"==typeof W[0]){const V={isPeriodic:"Interval"===i,delay:"Timeout"===i||"Interval"===i?W[1]||0:void 0,args:W},x=W[0];W[0]=function(){try{return x.apply(this,arguments)}finally{V.isPeriodic||("number"==typeof V.handleId?delete g[V.handleId]:V.handleId&&(V.handleId[Ye]=null))}};const oe=Je(r,W[0],V,_,N);if(!oe)return oe;const q=oe.data.handleId;return"number"==typeof q?g[q]=oe:q&&(q[Ye]=oe),q&&q.ref&&q.unref&&"function"==typeof q.ref&&"function"==typeof q.unref&&(oe.ref=q.ref.bind(q),oe.unref=q.unref.bind(q)),"number"==typeof q||q?q:oe}return P.apply(e,W)}),h=Se(e,c,P=>function(k,W){const V=W[0];let x;"number"==typeof V?x=g[V]:(x=V&&V[Ye],x||(x=V)),x&&"string"==typeof x.type?"notScheduled"!==x.state&&(x.cancelFn&&x.data.isPeriodic||0===x.runCount)&&("number"==typeof V?delete g[V]:V&&(V[Ye]=null),x.zone.cancelTask(x)):P.apply(e,W)})}Zone.__load_patch("legacy",e=>{const r=e[Zone.__symbol__("legacyPatch")];r&&r()}),Zone.__load_patch("timers",e=>{const r="set",c="clear";Ge(e,r,c,"Timeout"),Ge(e,r,c,"Interval"),Ge(e,r,c,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{Ge(e,"request","cancel","AnimationFrame"),Ge(e,"mozRequest","mozCancel","AnimationFrame"),Ge(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,r)=>{const c=["alert","prompt","confirm"];for(let i=0;ifunction(N,P){return r.current.run(h,e,P,_)})}),Zone.__load_patch("EventTarget",(e,r,c)=>{(function et(e,r){r.patchEventPrototype(e,r)})(e,c),function bt(e,r){if(Zone[r.symbol("patchEventTarget")])return;const{eventNames:c,zoneSymbolEventNames:i,TRUE_STR:l,FALSE_STR:h,ZONE_SYMBOL_PREFIX:g}=r.getGlobalObjects();for(let N=0;N{ze("MutationObserver"),ze("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,r,c)=>{ze("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,r,c)=>{ze("FileReader")}),Zone.__load_patch("on_property",(e,r,c)=>{!function _t(e,r){if(De&&!Ee||Zone[e.symbol("patchEvents")])return;const c=r.__Zone_ignore_on_properties;let i=[];if(D){const l=window;i=i.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const h=function Et(){try{const e=Ze.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:l,ignoreProperties:["error"]}]:[];ht(l,Be(l),c&&c.concat(h),Ne(l))}i=i.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let l=0;l{!function vt(e,r){const{isBrowser:c,isMix:i}=r.getGlobalObjects();(c||i)&&e.customElements&&"customElements"in e&&r.patchCallbacks(r,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,c)}),Zone.__load_patch("XHR",(e,r)=>{!function N(P){const k=P.XMLHttpRequest;if(!k)return;const W=k.prototype;let x=W[nt],oe=W[st];if(!x){const p=P.XMLHttpRequestEventTarget;if(p){const B=p.prototype;x=B[nt],oe=B[st]}}const q="readystatechange",se="scheduled";function te(p){const B=p.data,O=B.target;O[h]=!1,O[_]=!1;const be=O[l];x||(x=O[nt],oe=O[st]),be&&oe.call(O,q,be);const ee=O[l]=()=>{if(O.readyState===O.DONE)if(!B.aborted&&O[h]&&p.state===se){const re=O[r.__symbol__("loadfalse")];if(0!==O.status&&re&&re.length>0){const Ie=p.invoke;p.invoke=function(){const ye=O[r.__symbol__("loadfalse")];for(let ce=0;cefunction(p,B){return p[i]=0==B[2],p[g]=B[1],_e.apply(p,B)}),ie=X("fetchTaskAborting"),U=X("fetchTaskScheduling"),y=Se(W,"send",()=>function(p,B){if(!0===r.current[U]||p[i])return y.apply(p,B);{const O={target:p,url:p[g],isPeriodic:!1,args:B,aborted:!1},be=Je("XMLHttpRequest.send",S,O,te,v);p&&!0===p[_]&&!O.aborted&&be.state===se&&be.invoke()}}),$=Se(W,"abort",()=>function(p,B){const O=function V(p){return p[c]}(p);if(O&&"string"==typeof O.type){if(null==O.cancelFn||O.data&&O.data.aborted)return;O.zone.cancelTask(O)}else if(!0===r.current[ie])return $.apply(p,B)})}(e);const c=X("xhrTask"),i=X("xhrSync"),l=X("xhrListener"),h=X("xhrScheduled"),g=X("xhrURL"),_=X("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function Re(e,r){const c=e.constructor.name;for(let i=0;i{const N=function(){return _.apply(this,ve(arguments,c+"."+l))};return Pe(N,_),N})(h)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,r)=>{function c(i){return function(l){dt(e,i).forEach(g=>{const _=e.PromiseRejectionEvent;if(_){const N=new _(i,{promise:l.promise,reason:l.rejection});g.invoke(N)}})}}e.PromiseRejectionEvent&&(r[X("unhandledPromiseRejectionHandler")]=c("unhandledrejection"),r[X("rejectionHandledHandler")]=c("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(e,r,c)=>{!function gt(e,r){r.patchMethod(e,"queueMicrotask",c=>function(i,l){Zone.current.scheduleMicroTask("queueMicrotask",l[0])})}(e,c)})},676:()=>{}},K=>{K(K.s=273)}]);
(()=>{"use strict";var e,b={},l={};function f(e){var t=l[e];if(void 0!==t)return t.exports;var r=l[e]={exports:{}};return b[e](r,r.exports,f),r.exports}f.m=b,e=[],f.O=(t,r,a,n)=>{if(!r){var c=1/0;for(o=0;o=n)&&Object.keys(f.O).every(h=>f.O[h](r[i]))?r.splice(i--,1):(_=!1,n0&&e[o-1][2]>n;o--)e[o]=e[o-1];e[o]=[r,a,n]},f.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return f.d(t,{a:t}),t},(()=>{var t,e=Object.getPrototypeOf?r=>Object.getPrototypeOf(r):r=>r.__proto__;f.t=function(r,a){if(1&a&&(r=this(r)),8&a||"object"==typeof r&&r&&(4&a&&r.__esModule||16&a&&"function"==typeof r.then))return r;var n=Object.create(null);f.r(n);var o={};t=t||[null,e({}),e([]),e(e)];for(var c=2&a&&r;"object"==typeof c&&!~t.indexOf(c);c=e(c))Object.getOwnPropertyNames(c).forEach(_=>o[_]=()=>r[_]);return o.default=()=>r,f.d(n,o),n}})(),f.d=(e,t)=>{for(var r in t)f.o(t,r)&&!f.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},f.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),f.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={121:0};f.O.j=a=>0===e[a];var t=(a,n)=>{var i,p,[o,c,_]=n,s=0;if(o.some(d=>0!==e[d])){for(i in c)f.o(c,i)&&(f.m[i]=c[i]);if(_)var u=_(f)}for(a&&a(n);s{let Me=null,ps=1;const Fn=Symbol("SIGNAL");function B(e){const t=Me;return Me=e,t}const tp={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:()=>{}};function np(e){if((!Fo(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==ps)){if(!e.producerMustRecompute(e)&&!el(e))return e.dirty=!1,void(e.lastCleanEpoch=ps);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=ps}}function Kc(e){return e&&(e.nextProducerIndex=0),B(e)}function el(e){ms(e);for(let t=0;t0}function ms(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let up=null;function ee(e){return"function"==typeof e}function hp(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 nl=hp(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 _s(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class je{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(ee(r))try{r()}catch(i){t=i instanceof nl?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{mp(i)}catch(s){t=t??[],s instanceof nl?t=[...t,...s.errors]:t.push(s)}}if(t)throw new nl(t)}}add(t){var n;if(t&&t!==this)if(this.closed)mp(t);else{if(t instanceof je){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)&&_s(n,t)}remove(t){const{_finalizers:n}=this;n&&_s(n,t),t instanceof je&&t._removeParent(this)}}je.EMPTY=(()=>{const e=new je;return e.closed=!0,e})();const pp=je.EMPTY;function gp(e){return e instanceof je||e&&"closed"in e&&ee(e.remove)&&ee(e.add)&&ee(e.unsubscribe)}function mp(e){ee(e)?e():e.unsubscribe()}const jn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},vs={setTimeout(e,t,...n){const{delegate:r}=vs;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=vs;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function yp(e){vs.setTimeout(()=>{const{onUnhandledError:t}=jn;if(!t)throw e;t(e)})}function jo(){}const SM=rl("C",void 0,void 0);function rl(e,t,n){return{kind:e,value:t,error:n}}let Vn=null;function ws(e){if(jn.useDeprecatedSynchronousErrorHandling){const t=!Vn;if(t&&(Vn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=Vn;if(Vn=null,n)throw r}}else e()}class ol extends je{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,gp(t)&&t.add(this)):this.destination=LM}static create(t,n,r){return new sl(t,n,r)}next(t){this.isStopped?al(function AM(e){return rl("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?al(function NM(e){return rl("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?al(SM,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 OM=Function.prototype.bind;function il(e,t){return OM.call(e,t)}class RM{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Es(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Es(r)}else Es(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Es(n)}}}class sl extends ol{constructor(t,n,r){let o;if(super(),ee(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&jn.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&il(t.next,i),error:t.error&&il(t.error,i),complete:t.complete&&il(t.complete,i)}):o=t}this.destination=new RM(o)}}function Es(e){jn.useDeprecatedSynchronousErrorHandling?function xM(e){jn.useDeprecatedSynchronousErrorHandling&&Vn&&(Vn.errorThrown=!0,Vn.error=e)}(e):yp(e)}function al(e,t){const{onStoppedNotification:n}=jn;n&&vs.setTimeout(()=>n(e,t))}const LM={closed:!0,next:jo,error:function PM(e){throw e},complete:jo},cl="function"==typeof Symbol&&Symbol.observable||"@@observable";function Vo(e){return e}let _e=(()=>{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 FM(e){return e&&e instanceof ol||function kM(e){return e&&ee(e.next)&&ee(e.error)&&ee(e.complete)}(e)&&gp(e)}(n)?n:new sl(n,r,o);return ws(()=>{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=vp(r))((o,i)=>{const s=new sl({next:a=>{try{n(a)}catch(c){i(c),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)}[cl](){return this}pipe(...n){return function _p(e){return 0===e.length?Vo:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=vp(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function vp(e){var t;return null!==(t=e??jn.Promise)&&void 0!==t?t:Promise}const jM=hp(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Pe=(()=>{class e extends _e{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new wp(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new jM}next(n){ws(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){ws(()=>{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(){ws(()=>{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?pp:(this.currentObservers=null,i.push(n),new je(()=>{this.currentObservers=null,_s(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new _e;return n.source=this,n}}return e.create=(t,n)=>new wp(t,n),e})();class wp extends Pe{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:pp}}class Ep extends Pe{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 et(e){return t=>{if(function VM(e){return ee(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 Ve(e,t,n,r,o){return new BM(e,t,n,r,o)}class BM extends ol{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}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 Ge(e,t){return et((n,r)=>{let o=0;n.subscribe(Ve(r,i=>{r.next(e.call(t,i,o++))}))})}typeof navigator<"u"&&navigator,typeof navigator<"u"&&!/Opera/.test(navigator.userAgent)&&navigator,typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||navigator),typeof navigator<"u"&&!/Opera|WebKit/.test(navigator.userAgent)&&navigator,typeof navigator<"u"&&navigator;const Bp="https://g.co/ng/security#xss";class C extends Error{constructor(t,n){super(function Ir(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function rn(e){return{toString:e}.toString()}const ae=globalThis;function J(e){for(let t in e)if(e[t]===J)return t;throw Error("Could not find renamed property on target object.")}function HI(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Ie(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Ie).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 yl(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const UI=J({__forward_ref__:J});function _l(e){return e.__forward_ref__=_l,e.toString=function(){return Ie(this())},e}function R(e){return function Is(e){return"function"==typeof e&&e.hasOwnProperty(UI)&&e.__forward_ref__===_l}(e)?e():e}function _n(e,t,n){e!=t&&function x(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(n,e,t,"==")}function I(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Mt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ts(e){return zp(e,Ns)||zp(e,Gp)}function zp(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ss(e){return e&&(e.hasOwnProperty(vl)||e.hasOwnProperty(YI))?e[vl]:null}const Ns=J({\u0275prov:J}),vl=J({\u0275inj:J}),Gp=J({ngInjectableDef:J}),YI=J({ngInjectorDef:J});class M{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=I({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function bl(e){return e&&!!e.\u0275providers}const Ho=J({\u0275cmp:J}),Ml=J({\u0275dir:J}),Il=J({\u0275pipe:J}),Yp=J({\u0275mod:J}),on=J({\u0275fac:J}),Uo=J({__NG_ELEMENT_ID__:J}),qp=J({__NG_ENV_ID__:J});function k(e){return"string"==typeof e?e:null==e?"":String(e)}function Tl(e,t){throw new C(-201,!1)}var G=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}(G||{});let Sl;function Zp(){return Sl}function tt(e){const t=Sl;return Sl=e,t}function Qp(e,t,n){const r=Ts(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&G.Optional?null:void 0!==t?t:void Tl()}const $o={},Nl="__NG_DI_FLAG__",As="ngTempTokenPath",KI=/\n/gm,Xp="__source";let xr;function vn(e){const t=xr;return xr=e,t}function nT(e,t=G.Default){if(void 0===xr)throw new C(-203,!1);return null===xr?Qp(e,void 0,t):xr.get(e,t&G.Optional?null:void 0,t)}function E(e,t=G.Default){return(Zp()||nT)(R(e),t)}function b(e,t=G.Default){return E(e,xs(t))}function xs(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Al(e){const t=[];for(let n=0;nArray.isArray(n)?Or(n,t):t(n))}function Kp(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Os(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ut(e,t,n){let r=Rr(e,t);return r>=0?e[1|r]=n:(r=~r,function eg(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Pl(e,t){const n=Rr(e,t);if(n>=0)return e[1|n]}function Rr(e,t){return function tg(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<t){s=i-1;break}}}for(;i-1){let i;for(;++oi?"":o[u+1].toLowerCase(),2&r&&l!==d){if(Tt(r))return!1;s=!0}}}}else{if(!s&&!Tt(r)&&!Tt(c))return!1;if(s&&Tt(c))continue;s=!1,r=c|1&r}}return Tt(r)||s}function Tt(e){return!(1&e)}function pT(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!Tt(s)&&(t+=cg(i,o),o=""),r=s,i=i||!Tt(r);n++}return""!==o&&(t+=cg(i,o)),t}function lg(e){return rn(()=>{const t=dg(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ls.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||It.Emulated,styles:e.styles||Y,_:null,schemas:e.schemas||null,tView:null,id:""};fg(n);const r=e.dependencies;return n.directiveDefs=ks(r,!1),n.pipeDefs=ks(r,!0),n.id=function MT(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 DT(e){return U(e)||Te(e)}function CT(e){return null!==e}function zt(e){return rn(()=>({type:e.type,bootstrap:e.bootstrap||Y,declarations:e.declarations||Y,imports:e.imports||Y,exports:e.exports||Y,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function ug(e,t){if(null==e)return Ut;const n={};for(const r in e)if(e.hasOwnProperty(r)){const o=e[r];let i,s,a=wn.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==wn.None?[r,a]:r,t[i]=s):n[i]=r}return n}function dt(e){return rn(()=>{const t=dg(e);return fg(t),t})}function rt(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 U(e){return e[Ho]||null}function Te(e){return e[Ml]||null}function Le(e){return e[Il]||null}function dg(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||Ut,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Y,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:ug(e.inputs,t),outputs:ug(e.outputs),debugInfo:null}}function fg(e){e.features?.forEach(t=>t(e))}function ks(e,t){if(!e)return null;const n=t?Le:DT;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(CT)}function IT(...e){return{\u0275providers:jl(0,e),\u0275fromNgModule:!0}}function jl(e,...t){const n=[],r=new Set;let o;const i=s=>{n.push(s)};return Or(t,s=>{const a=s;Fs(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&hg(o,i),n}function hg(e,t){for(let n=0;n{t(i,r)})}}function Fs(e,t,n,r){if(!(e=R(e)))return!1;let o=null,i=Ss(e);const s=!i&&U(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const c=e.ngModule;if(i=Ss(c),!i)return!1;o=c}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const c="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const l of c)Fs(l,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let l;r.add(o);try{Or(i.imports,u=>{Fs(u,t,n,r)&&(l||=[],l.push(u))})}finally{}void 0!==l&&hg(l,t)}if(!a){const l=Hn(o)||(()=>new o);t({provide:o,useFactory:l,deps:Y},o),t({provide:Ll,useValue:o,multi:!0},o),t({provide:$t,useValue:()=>E(o),multi:!0},o)}const c=i.providers;if(null!=c&&!a){const l=e;Vl(c,u=>{t(u,l)})}}}return o!==e&&void 0!==e.providers}function Vl(e,t){for(let n of e)bl(n)&&(n=n.\u0275providers),Array.isArray(n)?Vl(n,t):t(n)}const TT=J({provide:String,useValue:J});function Bl(e){return null!==e&&"object"==typeof e&&TT in e}function $n(e){return"function"==typeof e}const Hl=new M(""),js={},NT={};let Ul;function Vs(){return void 0===Ul&&(Ul=new Ps),Ul}class ft{}class Pr extends ft{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,zl(t,s=>this.processProvider(s)),this.records.set(ng,Lr(void 0,this)),o.has("environment")&&this.records.set(ft,Lr(void 0,this));const i=this.records.get(Hl);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ll,Y,G.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=B(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(),B(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=vn(this),r=tt(void 0);try{return t()}finally{vn(n),tt(r)}}get(t,n=$o,r=G.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(qp))return t[qp](this);r=xs(r);const i=vn(this),s=tt(void 0);try{if(!(r&G.SkipSelf)){let c=this.records.get(t);if(void 0===c){const l=function PT(e){return"function"==typeof e||"object"==typeof e&&e instanceof M}(t)&&Ts(t);c=l&&this.injectableDefInScope(l)?Lr($l(t),js):null,this.records.set(t,c)}if(null!=c)return this.hydrate(t,c)}return(r&G.Self?Vs():this.parent).get(t,n=r&G.Optional&&n===$o?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[As]=a[As]||[]).unshift(Ie(t)),i)throw a;return function oT(e,t,n,r){const o=e[As];throw t[Xp]&&o.unshift(t[Xp]),e.message=function iT(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=Ie(t);if(Array.isArray(t))o=t.map(Ie).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):Ie(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(KI,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[As]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{tt(s),vn(i)}}resolveInjectorInitializers(){const t=B(null),n=vn(this),r=tt(void 0);try{const i=this.get($t,Y,G.Self);for(const s of i)s()}finally{vn(n),tt(r),B(t)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Ie(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new C(205,!1)}processProvider(t){let n=$n(t=R(t))?t:R(t&&t.provide);const r=function xT(e){return Bl(e)?Lr(void 0,e.useValue):Lr(mg(e),js)}(t);if(!$n(t)&&!0===t.multi){let o=this.records.get(n);o||(o=Lr(void 0,js,!0),o.factory=()=>Al(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){const r=B(null);try{return n.value===js&&(n.value=NT,n.value=n.factory()),"object"==typeof n.value&&n.value&&function RT(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{B(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=R(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 $l(e){const t=Ts(e),n=null!==t?t.factory:Hn(e);if(null!==n)return n;if(e instanceof M)throw new C(204,!1);if(e instanceof Function)return function AT(e){if(e.length>0)throw new C(204,!1);const n=function WI(e){return e&&(e[Ns]||e[Gp])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new C(204,!1)}function mg(e,t,n){let r;if($n(e)){const o=R(e);return Hn(o)||$l(o)}if(Bl(e))r=()=>R(e.useValue);else if(function gg(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Al(e.deps||[]));else if(function pg(e){return!(!e||!e.useExisting)}(e))r=()=>E(R(e.useExisting));else{const o=R(e&&(e.useClass||e.provide));if(!function OT(e){return!!e.deps}(e))return Hn(o)||$l(o);r=()=>new o(...Al(e.deps))}return r}function Lr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function zl(e,t){for(const n of e)Array.isArray(n)?zl(n,t):n&&bl(n)?zl(n.\u0275providers,t):t(n)}function yg(e,t){e instanceof Pr&&e.assertNotDestroyed();const r=vn(e),o=tt(void 0);try{return t()}finally{vn(r),tt(o)}}function _g(){return void 0!==Zp()||null!=function tT(){return xr}()}function Bs(e){if(!_g())throw new C(-203,!1)}const le=0,w=1,S=2,we=3,St=4,ke=5,We=6,Fr=7,re=8,Ee=9,Gt=10,P=11,qo=12,wg=13,jr=14,ue=15,zn=16,Vr=17,sn=18,Br=19,Eg=20,En=21,Us=22,_t=23,T=25,Wl=1,Wt=7,Hr=9,pe=10;var zs=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(zs||{});function Oe(e){return Array.isArray(e)&&"object"==typeof e[Wl]}function He(e){return Array.isArray(e)&&!0===e[Wl]}function Yl(e){return!!(4&e.flags)}function Gn(e){return e.componentOffset>-1}function Gs(e){return!(1&~e.flags)}function Nt(e){return!!e.template}function Qo(e){return!!(512&e[S])}class Mg{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Ig(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}function Tg(e){return e.type.prototype.ngOnChanges&&(e.setInput=qT),YT}function YT(){const e=Ng(this),t=e?.current;if(t){const n=e.previous;if(n===Ut)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function qT(e,t,n,r,o){const i=this.declaredInputs[r],s=Ng(e)||function ZT(e,t){return e[Sg]=t}(e,{previous:Ut,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Mg(l&&l.currentValue,n,c===Ut),Ig(e,t,o,n)}const Sg="__ngSimpleChanges__";function Ng(e){return e[Sg]||null}const Yt=function(e,t,n){};function q(e){for(;Array.isArray(e);)e=e[le];return e}function Xo(e,t){return q(t[e])}function Ye(e,t){return q(t[e.index])}function Jo(e,t){return e.data[t]}function Wn(e,t){return e[t]}function ht(e,t){const n=t[e];return Oe(n)?n:n[le]}function Jl(e){return!(128&~e[S])}function vt(e,t){return null==t?null:e[t]}function Og(e){e[Vr]=0}function Rg(e){1024&e[S]||(e[S]|=1024,Jl(e)&&Ys(e))}function Ko(e){return!!(9216&e[S]||e[_t]?.dirty)}function Kl(e){e[Gt].changeDetectionScheduler?.notify(7),64&e[S]&&(e[S]|=1024),Ko(e)&&Ys(e)}function Ys(e){e[Gt].changeDetectionScheduler?.notify(0);let t=an(e);for(;null!==t&&!(8192&t[S])&&(t[S]|=8192,Jl(t));)t=an(t)}function qs(e,t){if(!(256&~e[S]))throw new C(911,!1);null===e[En]&&(e[En]=[]),e[En].push(t)}function an(e){const t=e[we];return He(t)?t[we]:t}const L={lFrame:Wg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Lg=!1;function kg(){return L.bindingsEnabled}function Yn(){return null!==L.skipHydrationRootTNode}function _(){return L.lFrame.lView}function H(){return L.lFrame.tView}function nu(e){return L.lFrame.contextLView=e,e[re]}function ru(e){return L.lFrame.contextLView=null,e}function K(){let e=Fg();for(;null!==e&&64===e.type;)e=e.parent;return e}function Fg(){return L.lFrame.currentTNode}function ei(){const e=L.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function At(e,t){const n=L.lFrame;n.currentTNode=e,n.isParent=t}function ou(){return L.lFrame.isParent}function iu(){L.lFrame.isParent=!1}function Bg(){return Lg}function Hg(e){Lg=e}function qe(){const e=L.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function xt(){return L.lFrame.bindingIndex++}function ln(e){const t=L.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function $g(e){L.lFrame.inI18n=e}function lS(e,t){const n=L.lFrame;n.bindingIndex=n.bindingRootIndex=e,su(t)}function su(e){L.lFrame.currentDirectiveIndex=e}function cu(){return L.lFrame.currentQueryIndex}function Qs(e){L.lFrame.currentQueryIndex=e}function dS(e){const t=e[w];return 2===t.type?t.declTNode:1===t.type?e[ke]:null}function zg(e,t,n){if(n&G.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&G.Host||(o=dS(i),null===o||(i=i[jr],10&o.type))););if(null===o)return!1;t=o,e=i}const r=L.lFrame=Gg();return r.currentTNode=t,r.lView=e,!0}function lu(e){const t=Gg(),n=e[w];L.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Gg(){const e=L.lFrame,t=null===e?null:e.child;return null===t?Wg(e):t}function Wg(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 Yg(){const e=L.lFrame;return L.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const qg=Yg;function uu(){const e=Yg();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 Fe(){return L.lFrame.selectedIndex}function qn(e){L.lFrame.selectedIndex=e}function oe(){const e=L.lFrame;return Jo(e.tView,e.selectedIndex)}let Jg=!0;function ti(){return Jg}function qt(e){Jg=e}function Xs(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[c]<0&&(e[Vr]+=65536),(a>14>16&&(3&e[S])===t&&(e[S]+=16384,em(a,i)):em(a,i)}const Ur=-1;class ni{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}const hu={};class Zn{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=xs(r);const o=this.injector.get(t,hu,r);return o!==hu||n===hu?o:this.parentInjector.get(t,n,r)}}function pu(e){return e!==Ur}function ri(e){return 32767&e}function oi(e,t){let n=function wS(e){return e>>16}(e),r=t;for(;n>0;)r=r[jr],n--;return r}let gu=!0;function ea(e){const t=gu;return gu=e,t}const nm=255,rm=5;let DS=0;const Zt={};function ta(e,t){const n=om(e,t);if(-1!==n)return n;const r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,mu(r.data,e),mu(t,null),mu(r.blueprint,null));const o=na(e,t),i=e.injectorIndex;if(pu(o)){const s=ri(o),a=oi(o,t),c=a[w].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function mu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function om(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function na(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=dm(o),null===r)return Ur;if(n++,o=o[jr],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Ur}function yu(e,t,n){!function CS(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Uo)&&(r=n[Uo]),null==r&&(r=n[Uo]=DS++);const o=r&nm;t.data[e+(o>>rm)]|=1<=0?t&nm:TS:t}(n);if("function"==typeof i){if(!zg(t,e,r))return r&G.Host?im(o,0,r):sm(t,n,r,o);try{let s;if(s=i(r),null!=s||r&G.Optional)return s;Tl()}finally{qg()}}else if("number"==typeof i){let s=null,a=om(e,t),c=Ur,l=r&G.Host?t[ue][ke]:null;for((-1===a||r&G.SkipSelf)&&(c=-1===a?na(e,t):t[a+8],c!==Ur&&um(r,!1)?(s=t[w],a=ri(c),t=oi(c,t)):a=-1);-1!==a;){const u=t[w];if(lm(i,a,u.data)){const d=MS(a,t,n,s,r,l);if(d!==Zt)return d}c=t[a+8],c!==Ur&&um(r,t[w].data[a+8]===l)&&lm(i,a,t)?(s=u,a=ri(c),t=oi(c,t)):a=-1}}return o}function MS(e,t,n,r,o,i){const s=t[w],a=s.data[e+8],u=ra(a,s,n,null==r?Gn(a)&&gu:r!=s&&!!(3&a.type),o&G.Host&&i===a);return null!==u?Qn(t,s,u,a):Zt}function ra(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,c=e.directiveStart,u=i>>20,h=o?a+u:e.directiveEnd;for(let f=r?a:a+u;f=c&&p.type===n)return f}if(o){const f=s[c];if(f&&Nt(f)&&f.type===n)return c}return null}function Qn(e,t,n,r){let o=e[n];const i=t.data;if(function yS(e){return e instanceof ni}(o)){const s=o;s.resolving&&function QI(e,t){throw t&&t.join(" > "),new C(-200,e)}(function Z(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():k(e)}(i[n]));const a=ea(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?tt(s.injectImpl):null;zg(e,r,G.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function gS(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=Tg(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!==l&&tt(l),ea(a),s.resolving=!1,qg()}}return o}function lm(e,t,n){return!!(n[t+(e>>rm)]&1<E(ng)});static#r=this.__NG_ELEMENT_ID__=-1}new M("").__NG_ELEMENT_ID__=e=>{const t=K();if(null===t)throw new C(204,!1);if(2&t.type)return t.value;if(e&G.Optional)return null;throw new C(204,!1)};function wu(e){return e.ngOriginalError}let ii=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=VS;static#t=this.__NG_ENV_ID__=n=>n}return e})();class jS extends ii{constructor(t){super(),this._lView=t}onDestroy(t){return qs(this._lView,t),()=>function eu(e,t){if(null===e[En])return;const n=e[En].indexOf(t);-1!==n&&e[En].splice(n,1)}(this._lView,t)}}function VS(){return new jS(_())}let Dn=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ep(!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.\u0275prov=I({token:e,providedIn:"root",factory:()=>new e})}return e})();const Ot=class BS extends Pe{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,_g()&&(this.destroyRef=b(ii,{optional:!0})??void 0,this.pendingTasks=b(Dn,{optional:!0})??void 0)}emit(t){const n=B(null);try{super.next(t)}finally{B(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof je&&t.add(a),a}wrapInTimeout(t){return n=>{const r=this.pendingTasks?.add();setTimeout(()=>{t(n),void 0!==r&&this.pendingTasks?.remove(r)})}}};function sa(...e){}function vm(e){let t,n;function r(){e=sa;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==t&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function wm(e){return queueMicrotask(()=>e()),()=>{e=sa}}class z{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ot(!1),this.onMicrotaskEmpty=new Ot(!1),this.onStable=new Ot(!1),this.onError=new Ot(!1),typeof Zone>"u")throw new C(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.callbackScheduled=!1,function $S(e){const t=()=>{!function US(e){e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,Zone.root.run(()=>{vm(()=>{e.callbackScheduled=!1,Du(e),e.isCheckStableRunning=!0,Eu(e),e.isCheckStableRunning=!1})}),Du(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(function zS(e){return Cm(e,"__ignore_ng_zone__")}(a))return n.invokeTask(o,i,s,a);try{return Em(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Dm(e)}},onInvoke:(n,r,o,i,s,a,c)=>{try{return Em(e),n.invoke(o,i,s,a,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function GS(e){return Cm(e,"__scheduler_tick__")}(a)&&t(),Dm(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Du(e),Eu(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(!z.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(z.isInAngularZone())throw new C(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,HS,sa,sa);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 HS={};function Eu(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 Du(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function Em(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Dm(e){e._nesting--,Eu(e)}class Cu{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ot,this.onMicrotaskEmpty=new Ot,this.onStable=new Ot,this.onError=new Ot}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)}}function Cm(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}class Rt{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&&wu(t);for(;n&&wu(n);)n=wu(n);return n||null}}const YS=new M("",{providedIn:"root",factory:()=>{const e=b(z),t=b(Rt);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function qS(){return Gr(K(),_())}function Gr(e,t){return new Qt(Ye(e,t))}let Qt=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=qS}return e})();function Mm(e){return e instanceof Qt?e.nativeElement:e}function ZS(){return this._results[Symbol.iterator]()}class bu{static#e=Symbol.iterator;get changes(){return this._changes??=new Ot}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const n=bu.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=ZS)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;const r=function nt(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function lT(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r_0}),_0="ng",Gm=new M(""),bn=new M("",{providedIn:"platform",factory:()=>"unknown"}),v0=new M(""),Wm=new M("",{providedIn:"root",factory:()=>Cn().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Ym=()=>null;function Pu(e,t,n=!1){return Ym(e,t,n)}const ty=new M("",{providedIn:"root",factory:()=>!1});let _a;function Qr(e){return function Vu(){if(void 0===_a&&(_a=null,ae.trustedTypes))try{_a=ae.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return _a}()?.createHTML(e)||e}class ay{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Bp})`}}function Mn(e){return e instanceof ay?e.changingThisBreaksApplicationSecurity:e}class V0{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=" "+t;try{const n=(new window.DOMParser).parseFromString(Qr(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}}class B0{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Qr(t),n}}const U0=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Hu(e){return(e=String(e)).match(U0)?e:"unsafe:"+e}function un(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 ly=un("area,br,col,hr,img,wbr"),uy=un("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),dy=un("rp,rt"),Uu=pi(ly,pi(uy,un("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(dy,un("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(dy,uy)),$u=un("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),fy=pi($u,un("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"),un("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"));var Xr=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}(Xr||{});function Ea(e){const t=function gi(){const e=_();return e&&e[Gt].sanitizer}();return t?t.sanitize(Xr.URL,e)||"":function hi(e,t){const n=function j0(e){return e instanceof ay&&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 ${Bp})`)}return n===t}(e,"URL")?Mn(e):Hu(k(e))}const iN=/^>|^->||--!>|)/g,aN="\u200b$1\u200b";function it(e){return"browser"===(e??b(fe)).get(bn)}var In=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(In||{});let Yu;function qu(e,t){return Yu(e,t)}function Kr(e,t,n,r,o){if(null!=r){let i,s=!1;He(r)?i=r:Oe(r)&&(s=!0,r=r[le]);const a=q(r);0===e&&null!==n?null==o?Ny(t,n,a):Xn(t,n,a,o||null,!0):1===e&&null!==n?Xn(t,n,a,o||null,!0):2===e?yi(t,a,s):3===e&&t.destroyNode(a),null!=i&&function TN(e,t,n,r,o){const i=n[Wt];i!==q(n)&&Kr(t,e,r,i,o);for(let a=pe;at.replace(sN,aN))}(t))}function ba(e,t,n){return e.createElement(t,n)}function Iy(e,t){t[Gt].changeDetectionScheduler?.notify(8),Ta(e,t,t[P],2,null,null)}function Ty(e,t){const n=e[Hr],r=t[we];(Oe(r)||t[ue]!==r[we][ue])&&(e[S]|=zs.HasTransplantedViews),null===n?e[Hr]=[t]:n.push(t)}function Xu(e,t){const n=e[Hr],r=n.indexOf(t);n.splice(r,1)}function mi(e,t){if(e.length<=pe)return;const n=pe+t,r=e[n];if(r){const o=r[zn];null!==o&&o!==e&&Xu(o,r),t>0&&(e[n-1][St]=r[St]);const i=Os(e,pe+t);!function vN(e,t){Iy(e,t),t[le]=null,t[ke]=null}(r[w],r);const s=i[sn];null!==s&&s.detachView(i[w]),r[we]=null,r[St]=null,r[S]&=-129}return r}function Ma(e,t){if(!(256&t[S])){const n=t[P];n.destroyNode&&Ta(e,t,n,3,null,null),function EN(e){let t=e[qo];if(!t)return Ju(e[w],e);for(;t;){let n=null;if(Oe(t))n=t[qo];else{const r=t[pe];r&&(n=r)}if(!n){for(;t&&!t[St]&&t!==e;)Oe(t)&&Ju(t[w],t),t=t[we];null===t&&(t=e),Oe(t)&&Ju(t[w],t),n=t&&t[St]}t=n}}(t)}}function Ju(e,t){if(256&t[S])return;const n=B(null);try{t[S]&=-129,t[S]|=256,t[_t]&&tl(t[_t]),function bN(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[Fr]=null);const o=t[En];if(null!==o){t[En]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===It.None||i===It.Emulated)return null}return Ye(r,n)}}function Xn(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Ny(e,t,n){e.appendChild(t,n)}function Ay(e,t,n,r,o){null!==r?Xn(e,t,n,r,o):Ny(e,t,n)}function ed(e,t){return e.parentNode(t)}function xy(e,t,n){return Ry(e,t,n)}function Oy(e,t,n){return 40&e.type?Ye(e,n):null}let td,Ry=Oy;function Py(e,t){Ry=e,td=t}function Ia(e,t,n,r){const o=Ku(e,r,t),i=t[P],a=xy(r.parent||t[ke],r,t);if(null!=o)if(Array.isArray(n))for(let c=0;cT&&By(e,t,T,!1),Yt(s?2:0,o),n(r,o)}finally{qn(i),Yt(s?3:1,o)}}function id(e,t,n){if(Yl(t)){const r=B(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;snull;function Gy(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,c=wn.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let l=i;if(null!==o){if(!o.hasOwnProperty(i))continue;l=o[i]}0===e?Wy(r,n,l,a,c):Wy(r,n,l,a)}return r}function Wy(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 st(e,t,n,r,o,i,s,a){const c=Ye(t,n);let u,l=t.inputs;!a&&null!=l&&(u=l[r])?(hd(e,n,u,r,o),Gn(t)&&function HN(e,t){const n=ht(t,e);16&n[S]||(n[S]|=64)}(n,t.index)):3&t.type&&(r=function BN(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(c,r,o))}function ld(e,t,n,r){if(kg()){const o=null===r?null:{"":-1},i=function YN(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i0;){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,F),o)}function dd(e,t,n,r,o,i,s){if(null==i)e.removeAttribute(t,o,n);else{const a=null==s?k(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function KN(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;a0&&(n[o-1][St]=t),r{Ys(e.lView)},consumerOnSignalRead(){this.lView[_t]=this}},lA={...tp,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=an(e.lView);for(;t&&!r_(t[w]);)t=an(t);t&&Rg(t)},consumerOnSignalRead(){this.lView[_t]=this}};function r_(e){return 2!==e.type}const uA=100;function xa(e,t=!0,n=0){const r=e[Gt],o=r.rendererFactory;o.begin?.();try{!function dA(e,t){const n=Bg();try{Hg(!0),md(e,t);let r=0;for(;Ko(e);){if(r===uA)throw new C(103,!1);r++,md(e,1)}}finally{Hg(n)}}(e,n)}catch(s){throw t&&Aa(e,s),s}finally{o.end?.(),r.inlineEffectRunner?.flush()}}function fA(e,t,n,r){const o=t[S];if(!(256&~o))return;t[Gt].inlineEffectRunner?.flush(),lu(t);let a=!0,c=null,l=null;r_(e)?(l=function oA(e){return e[_t]??function iA(e){const t=n_.pop()??Object.create(aA);return t.lView=e,t}(e)}(t),c=Kc(l)):null===function Xc(){return Me}()?(a=!1,l=function cA(e){const t=e[_t]??Object.create(lA);return t.lView=e,t}(t),c=Kc(l)):t[_t]&&(tl(t[_t]),t[_t]=null);try{Og(t),function Ug(e){return L.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Uy(e,t,n,2,r);const u=!(3&~o);if(u){const f=e.preOrderCheckHooks;null!==f&&Js(t,f,null)}else{const f=e.preOrderHooks;null!==f&&Ks(t,f,0,null),du(t,0)}if(function hA(e){for(let t=Lm(e);null!==t;t=km(t)){if(!(t[S]&zs.HasTransplantedViews))continue;const n=t[Hr];for(let r=0;re.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(l,c),a&&function sA(e){e.lView[_t]!==e&&(e.lView=null,n_.push(e))}(l)),uu()}}function i_(e,t){for(let n=Lm(e);null!==n;n=km(n))for(let r=pe;r-1&&(mi(t,r),Os(n,r))}this._attachedToViewContainer=!1}Ma(this._lView[w],this._lView)}onDestroy(t){qs(this._lView,t)}markForCheck(){wi(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[S]&=-129}reattach(){Kl(this._lView),this._lView[S]|=128}detectChanges(){this._lView[S]|=1024,xa(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=Qo(this._lView),n=this._lView[zn];null!==n&&!t&&Xu(n,this._lView),Iy(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=t;const n=Qo(this._lView),r=this._lView[zn];null!==r&&!n&&Ty(r,this._lView),Kl(this._lView)}}let fn=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=yA}return e})();const gA=fn,mA=class extends gA{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=eo(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Ei(o)}};function yA(){return Oa(K(),_())}function Oa(e,t){return 4&e.type?new mA(t,e,Gr(e,t)):null}function u_(e,t,n){const r=t.insertBeforeIndex,o=Array.isArray(r)?r[0]:r;return null===o?Oy(e,0,n):q(n[o])}function d_(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 c=1;c1)for(let n=e.length-2;n>=0;n--){const r=e[n];h_(r)||IA(r,t)&&null===TA(r)&&SA(r,t.index)}}function h_(e){return!(64&e.type)}function IA(e,t){return h_(t)||e.index>t.index}function TA(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function SA(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(Py(u_,d_),e.insertBeforeIndex=t)}function Mi(e,t){const n=e.data[t];return null===n||"string"==typeof n?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function xA(e,t,n){const r=od(e,n,64,null,null);return f_(t,r),r}function Pa(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}function p_(e){return e>>>17}function g_(e){return(131070&e)>>>1}function wd(e,t,n){e.index=0;const r=Pa(t,n);e.removes=null!==r?t.remove[r]:Y}function La(e){if(e.index0?e.lView[t]:(e.stack.push(e.index,e.removes),wd(e,e.lView[w].data[~t],e.lView),La(e))}return 0===e.stack.length?null:(e.removes=e.stack.pop(),e.index=e.stack.pop(),La(e))}function RA(){const e={stack:[],index:-1};return function t(n,r){for(e.lView=r;e.stack.length;)e.stack.pop();return wd(e,n.value,r),La.bind(null,e)}}let C_=()=>{},M_=()=>{},S_=()=>null;function nr(e,t){return S_(e,t)}class ro{}const Ni=new M("",{providedIn:"root",factory:()=>!1}),N_=new M("");class lx{}class A_{}class dx{resolveComponentFactory(t){throw function ux(e){const t=Error(`No component factory found for ${Ie(e)}.`);return t.ngComponent=e,t}(t)}}class rr{static#e=this.NULL=new dx}class Td{}let Sd=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function fx(){const e=_(),n=ht(K().index,e);return(Oe(n)?n:e)[P]}()}return e})(),hx=(()=>{class e{static#e=this.\u0275prov=I({token:e,providedIn:"root",factory:()=>null})}return e})();const O_=new Set;function Ze(e){O_.has(e)||(O_.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Qe=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Qe||{});const R_={destroy(){}};function k_(e,t,n,r){const o=function px(e,t){if(e instanceof Function)switch(t){case Qe.EarlyRead:return{earlyRead:e};case Qe.Write:return{write:e};case Qe.MixedReadWrite:return{mixedReadWrite:e};case Qe.Read:return{read:e}}return e}(e,r),i=t.get(ja),s=i.handler??=new mx,a=[],c=[],l=()=>{for(const f of c)s.unregister(f);u()},u=t.get(ii).onDestroy(l);let d=0;const h=(f,p)=>{if(!p)return;const g=n?(...v)=>(d--,d<1&&l(),p(...v)):p,m=yg(t,()=>new gx(f,a,g));s.register(m),c.push(m),d++};return h(Qe.EarlyRead,o.earlyRead),h(Qe.Write,o.write),h(Qe.MixedReadWrite,o.mixedReadWrite),h(Qe.Read,o.read),{destroy:l}}class gx{constructor(t,n,r){this.phase=t,this.pipelinedArgs=n,this.callbackFn=r,this.zone=b(z),this.errorHandler=b(Rt,{optional:!0}),b(ro,{optional:!0})?.notify(6)}invoke(){try{const t=this.zone.runOutsideAngular(()=>this.callbackFn.apply(null,this.pipelinedArgs));this.pipelinedArgs.splice(0,this.pipelinedArgs.length,t)}catch(t){this.errorHandler?.handleError(t)}}}class mx{constructor(){this.executingCallbacks=!1,this.buckets={[Qe.EarlyRead]:new Set,[Qe.Write]:new Set,[Qe.MixedReadWrite]:new Set,[Qe.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(const t of Object.values(this.buckets))for(const n of t)n.invoke();this.executingCallbacks=!1;for(const t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(const t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}}let ja=(()=>{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=I({token:e,providedIn:"root",factory:()=>new e})}return e})();function Ba(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s0&&jy(e,n,i.join(" "))}}(f,O,g,r),void 0!==n&&function Ix(e,t,n){const r=e.projection=[];for(let o=0;o{class e{static#e=this.__NG_ELEMENT_ID__=Sx}return e})();function Sx(){return $_(K(),_())}const Nx=Pt,H_=class extends Nx{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Gr(this._hostTNode,this._hostLView)}get injector(){return new Ne(this._hostTNode,this._hostLView)}get parentInjector(){const t=na(this._hostTNode,this._hostLView);if(pu(t)){const n=oi(t,this._hostLView),r=ri(t);return new Ne(n[w].data[r+8],n)}return new Ne(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=U_(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-pe}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const s=nr(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,er(this._hostTNode,s)),a}createComponent(t,n,r,o,i){const s=t&&!function Yo(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 c=s?t:new Oi(U(t)),l=r||this.parentInjector;if(!i&&null==c.ngModule){const g=(s?l:this.parentInjector).get(ft,null);g&&(i=g)}const u=U(c.componentType??{}),d=nr(this._lContainer,u?.id??null),f=c.create(l,o,d?.firstChild??null,i);return this.insertImpl(f.hostView,a,er(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const o=t._lView;if(function KT(e){return He(e[we])}(o)){const a=this.indexOf(t);if(-1!==a)this.detach(a);else{const c=o[we],l=new H_(c,c[ke],c[we]);l.detach(l.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;return to(s,o,i,r),t.attachToViewContainerRef(),Kp(Od(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=U_(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=mi(this._lContainer,n);r&&(Os(Od(this._lContainer),n),Ma(r[w],r))}detach(t){const n=this._adjustIndex(t,-1),r=mi(this._lContainer,n);return r&&null!=Os(Od(this._lContainer),n)?new Ei(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function U_(e){return e[8]}function Od(e){return e[8]||(e[8]=[])}function $_(e,t){let n;const r=t[e.index];return He(r)?n=r:(n=Zy(r,t,null,e),t[e.index]=n,Na(t,n)),z_(n,t,e,r),new H_(n,e,t)}let z_=function W_(e,t,n,r){if(e[Wt])return;let o;o=8&n.type?q(r):function Ax(e,t){const n=e[P],r=n.createComment(""),o=Ye(t,e);return Xn(n,ed(n,o),r,function MN(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[Wt]=o},Rd=()=>!1;class Pd{constructor(t){this.queryList=t,this.matches=null}clone(){return new Pd(this.queryList)}setDirty(){this.queryList.setDirty()}}class Ld{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let i=0;it.trim())}(t):t}}class kd{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r0)r.push(s[a/2]);else{const l=i[a+1],u=t[-c];for(let d=pe;d=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Go(o.hostAttrs,n=Go(n,o.hostAttrs))}}(r)}function Qx(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const r=t.inputs[n];if(void 0!==r&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],null!==t.inputTransforms)){const o=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=t.inputTransforms[o]}}}function Ua(e){return e===Ut?{}:e===Y?[]:e}function Jx(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function Kx(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function eO(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}class ir{}class aO{}class $d extends ir{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new V_(this);const o=function Be(e,t){const n=e[Yp]||null;if(!n&&!0===t)throw new Error(`Type ${Ie(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function pt(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=ym(t,n,[{provide:ir,useValue:this},{provide:rr,useValue:this.componentFactoryResolver},...r],Ie(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 zd extends aO{constructor(t){super(),this.moduleType=t}create(t){return new $d(this.moduleType,t,[])}}function Jt(e,t,n){return e[t]=n}function ge(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function sr(e,t,n,r){const o=ge(e,t,n);return ge(e,t+1,r)||o}function Li(e,t,n,r,o,i,s,a,c,l){const u=n+T,d=t.firstCreatePass?function pO(e,t,n,r,o,i,s,a,c){const l=t.consts,u=Kn(t,e,4,s||null,a||null);ld(t,n,u,vt(l,c)),Xs(t,u);const d=u.tView=cd(2,u,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return null!==t.queries&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}(u,t,e,r,o,i,s,a,c):t.data[u];At(d,!1);const h=vv(t,e,d,n);ti()&&Ia(t,e,h,d),Ue(h,e);const f=Zy(h,e,h,d);return e[u]=f,Na(e,f),function G_(e,t,n){return Rd(e,t,n)}(f,d,e),Gs(d)&&sd(t,e,d),null!=c&&ad(e,d,l),d}function Sn(e,t,n,r,o,i,s,a){const c=_(),l=H();return Li(c,l,e,t,n,r,o,vt(l.consts,i),s,a),Sn}let vv=function wv(e,t,n,r){return qt(!0),t[P].createComment("")};function Qa(e,t){return e<<17|t<<2}function An(e){return e>>17&32767}function nf(e){return 2|e}function cr(e){return(131068&e)>>2}function rf(e,t){return-131069&e|t<<2}function sf(e){return 1|e}function Jv(e,t,n,r){const o=e[n+1],i=null===t;let s=r?An(o):cr(o),a=!1;for(;0!==s&&(!1===a||i);){const l=e[s+1];KO(e[s],t)&&(a=!0,e[s+1]=r?sf(l):nf(l)),s=r?An(l):cr(l)}a&&(e[n+1]=r?nf(o):sf(o))}function KO(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Rr(e,t)>=0}const Ae={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Kv(e){return e.substring(Ae.key,Ae.keyEnd)}function ew(e,t){const n=Ae.textEnd;return n===t?-1:(t=Ae.keyEnd=function rR(e,t,n){for(;t32;)t++;return t}(e,Ae.key=t,n),Do(e,t,n))}function Do(e,t,n){for(;t=0;n=ew(t,n))ut(e,Kv(t),!0)}function aw(e,t){return t>=e.expandoStartIndex}function cw(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[Fe()],s=aw(e,n);fw(i,r)&&null===t&&!s&&(t=!1),t=function aR(e,t,n,r){const o=function au(e){const t=L.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=Vi(n=lf(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=lf(o,e,t,n,r),null===i){let c=function cR(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==cr(r))return e[An(r)]}(e,t,r);void 0!==c&&Array.isArray(c)&&(c=lf(null,e,t,c[1],r),c=Vi(c,t.attrs,r),function lR(e,t,n,r){e[An(n?t.classBindings:t.styleBindings)]=r}(e,t,r,c))}else i=function uR(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(l=!0)):u=n,o)if(0!==c){const h=An(e[a+1]);e[r+1]=Qa(h,a),0!==h&&(e[h+1]=rf(e[h+1],r)),e[a+1]=function ZO(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=Qa(a,0),0!==a&&(e[a+1]=rf(e[a+1],r)),a=r;else e[r+1]=Qa(c,0),0===a?a=r:e[c+1]=rf(e[c+1],r),c=r;l&&(e[r+1]=nf(e[r+1])),Jv(e,u,r,!0),Jv(e,u,r,!1),function JO(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Rr(i,t)>=0&&(n[r+1]=sf(n[r+1]))}(t,u,e,r,i),s=Qa(a,c),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}function lf(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=null===u;let h=n[o+1];h===F&&(h=d?Y:void 0);let f=d?Pl(h,r):u===r?h:void 0;if(l&&!Xa(f)&&(f=Pl(c,r)),Xa(f)&&(a=f,s))return a;const p=e[o+1];o=s?An(p):cr(p)}if(null!==t){let c=i?t.residualClasses:t.residualStyles;null!=c&&(a=Pl(c,r))}return a}function Xa(e){return void 0!==e}function fw(e,t){return!!(e.flags&(t?8:16))}function $(e,t,n,r){const o=_(),i=H(),s=T+e,a=o[P],c=i.firstCreatePass?function FR(e,t,n,r,o,i){const s=t.consts,c=Kn(t,e,2,r,vt(s,o));return ld(t,n,c,vt(s,i)),null!==c.attrs&&Ba(c,c.attrs,!1),null!==c.mergedAttrs&&Ba(c,c.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,c),c}(s,i,o,t,n,r):i.data[s],l=mw(i,o,c,a,t,e);o[s]=l;const u=Gs(c);return At(c,!0),Vy(a,l,c),!function io(e){return!(32&~e.flags)}(c)&&ti()&&Ia(i,o,l,c),0===function eS(){return L.lFrame.elementDepthCount}()&&Ue(l,o),function tS(){L.lFrame.elementDepthCount++}(),u&&(sd(i,o,c),id(i,c,o)),null!==r&&ad(o,c),$}function W(){let e=K();ou()?iu():(e=e.parent,At(e,!1));const t=e;(function rS(e){return L.skipHydrationRootTNode===e})(t)&&function aS(){L.skipHydrationRootTNode=null}(),function nS(){L.lFrame.elementDepthCount--}();const n=H();return n.firstCreatePass&&(Xs(n,e),Yl(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function _S(e){return!!(8&e.flags)}(t)&&af(n,t,_(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function vS(e){return!!(16&e.flags)}(t)&&af(n,t,_(),t.stylesWithoutHost,!1),W}function tn(e,t,n,r){return $(e,t,n,r),W(),tn}let mw=(e,t,n,r,o,i)=>(qt(!0),ba(r,o,function Xg(){return L.lFrame.currentNamespace}()));function lr(e,t,n){const r=_(),o=H(),i=e+T,s=o.firstCreatePass?function BR(e,t,n,r,o){const i=t.consts,s=vt(i,r),a=Kn(t,e,8,"ng-container",s);return null!==s&&Ba(a,s,!0),ld(t,n,a,vt(i,o)),null!==t.queries&&t.queries.elementStart(t,a),a}(i,o,r,t,n):o.data[i];At(s,!0);const a=_w(o,r,s,e);return r[i]=a,ti()&&Ia(o,r,a,s),Ue(a,r),Gs(s)&&(sd(o,r,s),id(o,s,r)),null!=n&&ad(r,s),lr}function ur(){let e=K();const t=H();return ou()?iu():(e=e.parent,At(e,!1)),t.firstCreatePass&&(Xs(t,e),Yl(e)&&t.queries.elementEnd(e)),ur}let _w=(e,t,n,r)=>(qt(!0),Qu(t[P],""));function hf(){return _()}function pf(e,t,n){const r=_();return ge(r,xt(),t)&&st(H(),oe(),r,e,t,r[P],n,!0),pf}const dr=void 0;var zR=["en",[["a","p"],["AM","PM"],dr],[["AM","PM"],dr,dr],[["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"]],dr,[["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"]],dr,[["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}",dr,"{1} 'at' {0}",dr],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function $R(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Co={};function Xe(e){const t=function WR(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Ew(t);if(n)return n;const r=t.split("-")[0];if(n=Ew(r),n)return n;if("en"===r)return zR;throw new C(701,!1)}function Ew(e){return e in Co||(Co[e]=ae.ng&&ae.ng.common&&ae.ng.common.locales&&ae.ng.common.locales[e]),Co[e]}var ie=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}(ie||{});const YR=["zero","one","two","few","many"],bo="en-US",Ka={marker:"element"},ec={marker:"ICU"};var at=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(at||{});let Dw=bo;let Bi=0,Hi=0;let Ui=(e,t,n,r)=>(qt(!0),function bw(e,t,n){const r=e[P];switch(n){case Node.COMMENT_NODE:return Qu(r,t);case Node.TEXT_NODE:return Zu(r,t);case Node.ELEMENT_NODE:return ba(r,t,null)}}(e,n,r));function Mw(e,t,n,r){const o=n[P];let s,i=null;for(let a=0;a>>1,n),null,null,f,p,null)}else switch(c){case ec:const l=t[++a],u=t[++a];null===n[u]&&Ue(n[u]=Ui(n,u,l,Node.COMMENT_NODE),n);break;case Ka:const d=t[++a],h=t[++a];null===n[h]&&Ue(n[h]=Ui(n,h,d,Node.ELEMENT_NODE),n)}}}function Iw(e,t,n,r,o){for(let i=0;i>>2;switch(3&u){case 1:const h=n[++l],f=n[++l],p=e.data[d];"string"==typeof p?dd(t[P],t[d],null,p,h,c,f):st(e,p,t,h,c,t[P],f,!1);break;case 0:const g=t[d];null!==g&&My(t[P],g,c);break;case 2:nP(e,Mi(e,d),t,c);break;case 3:Tw(e,Mi(e,d),r,t)}}}}else{const c=n[i+1];if(c>0&&!(3&~c)){const u=Mi(e,c>>>2);t[u.currentCaseLViewIndex]<0&&Tw(e,u,r,t)}}i+=a}}function Tw(e,t,n,r){let o=r[t.currentCaseLViewIndex];if(null!==o){let i=Bi;o<0&&(o=r[t.currentCaseLViewIndex]=~o,i=-1),Iw(e,r,t.update[o],n,i)}}function nP(e,t,n,r){const o=function rP(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const r=function qR(e,t){const n=function ww(e){return Xe(e)[ie.PluralCase]}(t)(parseInt(e,10)),r=YR[n];return void 0!==r?r:"other"}(t,function QR(){return Dw}());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(Pa(t,n)!==o&&(Sw(e,t,n),n[t.currentCaseLViewIndex]=null===o?null:~o,null!==o)){const s=n[t.anchorIdx];s&&Mw(e,t.create[o],n,s),function KA(e,t,n){M_(e,t,n)}(n,t.anchorIdx,o)}}function Sw(e,t,n){let r=Pa(t,n);if(null!==r){const o=t.remove[r];for(let i=0;i0){const a=Xo(s,n);null!==a&&yi(n[P],a)}else Sw(e,Mi(e,~s),n)}}}const tc=/\ufffd(\d+):?\d*\ufffd/gi,iP=/\ufffd(\d+)\ufffd/,Aw=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,$i="\ufffd",sP=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,aP=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,cP=/\uE500/g;function xw(e,t,n,r,o,i,s){const a=_i(e,r,1,null);let c=a<n.length&&n.push(c)}return{type:r,mainBinding:o,cases:t,values:n}}function gf(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 c=e.substring(t,a);Aw.test(c)?r.push(gP(c)):r.push(c),t=a+1}}else{if(0==n.length){const c=e.substring(t,a);r.push(c),t=a+1}n.push("{")}}const s=e.substring(t);return r.push(s),r}function mP(e,t,n,r,o,i,s,a,c){const l=[],u=[],d=[];n.cases.push(s),n.create.push(l),n.remove.push(u),n.update.push(d);const f=function cy(e){const t=new B0(e);return function H0(){try{return!!(new window.DOMParser).parseFromString(Qr(""),"text/html")}catch{return!1}}()?new V0(t):t}(Cn()).getInertBodyElement(a),p=function zu(e){return"content"in e&&function X0(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}(f)||f;return p?Lw(e,t,n,r,o,l,u,d,p,i,c,0):0}function Lw(e,t,n,r,o,i,s,a,c,l,u,d){let h=0,f=c.firstChild;for(;f;){const p=_i(t,r,1,null);switch(f.nodeType){case Node.ELEMENT_NODE:const g=f,m=g.tagName.toLowerCase();if(Uu.hasOwnProperty(m)){mf(i,Ka,m,l,p),t.data[p]=m;const N=g.attributes;for(let O=0;O>>at.SHIFT;let d=e[u],h=!1;null===d&&(d=e[u]=Ui(e,u,t[i],(s&at.COMMENT)===at.COMMENT?Node.COMMENT_NODE:Node.TEXT_NODE),h=ti()),l&&null!==n&&h&&Xn(o,n,d,r,!1)}}(o,c.create,u,d),$g(!0)}function De(e,t,n){jw(e,t,n),function Vw(){$g(!1)}()}function xn(e){return function XR(e){e&&(Bi|=1<0){const r=e.data[n];Iw(e,t,Array.isArray(r)?r:r.update,function cn(){return L.lFrame.bindingIndex}()-Hi-1,Bi)}Bi=0,Hi=0}(H(),_(),e+T)}let Bw=(e,t,n)=>{};function nc(e,t,n,r){const o=_(),i=H(),s=K();return function yf(e,t,n,r,o,i,s){const a=Gs(r),l=e.firstCreatePass&&Jy(e),u=t[re],d=Xy(t);let h=!0;if(3&r.type||s){const g=Ye(r,t),m=s?s(g):g,v=d.length,y=s?N=>s(q(N[r.index])):r.index;let D=null;if(!s&&a&&(D=function xP(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;ic?a[c]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==D)(D.__ngLastListenerFn__||D).__ngNextListenerFn__=i,D.__ngLastListenerFn__=i,h=!1;else{i=zw(r,t,u,i),Bw(g,o,i);const N=n.listen(m,o,i);d.push(i,N),l&&l.push(o,y,v,v+1)}}else i=zw(r,t,u,i);const f=r.outputs;let p;if(h&&null!==f&&(p=f[o])){const g=p.length;if(g)for(let m=0;m-1?ht(e.index,t):t,5);let a=$w(t,n,r,i),c=o.__ngNextListenerFn__;for(;c;)a=$w(t,n,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function Ft(e=1){return function fS(e){return(L.lFrame.contextLView=function Pg(e,t){for(;e>0;)t=t[jr],e--;return t}(e,L.lFrame.contextLView))[re]}(e)}function OP(e,t){let n=null;const r=function gT(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let o=0;o(qt(!0),Zu(t[P],r));function Gi(e){return wf("",e,""),Gi}function wf(e,t,n){const r=_(),o=function po(e,t,n,r){return ge(e,xt(),n)?t+k(n)+r:F}(r,e,t,n);return o!==F&&function dn(e,t,n){const r=Xo(t,e);My(e[P],r,n)}(r,Fe(),o),wf}function Ef(e,t,n,r,o){if(e=R(e),Array.isArray(e))for(let i=0;i>20;if($n(e)||!e.multi){const f=new ni(l,o,j),p=Cf(c,t,o?u:u+h,d);-1===p?(yu(ta(a,s),i,c),Df(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[p]=f,s[p]=f)}else{const f=Cf(c,t,u+h,d),p=Cf(c,t,u,u+h),m=p>=0&&n[p];if(o&&!m||!o&&!(f>=0&&n[f])){yu(ta(a,s),i,c);const v=function tL(e,t,n,r,o){const i=new ni(e,n,j);return i.multi=[],i.index=t,i.componentProviders=0,SE(i,o,r&&!n),i}(o?eL:KP,n.length,o,r,l);!o&&m&&(n[p].providerFactory=v),Df(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(v),s.push(v)}else Df(i,e,f>-1?f:p,SE(n[o?p:f],l,!o&&r));!o&&r&&m&&n[p].componentProviders++}}}function Df(e,t,n,r){const o=$n(t),i=function ST(e){return!!e.useClass}(t);if(o||i){const c=(i?R(t.useClass):t).prototype.ngOnDestroy;if(c){const l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const u=l.indexOf(n);-1===u?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function SE(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Cf(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function JP(e,t,n){const r=H();if(r.firstCreatePass){const o=Nt(e);Ef(n,r.data,r.blueprint,o,!0),Ef(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}function Mo(e,t,n,r,o,i){return function PE(e,t,n,r,o,i,s,a){const c=t+n;return function za(e,t,n,r,o){const i=sr(e,t,n,r);return ge(e,t+2,o)||i}(e,c,o,i,s)?Jt(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):Wi(e,c+3)}(_(),qe(),e,t,n,r,o,i)}function Wi(e,t){const n=e[t];return n===F?void 0:n}function nn(e,t){const n=H();let r;const o=e+T;n.firstCreatePass?(r=function mL(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=Hn(r.type)),a=tt(j);try{const c=ea(!1),l=i();return ea(c),function vf(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,_(),o,l),l}finally{tt(a)}}function FE(e,t,n){const r=e+T,o=_(),i=Wn(o,r);return Yi(o,r)?function OE(e,t,n,r,o,i){const s=t+n;return ge(e,s,o)?Jt(e,s+1,i?r.call(i,o):r(o)):Wi(e,s+1)}(o,qe(),t,i.transform,n,i):i.transform(n)}function ic(e,t,n,r){const o=e+T,i=_(),s=Wn(i,o);return Yi(i,o)?function RE(e,t,n,r,o,i,s){const a=t+n;return sr(e,a,o,i)?Jt(e,a+2,s?r.call(s,o,i):r(o,i)):Wi(e,a+2)}(i,qe(),t,s.transform,n,r,s):s.transform(n,r)}function Io(e,t,n){const r=e+T,o=_(),i=Wn(o,r);return Yi(o,r)?function kE(e,t,n,r,o,i){let s=t+n,a=!1;for(let c=0;c{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Of||(function f1(e){Of=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:()=>{z.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!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()}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)(E(z),E(xf),E(lc))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})(),xf=(()=>{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 Of?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Rf(e){return!!e&&"function"==typeof e.then}function iD(e){return!!e&&"function"==typeof e.subscribe}const h1=new M("");let Pf=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=b(h1,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=o();if(Rf(i))n.push(i);else if(iD(i)){const s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});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=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Lf=new M("");function cD(e,t){return Array.isArray(t)?t.reduce(cD,e):{...e,...t}}let Et=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=b(YS),this.afterRenderEffectManager=b(ja),this.zonelessEnabled=b(Ni),this.externalTestViews=new Set,this.beforeRender=new Pe,this.afterTick=new Pe,this.componentTypes=[],this.components=[],this.isStable=b(Dn).hasPendingTasks.pipe(Ge(n=>!n)),this._injector=b(ft)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof A_;if(!this._injector.get(Pf).done)throw!o&&function Un(e){const t=U(e)||Te(e)||Le(e);return null!==t&&t.standalone}(n),new C(405,!1);let s;s=o?n:this._injector.get(rr).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function p1(e){return e.isBoundToModule}(s)?void 0:this._injector.get(ir),l=s.create(fe.NULL,[],r||s.selector,a),u=l.location.nativeElement,d=l.injector.get(oD,null);return d?.registerApplication(u),l.onDestroy(()=>{this.detachView(l.hostView),uc(this.components,l),d?.unregisterApplication(u)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new C(101,!1);const r=B(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(o){this.internalErrorHandler(o)}finally{this._runningTick=!1,B(r),this.afterTick.next()}}detectChangesInAttachedViews(n){let r=null;this._injector.destroyed||(r=this._injector.get(Td,null,{optional:!0}));let o=0;const i=this.afterRenderEffectManager;for(;o<10;){const s=0===o;if(n||!s){this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:c}of this._views)m1(a,c,s,this.zonelessEnabled)}else r?.begin?.(),r?.end?.();if(o++,i.executeInternalCallbacks(),!this.allViews.some(({_lView:a})=>Ko(a))&&(i.execute(),!this.allViews.some(({_lView:a})=>Ko(a))))break}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;uc(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(Lf,[]);[...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),()=>uc(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new C(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=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function uc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function m1(e,t,n,r){(n||Ko(e))&&xa(e,t,n&&!r?0:1)}let w1=(()=>{class e{constructor(){this.zone=b(z),this.changeDetectionScheduler=b(ro),this.applicationRef=b(Et)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function kf({ngZoneFactory:e,ignoreChangesOutsideZone:t}){return e??=()=>new z(Ff()),[{provide:z,useFactory:e},{provide:$t,multi:!0,useFactory:()=>{const n=b(w1,{optional:!0});return()=>n.initialize()}},{provide:$t,multi:!0,useFactory:()=>{const n=b(D1);return()=>{n.initialize()}}},!0===t?{provide:N_,useValue:!0}:[]]}function Ff(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let D1=(()=>{class e{constructor(){this.subscription=new je,this.initialized=!1,this.zone=b(z),this.pendingTasks=b(Dn)}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(()=>{z.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{z.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Qi=(()=>{class e{constructor(){this.appRef=b(Et),this.taskService=b(Dn),this.ngZone=b(z),this.zonelessEnabled=b(Ni),this.disableScheduling=b(N_,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new je,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Cu||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&5===n)return;switch(n){case 3:case 2:case 0:case 4:case 5:case 1:this.shouldRefreshViews=!0}if(!this.shouldScheduleTick())return;const r=this.useMicrotaskScheduler?wm:vm;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=r(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=r(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&z.isInAngularZone())}tick(n){if(this.runningTick||this.appRef.destroyed)return;const r=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(n)},void 0,this.schedulerTickApplyArgs)}catch(o){throw this.taskService.remove(r),o}finally{this.cleanup()}this.useMicrotaskScheduler=!0,wm(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(r)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const jt=new M("",{providedIn:"root",factory:()=>b(jt,G.Optional|G.SkipSelf)||function C1(){return typeof $localize<"u"&&$localize.locale||bo}()}),b1=new M("",{providedIn:"root",factory:()=>"USD"}),Vf=new M("");let hD=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function WS(e="zone.js",t){return"noop"===e?new Cu:"zone.js"===e?new z(t):e}(r?.ngZone,Ff({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=r?.ignoreChangesOutsideZone,s=function lO(e,t,n){return new $d(e,t,n)}(n.moduleType,this.injector,[...kf({ngZoneFactory:()=>o,ignoreChangesOutsideZone:i}),{provide:ro,useExisting:Qi}]),a=s.injector.get(Rt,null);return o.runOutsideAngular(()=>{const c=o.onError.subscribe({next:l=>{a.handleError(l)}});s.onDestroy(()=>{uc(this._modules,s),c.unsubscribe()})}),function aD(e,t,n){try{const r=n();return Rf(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(a,o,()=>{const c=s.injector.get(Pf);return c.runInitializers(),c.donePromise.then(()=>(function Cw(e){"string"==typeof e&&(Dw=e.toLowerCase().replace(/_/g,"-"))}(s.injector.get(jt,bo)||bo),this._moduleDoBootstrap(s),s))})})}bootstrapModule(n,r=[]){const o=cD({},r);return function v1(e,t,n){const r=new zd(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(Et);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new C(-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 C(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Vf,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)(E(fe))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),On=null;const pD=new M("");function gD(e,t,n=[]){const r=`Platform: ${t}`,o=new M(r);return(i=[])=>{let s=Bf();if(!s||s.injector.get(pD,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function I1(e){if(On&&!On.get(pD,!1))throw new C(400,!1);(function sD(){!function CM(e){up=e}(()=>{throw new C(600,!1)})})(),On=e;const t=e.get(hD);(function yD(e){e.get(Gm,null)?.forEach(n=>n())})(e)}(function mD(e=[],t){return fe.create({name:t,providers:[{provide:Hl,useValue:"platform"},{provide:Vf,useValue:new Set([()=>On=null])},...e]})}(a,r))}return function T1(e){const t=Bf();if(!t)throw new C(401,!1);return t}()}}function Bf(){return On?.get(hD)??null}let Hf=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=N1}return e})();function N1(e){return function A1(e,t,n){if(Gn(e)&&!n){const r=ht(e.index,t);return new Ei(r,r)}return 175&e.type?new Ei(t[ue],t):null}(K(),_(),!(16&~e))}const U1=gD(null,"core",[]);let $1=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(E(Et))};static#t=this.\u0275mod=zt({type:e});static#n=this.\u0275inj=Mt({})}return e})();const zD=new M("");function Qf(e){const t=B(null);try{return e()}finally{B(t)}}let eC=null;function No(){return eC}class xk{}const he=new M("");let tC=(()=>{class e{historyGo(n){throw new Error("")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=I({token:e,factory:()=>b(Ok),providedIn:"platform"})}return e})(),Ok=(()=>{class e extends tC{constructor(){super(),this._doc=b(he),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return No().getBaseHref(this._doc)}onPopState(n){const r=No().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=No().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=I({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function nC(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function rC(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function gr(e){return e&&"?"!==e[0]?"?"+e:e}let Xf=(()=>{class e{historyGo(n){throw new Error("")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=I({token:e,factory:()=>b(Pk),providedIn:"root"})}return e})();const Rk=new M("");let Pk=(()=>{class e extends Xf{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??b(he).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return nC(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+gr(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){const s=this.prepareExternalUrl(o+gr(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){const s=this.prepareExternalUrl(o+gr(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static#e=this.\u0275fac=function(r){return new(r||e)(E(tC),E(Rk,8))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),oC=(()=>{class e{constructor(n){this._subject=new Ot,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const r=this._locationStrategy.getBaseHref();this._basePath=function Fk(e){if(new RegExp("^(https?:)?//").test(e)){const[,n]=e.split(/\/\/[^\/]+/);return n}return e}(rC(iC(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+gr(r))}normalize(n){return e.stripTrailingSlash(function kk(e,t){if(!e||!t.startsWith(e))return t;const n=t.substring(e.length);return""===n||["/",";","?","#"].includes(n[0])?n:t}(this._basePath,iC(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+gr(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+gr(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{const r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}static#e=this.normalizeQueryParams=gr;static#t=this.joinWithSlash=nC;static#n=this.stripTrailingSlash=rC;static#r=this.\u0275fac=function(r){return new(r||e)(E(Xf))};static#o=this.\u0275prov=I({token:e,factory:()=>function Lk(){return new oC(E(Xf))}(),providedIn:"root"})}return e})();function iC(e){return e.replace(/\/index.html$/,"")}const sC={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 es=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(es||{});const de={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 ze(e,t){const n=Xe(e),r=n[ie.NumberSymbols][t];if(typeof r>"u"){if(t===de.CurrencyDecimal)return n[ie.NumberSymbols][de.Decimal];if(t===de.CurrencyGroup)return n[ie.NumberSymbols][de.Group]}return r}function bc(e,t){return Xe(e)[ie.NumberFormats][t]}const uF=/^(\d+)?\.((\d+)(-(\d+))?)?$/,dC=22,xc=".",ts="0",dF=";",fF=",",th="#";function nh(e,t,n,r,o,i,s=!1){let a="",c=!1;if(isFinite(e)){let l=function _F(e){let r,o,i,s,a,t=Math.abs(e)+"",n=0;for((o=t.indexOf(xc))>-1&&(t=t.replace(xc,"")),(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)===ts;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===ts;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>dC&&(r=r.splice(0,dC-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}(e);s&&(l=function yF(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}(l));let u=t.minInt,d=t.minFrac,h=t.maxFrac;if(i){const y=i.match(uF);if(null===y)throw new Error(`${i} is not a valid digit info`);const D=y[1],N=y[3],V=y[5];null!=D&&(u=oh(D)),null!=N&&(d=oh(N)),null!=V?h=oh(V):null!=N&&d>h&&(h=d)}!function vF(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=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=l?p.pop():c=!1),h>=10?1:0},0);u&&(r.unshift(u),e.integerLen++)}(l,d,h);let f=l.digits,p=l.integerLen;const g=l.exponent;let m=[];for(c=f.every(y=>!y);p0?m=f.splice(p,f.length):(m=f,f=[0]);const v=[];for(f.length>=t.lgSize&&v.unshift(f.splice(-t.lgSize,f.length).join(""));f.length>t.gSize;)v.unshift(f.splice(-t.gSize,f.length).join(""));f.length&&v.unshift(f.join("")),a=v.join(ze(n,r)),m.length&&(a+=ze(n,o)+m.join("")),g&&(a+=ze(n,de.Exponential)+"+"+g)}else a=ze(n,de.Infinity);return a=e<0&&!c?t.negPre+a+t.negSuf:t.posPre+a+t.posSuf,a}function rh(e,t="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(dF),o=r[0],i=r[1],s=-1!==o.indexOf(xc)?o.split(xc):[o.substring(0,o.lastIndexOf(ts)+1),o.substring(o.lastIndexOf(ts)+1)],a=s[0],c=s[1]||"";n.posPre=a.substring(0,a.indexOf(th));for(let u=0;u{class e{constructor(n,r){this._viewContainer=n,this._context=new IF,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){vC("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){vC("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)(j(Pt),j(fn))};static#t=this.\u0275dir=dt({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class IF{constructor(){this.$implicit=null,this.ngIf=null}}function vC(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Ie(t)}'.`)}class ah{constructor(t,n){this._viewContainerRef=t,this._templateRef=n,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let Oc=(()=>{class e{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(n){this._ngSwitch=n,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(n){this._defaultViews.push(n)}_matchCase(n){const r=n===this._ngSwitch;return this._lastCasesMatched||=r,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),r}_updateDefaultCases(n){if(this._defaultViews.length>0&&n!==this._defaultUsed){this._defaultUsed=n;for(const r of this._defaultViews)r.enforceState(n)}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=dt({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return e})(),wC=(()=>{class e{constructor(n,r,o){this.ngSwitch=o,o._addCase(),this._view=new ah(n,r)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(r){return new(r||e)(j(Pt),j(fn),j(Oc,9))};static#t=this.\u0275dir=dt({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return e})();function Bt(e,t){return new C(2100,!1)}class SF{createSubscription(t,n){return Qf(()=>t.subscribe({next:n,error:r=>{throw r}}))}dispose(t){Qf(()=>t.unsubscribe())}}class NF{createSubscription(t,n){return t.then(n,r=>{throw r})}dispose(t){}}const AF=new NF,xF=new SF;let DC=(()=>{class e{constructor(n){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,r=>this._updateLatestValue(n,r))}_selectStrategy(n){if(Rf(n))return AF;if(iD(n))return xF;throw Bt()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,r){n===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static#e=this.\u0275fac=function(r){return new(r||e)(j(Hf,16))};static#t=this.\u0275pipe=rt({name:"async",type:e,pure:!1,standalone:!0})}return e})(),bC=(()=>{class e{constructor(n){this._locale=n}transform(n,r,o){if(!lh(n))return null;o||=this._locale;try{return function mF(e,t,n){return nh(e,rh(bc(t,es.Decimal),ze(t,de.MinusSign)),t,de.Group,de.Decimal,n)}(uh(n),o,r)}catch(i){throw Bt()}}static#e=this.\u0275fac=function(r){return new(r||e)(j(jt,16))};static#t=this.\u0275pipe=rt({name:"number",type:e,pure:!0,standalone:!0})}return e})(),ch=(()=>{class e{constructor(n,r="USD"){this._locale=n,this._defaultCurrencyCode=r}transform(n,r=this._defaultCurrencyCode,o="symbol",i,s){if(!lh(n))return null;s||=this._locale,"boolean"==typeof o&&(o=o?"symbol":"code");let a=r||this._defaultCurrencyCode;"code"!==o&&(a="symbol"===o||"symbol-narrow"===o?function qk(e,t,n="en"){const r=function zk(e){return Xe(e)[ie.Currencies]}(n)[e]||sC[e]||[],o=r[1];return"narrow"===t&&"string"==typeof o?o:r[0]||e}(a,"symbol"===o?"wide":"narrow",s):o);try{return function pF(e,t,n,r,o){const s=rh(bc(t,es.Currency),ze(t,de.MinusSign));return s.minFrac=function Qk(e){let t;const n=sC[e];return n&&(t=n[2]),"number"==typeof t?t:2}(r),s.maxFrac=s.minFrac,nh(e,s,t,de.CurrencyGroup,de.CurrencyDecimal,o).replace("\xa4",n).replace("\xa4","").trim()}(uh(n),s,a,r,i)}catch(c){throw Bt()}}static#e=this.\u0275fac=function(r){return new(r||e)(j(jt,16),j(b1,16))};static#t=this.\u0275pipe=rt({name:"currency",type:e,pure:!0,standalone:!0})}return e})();function lh(e){return!(null==e||""===e||e!=e)}function uh(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error(`${e} is not a number`);return e}let YF=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=zt({type:e});static#n=this.\u0275inj=Mt({})}return e})();const MC="browser";function IC(e){return"server"===e}class TC{}class bj extends xk{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class ph extends bj{static makeCurrent(){!function Ak(e){eC??=e}(new ph)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}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 Mj(){return os=os||document.querySelector("base"),os?os.getAttribute("href"):null}();return null==n?null:function Ij(e){return new URL(e,document.baseURI).pathname}(n)}resetBaseElement(){os=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return pC(document.cookie,t)}}let os=null,Sj=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();const kc=new M("");let FC=(()=>{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 C(5101,!1);return this._eventNameToPlugin.set(n,r),r}static#e=this.\u0275fac=function(r){return new(r||e)(E(kc),E(z))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();class gh{constructor(t){this._doc=t}}const mh="ng-app-id";let jC=(()=>{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=IC(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[${mh}="${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(mh),i;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(mh,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)(E(he),E(Yr),E(Wm,8),E(bn))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();const yh={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/Math/MathML"},_h=/%COMP%/g,Oj=new M("",{providedIn:"root",factory:()=>!0});function BC(e,t){return t.map(n=>n.replace(_h,e))}let HC=(()=>{class e{constructor(n,r,o,i,s,a,c,l=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=IC(a),this.defaultRenderer=new vh(n,s,c,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===It.ShadowDom&&(r={...r,encapsulation:It.Emulated});const o=this.getOrCreateRenderer(n,r);return o instanceof $C?o.applyToHost(n):o instanceof wh&&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,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case It.Emulated:i=new $C(c,l,r,this.appId,u,s,a,d);break;case It.ShadowDom:return new kj(c,l,n,r,s,a,this.nonce,d);default:i=new wh(c,l,r,u,s,a,d)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||e)(E(FC),E(jC),E(Yr),E(Oj),E(he),E(bn),E(z),E(Wm))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();class vh{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(yh[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(UC(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(UC(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new C(-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=yh[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=yh[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&(In.DashCase|In.Important)?t.style.setProperty(n,r,o&In.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&In.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=No().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 UC(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class kj extends vh{constructor(t,n,r,o,i,s,a,c){super(t,i,s,c),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=BC(o.id,o.styles);for(const u of l){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,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(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class wh extends vh{constructor(t,n,r,o,i,s,a,c){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=c?BC(c,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class $C extends wh{constructor(t,n,r,o,i,s,a,c){const l=o+"-"+r.id;super(t,n,r,i,s,a,c,l),this.contentAttr=function Rj(e){return"_ngcontent-%COMP%".replace(_h,e)}(l),this.hostAttr=function Pj(e){return"_nghost-%COMP%".replace(_h,e)}(l)}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 Fj=(()=>{class e extends gh{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)(E(he))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})(),jj=(()=>{class e extends gh{constructor(n){super(n),this.delegate=b(zD,{optional:!0})}supports(n){return!!this.delegate&&this.delegate.supports(n)}addEventListener(n,r,o){return this.delegate.addEventListener(n,r,o)}removeEventListener(n,r,o){return this.delegate.removeEventListener(n,r,o)}static#e=this.\u0275fac=function(r){return new(r||e)(E(he))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();const zC=["alt","control","meta","shift"],Vj={"\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"},Bj={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let Hj=(()=>{class e extends gh{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(()=>No().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."),zC.forEach(l=>{const u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=i,0!=r.length||0===i.length)return null;const c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let o=Vj[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"),zC.forEach(s=>{s!==o&&(0,Bj[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)(E(he))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();const Gj=gD(U1,"browser",[{provide:bn,useValue:MC},{provide:Gm,useValue:function Uj(){ph.makeCurrent()},multi:!0},{provide:he,useFactory:function zj(){return function y0(e){Tu=e}(document),document},deps:[]}]),Wj=new M(""),YC=[{provide:lc,useClass:class Tj{addToWindow(t){ae.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new C(5103,!1);return i},ae.getAllAngularTestabilities=()=>t.getAllTestabilities(),ae.getAllAngularRootElements=()=>t.getAllRootElements(),ae.frameworkStabilizers||(ae.frameworkStabilizers=[]),ae.frameworkStabilizers.push(r=>{const o=ae.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?No().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:oD,useClass:Af,deps:[z,xf,lc]},{provide:Af,useClass:Af,deps:[z,xf,lc]}],qC=[{provide:Hl,useValue:"root"},{provide:Rt,useFactory:function $j(){return new Rt},deps:[]},{provide:kc,useClass:Fj,multi:!0,deps:[he,z,bn]},{provide:kc,useClass:Hj,multi:!0,deps:[he]},{provide:kc,useClass:jj,multi:!0},HC,jC,FC,{provide:Td,useExisting:HC},{provide:TC,useClass:Sj,deps:[]},[]];let Yj=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Yr,useValue:n.appId}]}}static#e=this.\u0275fac=function(r){return new(r||e)(E(Wj,12))};static#t=this.\u0275mod=zt({type:e});static#n=this.\u0275inj=Mt({providers:[...qC,...YC],imports:[YF,$1]})}return e})();var Jj=Kh.t(JSON.parse('{"ckeditorLicense":"ETYPME234.GTL514TCO770","sentryUrl":"https://055692dd96b545f9a5a6287694cd14b2@o1177741.ingest.sentry.io/6725188","matomoContainerUrl":"https://cdn.matomo.cloud/anyday.matomo.cloud/container_Dv9yazIC.js","enableCookieConsent":"true","seonJsFile":"https://cdn.seondf.com/js/v5/agent.js","marqetaJsFile":""}'),2);const yr={host:"",basePath:"/api/v1/internal/",basePathV2:"/api/v2/internal/",production:!0,lazyTimeMs:0,ckeditorLicense:Jj.ckeditorLicense,sentryUrl:Jj.sentryUrl,matomoContainerUrl:Jj.matomoContainerUrl,enableCookieConsent:"true"===Jj.enableCookieConsent,storytellerApi:"8414e416-8684-4a36-89dc-8ab4b5acb1d5",seonJsFile:Jj.seonJsFile,marqetaJsFile:Jj.marqetaJsFile};function XC(e,t=0){return function Kj(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}(e)?Number(e):2===arguments.length?t:0}function JC(e){return Array.isArray(e)?e:[e]}function be(e){return null==e?"":"string"==typeof e?e:`${e}px`}function KC(e){return e instanceof Qt?e.nativeElement:e}class Eh{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class e2 extends Eh{constructor(t,n,r,o,i){super(),this.component=t,this.viewContainerRef=n,this.injector=r,this.componentFactoryResolver=o,this.projectableNodes=i}}class eb extends Eh{constructor(t,n,r,o){super(),this.templateRef=t,this.viewContainerRef=n,this.context=r,this.injector=o}get origin(){return this.templateRef.elementRef}attach(t,n=this.context){return this.context=n,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class t2 extends Eh{constructor(t){super(),this.element=t instanceof Qt?t.nativeElement:t}}class n2{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof e2?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof eb?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof t2?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class r2 extends n2{constructor(t,n,r,o,i){super(),this.outletElement=t,this._componentFactoryResolver=n,this._appRef=r,this._defaultInjector=o,this.attachDomPortal=s=>{const a=s.element,c=this._document.createComment("dom-portal");a.parentNode.insertBefore(c,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(a,c)})},this._document=i}attachComponentPortal(t){const r=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let o;return t.viewContainerRef?(o=t.viewContainerRef.createComponent(r,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector,t.projectableNodes||void 0),this.setDisposeFn(()=>o.destroy())):(o=r.create(t.injector||this._defaultInjector||fe.NULL),this._appRef.attachView(o.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(o.hostView),o.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(o)),this._attachedPortal=t,o}attachTemplatePortal(t){let n=t.viewContainerRef,r=n.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return r.rootNodes.forEach(o=>this.outletElement.appendChild(o)),r.detectChanges(),this.setDisposeFn(()=>{let o=n.indexOf(r);-1!==o&&n.remove(o)}),this._attachedPortal=t,r}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let o2=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=zt({type:e});static#n=this.\u0275inj=Mt({})}return e})();function Rn(e){return this instanceof Rn?(this.v=e,this):new Rn(e)}function ob(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 Mh(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,c){!function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}(a,c,(s=e[i](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Ih=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function ib(e){return ee(e?.then)}function sb(e){return ee(e[cl])}function ab(e){return Symbol.asyncIterator&&ee(e?.[Symbol.asyncIterator])}function cb(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 lb=function T2(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function ub(e){return ee(e?.[lb])}function db(e){return function rb(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},a("next"),a("throw"),a("return",function s(f){return function(p){return Promise.resolve(p).then(f,d)}}),o[Symbol.asyncIterator]=function(){return this},o;function a(f,p){r[f]&&(o[f]=function(g){return new Promise(function(m,v){i.push([f,g,m,v])>1||c(f,g)})},p&&(o[f]=p(o[f])))}function c(f,p){try{!function l(f){f.value instanceof Rn?Promise.resolve(f.value.v).then(u,d):h(i[0][2],f)}(r[f](p))}catch(g){h(i[0][3],g)}}function u(f){c("next",f)}function d(f){c("throw",f)}function h(f,p){f(p),i.shift(),i.length&&c(i[0][0],i[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield Rn(n.read());if(o)return yield Rn(void 0);yield yield Rn(r)}}finally{n.releaseLock()}})}function fb(e){return ee(e?.getReader)}function Ht(e){if(e instanceof _e)return e;if(null!=e){if(sb(e))return function S2(e){return new _e(t=>{const n=e[cl]();if(ee(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Ih(e))return function N2(e){return new _e(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,yp)})}(e);if(ab(e))return hb(e);if(ub(e))return function x2(e){return new _e(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(fb(e))return function O2(e){return hb(db(e))}(e)}throw cb(e)}function hb(e){return new _e(t=>{(function R2(e,t){var n,r,o,i;return function tb(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=ob(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 Th(e){return et((t,n)=>{Ht(e).subscribe(Ve(n,()=>n.complete(),jo)),!n.closed&&t.subscribe(n)})}let pb=(()=>{class e{get $onDestroy(){return this._onDestroySubject.asObservable()}takeUntilDestroyed(){return Th(this.$onDestroy)}constructor(){this._onDestroySubject=new Pe}ngOnDestroy(){this._onDestroySubject.next(),this._onDestroySubject.complete()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=dt({type:e})}return e})();const Sh={now:()=>(Sh.delegate||Date).now(),delegate:void 0};class _r extends Pe{constructor(t=1/0,n=1/0,r=Sh){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{n.subscribe(Ve(r,o=>gn(r,e,()=>r.next(o),t),()=>gn(r,e,()=>r.complete(),t),o=>gn(r,e,()=>r.error(o),t)))})}function mb(e,t=0){return et((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function yb(e,t){if(!e)throw new Error("Iterable cannot be null");return new _e(n=>{gn(n,t,()=>{const r=e[Symbol.asyncIterator]();gn(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Ro(e,t){return t?function G2(e,t){if(null!=e){if(sb(e))return function B2(e,t){return Ht(e).pipe(mb(t),gb(t))}(e,t);if(Ih(e))return function U2(e,t){return new _e(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(ib(e))return function H2(e,t){return Ht(e).pipe(mb(t),gb(t))}(e,t);if(ab(e))return yb(e,t);if(ub(e))return function $2(e,t){return new _e(n=>{let r;return gn(n,t,()=>{r=e[lb](),gn(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)}),()=>ee(r?.return)&&r.return()})}(e,t);if(fb(e))return function z2(e,t){return yb(db(e),t)}(e,t)}throw cb(e)}(e,t):Ht(e)}const{isArray:W2}=Array;function _b(e){return Ge(t=>function Y2(e,t){return W2(t)?e(...t):e(t)}(e,t))}function vb(e){return e&&ee(e.schedule)}function Nh(e){return e[e.length-1]}function is(e){return vb(Nh(e))?e.pop():void 0}function Ah(...e){const t=is(e),n=function q2(e){return ee(Nh(e))?e.pop():void 0}(e),{args:r,keys:o}=function j2(e){if(1===e.length){const t=e[0];if(P2(t))return{args:t,keys:null};if(function V2(e){return e&&"object"==typeof e&&L2(e)===k2}(t)){const n=F2(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}(e);if(0===r.length)return Ro([],t);const i=new _e(function X2(e,t,n=Vo){return r=>{wb(t,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let c=0;c{const l=Ro(e[c],t);let u=!1;l.subscribe(Ve(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,t,o?s=>function Q2(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}(o,s):Vo));return n?i.pipe(_b(n)):i}function wb(e,t,n){e?gn(n,e,t):t()}class J2 extends je{constructor(t,n){super()}schedule(t,n=0){return this}}const jc={setInterval(e,t,...n){const{delegate:r}=jc;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){const{delegate:t}=jc;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};class xh extends J2{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;const o=this.id,i=this.scheduler;return null!=o&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=null!==(r=this.id)&&void 0!==r?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return jc.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(null!=r&&this.delay===r&&!1===this.pending)return n;null!=n&&jc.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(t,n);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let o,r=!1;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){const{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,_s(r,this),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}}class ss{constructor(t,n=ss.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}}ss.now=Sh.now;class Oh extends ss{constructor(t,n=ss.now){super(t,n),this.actions=[],this._active=!1}flush(t){const{actions:n}=this;if(this._active)return void n.push(t);let r;this._active=!0;do{if(r=t.execute(t.state,t.delay))break}while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}}const Rh=new Oh(xh),K2=Rh;function Ph(e=0,t,n=K2){let r=-1;return null!=t&&(vb(t)?n=t:r=t),new _e(o=>{let i=function e4(e){return e instanceof Date&&!isNaN(e)}(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function as(e,t,n=1/0){return ee(t)?as((r,o)=>Ge((i,s)=>t(r,i,o,s))(Ht(e(r,o))),n):("number"==typeof t&&(n=t),et((r,o)=>function t4(e,t,n,r,o,i,s,a){const c=[];let l=0,u=0,d=!1;const h=()=>{d&&!c.length&&!l&&t.complete()},f=g=>l{i&&t.next(g),l++;let m=!1;Ht(n(g,u++)).subscribe(Ve(t,v=>{o?.(v),i?f(v):t.next(v)},()=>{m=!0},void 0,()=>{if(m)try{for(l--;c.length&&lp(v)):p(v)}h()}catch(v){t.error(v)}}))};return e.subscribe(Ve(t,f,()=>{d=!0,h()})),()=>{a?.()}}(r,o,e,n)))}function Eb(e=1/0){return as(Vo,e)}function Db(...e){return function n4(){return Eb(1)}()(Ro(e,is(e)))}function Ct(...e){const t=is(e);return et((n,r)=>{(t?Db(e,n,t):Db(e,n)).subscribe(r)})}function Cb(e){return et((t,n)=>{let r=!1,o=null;t.subscribe(Ve(n,i=>{r=!0,o=i})),Ht(e).subscribe(Ve(n,()=>{if(r){r=!1;const i=o;o=null,n.next(i)}},jo))})}const Lh=new _e(e=>e.complete());function kh(e){return e<=0?()=>Lh:et((t,n)=>{let r=0;t.subscribe(Ve(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function vr(e,t){return et((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(Ve(r,c=>{o?.unsubscribe();let l=0;const u=i++;Ht(e(c,u)).subscribe(o=Ve(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}const bb=new _e(jo);function Vc(e,t=Rh){return et((n,r)=>{let o=null,i=null,s=null;const a=()=>{if(o){o.unsubscribe(),o=null;const l=i;i=null,r.next(l)}};function c(){const l=s+e,u=t.now();if(u{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function wr(e,t){return et((n,r)=>{let o=0;n.subscribe(Ve(r,i=>e.call(t,i,o++)&&r.next(i)))})}function i4(e,t){return e===t}let c4=(()=>{class e{create(n){return typeof MutationObserver>"u"?null:new MutationObserver(n)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),l4=(()=>{class e{constructor(n){this._mutationObserverFactory=n,this._observedElements=new Map,this._ngZone=b(z)}ngOnDestroy(){this._observedElements.forEach((n,r)=>this._cleanupObserver(r))}observe(n){const r=KC(n);return new _e(o=>{const s=this._observeElement(r).pipe(Ge(a=>a.filter(c=>!function a4(e){if("characterData"===e.type&&e.target instanceof Comment)return!0;if("childList"===e.type){for(let t=0;t!!a.length)).subscribe(a=>{this._ngZone.run(()=>{o.next(a)})});return()=>{s.unsubscribe(),this._unobserveElement(r)}})}_observeElement(n){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(n))this._observedElements.get(n).count++;else{const r=new Pe,o=this._mutationObserverFactory.create(i=>r.next(i));o&&o.observe(n,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(n,{observer:o,stream:r,count:1})}return this._observedElements.get(n).stream})}_unobserveElement(n){this._observedElements.has(n)&&(this._observedElements.get(n).count--,this._observedElements.get(n).count||this._cleanupObserver(n))}_cleanupObserver(n){if(this._observedElements.has(n)){const{observer:r,stream:o}=this._observedElements.get(n);r&&r.disconnect(),o.complete(),this._observedElements.delete(n)}}static#e=this.\u0275fac=function(r){return new(r||e)(E(c4))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Mb=(()=>{class e extends pb{static#e=this.priceMatcher=/(\d[\d,.\s]+\d|\d{1,2})/;constructor(n,r,o,i){super(),this.contentObserver=n,this.priceTag=r,this.document=o,this.localeId=i}watchSelector$(n,r){return Ah([n,r.pipe(Ct(this.localeId))]).pipe(Vc(1),vr(([o,i])=>this.watchPriceElement(o,i)),wr(o=>!!o),function o4(e,t=Vo){return e=e??i4,et((n,r)=>{let o,i=!0;n.subscribe(Ve(r,s=>{const a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}(),this.takeUntilDestroyed())}watchPriceElement(n,r){let i,o=e.findCommonParent(n,this.priceTag.nativeElement);return i=o?this.observe(o):this.observe(this.document.body).pipe(Vc(1),Ge(()=>e.findCommonParent(n,this.priceTag.nativeElement)),wr(s=>!!s),kh(1),vr(s=>this.observe(s))),i.pipe(Ge(s=>e.findElement(n,s)),vr(s=>this.observe(s)),Vc(1),Ge(s=>e.getPriceFromElement(s,r)))}observe(n){return n?this.contentObserver.observe(n).pipe(Ct(void 0),function s4(e){return Ge(()=>e)}(n)):bb}static findCommonParent(n,r){let i,o=r;do{o=o?.parentElement,i=this.findElement(n,o)}while(o&&!i);return o}static findElement(n,r){return r?.querySelector(n)??null}static getPriceFromElement(n,r){return this.getPriceFromText(n.innerText,r)}static getPriceFromText(n,r){let o=this.getCleanedPriceText(n);if(null!==o)return this.validateFormat(o,r),o=this.replaceLocaleGroupWithBlank(o,r),o=this.replaceLocaleDecimalWithPeriod(o,r),parseFloat(o);console.error("Anyday-Price-Tag found a valid 'price-tag-selector' element but could not find a valid number '"+n+"'")}static getCleanedPriceText(n){const r=this.priceMatcher.exec(n);return r&&r[1]||null}static validateFormat(n,r){if(!this.isFormatValid(n,r)){let i=bc(r,es.Currency);console.error("Anyday-Price-Tag the format of the price '"+n+"' did not match the locale '"+r+"'. Expected format for locale '"+r+"' is '"+i+"'")}}static isFormatValid(n,r){let o=ze(r,de.CurrencyDecimal),i=ze(r,de.CurrencyGroup);"."===o?o="\\.":"."===i&&(i="\\.");let c=new RegExp("^(\\d{1,3})(["+i+"\\s]{1}\\d{3})*("+o+"\\d+)?$|^(\\d+)?("+o+"\\d+)?$").exec(n);return!(!c||!c[1])}static replaceLocaleDecimalWithPeriod(n,r){let o=ze(r,de.CurrencyDecimal);return n.replace(new RegExp(this.escapeRegExp(o),"g"),".")}static replaceLocaleGroupWithBlank(n,r){let o=ze(r,de.CurrencyGroup),i=this.escapeRegExp(o);return n.replace(new RegExp(i,"g"),"")}static escapeRegExp(n){return n.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&").replace(/\s/g,"\\s")}static#t=this.\u0275fac=function(r){return new(r||e)(E(l4),E(Qt),E(he),E(jt))};static#n=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();var Er=function(e){return e[e.Fine=0]="Fine",e[e.MerchantDeactivated=1]="MerchantDeactivated",e[e.WebShopNotfound=2]="WebShopNotfound",e[e.WebShopHostNotAllowed=3]="WebShopHostNotAllowed",e[e.CannotConnectToAPI=4]="CannotConnectToAPI",e[e.Unknown=5]="Unknown",e}(Er||{});let u4=(()=>{class e{static getLocale(n,r){return{DKK:"da",USD:"en"}[n]||r}static format(n,r,o=2){n||(n=0),r||(r="DKK");const i=this.getLocale(r,"da"),s=`1.${o}-${o}`;return new ch(i,r).transform(n,r,"symbol-narrow",s,i)||String(n)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ib(e,t,n,r,o,i,s){try{var a=e[i](s),c=a.value}catch(l){return void n(l)}a.done?t(c):Promise.resolve(c).then(r,o)}function Fh(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function s(c){Ib(i,r,o,s,a,"next",c)}function a(c){Ib(i,r,o,s,a,"throw",c)}s(void 0)})}}let d4=(()=>{class e{calculateEstimatedPrice(n){var r=this;return Fh(function*(){const o={totalPrice:parseFloat(XC(n.totalPrice,0).toFixed(2)),currency:n.currency},i={error:Er.Fine};try{i.estimate={currency:o.currency,totalPrice:o.totalPrice,splitCount:4,splitPercent:25,monthlyPayment:r.bankersRounding(o.totalPrice/4,2)}}catch{i.error=Er.Unknown,console.error("Price tag unknown error, please contact Anyday support")}return i})()}bankersRounding(n,r){let o=r||0,i=Math.pow(10,o),s=+(o?n*i:n).toFixed(8),a=Math.floor(s),c=s-a,u=c>.5-1e-8&&c<.5+1e-8?a%2==0?a:a+1:Math.round(s);return o?u/i:u}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),f4=(()=>{class e{constructor(n){this.priceEstimateService=n}watchPrice(n,r,o){const i=Ah([o.pipe(Ct(void 0)),r.pipe(Ct(void 0)),n.pipe(Ct(void 0))]).pipe(Ge(([a,c,l])=>({priceTagToken:a,currency:c,totalPrice:l}))),s=i.pipe(wr(a=>void 0!==a.currency&&void 0!==a.totalPrice&&void 0!==a.priceTagToken));return i.pipe(Cb(Ph(3e3)),kh(1),Th(s)).subscribe(a=>{this.checkQuery(a)}),s.pipe(Vc(1e3),vr(a=>this.priceEstimateService.calculateEstimatedPrice(a)))}checkQuery(n){const r=[];if(void 0===n.totalPrice&&r.push("Total price could not be resolved. If there are no other validation errors or warnings in the log this is likely because the 'price-tag-selector' could not be located."),void 0===n.priceTagToken&&r.push("Price tag token not set, did you forget to specify the 'price-tag-token' attribute?"),void 0===n.currency&&r.push("Currency not set, did you forget to specify the 'currency' attribute"),r.length>0)throw new Error("Anyday price tag error: "+r.join(", "))}static#e=this.\u0275fac=function(r){return new(r||e)(E(d4))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function jh(...e){return Ro(e,is(e))}const h4=["addListener","removeListener"],p4=["addEventListener","removeEventListener"],g4=["on","off"];function Vh(e,t,n,r){if(ee(n)&&(r=n,n=void 0),r)return Vh(e,t,n).pipe(_b(r));const[o,i]=function _4(e){return ee(e.addEventListener)&&ee(e.removeEventListener)}(e)?p4.map(s=>a=>e[s](t,a,n)):function m4(e){return ee(e.addListener)&&ee(e.removeListener)}(e)?h4.map(Tb(e,t)):function y4(e){return ee(e.on)&&ee(e.off)}(e)?g4.map(Tb(e,t)):[];if(!o&&Ih(e))return as(s=>Vh(s,t,n))(Ht(e));if(!o)throw new TypeError("Invalid event target");return new _e(s=>{const a=(...c)=>s.next(1i(a)})}function Tb(e,t){return n=>r=>e[n](t,r)}const cs={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame;const{delegate:r}=cs;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);const o=t(i=>{n=void 0,e(i)});return new je(()=>n?.(o))},requestAnimationFrame(...e){const{delegate:t}=cs;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){const{delegate:t}=cs;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};new class w4 extends Oh{flush(t){this._active=!0;const n=this._scheduled;this._scheduled=void 0;const{actions:r}=this;let o;t=t||r.shift();do{if(o=t.execute(t.state,t.delay))break}while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}}(class v4 extends xh{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return null!==r&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=cs.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var o;if(null!=r?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);const{actions:i}=t;null!=n&&(null===(o=i[i.length-1])||void 0===o?void 0:o.id)!==n&&(cs.cancelAnimationFrame(n),t._scheduled=void 0)}});let Bh,D4=1;const Bc={};function Sb(e){return e in Bc&&(delete Bc[e],!0)}const C4={setImmediate(e){const t=D4++;return Bc[t]=!0,Bh||(Bh=Promise.resolve()),Bh.then(()=>Sb(t)&&e()),t},clearImmediate(e){Sb(e)}},{setImmediate:b4,clearImmediate:M4}=C4,Hc={setImmediate(...e){const{delegate:t}=Hc;return(t?.setImmediate||b4)(...e)},clearImmediate(e){const{delegate:t}=Hc;return(t?.clearImmediate||M4)(e)},delegate:void 0};new class T4 extends Oh{flush(t){this._active=!0;const n=this._scheduled;this._scheduled=void 0;const{actions:r}=this;let o;t=t||r.shift();do{if(o=t.execute(t.state,t.delay))break}while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}}(class I4 extends xh{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return null!==r&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=Hc.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,n,r=0){var o;if(null!=r?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);const{actions:i}=t;null!=n&&(null===(o=i[i.length-1])||void 0===o?void 0:o.id)!==n&&(Hc.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0))}});function Nb(e,t=Rh){return function N4(e){return et((t,n)=>{let r=!1,o=null,i=null,s=!1;const a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;const l=o;o=null,n.next(l)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(Ve(n,l=>{r=!0,o=l,i||Ht(e(l)).subscribe(i=Ve(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}(()=>Ph(e,t))}let Hh;try{Hh=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Hh=!1}let Dr,ls=(()=>{class e{constructor(n){this._platformId=n,this.isBrowser=this._platformId?function ZF(e){return e===MC}(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Hh)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.\u0275fac=function(r){return new(r||e)(E(bn))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function x4(){if(null==Dr){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Dr=!1,Dr;if("scrollBehavior"in document.documentElement.style)Dr=!0;else{const e=Element.prototype.scrollTo;Dr=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return Dr}function xb(e){return e.composedPath?e.composedPath()[0]:e.target}function Ob(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}const R4=new M("cdk-dir-doc",{providedIn:"root",factory:function P4(){return b(he)}}),L4=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let F4=(()=>{class e{constructor(n){this.value="ltr",this.change=new Ot,n&&(this.value=function k4(e){const t=e?.toLowerCase()||"";return"auto"===t&&typeof navigator<"u"&&navigator?.language?L4.test(navigator.language)?"rtl":"ltr":"rtl"===t?"rtl":"ltr"}((n.body?n.body.dir:null)||(n.documentElement?n.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(r){return new(r||e)(E(R4,8))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),$h=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=zt({type:e});static#n=this.\u0275inj=Mt({})}return e})(),V4=(()=>{class e{constructor(n,r,o){this._ngZone=n,this._platform=r,this._scrolled=new Pe,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(n){this.scrollContainers.has(n)||this.scrollContainers.set(n,n.elementScrolled().subscribe(()=>this._scrolled.next(n)))}deregister(n){const r=this.scrollContainers.get(n);r&&(r.unsubscribe(),this.scrollContainers.delete(n))}scrolled(n=20){return this._platform.isBrowser?new _e(r=>{this._globalSubscription||this._addGlobalListener();const o=n>0?this._scrolled.pipe(Nb(n)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):jh()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((n,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(n,r){const o=this.getAncestorScrollContainers(n);return this.scrolled(r).pipe(wr(i=>!i||o.indexOf(i)>-1))}getAncestorScrollContainers(n){const r=[];return this.scrollContainers.forEach((o,i)=>{this._scrollableContainsElement(i,n)&&r.push(i)}),r}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(n,r){let o=KC(r),i=n.getElementRef().nativeElement;do{if(o==i)return!0}while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Vh(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(r){return new(r||e)(E(z),E(ls),E(he,8))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Rb=(()=>{class e{constructor(n,r,o){this._platform=n,this._change=new Pe,this._changeListener=i=>{this._change.next(i)},this._document=o,r.runOutsideAngular(()=>{if(n.isBrowser){const i=this._getWindow();i.addEventListener("resize",this._changeListener),i.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const n=this._getWindow();n.removeEventListener("resize",this._changeListener),n.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n}getViewportRect(){const n=this.getViewportScrollPosition(),{width:r,height:o}=this.getViewportSize();return{top:n.top,left:n.left,bottom:n.top+o,right:n.left+r,height:o,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const n=this._document,r=this._getWindow(),o=n.documentElement,i=o.getBoundingClientRect();return{top:-i.top||n.body.scrollTop||r.scrollY||o.scrollTop||0,left:-i.left||n.body.scrollLeft||r.scrollX||o.scrollLeft||0}}change(n=20){return n>0?this._change.pipe(Nb(n)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const n=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:n.innerWidth,height:n.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(r){return new(r||e)(E(ls),E(z),E(he,8))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Pb=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=zt({type:e});static#n=this.\u0275inj=Mt({})}return e})(),Lb=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=zt({type:e});static#n=this.\u0275inj=Mt({imports:[$h,Pb,$h,Pb]})}return e})();function kb(...e){const t=is(e),n=function Z2(e,t){return"number"==typeof Nh(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?Ht(r[0]):Eb(n)(Ro(r,t)):Lh}const Fb=x4();class H4{constructor(t,n){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=n}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=be(-this._previousScrollPosition.left),t.style.top=be(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,r=t.style,o=this._document.body.style,i=r.scrollBehavior||"",s=o.scrollBehavior||"";this._isEnabled=!1,r.left=this._previousHTMLStyles.left,r.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),Fb&&(r.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Fb&&(r.scrollBehavior=i,o.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const n=this._document.body,r=this._viewportRuler.getViewportSize();return n.scrollHeight>r.height||n.scrollWidth>r.width}}class U4{constructor(t,n,r,o){this._scrollDispatcher=t,this._ngZone=n,this._viewportRuler=r,this._config=o,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0).pipe(wr(n=>!n||!this._overlayRef.overlayElement.contains(n.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const n=this._viewportRuler.getViewportScrollPosition().top;Math.abs(n-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class jb{enable(){}disable(){}attach(){}}function zh(e,t){return t.some(n=>e.bottomn.bottom||e.rightn.right)}function Vb(e,t){return t.some(n=>e.topn.bottom||e.leftn.right)}class $4{constructor(t,n,r,o){this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=r,this._config=o,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const n=this._overlayRef.overlayElement.getBoundingClientRect(),{width:r,height:o}=this._viewportRuler.getViewportSize();zh(n,[{width:r,height:o,bottom:o,right:r,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let z4=(()=>{class e{constructor(n,r,o,i){this._scrollDispatcher=n,this._viewportRuler=r,this._ngZone=o,this.noop=()=>new jb,this.close=s=>new U4(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new H4(this._viewportRuler,this._document),this.reposition=s=>new $4(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=i}static#e=this.\u0275fac=function(r){return new(r||e)(E(V4),E(Rb),E(z),E(he))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class G4{constructor(t){if(this.scrollStrategy=new jb,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const n=Object.keys(t);for(const r of n)void 0!==t[r]&&(this[r]=t[r])}}}class W4{constructor(t,n){this.connectionPair=t,this.scrollableViewProperties=n}}let Bb=(()=>{class e{constructor(n){this._attachedOverlays=[],this._document=n}ngOnDestroy(){this.detach()}add(n){this.remove(n),this._attachedOverlays.push(n)}remove(n){const r=this._attachedOverlays.indexOf(n);r>-1&&this._attachedOverlays.splice(r,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(r){return new(r||e)(E(he))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Y4=(()=>{class e extends Bb{constructor(n,r){super(n),this._ngZone=r,this._keydownListener=o=>{const i=this._attachedOverlays;for(let s=i.length-1;s>-1;s--)if(i[s]._keydownEvents.observers.length>0){const a=i[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(o)):a.next(o);break}}}add(n){super.add(n),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static#e=this.\u0275fac=function(r){return new(r||e)(E(he),E(z,8))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),q4=(()=>{class e extends Bb{constructor(n,r,o){super(n),this._platform=r,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=i=>{this._pointerDownEventTarget=xb(i)},this._clickListener=i=>{const s=xb(i),a="click"===i.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const c=this._attachedOverlays.slice();for(let l=c.length-1;l>-1;l--){const u=c[l];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(Hb(u.overlayElement,s)||Hb(u.overlayElement,a))break;const d=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>d.next(i)):d.next(i)}}}add(n){if(super.add(n),!this._isAttached){const r=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(r)):this._addEventListeners(r),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=r.style.cursor,r.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const n=this._document.body;n.removeEventListener("pointerdown",this._pointerDownListener,!0),n.removeEventListener("click",this._clickListener,!0),n.removeEventListener("auxclick",this._clickListener,!0),n.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(n.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(n){n.addEventListener("pointerdown",this._pointerDownListener,!0),n.addEventListener("click",this._clickListener,!0),n.addEventListener("auxclick",this._clickListener,!0),n.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(r){return new(r||e)(E(he),E(ls),E(z,8))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Hb(e,t){const n=typeof ShadowRoot<"u"&&ShadowRoot;let r=t;for(;r;){if(r===e)return!0;r=n&&r instanceof ShadowRoot?r.host:r.parentNode}return!1}let Ub=(()=>{class e{constructor(n,r){this._platform=r,this._document=n}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const n="cdk-overlay-container";if(this._platform.isBrowser||Ob()){const o=this._document.querySelectorAll(`.${n}[platform="server"], .${n}[platform="test"]`);for(let i=0;ithis._backdropClick.next(h),this._backdropTransitionendHandler=h=>{this._disposeBackdrop(h.target)},this._keydownEvents=new Pe,this._outsidePointerEvents=new Pe,this._renders=new Pe,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy,this._afterRenderRef=Qf(()=>function P_(e,t){!t&&Bs();const n=t?.injector??b(fe);return it(n)?(Ze("NgAfterRender"),k_(e,n,!1,t?.phase??Qe.MixedReadWrite)):R_}(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const n=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),function L_(e,t){!t&&Bs();const n=t?.injector??b(fe);return it(n)?(Ze("NgAfterNextRender"),k_(e,n,!0,t?.phase??Qe.MixedReadWrite)):R_}(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof n?.onDestroy&&n.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),n}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,t&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config={...this._config,...t},this._updateElementSize()}setDirection(t){this._config={...this._config,direction:t},this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=be(this._config.width),t.height=be(this._config.height),t.minWidth=be(this._config.minWidth),t.minHeight=be(this._config.minHeight),t.maxWidth=be(this._config.maxWidth),t.maxHeight=be(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const t=this._backdropElement;if(t){if(this._animationsDisabled)return void this._disposeBackdrop(t);t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,n,r){const o=JC(n||[]).filter(i=>!!i);o.length&&(r?t.classList.add(...o):t.classList.remove(...o))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{const t=this._renders.pipe(Th(kb(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const $b="cdk-overlay-connected-position-bounding-box",Q4=/([A-Za-z%]+)$/;class X4{get positions(){return this._preferredPositions}constructor(t,n,r,o,i){this._viewportRuler=n,this._document=r,this._platform=o,this._overlayContainer=i,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new Pe,this._resizeSubscription=je.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}attach(t){this._validatePositions(),t.hostElement.classList.add($b),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._originRect,n=this._overlayRect,r=this._viewportRect,o=this._containerRect,i=[];let s;for(let a of this._preferredPositions){let c=this._getOriginPoint(t,o,a),l=this._getOverlayPoint(c,n,a),u=this._getOverlayFit(l,n,r,a);if(u.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,c);this._canFitWithFlexibleDimensions(u,l,r)?i.push({position:a,origin:c,overlayRect:n,boundingBoxRect:this._calculateBoundingBoxRect(c,a)}):(!s||s.overlayFit.visibleAreac&&(c=u,a=l)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Cr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove($b),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const n=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,n)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,n,r){let o,i;if("center"==r.originX)o=t.left+t.width/2;else{const s=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;o="start"==r.originX?s:a}return n.left<0&&(o-=n.left),i="center"==r.originY?t.top+t.height/2:"top"==r.originY?t.top:t.bottom,n.top<0&&(i-=n.top),{x:o,y:i}}_getOverlayPoint(t,n,r){let o,i;return o="center"==r.overlayX?-n.width/2:"start"===r.overlayX?this._isRtl()?-n.width:0:this._isRtl()?0:-n.width,i="center"==r.overlayY?-n.height/2:"top"==r.overlayY?0:-n.height,{x:t.x+o,y:t.y+i}}_getOverlayFit(t,n,r,o){const i=Gb(n);let{x:s,y:a}=t,c=this._getOffset(o,"x"),l=this._getOffset(o,"y");c&&(s+=c),l&&(a+=l);let h=0-a,f=a+i.height-r.height,p=this._subtractOverflows(i.width,0-s,s+i.width-r.width),g=this._subtractOverflows(i.height,h,f),m=p*g;return{visibleArea:m,isCompletelyWithinViewport:i.width*i.height===m,fitsInViewportVertically:g===i.height,fitsInViewportHorizontally:p==i.width}}_canFitWithFlexibleDimensions(t,n,r){if(this._hasFlexibleDimensions){const o=r.bottom-n.y,i=r.right-n.x,s=zb(this._overlayRef.getConfig().minHeight),a=zb(this._overlayRef.getConfig().minWidth);return(t.fitsInViewportVertically||null!=s&&s<=o)&&(t.fitsInViewportHorizontally||null!=a&&a<=i)}return!1}_pushOverlayOnScreen(t,n,r){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const o=Gb(n),i=this._viewportRect,s=Math.max(t.x+o.width-i.width,0),a=Math.max(t.y+o.height-i.height,0),c=Math.max(i.top-r.top-t.y,0),l=Math.max(i.left-r.left-t.x,0);let u=0,d=0;return u=o.width<=i.width?l||-s:t.xp&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-p/2)}if("end"===n.overlayX&&!o||"start"===n.overlayX&&o)h=r.width-t.x+2*this._viewportMargin,u=t.x-this._viewportMargin;else if("start"===n.overlayX&&!o||"end"===n.overlayX&&o)d=t.x,u=r.right-t.x;else{const f=Math.min(r.right-t.x+r.left,t.x),p=this._lastBoundingBoxSize.width;u=2*f,d=t.x-f,u>p&&!this._isInitialRender&&!this._growAfterOpen&&(d=t.x-p/2)}return{top:s,left:d,bottom:a,right:h,width:u,height:i}}_setBoundingBoxStyles(t,n){const r=this._calculateBoundingBoxRect(t,n);!this._isInitialRender&&!this._growAfterOpen&&(r.height=Math.min(r.height,this._lastBoundingBoxSize.height),r.width=Math.min(r.width,this._lastBoundingBoxSize.width));const o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{const i=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;o.height=be(r.height),o.top=be(r.top),o.bottom=be(r.bottom),o.width=be(r.width),o.left=be(r.left),o.right=be(r.right),o.alignItems="center"===n.overlayX?"center":"end"===n.overlayX?"flex-end":"flex-start",o.justifyContent="center"===n.overlayY?"center":"bottom"===n.overlayY?"flex-end":"flex-start",i&&(o.maxHeight=be(i)),s&&(o.maxWidth=be(s))}this._lastBoundingBoxSize=r,Cr(this._boundingBox.style,o)}_resetBoundingBoxStyles(){Cr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Cr(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,n){const r={},o=this._hasExactPosition(),i=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(o){const u=this._viewportRuler.getViewportScrollPosition();Cr(r,this._getExactOverlayY(n,t,u)),Cr(r,this._getExactOverlayX(n,t,u))}else r.position="static";let a="",c=this._getOffset(n,"x"),l=this._getOffset(n,"y");c&&(a+=`translateX(${c}px) `),l&&(a+=`translateY(${l}px)`),r.transform=a.trim(),s.maxHeight&&(o?r.maxHeight=be(s.maxHeight):i&&(r.maxHeight="")),s.maxWidth&&(o?r.maxWidth=be(s.maxWidth):i&&(r.maxWidth="")),Cr(this._pane.style,r)}_getExactOverlayY(t,n,r){let o={top:"",bottom:""},i=this._getOverlayPoint(n,this._overlayRect,t);return this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,r)),"bottom"===t.overlayY?o.bottom=this._document.documentElement.clientHeight-(i.y+this._overlayRect.height)+"px":o.top=be(i.y),o}_getExactOverlayX(t,n,r){let s,o={left:"",right:""},i=this._getOverlayPoint(n,this._overlayRect,t);return this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,r)),s=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===s?o.right=this._document.documentElement.clientWidth-(i.x+this._overlayRect.width)+"px":o.left=be(i.x),o}_getScrollVisibility(){const t=this._getOriginRect(),n=this._pane.getBoundingClientRect(),r=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Vb(t,r),isOriginOutsideView:zh(t,r),isOverlayClipped:Vb(n,r),isOverlayOutsideView:zh(n,r)}}_subtractOverflows(t,...n){return n.reduce((r,o)=>r-Math.max(o,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,n=this._document.documentElement.clientHeight,r=this._viewportRuler.getViewportScrollPosition();return{top:r.top+this._viewportMargin,left:r.left+this._viewportMargin,right:r.left+t-this._viewportMargin,bottom:r.top+n-this._viewportMargin,width:t-2*this._viewportMargin,height:n-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,n){return"x"===n?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&JC(t).forEach(n=>{""!==n&&-1===this._appliedPanelClasses.indexOf(n)&&(this._appliedPanelClasses.push(n),this._pane.classList.add(n))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof Qt)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const n=t.width||0,r=t.height||0;return{top:t.y,bottom:t.y+r,left:t.x,right:t.x+n,height:r,width:n}}}function Cr(e,t){for(let n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function zb(e){if("number"!=typeof e&&null!=e){const[t,n]=e.split(Q4);return n&&"px"!==n?null:parseFloat(t)}return e||null}function Gb(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}const Wb="cdk-global-overlay-wrapper";class K4{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){const n=t.getConfig();this._overlayRef=t,this._width&&!n.width&&t.updateSize({width:this._width}),this._height&&!n.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(Wb),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement.style,r=this._overlayRef.getConfig(),{width:o,height:i,maxWidth:s,maxHeight:a}=r,c=!("100%"!==o&&"100vw"!==o||s&&"100%"!==s&&"100vw"!==s),l=!("100%"!==i&&"100vh"!==i||a&&"100%"!==a&&"100vh"!==a),u=this._xPosition,d=this._xOffset,h="rtl"===this._overlayRef.getConfig().direction;let f="",p="",g="";c?g="flex-start":"center"===u?(g="center",h?p=d:f=d):h?"left"===u||"end"===u?(g="flex-end",f=d):("right"===u||"start"===u)&&(g="flex-start",p=d):"left"===u||"start"===u?(g="flex-start",f=d):("right"===u||"end"===u)&&(g="flex-end",p=d),t.position=this._cssPosition,t.marginLeft=c?"0":f,t.marginTop=l?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=c?"0":p,n.justifyContent=g,n.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement,r=n.style;n.classList.remove(Wb),r.justifyContent=r.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let eV=(()=>{class e{constructor(n,r,o,i){this._viewportRuler=n,this._document=r,this._platform=o,this._overlayContainer=i}global(){return new K4}flexibleConnectedTo(n){return new X4(n,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(r){return new(r||e)(E(Rb),E(he),E(ls),E(Ub))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),tV=0,$c=(()=>{class e{constructor(n,r,o,i,s,a,c,l,u,d,h,f){this.scrollStrategies=n,this._overlayContainer=r,this._componentFactoryResolver=o,this._positionBuilder=i,this._keyboardDispatcher=s,this._injector=a,this._ngZone=c,this._document=l,this._directionality=u,this._location=d,this._outsideClickDispatcher=h,this._animationsModuleType=f}create(n){const r=this._createHostElement(),o=this._createPaneElement(r),i=this._createPortalOutlet(o),s=new G4(n);return s.direction=s.direction||this._directionality.value,new Z4(i,r,o,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType,this._injector.get(ft))}position(){return this._positionBuilder}_createPaneElement(n){const r=this._document.createElement("div");return r.id="cdk-overlay-"+tV++,r.classList.add("cdk-overlay-pane"),n.appendChild(r),r}_createHostElement(){const n=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(n),n}_createPortalOutlet(n){return this._appRef||(this._appRef=this._injector.get(Et)),new r2(n,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(r){return new(r||e)(E(z4),E(Ub),E(rr),E(eV),E(Y4),E(fe),E(z),E(he),E(F4),E(oC),E(q4),E(v0,8))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const oV={provide:new M("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const e=b($c);return()=>e.scrollStrategies.reposition()}}),deps:[$c],useFactory:function rV(e){return()=>e.scrollStrategies.reposition()}};let iV=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=zt({type:e});static#n=this.\u0275inj=Mt({providers:[$c,oV],imports:[$h,o2,Lb,Lb]})}return e})();const sV=["linkElement"],aV=["*"],Gh=(e,t,n)=>[e,t,"symbol-narrow","1.2-2",n],Yb=(e,t,n)=>[e,t,"symbol-narrow","1.0-0",n];function cV(e,t){if(1&e&&($(0,"span",43),De(1,2),nn(2,"currency"),nn(3,"number"),W()),2&e){const n=Ft();ce(3),xn(Io(2,2,Mo(11,Gh,null==n.model?null:n.model.monthlyPayment,null==n.model?null:n.model.currency,n.currencyLocale)))(ic(3,8,null==n.model?null:n.model.splitCount,"0.0-0")),fr(1)}}function lV(e,t){if(1&e&&($(0,"span",43),De(1,3),nn(2,"currency"),W()),2&e){const n=Ft();ce(2),xn(Io(2,1,Mo(7,Yb,n.minimumPrice,null==n.model?null:n.model.currency,n.currencyLocale))),fr(1)}}function uV(e,t){1&e&&($(0,"span",48),De(1,4),W())}function dV(e,t){if(1&e&&($(0,"span",48),De(1,5),nn(2,"async"),W()),2&e){const n=Ft(2);ce(2),xn(FE(2,1,n.priceTagToken$)||"N/A"),fr(1)}}function fV(e,t){if(1&e&&($(0,"span",48),De(1,6),W()),2&e){const n=Ft(2);ce(),xn(n.origin),fr(1)}}function hV(e,t){1&e&&($(0,"span",48),De(1,7),W())}function pV(e,t){1&e&&($(0,"span",48),De(1,8),W())}function gV(e,t){if(1&e&&($(0,"div",44)(1,"div",45),tn(2,"i",46),Sn(3,uV,2,0,"span",47)(4,dV,3,3,"span",47)(5,fV,2,1,"span",47)(6,hV,2,0,"span",47)(7,pV,2,0,"span",47),W()()),2&e){const n=Ft();ce(),$e("ngSwitch",n.currentError),ce(2),$e("ngSwitchCase",n.ErrorTypes.MerchantDeactivated),ce(),$e("ngSwitchCase",n.ErrorTypes.WebShopNotfound),ce(),$e("ngSwitchCase",n.ErrorTypes.WebShopHostNotAllowed),ce(),$e("ngSwitchCase",n.ErrorTypes.CannotConnectToAPI),ce(),$e("ngSwitchCase",n.ErrorTypes.Unknown)}}function mV(e,t){if(1&e&&($(0,"div",80)(1,"h2",81),De(2,19),W(),$(3,"span"),hr(4),nn(5,"currency"),W(),$(6,"span",82),hr(7,"x"),W(),$(8,"span"),hr(9),W(),$(10,"span"),hr(11,"\xa0"),W(),$(12,"span",82),hr(13,"="),W(),$(14,"span"),hr(15),nn(16,"currency"),W()()),2&e){const n=Ft(3);ce(4),Gi(Io(5,3,Mo(15,Gh,n.model.monthlyPayment,n.model.currency,n.currencyLocale))),ce(5),Gi(n.model.splitCount),ce(6),Gi(Io(16,9,Mo(19,Gh,n.model.totalPrice,n.model.currency,n.currencyLocale)))}}function yV(e,t){if(1&e&&($(0,"div",80)(1,"h2",81),De(2,20),nn(3,"currency"),W()()),2&e){const n=Ft(3);ce(3),xn(Io(3,2,Mo(8,Yb,n.minimumPrice,n.model.currency,n.currencyLocale)))(n.model.splitCount),fr(2)}}function _V(e,t){if(1&e){const n=hf();$(0,"div",51)(1,"div",52)(2,"div",53)(3,"div",54)(4,"i",55),nc("click",function(){return nu(n),ru(Ft(2).closeTemplateModal())}),W()(),$(5,"div",56)(6,"div",57)(7,"div",23)(8,"div",58)(9,"div",59),tn(10,"img",60),W(),$(11,"div",61),Sn(12,mV,17,23,"div",62)(13,yV,4,12,"div",62),$(14,"div",63)(15,"a",64),lr(16),De(17,9),ur(),tn(18,"i",65),W(),$(19,"span",48),De(20,10),W()(),$(21,"div",66)(22,"a",67),De(23,11),W()()()()()()(),$(24,"div",68)(25,"div",69)(26,"div",70)(27,"div",71)(28,"div",72)(29,"div",73),tn(30,"i",74),lr(31),De(32,12),ur(),W(),$(33,"div",75)(34,"p"),De(35,13),W()()()(),$(36,"div",71)(37,"div",72)(38,"div",73),tn(39,"i",76),lr(40),De(41,14),ur(),W(),$(42,"div",75)(43,"p"),De(44,15),W()()()(),$(45,"div",71)(46,"div",72)(47,"div",73),tn(48,"i",77),lr(49),De(50,16),ur(),W(),$(51,"div",75)(52,"p"),De(53,17),nn(54,"number"),nn(55,"number"),W()()()()()(),$(56,"div",78)(57,"div",79)(58,"p"),De(59,18),W()()()()()()()}if(2&e){const n=Ft(2);ce(10),$e("src",n.logoPath,Ea),ce(2),$e("ngIf",!n.lessThanMinimum),ce(),$e("ngIf",n.lessThanMinimum),ce(2),$e("href",n.signUpUrl,Ea),ce(40),xn(ic(54,6,n.model.splitCount,"0.0-0"))(ic(55,9,n.model.splitPercent,"0.0-0")),fr(53)}}function vV(e,t){if(1&e&&($(0,"span",40)(1,"div",49),Sn(2,_V,60,12,"div",50),W()()),2&e){const n=Ft();ce(2),$e("ngIf",n.model&&n.currentError===n.ErrorTypes.Fine)}}let wV=(()=>{class e extends pb{get hide(){return this.currentError===Er.CannotConnectToAPI||this.currentError===Er.Unknown}set totalPrice(n){this._totalPrice$.next(n)}set environment(n){this._environment$.next(n)}set totalPriceSelector(n){this._totalPriceSelector$.next(n)}set priceFormatLocale(n){this._priceFormatLocale$.next(n)}set currency(n){this._currency$.next(n)}set priceTagToken(n){this.priceTagToken$.next(n)}set linkElement(n){this._linkElement$.next(n.nativeElement)}get logoPath(){return`${yr.host}/assets/img/anyday-logo-black.svg`}get signUpUrl(){return`${yr.host}/${this.localeId}/shopper`}constructor(n,r,o,i,s,a){super(),this.priceService=n,this.watcherService=r,this.render=o,this.localeId=i,this.viewContainerRef=s,this.overlay=a,this.componentClass="anyday-split",this._totalPrice$=new _r(1),this._totalPriceSelector$=new _r(1),this._priceFormatLocale$=new _r(1),this._currency$=new _r(1),this._environment$=new Ep("production"),this.priceTagToken$=new _r(1),this._linkElement$=new _r(1),this.currentError=Er.Unknown,this.ErrorTypes=Er,this.isReady=!1,this.origin=window.location.origin,this.formatLocale=i,this.overlayRef=this.overlay.create({hasBackdrop:!0,positionStrategy:this.overlay.position().global().centerHorizontally().centerVertically()}),this.overlayRef.backdropClick().subscribe(()=>this.closeTemplateModal())}get hidePriceTag(){return!this.model||!this.isReady||this.currentError!==this.ErrorTypes.Fine||!this.model||this.model?.totalPrice>this.maximumPrice}get lessThanMinimum(){return!this.model||!this.isReady||this.currentError!==this.ErrorTypes.Fine||!this.model||this.model?.totalPricethis.formatLocale=n),this.watcherService.watchSelector$(this._totalPriceSelector$,this._priceFormatLocale$).subscribe(n=>{this.totalPrice=n}),this.priceService.watchPrice(this._totalPrice$,this._currency$,this.priceTagToken$).subscribe(n=>{this.model=n.estimate,this.currentError=n.error,this.isReady=!0}),Ah([this._totalPrice$.pipe(Ct(void 0)),this._environment$.pipe(Ct(void 0)),this._totalPriceSelector$.pipe(Ct(void 0)),this._priceFormatLocale$.pipe(Ct(void 0)),this._currency$.pipe(Ct(void 0)),this.priceTagToken$.pipe(Ct(void 0)),this._linkElement$.pipe(Ct(void 0))]).pipe(Ge(([n,r,o,i,s,a,c])=>({totalPrice:n,environment:r,totalPriceSelector:o,priceFormatLocale:i,currency:s,priceTagToken:a,linkElement:c})),Cb(Ph(2500)),kh(1)).subscribe(n=>{this.validateInputs(n)})}validateInputs(n){let{priceTagToken:r,...o}=n;n.totalPrice?(n.totalPriceSelector&&console.warn("Anyday-Price-Tag was provided with both a 'total-price' and a 'total-price-selector'. Using both is not supported and may not work as expected.",o),n.priceFormatLocale&&console.warn("Anyday-Price-Tag was provided with both a 'total-price' and a 'price-format-locale'. The locale format is only needed when using the 'total-price-selector'.",o),0===XC(n.totalPrice,0)&&"0"!==n.totalPrice&&console.error("Anyday-Price-Tag was provided with a 'total-price', but value could not be read. The only supported format for 'total-price' is 0000.00",o)):n.totalPriceSelector||console.error("Anyday-Price-Tag was provided with neither a 'total-price' nor a 'total-price-selector'.",o)}showTemplateModal(n){const r=new eb(n,this.viewContainerRef);this.overlayRef.attach(r)}closeTemplateModal(){this.overlayRef.detach()}setupEnvironment(){this._environment$.pipe(this.takeUntilDestroyed()).subscribe(n=>{switch(n){case"test":yr.host="https://anyday-acceptance.yadyna.xyz";break;case"staging":yr.host="https://anyday-staging.yadyna.xyz";break;case"dev":yr.host="https://localhost:56747";break;default:yr.host="https://my.anyday.io"}})}setupLinkElement(){this._linkElement$.pipe(vr(n=>this.watcherService.observe(n)),this.takeUntilDestroyed()).subscribe(n=>{this.render.setAttribute(n,"data-content",n.innerText)})}static#e=this.\u0275fac=function(r){return new(r||e)(j(f4),j(Mb),j(Sd),j(jt),j(Pt),j($c))};static#t=this.\u0275cmp=lg({type:e,selectors:[["anyday-price-tag"]],viewQuery:function(r,o){if(1&r&&function nE(e,t,n){Q_(e,t,n)}(sV,5),2&r){let i;(function rE(e){const t=_(),n=H(),r=cu();Qs(r+1);const o=Bd(n,r);if(e.dirty&&function JT(e){return!(4&~e[S])}(t)===!(2&~o.metadata.flags)){if(null===o.matches)e.reset([]);else{const i=K_(t,r);e.reset(i,Mm),e.notifyOnChanges()}return!0}return!1})(i=oE())&&(o.linkElement=i.first)}},hostVars:3,hostBindings:function(r,o){2&r&&(pf("hidden",o.hide),sw(o.componentClass))},inputs:{totalPrice:[0,"total-price","totalPrice"],environment:"environment",totalPriceSelector:[0,"total-price-selector","totalPriceSelector"],priceFormatLocale:[0,"price-format-locale","priceFormatLocale"],currency:"currency",priceTagToken:[0,"price-tag-token","priceTagToken"]},features:[NE([Mb]),Ud],ngContentSelectors:aV,decls:28,vars:7,consts:()=>{let n,r,o,i,s,a,c,l,u,d,h,f,p,g,m,v,y,D,N,V;return n="Betal " + "\ufffd0\ufffd" + " x " + "\ufffd1\ufffd" + "",r="K\xF8b for " + "\ufffd0\ufffd" + " og del din betaling op med",o="Forhandlerkonto er blevet deaktiveret. Kontakt venligst Anyday Support.",i="Prism\xE6rke-token " + "\ufffd0\ufffd" + " er ugyldig.",s="Prism\xE6rke er ikke tilladt den " + "\ufffd0\ufffd" + ".",a="Ukendt fejl. Kontakt venligst Anyday Support.",c="Ukendt fejl, kontakt venligst Anyday Support.",l="Anyday logo",u="Tilmeld dig ANYDAY",d="Det er hurtigt, nemt og sikkert!",h="Se vilk\xE5r her",f="Ingen renter eller gebyrer",p="Du betaler kun produktets bel\xF8b, s\xE5l\xE6nge du betaler til tiden. Anyday er en fair og transparent delbetalingsl\xF8sning.",g="Hurtig godkendelse",m="Dit k\xF8b vil blive godkendt eller afvist med samme hastighed, som n\xE5r du normalt betaler online. Anyday er 100% sikkert.",v="Nem automatisk betaling",y="De " + "\ufffd0\ufffd" + " rater vil automatisk blive trukket p\xE5 dit kort. Den f\xF8rste rate p\xE5 " + "\ufffd1\ufffd" + "% vil blive trukket med det samme.",D="TILF\xD8J DINE VARER TIL KURVEN OG V\xC6LG ANYDAY SOM BETALING",N="Opdel dit k\xF8b i mindre betalinger",V=" K\xF8b for " + "\ufffd0\ufffd" + " og del din betaling i " + "\ufffd1\ufffd" + " betalinger",[["linkElement",""],["tpr",""],n,r,o,i,s,a,c,u,d,h,f,p,g,m,v,y,D,N,V,[1,"inherit-font-styles",".dont-inherit"],[1,"webshop-detail-box"],[1,"payment-wrapper"],[1,"price-wrapper"],[1,"number-wrapper"],[1,"number",3,"click"],[1,"webshop-modal-link"],["class","webshop-detail-text",4,"ngIf"],[1,"webshop-detail-wrapper"],["viewBox","0 0 572 149","fill","currentColor","xmlns","http://www.w3.org/2000/svg"],["clip-path","url(#AnyClip1)"],["d","M438.354 113.236C448.301 113.236 456.411 109.104 461.461 103.136V109.706C461.461 110.81 462.357 111.706 463.461 111.706H482.426V35.193H463.461C462.357 35.193 461.461 36.0884 461.461 37.193V42.6912C456.411 37.3353 448.607 33.6627 438.66 33.6627C421.369 33.6627 401.475 46.3638 401.475 73.4493C401.475 100.382 422.134 113.236 438.354 113.236ZM442.486 93.9546C430.856 93.9546 421.981 85.0792 421.981 73.2962C421.981 61.5133 430.856 52.7909 442.486 52.7909C453.81 52.7909 462.073 61.9724 462.073 73.2962C462.073 84.6201 453.81 93.9546 442.486 93.9546Z"],["d","M348.99 113.241C358.937 113.241 367.047 109.11 372.097 103.142V109.711C372.097 110.816 372.992 111.711 374.097 111.711H393.061V0.00268555H372.097V42.6967C367.047 37.3408 359.243 33.6682 349.296 33.6682C332.004 33.6682 312.111 46.3693 312.111 73.4547C312.111 100.387 332.769 113.241 348.99 113.241ZM353.122 93.9601C341.492 93.9601 332.616 85.0846 332.616 73.3017C332.616 61.5188 341.492 52.7963 353.122 52.7963C364.446 52.7963 372.709 61.9779 372.709 73.3017C372.709 84.6256 364.446 93.9601 353.122 93.9601Z"],["d","M195.652 32.1367C183.563 32.1367 174.381 37.3827 169.332 43.5037V37.163C169.332 36.0584 168.436 35.163 167.332 35.163H150.51V111.71H172.086V71.4642C172.086 57.8449 178.513 49.8876 189.684 49.8876C200.549 49.8876 205.599 56.9268 205.599 70.24V111.71H227.175V69.0158C227.175 40.4001 211.72 32.1367 195.652 32.1367Z"],["fill-rule","evenodd","clip-rule","evenodd","d","M62.9218 111.708H40.7332L53.1917 76.5934C41.5814 67.5817 24.8056 68.4076 14.1421 79.0711L0 64.9289C16.2895 48.6394 41.0908 46.0494 60.087 57.1588L80.3667 0H101.79L141.424 111.708H119.235L111.454 89.2307C98.531 95.0519 83.6252 95.0538 70.7005 89.2364L62.9218 111.708ZM77.2884 70.202C78.5676 70.8754 79.8858 71.4487 81.2314 71.9218C87.5876 74.1567 94.5545 74.1567 100.911 71.9218C102.261 71.4472 103.583 70.8717 104.866 70.1955L91.0784 30.299L77.2884 70.202Z"],["d","M244.832 148.949H262.808C264.858 148.949 266.7 147.698 267.456 145.793L311.444 34.9127H289.292L271.352 82.9607L252.164 34.9127H229.7L260.744 109.481L244.832 148.949Z"],["d","M505.402 149.149H523.379C525.429 149.149 527.271 147.898 528.026 145.992L572.014 35.1127H549.862L531.922 83.1607L512.734 35.1127H490.27L521.314 109.681L505.402 149.149Z"],["id","AnyClip1"],["width","572","height","149","fill","white"],[1,"dont-inherit-revert"],[1,"warning-box"],["class","anyday-split-warning",4,"ngIf"],[1,"webshop-detail-text"],[1,"anyday-split-warning"],[1,"content-alert",3,"ngSwitch"],[1,"ad-icn-exclamation"],["class","text",4,"ngSwitchCase"],[1,"text"],[1,"anyday-modal"],["class","anyday-modal-dialog anyday-modal-lg",4,"ngIf"],[1,"anyday-modal-dialog","anyday-modal-lg"],[1,"anyday-modal-wrapper"],[1,"anyday-modal-content","payment-black-version"],[1,"anyday-modal-header"],["aria-label","Close",1,"ad-icn-close",3,"click"],[1,"anyday-modal-body"],[1,"order-summary"],[1,"payment-type"],[1,"payment-logo"],["alt",l,2,"width","220px",3,"src"],[1,"payment-content"],["class","summary-payment",4,"ngIf"],[1,"link-payment"],["target","_blank",1,"link-button",3,"href"],[1,"ad-icn-arrow-right","ad-icns"],[1,"link-terms"],["href","https://www.anyday.io/da/terms-conditions-shopper/","target","_blank",1,"terms-link"],[1,"anyday-modal-footer"],[1,"ad-icn-teaser-wrapper"],[1,"anyday-row"],[1,"anyday-col-md-4"],[1,"ad-icn-teaser-item"],[1,"ad-icn-teaser-title"],[1,"ad-icn-teaser","ad-icn-interest"],[1,"ad-icn-teaser-content"],[1,"ad-icn-teaser","ad-icn-waiting-time"],[1,"ad-icn-teaser","ad-icn-credit-card"],[1,"payment-text-footer"],[1,"footer-bar"],[1,"summary-payment"],[1,"payment-title"],[1,"symbol"]]},template:function(r,o){if(1&r){const i=hf();(function Gw(e){const t=_()[ue][ke];if(!t.projection){const r=t.projection=function Rs(e,t){const n=[];for(let r=0;rclearTimeout(n)},scheduleBeforeRender(e){if(typeof window>"u")return zc.schedule(e,0);if(typeof window.requestAnimationFrame>"u")return zc.schedule(e,16);const t=window.requestAnimationFrame(e);return()=>window.cancelAnimationFrame(t)}};let Wh;function NV(e,t,n){let r=n;return function DV(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some((o,i)=>!("*"===o||!function bV(e,t){if(!Wh){const n=Element.prototype;Wh=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&Wh.call(e,t)}(e,o)||(r=i,0))),r}class xV{constructor(t,n){this.componentFactory=n.get(rr).resolveComponentFactory(t)}create(t){return new OV(this.componentFactory,t)}}class OV{constructor(t,n){this.componentFactory=t,this.injector=n,this.eventEmitters=new _r(1),this.events=this.eventEmitters.pipe(vr(r=>kb(...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(z),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=zc.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 MV(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=fe.create({providers:[],parent:this.injector}),r=function SV(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{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(Ge(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=zc.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 Mg(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 RV extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}function qb(e){return et((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}class Gc{}class Wc{}class bt{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 bt?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 bt;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof bt?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 kV{encodeKey(t){return Zb(t)}encodeValue(t){return Zb(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const jV=/%(\d[a-f0-9])/gi,VV={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Zb(e){return encodeURIComponent(e).replace(jV,(t,n)=>VV[n]??t)}function Yc(e){return`${e}`}class Pn{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new kV,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function FV(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))],c=n.get(s)||[];c.push(a),n.set(s,c)}),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(Yc):[Yc(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 Pn({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(Yc(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(Yc(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 BV{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 Qb(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Xb(e){return typeof Blob<"u"&&e instanceof Blob}function Jb(e){return typeof FormData<"u"&&e instanceof FormData}class fs{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 HV(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 bt,this.context??=new BV,this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=n;else{const a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":ah.set(f,t.setHeaders[f]),l)),t.setParams&&(u=Object.keys(t.setParams).reduce((h,f)=>h.set(f,t.setParams[f]),u)),new fs(n,r,s,{params:u,headers:l,context:d,reportProgress:c,responseType:o,withCredentials:a,transferCache:i})}}var Ln=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}(Ln||{});class Yh{constructor(t,n=200,r="OK"){this.headers=t.headers||new bt,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 qc extends Yh{constructor(t={}){super(t),this.type=Ln.ResponseHeader}clone(t={}){return new qc({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 br extends Yh{constructor(t={}){super(t),this.type=Ln.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new br({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 Lo extends Yh{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}}function qh(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 GV=(()=>{class e{constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof fs)i=n;else{let c,l;c=o.headers instanceof bt?o.headers:new bt(o.headers),o.params&&(l=o.params instanceof Pn?o.params:new Pn({fromObject:o.params})),i=new fs(n,r,void 0!==o.body?o.body:null,{headers:c,context:o.context,params:l,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}const s=jh(i).pipe(function LV(e,t){return ee(t)?as(e,t,1):as(e,1)}(c=>this.handler.handle(c)));if(n instanceof fs||"events"===o.observe)return s;const a=s.pipe(wr(c=>c instanceof br));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(Ge(c=>{if(null!==c.body&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return a.pipe(Ge(c=>{if(null!==c.body&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return a.pipe(Ge(c=>{if(null!==c.body&&"string"!=typeof c.body)throw new Error("Response is not a string.");return c.body}));default:return a.pipe(Ge(c=>c.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 Pn).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,qh(o,r))}post(n,r,o={}){return this.request("POST",n,qh(o,r))}put(n,r,o={}){return this.request("PUT",n,qh(o,r))}static#e=this.\u0275fac=function(r){return new(r||e)(E(Gc))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();const WV=/^\)\]\}',?\n/;function eM(e){if(e.url)return e.url;const t="X-Request-URL".toLocaleLowerCase();return e.headers.get(t)}let Zh=(()=>{class e{constructor(){this.fetchImpl=b(qV,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=b(z)}handle(n){return new _e(r=>{const o=new AbortController;return this.doRequest(n,o.signal,r).then(Qh,i=>r.error(new Lo({error:i}))),()=>o.abort()})}doRequest(n,r,o){var i=this;return Fh(function*(){const s=i.createRequestInit(n);let a;try{const p=i.ngZone.runOutsideAngular(()=>i.fetchImpl(n.urlWithParams,{signal:r,...s}));(function ZV(e){e.then(Qh,Qh)})(p),o.next({type:Ln.Sent}),a=yield p}catch(p){return void o.error(new Lo({error:p,status:p.status??0,statusText:p.statusText,url:n.urlWithParams,headers:p.headers}))}const c=new bt(a.headers),l=a.statusText,u=eM(a)??n.urlWithParams;let d=a.status,h=null;if(n.reportProgress&&o.next(new qc({headers:c,status:d,statusText:l,url:u})),a.body){const p=a.headers.get("content-length"),g=[],m=a.body.getReader();let y,D,v=0;const N=typeof Zone<"u"&&Zone.current;yield i.ngZone.runOutsideAngular(Fh(function*(){for(;;){const{done:O,value:Re}=yield m.read();if(O)break;if(g.push(Re),v+=Re.length,n.reportProgress){D="text"===n.responseType?(D??"")+(y??=new TextDecoder).decode(Re,{stream:!0}):void 0;const mn=()=>o.next({type:Ln.DownloadProgress,total:p?+p:void 0,loaded:v,partialText:D});N?N.run(mn):mn()}}}));const V=i.concatChunks(g,v);try{const O=a.headers.get("Content-Type")??"";h=i.parseBody(n,V,O)}catch(O){return void o.error(new Lo({error:O,headers:new bt(a.headers),status:a.status,statusText:a.statusText,url:eM(a)??n.urlWithParams}))}}0===d&&(d=h?200:0),d>=200&&d<300?(o.next(new br({body:h,headers:c,status:d,statusText:l,url:u})),o.complete()):o.error(new Lo({error:h,headers:c,status:d,statusText:l,url:u}))})()}parseBody(n,r,o){switch(n.responseType){case"json":const i=(new TextDecoder).decode(r).replace(WV,"");return""===i?null:JSON.parse(i);case"text":return(new TextDecoder).decode(r);case"blob":return new Blob([r],{type:o});case"arraybuffer":return r.buffer}}createRequestInit(n){const r={},o=n.withCredentials?"include":void 0;if(n.headers.forEach((i,s)=>r[i]=s.join(",")),n.headers.has("Accept")||(r.Accept="application/json, text/plain, */*"),!n.headers.has("Content-Type")){const i=n.detectContentTypeHeader();null!==i&&(r["Content-Type"]=i)}return{body:n.serializeBody(),method:n.method,headers:r,credentials:o}}concatChunks(n,r){const o=new Uint8Array(r);let i=0;for(const s of n)o.set(s,i),i+=s.length;return o}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();class qV{}function Qh(){}function tM(e,t){return t(e)}function QV(e,t){return(n,r)=>t.intercept(n,{handle:o=>e(o,r)})}const JV=new M(""),hs=new M(""),nM=new M(""),rM=new M("",{providedIn:"root",factory:()=>!0});function KV(){let e=null;return(t,n)=>{null===e&&(e=(b(JV,{optional:!0})??[]).reduceRight(QV,tM));const r=b(Dn);if(b(rM)){const i=r.add();return e(t,n).pipe(qb(()=>r.remove(i)))}return e(t,n)}}let oM=(()=>{class e extends Gc{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null,this.pendingTasks=b(Dn),this.contributeToStability=b(rM)}handle(n){if(null===this.chain){const r=Array.from(new Set([...this.injector.get(hs),...this.injector.get(nM,[])]));this.chain=r.reduceRight((o,i)=>function XV(e,t,n){return(r,o)=>yg(n,()=>t(r,i=>e(i,o)))}(o,i,this.injector),tM)}if(this.contributeToStability){const r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(qb(()=>this.pendingTasks.remove(r)))}return this.chain(n,r=>this.backend.handle(r))}static#e=this.\u0275fac=function(r){return new(r||e)(E(Wc),E(ft))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();const oB=/^\)\]\}',?\n/;let sM=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new C(-2800,!1);const r=this.xhrFactory;return(r.\u0275loadImpl?Ro(r.\u0275loadImpl()):jh(null)).pipe(vr(()=>new _e(i=>{const s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((g,m)=>s.setRequestHeader(g,m.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 c=null;const l=()=>{if(null!==c)return c;const g=s.statusText||"OK",m=new bt(s.getAllResponseHeaders()),v=function iB(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 c=new qc({headers:m,status:s.status,statusText:g,url:v}),c},u=()=>{let{headers:g,status:m,statusText:v,url:y}=l(),D=null;204!==m&&(D=typeof s.response>"u"?s.responseText:s.response),0===m&&(m=D?200:0);let N=m>=200&&m<300;if("json"===n.responseType&&"string"==typeof D){const V=D;D=D.replace(oB,"");try{D=""!==D?JSON.parse(D):null}catch(O){D=V,N&&(N=!1,D={error:O,text:D})}}N?(i.next(new br({body:D,headers:g,status:m,statusText:v,url:y||void 0})),i.complete()):i.error(new Lo({error:D,headers:g,status:m,statusText:v,url:y||void 0}))},d=g=>{const{url:m}=l(),v=new Lo({error:g,status:s.status||0,statusText:s.statusText||"Unknown Error",url:m||void 0});i.error(v)};let h=!1;const f=g=>{h||(i.next(l()),h=!0);let m={type:Ln.DownloadProgress,loaded:g.loaded};g.lengthComputable&&(m.total=g.total),"text"===n.responseType&&s.responseText&&(m.partialText=s.responseText),i.next(m)},p=g=>{let m={type:Ln.UploadProgress,loaded:g.loaded};g.lengthComputable&&(m.total=g.total),i.next(m)};return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",f),null!==a&&s.upload&&s.upload.addEventListener("progress",p)),s.send(a),i.next({type:Ln.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",d),n.reportProgress&&(s.removeEventListener("progress",f),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)(E(TC))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();const Xh=new M(""),aM=new M("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),cM=new M("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class lM{}let cB=(()=>{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=pC(n,this.cookieName),this.lastCookieString=n),this.lastToken}static#e=this.\u0275fac=function(r){return new(r||e)(E(he),E(bn),E(aM))};static#t=this.\u0275prov=I({token:e,factory:e.\u0275fac})}return e})();function lB(e,t){const n=e.url.toLowerCase();if(!b(Xh)||"GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t(e);const r=b(lM).getToken(),o=b(cM);return null!=r&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}var kn=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}(kn||{});function uB(...e){const t=[GV,sM,oM,{provide:Gc,useExisting:oM},{provide:Wc,useFactory:()=>b(Zh,{optional:!0})??b(sM)},{provide:hs,useValue:lB,multi:!0},{provide:Xh,useValue:!0},{provide:lM,useClass:cB}];for(const n of e)t.push(...n.\u0275providers);return function Wo(e){return{\u0275providers:e}}(t)}const uM=new M("");function dB(){return function Mr(e,t){return{\u0275kind:e,\u0275providers:t}}(kn.LegacyInterceptors,[{provide:uM,useFactory:KV},{provide:hs,useExisting:uM,multi:!0}])}let wB=(()=>{class e{constructor(n){this.injector=n}ngDoBootstrap(n){const r=function PV(e,t){const n=function TV(e,t){return t.get(rr).resolveComponentFactory(e).inputs}(e,t.injector),r=t.strategyFactory||new xV(e,t.injector),o=function IV(e){const t={};return e.forEach(({propName:n,templateName:r,transform:o})=>{t[function EV(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}(r)]=[n,o]}),t}(n);class i extends RV{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:c,transform:l})=>{if(!this.hasOwnProperty(c))return;const u=this[c];delete this[c],a.setInputValue(c,u,l)})}return this._ngElementStrategy}constructor(a){super(),this.injector=a}attributeChangedCallback(a,c,l,u){const[d,h]=o[a];this.ngElementStrategy.setInputValue(d,l,h)}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 c=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(c)})}}return n.forEach(({propName:s,transform:a})=>{Object.defineProperty(i.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(c){this.ngElementStrategy.setInputValue(s,c,a)},configurable:!0,enumerable:!0})}),i}(wV,{injector:this.injector});customElements.define("anyday-price-tag",r)}static#e=this.\u0275fac=function(r){return new(r||e)(E(fe))};static#t=this.\u0275mod=zt({type:e});static#n=this.\u0275inj=Mt({providers:[uB(dB())],imports:[Yj,iV]})}return e})();const yt=void 0;(function EF(e,t,n){(function GR(e,t,n){"string"!=typeof t&&(n=t,t=e[ie.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Co[t]=e,n&&(Co[t][ie.ExtraData]=n)})(e,t,n)})(["da",[["a","p"],["AM","PM"],yt],[["AM","PM"],yt,yt],[["S","M","T","O","T","F","L"],["s\xf8n.","man.","tir.","ons.","tor.","fre.","l\xf8r."],["s\xf8ndag","mandag","tirsdag","onsdag","torsdag","fredag","l\xf8rdag"],["s\xf8","ma","ti","on","to","fr","l\xf8"]],[["S","M","T","O","T","F","L"],["s\xf8n","man","tir","ons","tor","fre","l\xf8r"],["s\xf8ndag","mandag","tirsdag","onsdag","torsdag","fredag","l\xf8rdag"],["s\xf8","ma","ti","on","to","fr","l\xf8"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan.","feb.","mar.","apr.","maj","jun.","jul.","aug.","sep.","okt.","nov.","dec."],["januar","februar","marts","april","maj","juni","juli","august","september","oktober","november","december"]],yt,[["fKr","eKr"],["f.Kr.","e.Kr."],yt],1,[6,0],["dd.MM.y","d. MMM y","d. MMMM y","EEEE 'den' d. MMMM y"],["HH.mm","HH.mm.ss","HH.mm.ss z","HH.mm.ss zzzz"],["{1} {0}",yt,"{1} 'kl'. {0}",yt],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN","."],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"DKK","kr.","dansk krone",{AUD:["AU$","$"],BYN:[yt,"Br."],DKK:["kr."],ISK:[yt,"kr."],JPY:["JP\xa5","\xa5"],NOK:[yt,"kr."],PHP:[yt,"\u20b1"],RON:[yt,"L"],SEK:[yt,"kr."],THB:["\u0e3f"],TWD:["NT$"],USD:["US$","$"]},"ltr",function EB(e){const t=e,n=Math.floor(Math.abs(e)),r=parseInt(e.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;return 1===t||0!==r&&(0===n||1===n)?1:5}],"da"),Gj().bootstrapModule(wB).catch(e=>console.error(e))}},Qc=>{Qc(Qc.s=401)}]);
(self.webpackChunkwebshop_price_tag=self.webpackChunkwebshop_price_tag||[]).push([[461],{273:(K,we,Ne)=>{"use strict";if(Ne(676),Ne(935),Ne(195),!(typeof Prototype>"u")){if("1.7"!==Prototype.Version&&"1.7.1"!==Prototype.Version&&"1.7.2"!==Prototype.Version)throw new Error("prototypejs version "+Prototype.Version+" is not supported");typeof Array.prototype._reverse<"u"&&(Array.prototype.reverse=Array.prototype._reverse),Array.from=function(){var de;try{de=Symbol.iterator?Symbol.iterator:"Symbol(Symbol.iterator)"}catch{de="Symbol(Symbol.iterator)"}var fe=Object.prototype.toString,He=function(z){return"function"==typeof z||"[object Function]"===fe.call(z)},Je=Math.pow(2,53)-1;return function(me){var Re=Object(me),je=He(Re[de]);if(null==me&&!je)throw new TypeError("Array.from requires an array-like object or iterator - not null or undefined");var De,ke=arguments.length>1?arguments[1]:void 0;if(typeof ke<"u"){if(!He(ke))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(De=arguments[2])}var D=function(z){var me=function(z){var me=Number(z);return isNaN(me)?0:0!==me&&isFinite(me)?(me>0?1:-1)*Math.floor(Math.abs(me)):me}(z);return Math.min(Math.max(me,0),Je)}(Re.length);return function(me,ve,Re,je,ke,De){for(var D=0;D"u"?De(qe,D):De.call(me,qe,D):qe,D+=1}if(ke)throw new TypeError("Array.from: provided arrayLike or iterator has length more then 2 ** 52 - 1");return ve.length=Re,ve}(De,He(this)?Object(new this(D)):new Array(D),D,function(me,ve){var Re=me&&ve[de]();return function(ke){return me?Re.next():ve[ke]}}(je,Re),je,ke)}}(),String.prototype.startsWith=function(de,fe){var He=fe>0?0|fe:0;return this.substring(He,He+de.length)===de},String.prototype.endsWith=function(de,fe){return(void 0===fe||fe>this.length)&&(fe=this.length),this.substring(fe-de.length,fe)===de}}},195:()=>{!function(K,we){"use strict";function Ne(){var n=it.splice(0,it.length);for(R=0;n.length;)n.shift().call(null,n.shift())}function Ke(n,o){for(var u=0,f=n.length;u1)&&je(this)}}}),re(w,Fe,{value:function(F){-1
",new O(function(n,o){if(n[0]&&"childList"==n[0].type&&!n[0].removedNodes[0].childNodes.length){var u=(Ve=P(ee,"innerHTML"))&&Ve.set;u&&_(ee,"innerHTML",{set:function(f){for(;this.lastChild;)this.removeChild(this.lastChild);u.call(this,f)}})}o.disconnect(),Ve=null}).observe(Ve,{childList:!0,subtree:!0}),Ve.innerHTML=""),M||(V||x?(ft=function(n,o){g.call(o,n)||Je(n,o)},Pe=Je):(ft=function(n,o){n[xe]||(n[xe]=Ee(!0),Je(n,o))},Pe=ft),ne?(A=!1,n=P(ee,Le),o=n.value,u=function(w){var C=new CustomEvent(Be,{bubbles:!0});C.attrName=w,C.prevValue=s.call(this,w),C.newValue=null,C[ht]=C.attrChange=2,I.call(this,w),t.call(this,C)},f=function(w,C){var le=H.call(this,w),F=le&&s.call(this,w),ae=new CustomEvent(Be,{bubbles:!0});pe.call(this,w,C),ae.attrName=w,ae.prevValue=le?F:null,ae.newValue=C,le?ae.MODIFICATION=ae.attrChange=1:ae[lt]=ae.attrChange=0,t.call(this,ae)},T=function(w){var C,le=w.currentTarget,F=le[xe],ae=w.propertyName;F.hasOwnProperty(ae)&&(F=F[ae],(C=new CustomEvent(Be,{bubbles:!0})).attrName=F.name,C.prevValue=F.value||null,C.newValue=F.value=le[ae]||null,null==C.prevValue?C[lt]=C.attrChange=0:C.MODIFICATION=C.attrChange=1,t.call(le,C))},n.value=function(w,C,le){w===Be&&this[Fe]&&this.setAttribute!==f&&(this[xe]={className:{name:"class",value:this.className}},this.setAttribute=f,this.removeAttribute=u,o.call(this,"propertychange",T)),o.call(this,w,C,le)},_(ee,Le,n)):O||(c[Le](Be,L),c.setAttribute(xe,1),c.removeAttribute(xe),A&&(ut=function(n){var o,u,f,T=this;if(T===n.target){for(f in o=T[xe],T[xe]=u=Ce(T),u){if(!(f in o))return at(0,T,f,o[f],u[f],lt);if(u[f]!==o[f])return at(1,T,f,o[f],u[f],"MODIFICATION")}for(f in o)if(!(f in u))return at(2,T,f,o[f],u[f],ht)}},at=function(n,o,u,f,T,w){var C={attrChange:n,currentTarget:o,attrName:u,prevValue:f,newValue:T};C[w]=n,st(C)},Ce=function(n){for(var o,u,f={},T=n.attributes,w=0,C=T.length;w$");if(o[ot]="a",(n.prototype=p(be.prototype)).constructor=n,K.customElements.define(u,n,o),!f.test(D.createElement("a",{is:u}).outerHTML)||!f.test((new n).outerHTML))throw o}(function n(){return Reflect.construct(be,[],n)},{},"document-register-element-a"+Et)}catch{De()}if(!we.noBuiltIn)try{if(d.call(D,"a","a").outerHTML.indexOf("is")<0)throw{}}catch{$=function(o){return{is:o.toLowerCase()}}}}(window)},935:()=>{"use strict";!function(e){const r=e.performance;function c(G){r&&r.mark&&r.mark(G)}function i(G,b){r&&r.measure&&r.measure(G,b)}c("Zone");const l=e.__Zone_symbol_prefix||"__zone_symbol__";function h(G){return l+G}const g=!0===e[h("forceDuplicateZoneCheck")];if(e.Zone){if(g||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let _=(()=>{class G{static#e=this.__symbol__=h;static assertZonePatched(){if(e.Promise!==ee.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=G.current;for(;t.parent;)t=t.parent;return t}static get current(){return re.zone}static get currentTask(){return Ie}static __load_patch(t,s,H=!1){if(ee.hasOwnProperty(t)){if(!H&&g)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const I="Zone:"+t;c(I),ee[t]=s(e,G,ne),i(I,I)}}get parent(){return this._parent}get name(){return this._name}constructor(t,s){this._parent=t,this._name=s?s.name||"unnamed":"",this._properties=s&&s.properties||{},this._zoneDelegate=new P(this,this._parent&&this._parent._zoneDelegate,s)}get(t){const s=this.getZoneWith(t);if(s)return s._properties[t]}getZoneWith(t){let s=this;for(;s;){if(s._properties.hasOwnProperty(t))return s;s=s._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,s){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const H=this._zoneDelegate.intercept(this,t,s),I=this;return function(){return I.runGuarded(H,this,arguments,s)}}run(t,s,H,I){re={parent:re,zone:this};try{return this._zoneDelegate.invoke(this,t,s,H,I)}finally{re=re.parent}}runGuarded(t,s=null,H,I){re={parent:re,zone:this};try{try{return this._zoneDelegate.invoke(this,t,s,H,I)}catch(pe){if(this._zoneDelegate.handleError(this,pe))throw pe}}finally{re=re.parent}}runTask(t,s,H){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||_e).name+"; Execution: "+this.name+")");if(t.state===Y&&(t.type===be||t.type===O))return;const I=t.state!=y;I&&t._transitionTo(y,U),t.runCount++;const pe=Ie;Ie=t,re={parent:re,zone:this};try{t.type==O&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,s,H)}catch(d){if(this._zoneDelegate.handleError(this,d))throw d}}finally{t.state!==Y&&t.state!==p&&(t.type==be||t.data&&t.data.isPeriodic?I&&t._transitionTo(U,y):(t.runCount=0,this._updateTaskCount(t,-1),I&&t._transitionTo(Y,y,Y))),re=re.parent,Ie=pe}}scheduleTask(t){if(t.zone&&t.zone!==this){let H=this;for(;H;){if(H===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);H=H.parent}}t._transitionTo(ie,Y);const s=[];t._zoneDelegates=s,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(H){throw t._transitionTo(p,ie,Y),this._zoneDelegate.handleError(this,H),H}return t._zoneDelegates===s&&this._updateTaskCount(t,1),t.state==ie&&t._transitionTo(U,ie),t}scheduleMicroTask(t,s,H,I){return this.scheduleTask(new k(B,t,s,H,I,void 0))}scheduleMacroTask(t,s,H,I,pe){return this.scheduleTask(new k(O,t,s,H,I,pe))}scheduleEventTask(t,s,H,I,pe){return this.scheduleTask(new k(be,t,s,H,I,pe))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||_e).name+"; Execution: "+this.name+")");if(t.state===U||t.state===y){t._transitionTo($,U,y);try{this._zoneDelegate.cancelTask(this,t)}catch(s){throw t._transitionTo(p,$),this._zoneDelegate.handleError(this,s),s}return this._updateTaskCount(t,-1),t._transitionTo(Y,$),t.runCount=0,t}}_updateTaskCount(t,s){const H=t._zoneDelegates;-1==s&&(t._zoneDelegates=null);for(let I=0;IG.hasTask(t,s),onScheduleTask:(G,b,t,s)=>G.scheduleTask(t,s),onInvokeTask:(G,b,t,s,H,I)=>G.invokeTask(t,s,H,I),onCancelTask:(G,b,t,s)=>G.cancelTask(t,s)};class P{constructor(b,t,s){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=b,this._parentDelegate=t,this._forkZS=s&&(s&&s.onFork?s:t._forkZS),this._forkDlgt=s&&(s.onFork?t:t._forkDlgt),this._forkCurrZone=s&&(s.onFork?this.zone:t._forkCurrZone),this._interceptZS=s&&(s.onIntercept?s:t._interceptZS),this._interceptDlgt=s&&(s.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=s&&(s.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=s&&(s.onInvoke?s:t._invokeZS),this._invokeDlgt=s&&(s.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=s&&(s.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=s&&(s.onHandleError?s:t._handleErrorZS),this._handleErrorDlgt=s&&(s.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=s&&(s.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=s&&(s.onScheduleTask?s:t._scheduleTaskZS),this._scheduleTaskDlgt=s&&(s.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=s&&(s.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=s&&(s.onInvokeTask?s:t._invokeTaskZS),this._invokeTaskDlgt=s&&(s.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=s&&(s.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=s&&(s.onCancelTask?s:t._cancelTaskZS),this._cancelTaskDlgt=s&&(s.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=s&&(s.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const H=s&&s.onHasTask;(H||t&&t._hasTaskZS)&&(this._hasTaskZS=H?s:N,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=b,s.onScheduleTask||(this._scheduleTaskZS=N,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),s.onInvokeTask||(this._invokeTaskZS=N,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),s.onCancelTask||(this._cancelTaskZS=N,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(b,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,b,t):new _(b,t)}intercept(b,t,s){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,b,t,s):t}invoke(b,t,s,H,I){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,b,t,s,H,I):t.apply(s,H)}handleError(b,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,b,t)}scheduleTask(b,t){let s=t;if(this._scheduleTaskZS)this._hasTaskZS&&s._zoneDelegates.push(this._hasTaskDlgtOwner),s=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,b,t),s||(s=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=B)throw new Error("Task is missing scheduleFn.");S(t)}return s}invokeTask(b,t,s,H){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,b,t,s,H):t.callback.apply(s,H)}cancelTask(b,t){let s;if(this._cancelTaskZS)s=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,b,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");s=t.cancelFn(t)}return s}hasTask(b,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,b,t)}catch(s){this.handleError(b,s)}}_updateTaskCount(b,t){const s=this._taskCounts,H=s[b],I=s[b]=H+t;if(I<0)throw new Error("More tasks executed then were scheduled.");0!=H&&0!=I||this.hasTask(this.zone,{microTask:s.microTask>0,macroTask:s.macroTask>0,eventTask:s.eventTask>0,change:b})}}class k{constructor(b,t,s,H,I,pe){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=b,this.source=t,this.data=H,this.scheduleFn=I,this.cancelFn=pe,!s)throw new Error("callback is not defined");this.callback=s;const d=this;this.invoke=b===be&&H&&H.useG?k.invokeTask:function(){return k.invokeTask.call(e,d,this,arguments)}}static invokeTask(b,t,s){b||(b=this),ye++;try{return b.runCount++,b.zone.runTask(b,t,s)}finally{1==ye&&v(),ye--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(Y,ie)}_transitionTo(b,t,s){if(this._state!==t&&this._state!==s)throw new Error(`${this.type} '${this.source}': can not transition to '${b}', expecting state '${t}'${s?" or '"+s+"'":""}, was '${this._state}'.`);this._state=b,b==Y&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const W=h("setTimeout"),V=h("Promise"),x=h("then");let se,oe=[],q=!1;function te(G){if(se||e[V]&&(se=e[V].resolve(0)),se){let b=se[x];b||(b=se.then),b.call(se,G)}else e[W](G,0)}function S(G){0===ye&&0===oe.length&&te(v),G&&oe.push(G)}function v(){if(!q){for(q=!0;oe.length;){const G=oe;oe=[];for(let b=0;bre,onUnhandledError:ce,microtaskDrainDone:ce,scheduleMicroTask:S,showUncaughtError:()=>!_[h("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:ce,patchMethod:()=>ce,bindArguments:()=>[],patchThen:()=>ce,patchMacroTask:()=>ce,patchEventPrototype:()=>ce,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>ce,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>ce,wrapWithCurrentZone:()=>ce,filterProperties:()=>[],attachOriginToPatched:()=>ce,_redefineProperty:()=>ce,patchCallbacks:()=>ce,nativeScheduleMicroTask:te};let re={parent:null,zone:new _(null,null)},Ie=null,ye=0;function ce(){}i("Zone","Zone"),e.Zone=_}(globalThis);const K=Object.getOwnPropertyDescriptor,we=Object.defineProperty,Ne=Object.getPrototypeOf,Ke=Object.create,mt=Array.prototype.slice,$e="addEventListener",tt="removeEventListener",nt=Zone.__symbol__($e),st=Zone.__symbol__(tt),de="true",fe="false",He=Zone.__symbol__("");function rt(e,r){return Zone.current.wrap(e,r)}function Je(e,r,c,i,l){return Zone.current.scheduleMacroTask(e,r,c,i,l)}const X=Zone.__symbol__,Qe=typeof window<"u",Ze=Qe?window:void 0,z=Qe&&Ze||globalThis,me="removeAttribute";function ve(e,r){for(let c=e.length-1;c>=0;c--)"function"==typeof e[c]&&(e[c]=rt(e[c],r+"_"+c));return e}function je(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const ke=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,De=!("nw"in z)&&typeof z.process<"u"&&"[object process]"==={}.toString.call(z.process),D=!De&&!ke&&!(!Qe||!Ze.HTMLElement),Ee=typeof z.process<"u"&&"[object process]"==={}.toString.call(z.process)&&!ke&&!(!Qe||!Ze.HTMLElement),qe={},it=function(e){if(!(e=e||z.event))return;let r=qe[e.type];r||(r=qe[e.type]=X("ON_PROPERTY"+e.type));const c=this||e.target||z,i=c[r];let l;return D&&c===Ze&&"error"===e.type?(l=i&&i.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===l&&e.preventDefault()):(l=i&&i.apply(this,arguments),null!=l&&!l&&e.preventDefault()),l};function ut(e,r,c){let i=K(e,r);if(!i&&c&&K(c,r)&&(i={enumerable:!0,configurable:!0}),!i||!i.configurable)return;const l=X("on"+r+"patched");if(e.hasOwnProperty(l)&&e[l])return;delete i.writable,delete i.value;const h=i.get,g=i.set,_=r.slice(2);let N=qe[_];N||(N=qe[_]=X("ON_PROPERTY"+_)),i.set=function(P){let k=this;!k&&e===z&&(k=z),k&&("function"==typeof k[N]&&k.removeEventListener(_,it),g&&g.call(k,null),k[N]=P,"function"==typeof P&&k.addEventListener(_,it,!1))},i.get=function(){let P=this;if(!P&&e===z&&(P=z),!P)return null;const k=P[N];if(k)return k;if(h){let W=h.call(this);if(W)return i.set.call(this,W),"function"==typeof P[me]&&P.removeAttribute(r),W}return null},we(e,r,i),e[l]=!0}function at(e,r,c){if(r)for(let i=0;ifunction(g,_){const N=c(g,_);return N.cbIdx>=0&&"function"==typeof _[N.cbIdx]?Je(N.name,_[N.cbIdx],N,l):h.apply(g,_)})}function Pe(e,r){e[X("OriginalDelegate")]=r}let Ve=!1,Xe=!1;function xe(){if(Ve)return Xe;Ve=!0;try{const e=Ze.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(Xe=!0)}catch{}return Xe}Zone.__load_patch("ZoneAwarePromise",(e,r,c)=>{const i=Object.getOwnPropertyDescriptor,l=Object.defineProperty,g=c.symbol,_=[],N=!1!==e[g("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],P=g("Promise"),k=g("then"),W="__creationTrace__";c.onUnhandledError=d=>{if(c.showUncaughtError()){const m=d&&d.rejection;m?console.error("Unhandled Promise rejection:",m instanceof Error?m.message:m,"; Zone:",d.zone.name,"; Task:",d.task&&d.task.source,"; Value:",m,m instanceof Error?m.stack:void 0):console.error(d)}},c.microtaskDrainDone=()=>{for(;_.length;){const d=_.shift();try{d.zone.runGuarded(()=>{throw d.throwOriginal?d.rejection:d})}catch(m){x(m)}}};const V=g("unhandledPromiseRejectionHandler");function x(d){c.onUnhandledError(d);try{const m=r[V];"function"==typeof m&&m.call(this,d)}catch{}}function oe(d){return d&&d.then}function q(d){return d}function se(d){return t.reject(d)}const te=g("state"),S=g("value"),v=g("finally"),_e=g("parentPromiseValue"),Y=g("parentPromiseState"),ie="Promise.then",U=null,y=!0,$=!1,p=0;function B(d,m){return a=>{try{ne(d,m,a)}catch(E){ne(d,!1,E)}}}const O=function(){let d=!1;return function(a){return function(){d||(d=!0,a.apply(null,arguments))}}},be="Promise resolved with itself",ee=g("currentTaskTrace");function ne(d,m,a){const E=O();if(d===a)throw new TypeError(be);if(d[te]===U){let L=null;try{("object"==typeof a||"function"==typeof a)&&(L=a&&a.then)}catch(R){return E(()=>{ne(d,!1,R)})(),d}if(m!==$&&a instanceof t&&a.hasOwnProperty(te)&&a.hasOwnProperty(S)&&a[te]!==U)Ie(a),ne(d,a[te],a[S]);else if(m!==$&&"function"==typeof L)try{L.call(a,E(B(d,m)),E(B(d,!1)))}catch(R){E(()=>{ne(d,!1,R)})()}else{d[te]=m;const R=d[S];if(d[S]=a,d[v]===v&&m===y&&(d[te]=d[Y],d[S]=d[_e]),m===$&&a instanceof Error){const M=r.currentTask&&r.currentTask.data&&r.currentTask.data[W];M&&l(a,ee,{configurable:!0,enumerable:!1,writable:!0,value:M})}for(let M=0;M{try{const Z=d[S],j=!!a&&v===a[v];j&&(a[_e]=Z,a[Y]=R);const A=m.run(M,void 0,j&&M!==se&&M!==q?[]:[Z]);ne(a,!0,A)}catch(Z){ne(a,!1,Z)}},a)}const G=function(){},b=e.AggregateError;class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(m){return m instanceof t?m:ne(new this(null),y,m)}static reject(m){return ne(new this(null),$,m)}static withResolvers(){const m={};return m.promise=new t((a,E)=>{m.resolve=a,m.reject=E}),m}static any(m){if(!m||"function"!=typeof m[Symbol.iterator])return Promise.reject(new b([],"All promises were rejected"));const a=[];let E=0;try{for(let M of m)E++,a.push(t.resolve(M))}catch{return Promise.reject(new b([],"All promises were rejected"))}if(0===E)return Promise.reject(new b([],"All promises were rejected"));let L=!1;const R=[];return new t((M,Z)=>{for(let j=0;j{L||(L=!0,M(A))},A=>{R.push(A),E--,0===E&&(L=!0,Z(new b(R,"All promises were rejected")))})})}static race(m){let a,E,L=new this((Z,j)=>{a=Z,E=j});function R(Z){a(Z)}function M(Z){E(Z)}for(let Z of m)oe(Z)||(Z=this.resolve(Z)),Z.then(R,M);return L}static all(m){return t.allWithCallback(m)}static allSettled(m){return(this&&this.prototype instanceof t?this:t).allWithCallback(m,{thenCallback:E=>({status:"fulfilled",value:E}),errorCallback:E=>({status:"rejected",reason:E})})}static allWithCallback(m,a){let E,L,R=new this((A,Q)=>{E=A,L=Q}),M=2,Z=0;const j=[];for(let A of m){oe(A)||(A=this.resolve(A));const Q=Z;try{A.then(J=>{j[Q]=a?a.thenCallback(J):J,M--,0===M&&E(j)},J=>{a?(j[Q]=a.errorCallback(J),M--,0===M&&E(j)):L(J)})}catch(J){L(J)}M++,Z++}return M-=2,0===M&&E(j),R}constructor(m){const a=this;if(!(a instanceof t))throw new Error("Must be an instanceof Promise.");a[te]=U,a[S]=[];try{const E=O();m&&m(E(B(a,y)),E(B(a,$)))}catch(E){ne(a,!1,E)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(m,a){let E=this.constructor?.[Symbol.species];(!E||"function"!=typeof E)&&(E=this.constructor||t);const L=new E(G),R=r.current;return this[te]==U?this[S].push(R,L,m,a):ye(this,R,L,m,a),L}catch(m){return this.then(null,m)}finally(m){let a=this.constructor?.[Symbol.species];(!a||"function"!=typeof a)&&(a=t);const E=new a(G);E[v]=v;const L=r.current;return this[te]==U?this[S].push(L,E,m,m):ye(this,L,E,m,m),E}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const s=e[P]=e.Promise;e.Promise=t;const H=g("thenPatched");function I(d){const m=d.prototype,a=i(m,"then");if(a&&(!1===a.writable||!a.configurable))return;const E=m.then;m[k]=E,d.prototype.then=function(L,R){return new t((Z,j)=>{E.call(this,Z,j)}).then(L,R)},d[H]=!0}return c.patchThen=I,s&&(I(s),Se(e,"fetch",d=>function pe(d){return function(m,a){let E=d.apply(m,a);if(E instanceof t)return E;let L=E.constructor;return L[H]||I(L),E}}(d))),Promise[r.__symbol__("uncaughtPromiseErrors")]=_,t}),Zone.__load_patch("toString",e=>{const r=Function.prototype.toString,c=X("OriginalDelegate"),i=X("Promise"),l=X("Error"),h=function(){if("function"==typeof this){const P=this[c];if(P)return"function"==typeof P?r.call(P):Object.prototype.toString.call(P);if(this===Promise){const k=e[i];if(k)return r.call(k)}if(this===Error){const k=e[l];if(k)return r.call(k)}}return r.call(this)};h[c]=r,Function.prototype.toString=h;const g=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":g.call(this)}});let Le=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){Le=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{Le=!1}const Ue={useG:!0},Te={},Ae={},ot=new RegExp("^"+He+"(\\w+)(true|false)$"),Fe=X("propagationStopped");function Tt(e,r){const c=(r?r(e):e)+fe,i=(r?r(e):e)+de,l=He+c,h=He+i;Te[e]={},Te[e][fe]=l,Te[e][de]=h}function pt(e,r,c,i){const l=i&&i.add||$e,h=i&&i.rm||tt,g=i&&i.listeners||"eventListeners",_=i&&i.rmAll||"removeAllListeners",N=X(l),P="."+l+":",k="prependListener",W="."+k+":",V=function(S,v,_e){if(S.isRemoved)return;const Y=S.callback;let ie;"object"==typeof Y&&Y.handleEvent&&(S.callback=y=>Y.handleEvent(y),S.originalDelegate=Y);try{S.invoke(S,v,[_e])}catch(y){ie=y}const U=S.options;return U&&"object"==typeof U&&U.once&&v[h].call(v,_e.type,S.originalDelegate?S.originalDelegate:S.callback,U),ie};function x(S,v,_e){if(!(v=v||e.event))return;const Y=S||v.target||e,ie=Y[Te[v.type][_e?de:fe]];if(ie){const U=[];if(1===ie.length){const y=V(ie[0],Y,v);y&&U.push(y)}else{const y=ie.slice();for(let $=0;${throw $})}}}const oe=function(S){return x(this,S,!1)},q=function(S){return x(this,S,!0)};function se(S,v){if(!S)return!1;let _e=!0;v&&void 0!==v.useG&&(_e=v.useG);const Y=v&&v.vh;let ie=!0;v&&void 0!==v.chkDup&&(ie=v.chkDup);let U=!1;v&&void 0!==v.rt&&(U=v.rt);let y=S;for(;y&&!y.hasOwnProperty(l);)y=Ne(y);if(!y&&S[l]&&(y=S),!y||y[N])return!1;const $=v&&v.eventNameToString,p={},B=y[N]=y[l],O=y[X(h)]=y[h],be=y[X(g)]=y[g],ee=y[X(_)]=y[_];let ne;v&&v.prepend&&(ne=y[X(v.prepend)]=y[v.prepend]);const t=_e?function(a){if(!p.isExisting)return B.call(p.target,p.eventName,p.capture?q:oe,p.options)}:function(a){return B.call(p.target,p.eventName,a.invoke,p.options)},s=_e?function(a){if(!a.isRemoved){const E=Te[a.eventName];let L;E&&(L=E[a.capture?de:fe]);const R=L&&a.target[L];if(R)for(let M=0;M{Oe.zone.cancelTask(Oe)},{once:!0})),p.target=null,Me&&(Me.taskData=null),T&&(o.once=!0),!Le&&"boolean"==typeof Oe.options||(Oe.options=o),Oe.target=j,Oe.capture=f,Oe.eventName=A,J&&(Oe.originalDelegate=Q),Z?F.unshift(Oe):F.push(Oe),M?j:void 0}};return y[l]=m(B,P,t,s,U),ne&&(y[k]=m(ne,W,function(a){return ne.call(p.target,p.eventName,a.invoke,p.options)},s,U,!0)),y[h]=function(){const a=this||e;let E=arguments[0];v&&v.transferEventName&&(E=v.transferEventName(E));const L=arguments[2],R=!!L&&("boolean"==typeof L||L.capture),M=arguments[1];if(!M)return O.apply(this,arguments);if(Y&&!Y(O,M,a,arguments))return;const Z=Te[E];let j;Z&&(j=Z[R?de:fe]);const A=j&&a[j];if(A)for(let Q=0;Qfunction(l,h){l[Fe]=!0,i&&i.apply(l,h)})}function yt(e,r,c,i,l){const h=Zone.__symbol__(i);if(r[h])return;const g=r[h]=r[i];r[i]=function(_,N,P){return N&&N.prototype&&l.forEach(function(k){const W=`${c}.${i}::`+k,V=N.prototype;try{if(V.hasOwnProperty(k)){const x=e.ObjectGetOwnPropertyDescriptor(V,k);x&&x.value?(x.value=e.wrapWithCurrentZone(x.value,W),e._redefineProperty(N.prototype,k,x)):V[k]&&(V[k]=e.wrapWithCurrentZone(V[k],W))}else V[k]&&(V[k]=e.wrapWithCurrentZone(V[k],W))}catch{}}),g.call(r,_,N,P)},e.attachOriginToPatched(r[i],g)}function lt(e,r,c){if(!c||0===c.length)return r;const i=c.filter(h=>h.target===e);if(!i||0===i.length)return r;const l=i[0].ignoreProperties;return r.filter(h=>-1===l.indexOf(h))}function ht(e,r,c,i){e&&at(e,lt(e,r,c),i)}function Be(e){return Object.getOwnPropertyNames(e).filter(r=>r.startsWith("on")&&r.length>2).map(r=>r.substring(2))}Zone.__load_patch("util",(e,r,c)=>{const i=Be(e);c.patchOnProperties=at,c.patchMethod=Se,c.bindArguments=ve,c.patchMacroTask=ft;const l=r.__symbol__("BLACK_LISTED_EVENTS"),h=r.__symbol__("UNPATCHED_EVENTS");e[h]&&(e[l]=e[h]),e[l]&&(r[l]=r[h]=e[l]),c.patchEventPrototype=ct,c.patchEventTarget=pt,c.isIEOrEdge=xe,c.ObjectDefineProperty=we,c.ObjectGetOwnPropertyDescriptor=K,c.ObjectCreate=Ke,c.ArraySlice=mt,c.patchClass=ze,c.wrapWithCurrentZone=rt,c.filterProperties=lt,c.attachOriginToPatched=Pe,c._redefineProperty=Object.defineProperty,c.patchCallbacks=yt,c.getGlobalObjects=()=>({globalSources:Ae,zoneSymbolEventNames:Te,eventNames:i,isBrowser:D,isMix:Ee,isNode:De,TRUE_STR:de,FALSE_STR:fe,ZONE_SYMBOL_PREFIX:He,ADD_EVENT_LISTENER_STR:$e,REMOVE_EVENT_LISTENER_STR:tt})});const Ye=X("zoneTask");function Ge(e,r,c,i){let l=null,h=null;c+=i;const g={};function _(P){const k=P.data;return k.args[0]=function(){return P.invoke.apply(this,arguments)},k.handleId=l.apply(e,k.args),P}function N(P){return h.call(e,P.data.handleId)}l=Se(e,r+=i,P=>function(k,W){if("function"==typeof W[0]){const V={isPeriodic:"Interval"===i,delay:"Timeout"===i||"Interval"===i?W[1]||0:void 0,args:W},x=W[0];W[0]=function(){try{return x.apply(this,arguments)}finally{V.isPeriodic||("number"==typeof V.handleId?delete g[V.handleId]:V.handleId&&(V.handleId[Ye]=null))}};const oe=Je(r,W[0],V,_,N);if(!oe)return oe;const q=oe.data.handleId;return"number"==typeof q?g[q]=oe:q&&(q[Ye]=oe),q&&q.ref&&q.unref&&"function"==typeof q.ref&&"function"==typeof q.unref&&(oe.ref=q.ref.bind(q),oe.unref=q.unref.bind(q)),"number"==typeof q||q?q:oe}return P.apply(e,W)}),h=Se(e,c,P=>function(k,W){const V=W[0];let x;"number"==typeof V?x=g[V]:(x=V&&V[Ye],x||(x=V)),x&&"string"==typeof x.type?"notScheduled"!==x.state&&(x.cancelFn&&x.data.isPeriodic||0===x.runCount)&&("number"==typeof V?delete g[V]:V&&(V[Ye]=null),x.zone.cancelTask(x)):P.apply(e,W)})}Zone.__load_patch("legacy",e=>{const r=e[Zone.__symbol__("legacyPatch")];r&&r()}),Zone.__load_patch("timers",e=>{const r="set",c="clear";Ge(e,r,c,"Timeout"),Ge(e,r,c,"Interval"),Ge(e,r,c,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{Ge(e,"request","cancel","AnimationFrame"),Ge(e,"mozRequest","mozCancel","AnimationFrame"),Ge(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,r)=>{const c=["alert","prompt","confirm"];for(let i=0;ifunction(N,P){return r.current.run(h,e,P,_)})}),Zone.__load_patch("EventTarget",(e,r,c)=>{(function et(e,r){r.patchEventPrototype(e,r)})(e,c),function bt(e,r){if(Zone[r.symbol("patchEventTarget")])return;const{eventNames:c,zoneSymbolEventNames:i,TRUE_STR:l,FALSE_STR:h,ZONE_SYMBOL_PREFIX:g}=r.getGlobalObjects();for(let N=0;N{ze("MutationObserver"),ze("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,r,c)=>{ze("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,r,c)=>{ze("FileReader")}),Zone.__load_patch("on_property",(e,r,c)=>{!function _t(e,r){if(De&&!Ee||Zone[e.symbol("patchEvents")])return;const c=r.__Zone_ignore_on_properties;let i=[];if(D){const l=window;i=i.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const h=function Et(){try{const e=Ze.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:l,ignoreProperties:["error"]}]:[];ht(l,Be(l),c&&c.concat(h),Ne(l))}i=i.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let l=0;l{!function vt(e,r){const{isBrowser:c,isMix:i}=r.getGlobalObjects();(c||i)&&e.customElements&&"customElements"in e&&r.patchCallbacks(r,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,c)}),Zone.__load_patch("XHR",(e,r)=>{!function N(P){const k=P.XMLHttpRequest;if(!k)return;const W=k.prototype;let x=W[nt],oe=W[st];if(!x){const p=P.XMLHttpRequestEventTarget;if(p){const B=p.prototype;x=B[nt],oe=B[st]}}const q="readystatechange",se="scheduled";function te(p){const B=p.data,O=B.target;O[h]=!1,O[_]=!1;const be=O[l];x||(x=O[nt],oe=O[st]),be&&oe.call(O,q,be);const ee=O[l]=()=>{if(O.readyState===O.DONE)if(!B.aborted&&O[h]&&p.state===se){const re=O[r.__symbol__("loadfalse")];if(0!==O.status&&re&&re.length>0){const Ie=p.invoke;p.invoke=function(){const ye=O[r.__symbol__("loadfalse")];for(let ce=0;cefunction(p,B){return p[i]=0==B[2],p[g]=B[1],_e.apply(p,B)}),ie=X("fetchTaskAborting"),U=X("fetchTaskScheduling"),y=Se(W,"send",()=>function(p,B){if(!0===r.current[U]||p[i])return y.apply(p,B);{const O={target:p,url:p[g],isPeriodic:!1,args:B,aborted:!1},be=Je("XMLHttpRequest.send",S,O,te,v);p&&!0===p[_]&&!O.aborted&&be.state===se&&be.invoke()}}),$=Se(W,"abort",()=>function(p,B){const O=function V(p){return p[c]}(p);if(O&&"string"==typeof O.type){if(null==O.cancelFn||O.data&&O.data.aborted)return;O.zone.cancelTask(O)}else if(!0===r.current[ie])return $.apply(p,B)})}(e);const c=X("xhrTask"),i=X("xhrSync"),l=X("xhrListener"),h=X("xhrScheduled"),g=X("xhrURL"),_=X("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function Re(e,r){const c=e.constructor.name;for(let i=0;i{const N=function(){return _.apply(this,ve(arguments,c+"."+l))};return Pe(N,_),N})(h)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,r)=>{function c(i){return function(l){dt(e,i).forEach(g=>{const _=e.PromiseRejectionEvent;if(_){const N=new _(i,{promise:l.promise,reason:l.rejection});g.invoke(N)}})}}e.PromiseRejectionEvent&&(r[X("unhandledPromiseRejectionHandler")]=c("unhandledrejection"),r[X("rejectionHandledHandler")]=c("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(e,r,c)=>{!function gt(e,r){r.patchMethod(e,"queueMicrotask",c=>function(i,l){Zone.current.scheduleMicroTask("queueMicrotask",l[0])})}(e,c)})},676:()=>{}},K=>{K(K.s=273)}]);
(()=>{"use strict";var e,b={},l={};function f(e){var t=l[e];if(void 0!==t)return t.exports;var r=l[e]={exports:{}};return b[e](r,r.exports,f),r.exports}f.m=b,e=[],f.O=(t,r,a,n)=>{if(!r){var c=1/0;for(o=0;o=n)&&Object.keys(f.O).every(h=>f.O[h](r[i]))?r.splice(i--,1):(_=!1,n0&&e[o-1][2]>n;o--)e[o]=e[o-1];e[o]=[r,a,n]},f.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return f.d(t,{a:t}),t},(()=>{var t,e=Object.getPrototypeOf?r=>Object.getPrototypeOf(r):r=>r.__proto__;f.t=function(r,a){if(1&a&&(r=this(r)),8&a||"object"==typeof r&&r&&(4&a&&r.__esModule||16&a&&"function"==typeof r.then))return r;var n=Object.create(null);f.r(n);var o={};t=t||[null,e({}),e([]),e(e)];for(var c=2&a&&r;"object"==typeof c&&!~t.indexOf(c);c=e(c))Object.getOwnPropertyNames(c).forEach(_=>o[_]=()=>r[_]);return o.default=()=>r,f.d(n,o),n}})(),f.d=(e,t)=>{for(var r in t)f.o(t,r)&&!f.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},f.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),f.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={121:0};f.O.j=a=>0===e[a];var t=(a,n)=>{var i,p,[o,c,_]=n,s=0;if(o.some(d=>0!==e[d])){for(i in c)f.o(c,i)&&(f.m[i]=c[i]);if(_)var u=_(f)}for(a&&a(n);s Nedis - USB-A lader 3A (18W) (indg. i side) (Han-Han) (Sort) - 0,1 m
Skip to navigation
Skip to content Forside Mobil & Tablet Samsung tilbehør Samsung oplader Lader (uden kabel) Nedis – USB-A lader 3A (18W) (indg. i side) (Han-Han) (Sort) – 0,1 m
Se kurv “Goobay – USB oplader sæt (USB-C) (1A/5W) (Han-Han) (Hvid) – 1,0 m” er blevet tilføjet til din kurv.
Nedis – USB-A lader 3A (18W) (indg. i side) (Han-Han) (Sort) – 0,1 m kr. 119,00
30 dages returret
Prisgaranti på alt
1-2 dages levering
Vi bytter med et :)
Sammenlign Denne Nedis® 18 W QC 3.0-vægoplader giver dig mulighed for at oplade smartphones, tablets, Nintendo Switch og mange andre enheder uden brug af pc eller bærbar computer.
QC 3.0-porten er bagudkompatibel og sikrer den hurtigst mulige opladning til alle Quick Charge-aktiverede enheder. Porten kan også oplade alle ikke-Quick Charge-enheder med gode hastigheder på op til 2,4 A. Takket være dens lille størrelse er den perfekt til bærbar opladning på rejser.
Max output: 3A / 18W
USB-A indg. i siden
Automatisk valgt spænding Vægt 50 g Brand Nedis
Farve Sort
Længde 0,1 meter
Tilslutning 1, type USB-A
Udgangsstrøm 18W
SKU Ned260-14-01
Baseret på 0 bedømmelser
0.0 total
Vi bruger cookies på vores hjemmeside for at give dig den mest relevante oplevelse ved at huske dine præferencer og gentage besøg. Ved at klikke på "Accepter" accepterer du brugen af ALLE cookies.
Cookies
Der er ingen bedømmelser endnu.