var $localize=Object.assign(void 0===$localize?{}:$localize,{locale:"en"}); "use strict";(function(global){global.ng=global.ng||{};global.ng.common=global.ng.common||{};global.ng.common.locales=global.ng.common.locales||{};const u=undefined;function plural(n){let i=Math.floor(Math.abs(n)),v=n.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"]]]]})(typeof globalThis!=="undefined"&&globalThis||typeof global!=="undefined"&&global||typeof window!=="undefined"&&window);; (window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(t,e,n){t.exports=n("zUnb")},q82V:function(t,e,n){var s,o,i;!function(r){if("object"==typeof t.exports){var a=r(0,e);void 0!==a&&(t.exports=a)}else o=[n,e],void 0===(i="function"==typeof(s=r)?s.apply(e,o):s)||(t.exports=i)}((function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=void 0;e.default=["da",[["a","p"],["AM","PM"],n],[["AM","PM"],n,n],[["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"]],n,[["fKr","eKr"],["f.Kr.","e.Kr."],n],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}",n,"{1} 'kl'. {0}",n],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN","."],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"DKK","kr.","dansk krone",{AUD:["AU$","$"],DKK:["kr."],ISK:[n,"kr."],JPY:["JP\xa5","\xa5"],NOK:[n,"kr."],RON:[n,"L"],SEK:[n,"kr."],THB:["\u0e3f"],TWD:["NT$"],USD:["US$","$"]},"ltr",function(t){var e=Math.floor(Math.abs(t)),n=parseInt(t.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;return 1===t||0!==n&&(0===e||1===e)?1:5}]}))},sPWc:function(t){t.exports=JSON.parse('{"a":"2022.5.19.1-corewebapi"}')},zUnb:function(t,e,n){"use strict";function s(t){return"function"==typeof t}n.r(e);let o=!1;const i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else o&&console.log("RxJS: Back to a better error behavior. Thank you. <3");o=t},get useDeprecatedSynchronousErrorHandling(){return o}};function r(t){setTimeout(()=>{throw t},0)}const a={closed:!0,next(t){},error(t){if(i.useDeprecatedSynchronousErrorHandling)throw t;r(t)},complete(){}},l=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))();function c(t){return null!==t&&"object"==typeof t}const u=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();let h=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_unsubscribe:o,_subscriptions:i}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(let t=0;tt.concat(e instanceof u?e.errors:e),[])}const p=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class f extends h{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a;break;case 1:if(!t){this.destination=a;break}if("object"==typeof t){t instanceof f?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new g(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new g(this,t,e,n)}}[p](){return this}static create(t,e,n){const s=new f(t,e,n);return s.syncErrorThrowable=!1,s}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class g extends f{constructor(t,e,n,o){let i;super(),this._parentSubscriber=t;let r=this;s(e)?i=e:e&&(i=e.next,n=e.error,o=e.complete,e!==a&&(r=Object.create(e),s(r.unsubscribe)&&this.add(r.unsubscribe.bind(r)),r.unsubscribe=this.unsubscribe.bind(this))),this._context=r,this._next=i,this._error=n,this._complete=o}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;i.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=i;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):r(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;r(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);i.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),i.useDeprecatedSynchronousErrorHandling)throw n;r(n)}}__tryOrSetError(t,e,n){if(!i.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(s){return i.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=s,t.syncErrorThrown=!0,!0):(r(s),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const y=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function m(t){return t}let _=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:s}=this,o=function(t,e,n){if(t){if(t instanceof f)return t;if(t[p])return t[p]()}return t||e||n?new f(t,e,n):new f(a)}(t,e,n);if(o.add(s?s.call(o,this.source):this.source||i.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),i.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o}_trySubscribe(t){try{return this._subscribe(t)}catch(e){i.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:s}=t;if(e||s)return!1;t=n&&n instanceof f?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=w(e))((e,n)=>{let s;s=this.subscribe(e=>{try{t(e)}catch(o){n(o),s&&s.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[y](){return this}pipe(...t){return 0===t.length?this:(0===(e=t).length?m:1===e.length?e[0]:function(t){return e.reduce((t,e)=>e(t),t)})(this);var e}toPromise(t){return new(t=w(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function w(t){if(t||(t=i.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const b=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class M extends h{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}class C extends f{constructor(t){super(t),this.destination=t}}let v=(()=>{class t extends _{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[p](){return new C(this)}lift(t){const e=new x(this,this);return e.operator=t,e}next(t){if(this.closed)throw new b;if(!this.isStopped){const{observers:e}=this,n=e.length,s=e.slice();for(let o=0;onew x(t,e),t})();class x extends v{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):h.EMPTY}}function O(t){return t&&"function"==typeof t.schedule}class P extends f{constructor(t,e,n){super(),this.parent=t,this.outerValue=e,this.outerIndex=n,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}const E=t=>e=>{for(let n=0,s=t.length;nt&&"number"==typeof t.length&&"function"!=typeof t;function N(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const T=t=>{if(t&&"function"==typeof t[y])return s=t,t=>{const e=s[y]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(D(t))return E(t);if(N(t))return n=t,t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,r),t);if(t&&"function"==typeof t[S])return e=t,t=>{const n=e[S]();for(;;){const e=n.next();if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t};{const e=c(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var e,n,s};function k(t,e,n,s,o=new P(t,n,s)){if(!o.closed)return e instanceof _?e.subscribe(o):T(e)(o)}class j extends f{notifyNext(t,e,n,s,o){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}function A(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new I(t,e))}}class I{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new R(t,this.project,this.thisArg))}}class R extends f{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}function z(t,e){return new _(n=>{const s=new h;let o=0;return s.add(e.schedule((function(){o!==t.length?(n.next(t[o++]),n.closed||s.add(this.schedule())):n.complete()}))),s})}function F(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[y]}(t))return function(t,e){return new _(n=>{const s=new h;return s.add(e.schedule(()=>{const o=t[y]();s.add(o.subscribe({next(t){s.add(e.schedule(()=>n.next(t)))},error(t){s.add(e.schedule(()=>n.error(t)))},complete(){s.add(e.schedule(()=>n.complete()))}}))})),s})}(t,e);if(N(t))return function(t,e){return new _(n=>{const s=new h;return s.add(e.schedule(()=>t.then(t=>{s.add(e.schedule(()=>{n.next(t),s.add(e.schedule(()=>n.complete()))}))},t=>{s.add(e.schedule(()=>n.error(t)))}))),s})}(t,e);if(D(t))return z(t,e);if(function(t){return t&&"function"==typeof t[S]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new _(n=>{const s=new h;let o;return s.add(()=>{o&&"function"==typeof o.return&&o.return()}),s.add(e.schedule(()=>{o=t[S](),s.add(e.schedule((function(){if(n.closed)return;let t,e;try{const n=o.next();t=n.value,e=n.done}catch(s){return void n.error(s)}e?n.complete():(n.next(t),this.schedule())})))})),s})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof _?t:new _(T(t))}function V(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?s=>s.pipe(V((n,s)=>F(t(n,s)).pipe(A((t,o)=>e(n,t,s,o))),n)):("number"==typeof e&&(n=e),e=>e.lift(new H(t,n)))}class H{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new B(t,this.project,this.concurrent))}}class B extends j{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function U(t=Number.POSITIVE_INFINITY){return V(m,t)}function Y(t,e){return e?z(t,e):new _(E(t))}function $(...t){let e=Number.POSITIVE_INFINITY,n=null,s=t[t.length-1];return O(s)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof s&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof _?t[0]:U(e)(Y(t,n))}function Q(){return function(t){return t.lift(new W(t))}}class W{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const s=new Z(t,n),o=e.subscribe(s);return s.closed||(s.connection=n.connect()),o}}class Z extends f{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,s=t._connection;this.connection=null,!s||n&&s!==n||s.unsubscribe()}}class q extends _{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new h,t.add(this.source.subscribe(new K(this.getSubject(),this))),t.closed&&(this._connection=null,t=h.EMPTY)),t}refCount(){return Q()(this)}}const G=(()=>{const t=q.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class K extends C{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}function J(){return new v}function X(t){return{toString:t}.toString()}function tt(t,e,n){return X(()=>{const s=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function o(...t){if(this instanceof o)return s.apply(this,t),this;const e=new o(...t);return n.annotation=e,n;function n(t,n,s){const o=t.hasOwnProperty("__parameters__")?t.__parameters__:Object.defineProperty(t,"__parameters__",{value:[]}).__parameters__;for(;o.length<=s;)o.push(null);return(o[s]=o[s]||[]).push(e),t}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}const et=tt("Inject",t=>({token:t})),nt=tt("Optional"),st=tt("Self"),ot=tt("SkipSelf");var it=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});function rt(t){for(let e in t)if(t[e]===rt)return e;throw Error("Could not find renamed property on target object.")}function at(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function lt(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function ct(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}function ut(t){return ht(t,t[pt])||ht(t,t[yt])}function ht(t,e){return e&&e.token===t?e:null}function dt(t){return t&&(t.hasOwnProperty(ft)||t.hasOwnProperty(mt))?t[ft]:null}const pt=rt({\u0275prov:rt}),ft=rt({\u0275inj:rt}),gt=rt({\u0275provFallback:rt}),yt=rt({ngInjectableDef:rt}),mt=rt({ngInjectorDef:rt});function _t(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(_t).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function wt(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const bt=rt({__forward_ref__:rt});function Mt(t){return t.__forward_ref__=Mt,t.toString=function(){return _t(this())},t}function Ct(t){return"function"==typeof(e=t)&&e.hasOwnProperty(bt)&&e.__forward_ref__===Mt?t():t;var e}const vt="undefined"!=typeof globalThis&&globalThis,xt="undefined"!=typeof window&&window,Ot="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Pt="undefined"!=typeof global&&global,Et=vt||Pt||xt||Ot,Lt=rt({\u0275cmp:rt}),St=rt({\u0275dir:rt}),Dt=rt({\u0275pipe:rt}),Nt=rt({\u0275mod:rt}),Tt=rt({\u0275loc:rt}),kt=rt({\u0275fac:rt}),jt=rt({__NG_ELEMENT_ID__:rt});class At{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=lt({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return"InjectionToken "+this._desc}}const It=new At("INJECTOR",-1),Rt={},zt=/\n/gm,Ft=rt({provide:String,useValue:rt});let Vt,Ht=void 0;function Bt(t){const e=Ht;return Ht=t,e}function Ut(t){const e=Vt;return Vt=t,e}function Yt(t,e=it.Default){if(void 0===Ht)throw new Error("inject() must be called from an injection context");return null===Ht?Wt(t,void 0,e):Ht.get(t,e&it.Optional?null:void 0,e)}function $t(t,e=it.Default){return(Vt||Yt)(Ct(t),e)}const Qt=$t;function Wt(t,e,n){const s=ut(t);if(s&&"root"==s.providedIn)return void 0===s.value?s.value=s.factory():s.value;if(n&it.Optional)return null;if(void 0!==e)return e;throw new Error(`Injector: NOT_FOUND [${_t(t)}]`)}function Zt(t){const e=[];for(let n=0;nArray.isArray(t)?Jt(t,e):e(t))}function Xt(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function te(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function ee(t,e){const n=[];for(let s=0;s=0?t[1|s]=n:(s=~s,function(t,e,n,s){let o=t.length;if(o==e)t.push(n,s);else if(1===o)t.push(s,t[0]),t[0]=n;else{for(o--,t.push(t[o-1],t[o]);o>e;)t[o]=t[o-2],o--;t[e]=n,t[e+1]=s}}(t,s,e,n)),s}function se(t,e){const n=oe(t,e);if(n>=0)return t[1|n]}function oe(t,e){return function(t,e,n){let s=0,o=t.length>>1;for(;o!==s;){const n=s+(o-s>>1),i=t[n<<1];if(e===i)return n<<1;i>e?o=n:s=n+1}return~(o<<1)}(t,e)}var ie=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),re=function(t){return t[t.Emulated=0]="Emulated",t[t.Native=1]="Native",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({});const ae={},le=[];let ce=0;function ue(t){return X(()=>{const e={},n={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===ie.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||le,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||re.Emulated,id:"c",styles:t.styles||le,_:null,setInput:null,schemas:t.schemas||null,tView:null},s=t.directives,o=t.features,i=t.pipes;return n.id+=ce++,n.inputs=ge(t.inputs,e),n.outputs=ge(t.outputs),o&&o.forEach(t=>t(n)),n.directiveDefs=s?()=>("function"==typeof s?s():s).map(he):null,n.pipeDefs=i?()=>("function"==typeof i?i():i).map(de):null,n})}function he(t){return _e(t)||function(t){return t[St]||null}(t)}function de(t){return function(t){return t[Dt]||null}(t)}const pe={};function fe(t){const e={type:t.type,bootstrap:t.bootstrap||le,declarations:t.declarations||le,imports:t.imports||le,exports:t.exports||le,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&X(()=>{pe[t.id]=t.type}),e}function ge(t,e){if(null==t)return ae;const n={};for(const s in t)if(t.hasOwnProperty(s)){let o=t[s],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=s,e&&(e[o]=i)}return n}const ye=ue;function me(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function _e(t){return t[Lt]||null}function we(t,e){return t.hasOwnProperty(kt)?t[kt]:null}function be(t,e){const n=t[Nt]||null;if(!n&&!0===e)throw new Error(`Type ${_t(t)} does not have '\u0275mod' property.`);return n}function Me(t){return Array.isArray(t)&&"object"==typeof t[1]}function Ce(t){return Array.isArray(t)&&!0===t[1]}function ve(t){return 0!=(8&t.flags)}function xe(t){return 2==(2&t.flags)}function Oe(t){return 1==(1&t.flags)}function Pe(t){return null!==t.template}function Ee(t){return 0!=(512&t[2])}class Le{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function Se(){const t=Ne(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===ae)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function De(t,e,n,s){const o=Ne(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:ae,current:null}),i=o.current||(o.current={}),r=o.previous,a=this.declaredInputs[n],l=r[a];i[a]=new Le(l&&l.currentValue,e,r===ae),t[s]=e}function Ne(t){return t.__ngSimpleChanges__||null}let Te=void 0;function ke(){return void 0!==Te?Te:"undefined"!=typeof document?document:void 0}function je(t){return!!t.listen}const Ae={createRenderer:(t,e)=>ke()};function Ie(t){for(;Array.isArray(t);)t=t[0];return t}function Re(t,e){return Ie(e[t+20])}function ze(t,e){return Ie(e[t.index])}function Fe(t,e){return t.data[e+20]}function Ve(t,e){return t[e+20]}function He(t,e){const n=e[t];return Me(n)?n:n[0]}function Be(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Ue(t){return 4==(4&t[2])}function Ye(t){return 128==(128&t[2])}function $e(t,e){return null===t||null==e?null:t[e]}function Qe(t){t[18]=0}function We(t,e){t[5]+=e;let n=t,s=t[3];for(;null!==s&&(1===e&&1===n[5]||-1===e&&0===n[5]);)s[5]+=e,n=s,s=s[3]}const Ze={lFrame:mn(null),bindingsEnabled:!0,checkNoChangesMode:!1};function qe(){return Ze.bindingsEnabled}function Ge(){return Ze.lFrame.lView}function Ke(){return Ze.lFrame.tView}function Je(t){Ze.lFrame.contextLView=t}function Xe(){return Ze.lFrame.previousOrParentTNode}function tn(t,e){Ze.lFrame.previousOrParentTNode=t,Ze.lFrame.isParent=e}function en(){return Ze.lFrame.isParent}function nn(){Ze.lFrame.isParent=!1}function sn(){return Ze.checkNoChangesMode}function on(t){Ze.checkNoChangesMode=t}function rn(){const t=Ze.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function an(){return Ze.lFrame.bindingIndex}function ln(){return Ze.lFrame.bindingIndex++}function cn(t){const e=Ze.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function un(t,e){const n=Ze.lFrame;n.bindingIndex=n.bindingRootIndex=t,hn(e)}function hn(t){Ze.lFrame.currentDirectiveIndex=t}function dn(){return Ze.lFrame.currentQueryIndex}function pn(t){Ze.lFrame.currentQueryIndex=t}function fn(t,e){const n=yn();Ze.lFrame=n,n.previousOrParentTNode=e,n.lView=t}function gn(t,e){const n=yn(),s=t[1];Ze.lFrame=n,n.previousOrParentTNode=e,n.lView=t,n.tView=s,n.contextLView=t,n.bindingIndex=s.bindingStartIndex}function yn(){const t=Ze.lFrame,e=null===t?null:t.child;return null===e?mn(t):e}function mn(t){const e={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null};return null!==t&&(t.child=e),e}function _n(){const t=Ze.lFrame;return Ze.lFrame=t.parent,t.previousOrParentTNode=null,t.lView=null,t}const wn=_n;function bn(){const t=_n();t.isParent=!0,t.tView=null,t.selectedIndex=0,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Mn(){return Ze.lFrame.selectedIndex}function Cn(t){Ze.lFrame.selectedIndex=t}function vn(){const t=Ze.lFrame;return Fe(t.tView,t.selectedIndex)}function xn(t,e){for(let n=e.directiveStart,s=e.directiveEnd;n=s)break}else e[r]<0&&(t[18]+=65536),(i>11>16&&(3&t[2])===e&&(t[2]+=2048,i.call(r)):i.call(r)}class Dn{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function Nn(t,e,n){const s=je(t);let o=0;for(;oe){r=i-1;break}}}for(;i>16}function zn(t,e){let n=Rn(t),s=e;for(;n>0;)s=s[15],n--;return s}function Fn(t){return"string"==typeof t?t:null==t?"":""+t}function Vn(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():Fn(t)}const Hn=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Et))();function Bn(t){return t instanceof Function?t():t}let Un=!0;function Yn(t){const e=Un;return Un=t,e}let $n=0;function Qn(t,e){const n=Zn(t,e);if(-1!==n)return n;const s=e[1];s.firstCreatePass&&(t.injectorIndex=e.length,Wn(s.data,t),Wn(e,null),Wn(s.blueprint,null));const o=qn(t,e),i=t.injectorIndex;if(An(o)){const t=In(o),n=zn(o,e),s=n[1].data;for(let o=0;o<8;o++)e[i+o]=n[t+o]|s[t+o]}return e[i+8]=o,i}function Wn(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Zn(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null==e[t.injectorIndex+8]?-1:t.injectorIndex}function qn(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=e[6],s=1;for(;n&&-1===n.injectorIndex;)n=(e=e[15])?e[6]:null,s++;return n?n.injectorIndex|s<<16:-1}function Gn(t,e,n){!function(t,e,n){let s;"string"==typeof n?s=n.charCodeAt(0)||0:n.hasOwnProperty(jt)&&(s=n[jt]),null==s&&(s=n[jt]=$n++);const o=255&s,i=1<0?255&e:e}(n);if("function"==typeof o){fn(e,t);try{const t=o();if(null!=t||s&it.Optional)return t;throw new Error(`No provider for ${Vn(n)}!`)}finally{wn()}}else if("number"==typeof o){if(-1===o)return new os(t,e);let i=null,r=Zn(t,e),a=-1,l=s&it.Host?e[16][6]:null;for((-1===r||s&it.SkipSelf)&&(a=-1===r?qn(t,e):e[r+8],ss(s,!1)?(i=e[1],r=In(a),e=zn(a,e)):r=-1);-1!==r;){a=e[r+8];const t=e[1];if(ns(o,r,t.data)){const t=Xn(r,e,n,i,s,l);if(t!==Jn)return t}ss(s,e[1].data[r+8]===l)&&ns(o,r,e)?(i=t,r=In(a),e=zn(a,e)):r=-1}}}if(s&it.Optional&&void 0===o&&(o=null),0==(s&(it.Self|it.Host))){const t=e[9],i=Ut(void 0);try{return t?t.get(n,o,s&it.Optional):Wt(n,o,s&it.Optional)}finally{Ut(i)}}if(s&it.Optional)return o;throw new Error(`NodeInjector: NOT_FOUND [${Vn(n)}]`)}const Jn={};function Xn(t,e,n,s,o,i){const r=e[1],a=r.data[t+8],l=ts(a,r,n,null==s?xe(a)&&Un:s!=r&&3===a.type,o&it.Host&&i===a);return null!==l?es(e,r,l,a):Jn}function ts(t,e,n,s,o){const i=t.providerIndexes,r=e.data,a=1048575&i,l=t.directiveStart,c=i>>20,u=o?a+c:t.directiveEnd;for(let h=s?a:a+c;h=l&&t.type===n)return h}if(o){const t=r[l];if(t&&Pe(t)&&t.type===n)return l}return null}function es(t,e,n,s){let o=t[n];const i=e.data;if(o instanceof Dn){const r=o;if(r.resolving)throw new Error("Circular dep for "+Vn(i[n]));const a=Yn(r.canSeeViewProviders);let l;r.resolving=!0,r.injectImpl&&(l=Ut(r.injectImpl)),fn(t,s);try{o=t[n]=r.factory(void 0,i,t,s),e.firstCreatePass&&n>=s.directiveStart&&function(t,e,n){const{ngOnChanges:s,ngOnInit:o,ngDoCheck:i}=e.type.prototype;if(s){const s=((r=e).type.prototype.ngOnChanges&&(r.setInput=De),Se);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s)}var r;o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,o),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,i))}(n,i[n],e)}finally{r.injectImpl&&Ut(l),Yn(a),r.resolving=!1,wn()}}return o}function ns(t,e,n){const s=64&t,o=32&t;let i;return i=128&t?s?o?n[e+7]:n[e+6]:o?n[e+5]:n[e+4]:s?o?n[e+3]:n[e+2]:o?n[e+1]:n[e],!!(i&1<_s(t.trim())).join(", ")}function bs(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function Ms(...t){const e={};for(const n of t)for(const t in n)n.hasOwnProperty(t)&&(e[t]=!0);return e}const Cs=bs("area,br,col,hr,img,wbr"),vs=bs("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),xs=bs("rp,rt"),Os=Ms(xs,vs),Ps=Ms(Cs,Ms(vs,bs("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")),Ms(xs,bs("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")),Os),Es=bs("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Ls=bs("srcset"),Ss=Ms(Es,Ls,bs("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,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),bs("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 Ds=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({});function Ns(t){const e=function(){const t=Ge();return t&&t[12]}();return e?e.sanitize(Ds.URL,t)||"":function(t,e){const n=function(t){return t instanceof cs&&t.getTypeName()||null}(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see http://g.co/ng/security#xss)`)}return n===e}(t,"URL")?us(t):_s(Fn(t))}function Ts(t,e){t.__ngContext__=e}function ks(t,e,n){let s=t.length;for(;;){const o=t.indexOf(e,n);if(-1===o)return o;if(0===o||t.charCodeAt(o-1)<=32){const n=e.length;if(o+n===s||t.charCodeAt(o+n)<=32)return o}n=o+1}}function js(t,e,n){let s=0;for(;si?"":o[u+1].toLowerCase();const e=8&s?t:null;if(e&&-1!==ks(e,c,0)||2&s&&c!==t){if(zs(s))return!1;r=!0}}}}else{if(!r&&!zs(s)&&!zs(l))return!1;if(r&&zs(l))continue;r=!1,s=l|1&s}}return zs(s)||r}function zs(t){return 0==(1&t)}function Fs(t,e,n,s){if(null===e)return-1;let o=0;if(s||!n){let n=!1;for(;o-1)for(n++;n0?'="'+e+'"':"")+"]"}else 8&s?o+="."+r:4&s&&(o+=" "+r);else""===o||zs(r)||(e+=Hs(i,o),o=""),s=r,i=i||!zs(s);n++}return""!==o&&(e+=Hs(i,o)),e}const Us={};function Ys(t){const e=t[3];return Ce(e)?e[3]:e}function $s(t){return Ws(t[13])}function Qs(t){return Ws(t[4])}function Ws(t){for(;null!==t&&!Ce(t);)t=t[4];return t}function Zs(t){qs(Ke(),Ge(),Mn()+t,sn())}function qs(t,e,n,s){if(!s)if(3==(3&e[2])){const s=t.preOrderCheckHooks;null!==s&&On(e,s,n)}else{const s=t.preOrderHooks;null!==s&&Pn(e,s,0,n)}Cn(n)}function Gs(t,e){return t<<17|e<<2}function Ks(t){return t>>17&32767}function Js(t){return 2|t}function Xs(t){return(131068&t)>>2}function to(t,e){return-131069&t|e<<2}function eo(t){return 1|t}function no(t,e){const n=t.contentQueries;if(null!==n)for(let s=0;s20&&qs(t,e,0,sn()),n(s,o)}finally{Cn(i)}}function uo(t,e,n){if(ve(e)){const s=e.directiveEnd;for(let o=e.directiveStart;o0&&function t(e){for(let s=$s(e);null!==s;s=Qs(s))for(let e=10;e0&&t(n)}const n=e[1].components;if(null!==n)for(let s=0;s0&&t(o)}}(n)}}function Ao(t,e){const n=He(e,t),s=n[1];!function(t,e){for(let n=e.length;nPromise.resolve(null))();function Bo(t){return t[7]||(t[7]=[])}function Uo(t,e){const n=t[9],s=n?n.get(ls,null):null;s&&s.handleError(e)}function Yo(t,e,n,s,o){for(let i=0;i0&&(t[n-1][4]=s[4]);const i=te(t,10+e);Go(s[1],s,!1,null);const r=i[19];null!==r&&r.detachView(i[1]),s[3]=null,s[4]=null,s[2]&=-129}return s}function Xo(t,e){if(!(256&e[2])){const n=e[11];je(n)&&n.destroyNode&&di(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return ei(t[1],t);for(;e;){let n=null;if(Me(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)Me(e)&&ei(e[1],e),e=ti(e,t);null===e&&(e=t),Me(e)&&ei(e[1],e),n=e&&e[4]}e=n}}(e)}}function ti(t,e){let n;return Me(t)&&(n=t[6])&&2===n.type?Qo(n,t):t[3]===e?null:t[3]}function ei(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let s=0;s=0?t[a]():t[-a].unsubscribe(),s+=2}else n[s].call(t[n[s+1]]);e[7]=null}}(t,e);const n=e[6];n&&3===n.type&&je(e[11])&&e[11].destroy();const s=e[17];if(null!==s&&Ce(e[3])){s!==e[3]&&Ko(s,e);const n=e[19];null!==n&&n.detachView(t)}}}function ni(t,e,n){let s=e.parent;for(;null!=s&&(4===s.type||5===s.type);)s=(e=s).parent;if(null==s){const t=n[6];return 2===t.type?Wo(t,n):n[0]}if(e&&5===e.type&&4&e.flags)return ze(e,n).parentNode;if(2&s.flags){const e=t.data,n=e[e[s.index].directiveStart].encapsulation;if(n!==re.ShadowDom&&n!==re.Native)return null}return ze(s,n)}function si(t,e,n,s){je(t)?t.insertBefore(e,n,s):e.insertBefore(n,s,!0)}function oi(t,e,n){je(t)?t.appendChild(e,n):e.appendChild(n)}function ii(t,e,n,s){null!==s?si(t,e,n,s):oi(t,e,n)}function ri(t,e){return je(t)?t.parentNode(e):e.parentNode}function ai(t,e){if(2===t.type){const n=Qo(t,e);return null===n?null:ci(n.indexOf(e,10)-10,n)}return 4===t.type||5===t.type?ze(t,e):null}function li(t,e,n,s){const o=ni(t,s,e);if(null!=o){const t=e[11],i=ai(s.parent||e[6],e);if(Array.isArray(n))for(let e=0;e-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}Xo(this._lView[1],this._lView)}onDestroy(t){yo(this._lView[1],this._lView,null,t)}markForCheck(){Ro(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){zo(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){on(!0);try{zo(t,e,n)}finally{on(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t}detachFromAppRef(){var t;this._appRef=null,di(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class _i extends mi{constructor(t){super(t),this._view=t}detectChanges(){Fo(this._view)}checkNoChanges(){!function(t){on(!0);try{Fo(t)}finally{on(!1)}}(this._view)}get context(){return null}}let wi,bi,Mi;function Ci(t,e,n){return wi||(wi=class extends t{}),new wi(ze(e,n))}function vi(t,e,n,s){return bi||(bi=class extends t{constructor(t,e,n){super(),this._declarationView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=oo(this._declarationView,e,t,16,null,e.node);n[17]=this._declarationView[this._declarationTContainer.index];const s=this._declarationView[19];return null!==s&&(n[19]=s.createEmbeddedView(e)),ro(e,n,t),new mi(n)}}),0===n.type?new bi(s,n,Ci(e,n,s)):null}function xi(t,e,n,s){let o;Mi||(Mi=class extends t{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostView=n}get element(){return Ci(e,this._hostTNode,this._hostView)}get injector(){return new os(this._hostTNode,this._hostView)}get parentInjector(){const t=qn(this._hostTNode,this._hostView),e=zn(t,this._hostView),n=function(t,e,n){if(n.parent&&-1!==n.parent.injectorIndex){const t=n.parent.injectorIndex;let e=n.parent;for(;null!=e.parent&&t==e.parent.injectorIndex;)e=e.parent;return e}let s=Rn(t),o=e,i=e[6];for(;s>1;)o=o[15],i=o[6],s--;return i}(t,this._hostView,this._hostTNode);return An(t)&&null!=n?new os(n,e):new os(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){return null!==this._lContainer[8]&&this._lContainer[8][t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,n){const s=t.createEmbeddedView(e||{});return this.insert(s,n),s}createComponent(t,e,n,s,o){const i=n||this.parentInjector;if(!o&&null==t.ngModule&&i){const t=i.get(Gt,null);t&&(o=t)}const r=t.create(i,s,void 0,o);return this.insert(r.hostView,e),r}insert(t,e){const n=t._lView,s=n[1];if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),Ce(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],s=new Mi(e,e[6],e[3]);s.detach(s.indexOf(t))}}const o=this._adjustIndex(e);return function(t,e,n,s){const o=10+s,i=n.length;s>0&&(n[o-1][4]=e),s{class t{}return t.__NG_ELEMENT_ID__=()=>Pi(),t})();const Pi=function(t=!1){return function(t,e,n){if(!n&&xe(t)){const n=He(t.index,e);return new mi(n,n)}return 3===t.type||0===t.type||4===t.type||5===t.type?new mi(e[16],e):null}(Xe(),Ge(),t)},Ei=new At("Set Injector scope."),Li={},Si={},Di=[];let Ni=void 0;function Ti(){return void 0===Ni&&(Ni=new qt),Ni}function ki(t,e=null,n=null,s){return new ji(t,n,e||Ti(),s)}class ji{constructor(t,e,n,s=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const o=[];e&&Jt(e,n=>this.processProvider(n,t,e)),Jt([t],t=>this.processInjectorType(t,[],o)),this.records.set(It,Ri(void 0,this));const i=this.records.get(Ei);this.scope=null!=i?i.value:null,this.source=s||("object"==typeof t?null:_t(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=Rt,n=it.Default){this.assertNotDestroyed();const s=Bt(this);try{if(!(n&it.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(o=t)||"object"==typeof o&&o instanceof At)&&ut(t);e=n&&this.injectableDefInScope(n)?Ri(Ai(t),Li):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&it.Self?Ti():this.parent).get(t,e=n&it.Optional&&e===Rt?null:e)}catch(i){if("NullInjectorError"===i.name){if((i.ngTempTokenPath=i.ngTempTokenPath||[]).unshift(_t(t)),s)throw i;return function(t,e,n,s){const o=t.ngTempTokenPath;throw e.__source&&o.unshift(e.__source),t.message=function(t,e,n,s=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let o=_t(e);if(Array.isArray(e))o=e.map(_t).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let s=e[n];t.push(n+":"+("string"==typeof s?JSON.stringify(s):_t(s)))}o=`{${t.join(", ")}}`}return`${n}${s?"("+s+")":""}[${o}]: ${t.replace(zt,"\n ")}`}("\n"+t.message,o,n,s),t.ngTokenPath=o,t.ngTempTokenPath=null,t}(i,t,"R3InjectorError",this.source)}throw i}finally{Bt(s)}var o}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(_t(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=Ct(t)))return!1;let s=dt(t);const o=null==s&&t.ngModule||void 0,i=void 0===o?t:o,r=-1!==n.indexOf(i);if(void 0!==o&&(s=dt(o)),null==s)return!1;if(null!=s.imports&&!r){let t;n.push(i);try{Jt(s.imports,s=>{this.processInjectorType(s,e,n)&&(void 0===t&&(t=[]),t.push(s))})}finally{}if(void 0!==t)for(let e=0;ethis.processProvider(t,n,s||Di))}}this.injectorDefTypes.add(i),this.records.set(i,Ri(s.factory,Li));const a=s.providers;if(null!=a&&!r){const e=t;Jt(a,t=>this.processProvider(t,e,a))}return void 0!==o&&void 0!==t.providers}processProvider(t,e,n){let s=Fi(t=Ct(t))?t:Ct(t&&t.provide);const o=function(t,e,n){return zi(t)?Ri(void 0,t.useValue):Ri(Ii(t),Li)}(t);if(Fi(t)||!0!==t.multi)this.records.get(s);else{let e=this.records.get(s);e||(e=Ri(void 0,Li,!0),e.factory=()=>Zt(e.multi),this.records.set(s,e)),s=t,e.multi.push(t)}this.records.set(s,o)}hydrate(t,e){var n;return e.value===Li&&(e.value=Si,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||t.providedIn===this.scope:this.injectorDefTypes.has(t.providedIn))}}function Ai(t){const e=ut(t),n=null!==e?e.factory:we(t);if(null!==n)return n;const s=dt(t);if(null!==s)return s.factory;if(t instanceof At)throw new Error(`Token ${_t(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=ee(e,"?");throw new Error(`Can't resolve all parameters for ${_t(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[pt]||t[yt]||t[gt]&&t[gt]());if(e){const n=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error("unreachable")}function Ii(t,e,n){let s=void 0;if(Fi(t)){const e=Ct(t);return we(e)||Ai(e)}if(zi(t))s=()=>Ct(t.useValue);else if((o=t)&&o.useFactory)s=()=>t.useFactory(...Zt(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))s=()=>$t(Ct(t.useExisting));else{const e=Ct(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return we(e)||Ai(e);s=()=>new e(...Zt(t.deps))}var o;return s}function Ri(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function zi(t){return null!==t&&"object"==typeof t&&Ft in t}function Fi(t){return"function"==typeof t}const Vi=function(t,e,n){return function(t,e=null,n=null,s){const o=ki(t,e,n,s);return o._resolveInjectorDefTypes(),o}({name:n},e,t,n)};let Hi=(()=>{class t{static create(t,e){return Array.isArray(t)?Vi(t,e,""):Vi(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=Rt,t.NULL=new qt,t.\u0275prov=lt({token:t,providedIn:"any",factory:()=>$t(It)}),t.__NG_ELEMENT_ID__=-1,t})();function Bi(t,e,n){let s=n?t.styles:null,o=n?t.classes:null,i=0;if(null!==e)for(let r=0;ra(Ie(t[s.index])).target:s.index;if(je(n)){let r=null;if(!a&&l&&(r=function(t,e,n,s){const o=t.cleanup;if(null!=o)for(let i=0;in?t[n]:null}"string"==typeof t&&(i+=2)}return null}(t,e,o,s.index)),null!==r)(r.__ngLastListenerFn__||r).__ngNextListenerFn__=i,r.__ngLastListenerFn__=i,h=!1;else{i=ur(s,e,i,!1);const t=n.listen(p.name||f,o,i);u.push(i,t),c&&c.push(o,y,g,g+1)}}else i=ur(s,e,i,!0),f.addEventListener(o,i,r),u.push(i),c&&c.push(o,y,g,r)}const d=s.outputs;let p;if(h&&null!==d&&(p=d[o])){const t=p.length;if(t)for(let n=0;n0;)e=e[15],t--;return e}(t,Ze.lFrame.contextLView))[8]}(t)}let dr=!1;function pr(t){dr=t}const fr=[];function gr(t,e,n,s,o){const i=t[n+1],r=null===e;let a=s?Ks(i):Xs(i),l=!1;for(;0!==a&&(!1===l||r);){const n=t[a+1];yr(t[a],e)&&(l=!0,t[a+1]=s?eo(n):Js(n)),a=s?Ks(n):Xs(n)}l&&(t[n+1]=s?Js(i):eo(i))}function yr(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&oe(t,e)>=0}const mr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function _r(t){return t.substring(mr.key,mr.keyEnd)}function wr(t,e){const n=mr.textEnd;return n===e?-1:(e=mr.keyEnd=function(t,e,n){for(;e32;)e++;return e}(t,mr.key=e,n),br(t,e,n))}function br(t,e,n){for(;e=0;n=wr(e,n))ne(t,_r(e),!0)}function vr(t,e){return e>=t.expandoStartIndex}function xr(t,e,n,s){const o=t.data;if(null===o[n+1]){const i=o[Mn()+20],r=vr(t,n);Dr(i,s)&&null===e&&!r&&(e=!1),e=function(t,e,n,s){const o=function(t){const e=Ze.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}(t);let i=s?e.residualClasses:e.residualStyles;if(null===o)0===(s?e.classBindings:e.styleBindings)&&(n=Pr(n=Or(null,t,e,n,s),e.attrs,s),i=null);else{const r=e.directiveStylingLast;if(-1===r||t[r]!==o)if(n=Or(o,t,e,n,s),null===i){let n=function(t,e,n){const s=n?e.classBindings:e.styleBindings;if(0!==Xs(s))return t[Ks(s)]}(t,e,s);void 0!==n&&Array.isArray(n)&&(n=Or(null,t,e,n[1],s),n=Pr(n,e.attrs,s),function(t,e,n,s){t[Ks(n?e.classBindings:e.styleBindings)]=s}(t,e,s,n))}else i=function(t,e,n){let s=void 0;const o=e.directiveEnd;for(let i=1+e.directiveStylingLast;i0)&&(u=!0)}else c=n;if(o)if(0!==l){const e=Ks(t[a+1]);t[s+1]=Gs(e,a),0!==e&&(t[e+1]=to(t[e+1],s)),t[a+1]=131071&t[a+1]|s<<17}else t[s+1]=Gs(a,0),0!==a&&(t[a+1]=to(t[a+1],s)),a=s;else t[s+1]=Gs(l,0),0===a?a=s:t[l+1]=to(t[l+1],s),l=s;u&&(t[s+1]=Js(t[s+1])),gr(t,c,s,!0),gr(t,c,s,!1),function(t,e,n,s,o){const i=o?t.residualClasses:t.residualStyles;null!=i&&"string"==typeof e&&oe(i,e)>=0&&(n[s+1]=eo(n[s+1]))}(e,c,t,s,i),r=Gs(a,l),i?e.classBindings=r:e.styleBindings=r}(o,i,e,n,r,s)}}function Or(t,e,n,s,o){let i=null;const r=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const e=t[o],i=Array.isArray(e),l=i?e[1]:e,c=null===l;let u=n[o+1];u===Us&&(u=c?fr:void 0);let h=c?se(u,s):l===s?u:void 0;if(i&&!Sr(h)&&(h=se(e,s)),Sr(h)&&(a=h,r))return a;const d=t[o+1];o=r?Ks(d):Xs(d)}if(null!==e){let t=i?e.residualClasses:e.residualStyles;null!=t&&(a=se(t,s))}return a}function Sr(t){return void 0!==t}function Dr(t,e){return 0!=(t.flags&(e?16:32))}function Nr(t,e=""){const n=Ge(),s=Ke(),o=t+20,i=s.firstCreatePass?io(s,n[6],t,3,null,null):s.data[o],r=n[o]=qo(e,n[11]);li(s,n,r,i),tn(i,!1)}function Tr(t){return kr("",t,""),Tr}function kr(t,e,n){const s=Ge(),o=function(t,e,n,s){return qi(t,ln(),n)?e+Fn(n)+s:Us}(s,t,e,n);return o!==Us&&$o(s,Mn(),o),kr}function jr(t,e,n){const s=Ge();return qi(s,ln(),e)&&wo(Ke(),vn(),s,t,e,s[11],n,!0),jr}function Ar(t,e){const n=Be(t)[1],s=n.data.length-1;xn(n,{directiveStart:s,directiveEnd:s+1})}function Ir(t){let e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0;const s=[t];for(;e;){let o=void 0;if(Pe(t))o=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");o=e.\u0275dir}if(o){if(n){s.push(o);const e=t;e.inputs=Rr(t.inputs),e.declaredInputs=Rr(t.declaredInputs),e.outputs=Rr(t.outputs);const n=o.hostBindings;n&&Vr(t,n);const i=o.viewQuery,r=o.contentQueries;if(i&&zr(t,i),r&&Fr(t,r),at(t.inputs,o.inputs),at(t.declaredInputs,o.declaredInputs),at(t.outputs,o.outputs),Pe(o)&&o.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(o.data.animation)}}const e=o.features;if(e)for(let s=0;s=0;s--){const o=t[s];o.hostVars=e+=o.hostVars,o.hostAttrs=kn(o.hostAttrs,n=kn(n,o.hostAttrs))}}(s)}function Rr(t){return t===ae?{}:t===le?[]:t}function zr(t,e){const n=t.viewQuery;t.viewQuery=n?(t,s)=>{e(t,s),n(t,s)}:e}function Fr(t,e){const n=t.contentQueries;t.contentQueries=n?(t,s,o)=>{e(t,s,o),n(t,s,o)}:e}function Vr(t,e){const n=t.hostBindings;t.hostBindings=n?(t,s)=>{e(t,s),n(t,s)}:e}function Hr(t,e,n,s,o){if(t=Ct(t),Array.isArray(t))for(let i=0;i>20;if(Fi(t)||!t.multi){const s=new Dn(l,o,Ji),p=Yr(a,e,o?u:u+d,h);-1===p?(Gn(Qn(c,r),i,a),Br(i,t,e.length),e.push(a),c.directiveStart++,c.directiveEnd++,o&&(c.providerIndexes+=1048576),n.push(s),r.push(s)):(n[p]=s,r[p]=s)}else{const p=Yr(a,e,u+d,h),f=Yr(a,e,u,u+d),g=p>=0&&n[p],y=f>=0&&n[f];if(o&&!y||!o&&!g){Gn(Qn(c,r),i,a);const u=function(t,e,n,s,o){const i=new Dn(t,n,Ji);return i.multi=[],i.index=e,i.componentProviders=0,Ur(i,o,s&&!n),i}(o?Qr:$r,n.length,o,s,l);!o&&y&&(n[f].providerFactory=u),Br(i,t,e.length,0),e.push(a),c.directiveStart++,c.directiveEnd++,o&&(c.providerIndexes+=1048576),n.push(u),r.push(u)}else Br(i,t,p>-1?p:f,Ur(n[o?f:p],l,!o&&s));!o&&s&&y&&n[f].componentProviders++}}}function Br(t,e,n,s){const o=Fi(e);if(o||e.useClass){const i=(e.useClass||e).prototype.ngOnDestroy;if(i){const r=t.destroyHooks||(t.destroyHooks=[]);if(!o&&e.multi){const t=r.indexOf(n);-1===t?r.push(n,[s,i]):r[t+1].push(s,i)}else r.push(n,i)}}}function Ur(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function Yr(t,e,n,s){for(let o=n;o{n.providersResolver=(n,s)=>function(t,e,n){const s=Ke();if(s.firstCreatePass){const o=Pe(t);Hr(n,s.data,s.blueprint,o,!0),Hr(e,s.data,s.blueprint,o,!1)}}(n,s?s(t):t,e)}}class qr{}class Gr{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${_t(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let Kr=(()=>{class t{}return t.NULL=new Gr,t})(),Jr=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=()=>Xr(t),t})();const Xr=function(t){return Ci(t,Xe(),Ge())};class ta{}var ea=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({});let na=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>sa(),t})();const sa=function(){const t=Ge(),e=He(Xe().index,t);return function(t){const e=t[11];if(je(e))return e;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(Me(e)?e:t)};let oa=(()=>{class t{}return t.\u0275prov=lt({token:t,providedIn:"root",factory:()=>null}),t})();class ia{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const ra=new ia("10.1.1");class aa{constructor(){}supports(t){return Qi(t)}create(t){return new ca(t)}}const la=(t,e)=>e;class ca{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||la}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,s=0,o=null;for(;e||n;){const i=!n||e&&e.currentIndex{s=this._trackByFn(e,t),null!==o&&Object.is(o.trackById,s)?(i&&(o=this._verifyReinsertion(o,t,s,e)),Object.is(o.item,t)||this._addIdentityChange(o,t)):(o=this._mismatch(o,t,s,e),i=!0),o=o._next,e++}),this.length=e;return this._truncate(o),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t,e;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=e)t.previousIndex=t.currentIndex,e=t._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,s){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,s))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,s)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,s)):t=this._addAfter(new ua(e,n),o,s),t}_verifyReinsertion(t,e,n,s){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?t=this._reinsertAfter(o,t._prev,s):t.currentIndex!=s&&(t.currentIndex=s,this._addToMoves(t,s)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const s=t._prevRemoved,o=t._nextRemoved;return null===s?this._removalsHead=o:s._nextRemoved=o,null===o?this._removalsTail=s:o._prevRemoved=s,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const s=null===e?this._itHead:e._next;return t._next=s,t._prev=e,null===s?this._itTail=t:s._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new da),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new da),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class ua{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class ha{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class da{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new ha,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function pa(t,e,n){const s=t.previousIndex;if(null===s)return s;let o=0;return n&&s{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const s=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,s)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const s=n._prev,o=n._next;return s&&(s._next=o),o&&(o._prev=s),n._next=null,n._prev=null,n}const n=new ya(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class ya{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let ma=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new ot,new nt]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${n=t,n.name||typeof n}'`);var n}}return t.\u0275prov=lt({token:t,providedIn:"root",factory:()=>new t([new aa])}),t})(),_a=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new ot,new nt]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\u0275prov=lt({token:t,providedIn:"root",factory:()=>new t([new fa])}),t})();const wa=[new fa],ba=new ma([new aa]),Ma=new _a(wa);let Ca=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>va(t,Jr),t})();const va=function(t,e){return vi(t,e,Xe(),Ge())};let xa=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Oa(t,Jr),t})();const Oa=function(t,e){return xi(t,e,Xe(),Ge())},Pa={};class Ea extends Kr{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=_e(t);return new Da(e,this.ngModule)}}function La(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const Sa=new At("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Hn});class Da extends qr{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(Bs).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return La(this.componentDef.inputs)}get outputs(){return La(this.componentDef.outputs)}create(t,e,n,s){const o=(s=s||this.ngModule)?function(t,e){return{get:(n,s,o)=>{const i=t.get(n,Pa,o);return i!==Pa||s===Pa?i:e.get(n,s,o)}}}(t,s.injector):t,i=o.get(ta,Ae),r=o.get(oa,null),a=i.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(t,e,n){if(je(t))return t.selectRootElement(e,n===re.ShadowDom);let s="string"==typeof e?t.querySelector(e):e;return s.textContent="",s}(a,n,this.componentDef.encapsulation):so(l,i.createRenderer(null,this.componentDef),function(t){const e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),u=this.componentDef.onPush?576:528,h={components:[],scheduler:Hn,clean:Ho,playerHandler:null,flags:0},d=go(0,-1,null,1,0,null,null,null,null,null),p=oo(null,d,h,u,null,null,i,a,r,o);let f,g;gn(p,null);try{const t=function(t,e,n,s,o,i){const r=n[1];n[20]=t;const a=io(r,null,0,3,null,null),l=a.mergedAttrs=e.hostAttrs;null!==l&&(Bi(a,l,!0),null!==t&&(Nn(o,t,l),null!==a.classes&&yi(o,t,a.classes),null!==a.styles&&gi(o,t,a.styles)));const c=s.createRenderer(t,e),u=oo(n,fo(e),null,e.onPush?64:16,n[20],a,s,c,void 0);return r.firstCreatePass&&(Gn(Qn(a,n),r,e.type),Oo(r,a),Eo(a,n.length,1)),Io(n,u),n[20]=u}(c,this.componentDef,p,i,a);if(c)if(n)Nn(a,c,["ng-version",ra.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let s=1,o=2;for(;s0&&yi(a,c,e.join(" "))}if(g=Fe(d,0),void 0!==e){const t=g.projection=[];for(let n=0;nt(r,e)),e.contentQueries&&e.contentQueries(1,r,n.length-1);const a=Xe();if(i.firstCreatePass&&(null!==e.hostBindings||null!==e.hostAttrs)){Cn(a.index-20);const t=n[1];Mo(t,e),Co(t,n,e.hostVars),vo(e,r)}return r}(t,this.componentDef,p,h,[Ar]),ro(d,p,null)}finally{bn()}const y=new Na(this.componentType,f,Ci(Jr,g,p),p,g);return d.node.child=g,y}}class Na extends class{}{constructor(t,e,n,s,o){super(),this.location=n,this._rootLView=s,this._tNode=o,this.destroyCbs=[],this.instance=e,this.hostView=this.changeDetectorRef=new _i(s),function(t,e,n,s){let o=t.node;null==o&&(t.node=o=mo(0,null,2,-1,null,null)),s[6]=o}(s[1],0,0,s),this.componentType=t}get injector(){return new os(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(t=>t()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(t){this.destroyCbs&&this.destroyCbs.push(t)}}const Ta=void 0;var ka=["en",[["a","p"],["AM","PM"],Ta],[["AM","PM"],Ta,Ta],[["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"]],Ta,[["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"]],Ta,[["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}",Ta,"{1} 'at' {0}",Ta],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let ja={};function Aa(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=Ra(e);if(n)return n;const s=e.split("-")[0];if(n=Ra(s),n)return n;if("en"===s)return ka;throw new Error(`Missing locale data for the locale "${t}".`)}function Ia(t){return Aa(t)[za.PluralCase]}function Ra(t){return t in ja||(ja[t]=Et.ng&&Et.ng.common&&Et.ng.common.locales&&Et.ng.common.locales[t]),ja[t]}var za=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}({});const Fa=["zero","one","two","few","many"];let Va="en-US";function Ha(t){var e,n;n="Expected localeId to be defined",null==(e=t)&&function(t,e,n,s){throw new Error("ASSERTION ERROR: "+t+` [Expected=> null != ${e} <=Actual]`)}(n,e),"string"==typeof t&&(Va=t.toLowerCase().replace(/_/g,"-"))}const Ba={marker:"element"},Ua={marker:"comment"},Ya=[];let $a=-1,Qa=0,Wa=0;function Za(t,e,n,s){const o=s[11];let i=null,r=null;const a=[];for(let l=0;l>>17;let u;u=o===e?s[6]:Fe(t,o),r=Ja(t,i,u,r,s);break;case 0:const h=c>=0,d=(h?c:~c)>>>3;a.push(d),r=i,i=Fe(t,d),i&&tn(i,h);break;case 5:r=i=Fe(t,c>>>3),tn(i,!1);break;case 4:const p=n[++l],f=n[++l];Do(Fe(t,c>>>3),s,p,f,null,null);break;default:throw new Error(`Unable to determine the type of mutate operation for "${c}"`)}else switch(c){case Ua:const e=n[++l],u=n[++l],h=o.createComment(e);r=i,i=tl(t,s,u,5,h,null),a.push(u),Ts(h,s),nn();break;case Ba:const d=n[++l],p=n[++l];r=i,i=tl(t,s,p,3,o.createElement(d),d),a.push(p);break;default:throw new Error(`Unable to determine the type of mutate operation for "${c}"`)}}return nn(),a}function qa(t,e,n,s,o,i){let r=!1;for(let a=0;a>>2;switch(3&a){case 1:const a=s[++l],u=s[++l];wo(t,Fe(t,c),n,a,i,n[11],u,!1);break;case 0:$o(n,c,i);break;case 2:r=Ka(t,e,s[++l],n,i);break;case 3:Ga(t,e,s[++l],o,n,r)}}}}a+=c}}function Ga(t,e,n,s,o,i){const r=e[n],a=o[r.currentCaseLViewIndex];null!==a&&qa(t,e,o,r.update[a],s,i?-1:Qa)}function Ka(t,e,n,s,o){!function t(e,n,s,o){const i=n[s],r=o[i.currentCaseLViewIndex];if(null!==r){const s=i.remove[r];for(let i=0;i>>3;switch(7&r){case 3:Xa(e,o,a,!1);break;case 6:t(e,n,a,o)}}}}(t,e,n,s);let i=!1;const r=e[n],a=function(t,e){let n=t.cases.indexOf(e);if(-1===n)switch(t.type){case 1:{const s=function(t,e){const n=Ia(e)(parseInt(t,10)),s=Fa[n];return void 0!==s?s:"other"}(e,Va);n=t.cases.indexOf(s),-1===n&&"other"!==s&&(n=t.cases.indexOf("other"));break}case 0:n=t.cases.indexOf("other")}return n}(r,o);return s[r.currentCaseLViewIndex]=-1!==a?a:null,a>-1&&(Za(t,-1,r.create[a],s),i=!0),i}function Ja(t,e,n,s,o){const i=e.next;s||(s=n),s===n&&e!==n.child?(e.next=n.child,n.child=e):s!==n&&e!==s.next?(e.next=s.next,s.next=e):e.next=null,n!==o[6]&&(e.parent=n);let r=e.next;for(;r;)r.next===e&&(r.next=i),r=r.next;if(1===e.type)return pi(t,o,e),e;li(t,o,ze(e,o),e);const a=o[e.index];return 0!==e.type&&Ce(a)&&li(t,o,a[7],e),e}function Xa(t,e,n,s){const o=Fe(t,n),i=Re(n,e);i&&ui(e[11],i);const r=Ve(e,n);if(Ce(r)){const t=r;0!==o.type&&ui(e[11],t[7])}s&&(o.flags|=64)}function tl(t,e,n,s,o,i){const r=Xe();e[n+20]=o;const a=io(t,e[6],n,s,i,null);return r&&r.next===a&&(r.next=null),a}const el=/\ufffd(\d+):?\d*\ufffd/gi,nl=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,sl=/\ufffd(\d+)\ufffd/,ol=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/;let il;const rl=[],al=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,ll=/\ufffd(\/?[#*!]\d+):?\d*\ufffd/gi,cl=/\uE500/g;function ul(t,e,n,s=null){const o=[null,null],i=t.split(el);let r=0;for(let a=0;an.length&&n.push(o)}return{type:s,mainBinding:o,cases:e,values:n}}function _l(t,e,n,s,o){const i=(r=ke(),function(){try{return!!(new window.DOMParser).parseFromString("","text/html")}catch(t){return!1}}()?new fs:new gs(r)).getInertBodyElement(t);var r;if(!i)throw new Error("Unable to generate inert body element");const a={vars:1,childIcus:[],create:[],remove:[],update:[]};return function t(e,n,s,o,i,r){if(e){const a=[];for(;e;){const l=e.nextSibling,c=r+ ++n.vars;switch(e.nodeType){case Node.ELEMENT_NODE:const l=e,u=l.tagName.toLowerCase();if(Ps.hasOwnProperty(u)){n.create.push(Ba,u,c,s<<17|1);const a=l.attributes;for(let t=0;t0&&r!==a){let t=r.index-20;en()||(t=~t),u.push(t<<3|0)}const h=[],d=[];if(""===s&&fl(o))u.push(s,dl(i),l<<17|1);else{const t=function(t,e){if(fl(e))return gl(t);{const n=t.indexOf(`:${e}\ufffd`)+2+e.toString().length,s=t.search(new RegExp(`\ufffd\\/\\*\\d+:${e}\ufffd`));return gl(t.substring(n,s))}}(s,o),e=(p=t,p.replace(cl," ")).split(ll);for(let n=0;n0&&function(t,e,n){if(n>0&&t.firstCreatePass){for(let s=0;s>1),r++}})(Ke(),t),pr(!1)}()}function Ml(t){return qi(Ge(),ln(),t)&&(Qa|=1<0){const s=t.data[n+20];let o,i=null;Array.isArray(s)?o=s:(o=s.update,i=s.icus),qa(t,i,e,o,an()-Wa-1,Qa),Qa=0,Wa=0}}(Ke(),Ge(),t)}const vl=new Map;class xl extends Gt{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Ea(this);const n=be(t),s=t[Tt]||null;s&&Ha(s),this._bootstrapComponents=Bn(n.bootstrap),this._r3Injector=ki(t,e,[{provide:Gt,useValue:this},{provide:Kr,useValue:this.componentFactoryResolver}],_t(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=Hi.THROW_IF_NOT_FOUND,n=it.Default){return t===Hi||t===Gt||t===It?this:this._r3Injector.get(t,e,n)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Ol extends class{}{constructor(t){super(),this.moduleType=t,null!==be(t)&&function t(e){if(null!==e.\u0275mod.id){const t=e.\u0275mod.id;(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${_t(e)} vs ${_t(e.name)}`)})(t,vl.get(t),e),vl.set(t,e)}let n=e.\u0275mod.imports;n instanceof Function&&(n=n()),n&&n.forEach(e=>t(e))}(t)}create(t){return new xl(this.moduleType,t)}}function Pl(t,e,n,s,o,i){return function(t,e,n,s,o,i,r,a){const l=e+n;return function(t,e,n,s,o){const i=Gi(t,e,n,s);return qi(t,e+2,o)||i}(t,l,o,i,r)?Zi(t,l+3,a?s.call(a,o,i,r):s(o,i,r)):El(t,l+3)}(Ge(),rn(),t,e,n,s,o,i)}function El(t,e){const n=t[e];return n===Us?void 0:n}function Ll(t,e){const n=Ke();let s;const o=t+20;n.firstCreatePass?(s=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const s=e[n];if(t===s.name)return s}throw new Error(`The pipe '${t}' could not be found!`)}(e,n.pipeRegistry),n.data[o]=s,s.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(o,s.onDestroy)):s=n.data[o];const i=s.factory||(s.factory=we(s.type)),r=Ut(Ji),a=Yn(!1),l=i();return Yn(a),Ut(r),function(t,e,n,s){const o=n+20;o>=t.data.length&&(t.data[o]=null,t.blueprint[o]=null),e[o]=s}(n,Ge(),t,l),l}function Sl(t,e,n,s){const o=Ge(),i=Ve(o,t);return Tl(o,Nl(o,t)?function(t,e,n,s,o,i,r){const a=e+n;return Gi(t,a,o,i)?Zi(t,a+2,r?s.call(r,o,i):s(o,i)):El(t,a+2)}(o,rn(),e,i.transform,n,s,i):i.transform(n,s))}function Dl(t,e,n){const s=Ge(),o=Ve(s,t);return Tl(s,Nl(s,t)?function(t,e,n,s,o,i){let r=e+n,a=!1;for(let l=0;lnull,i=()=>null;t&&"object"==typeof t?(s=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(o=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(i=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(s=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(o=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),n&&(i=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const r=super.subscribe(s,o,i);return t instanceof h&&t.add(r),r}};function jl(){return this._results[Yi()]()}class Al{constructor(){this.dirty=!0,this._results=[],this.changes=new kl,this.length=0;const t=Yi(),e=Al.prototype;e[t]||(e[t]=jl)}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}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){this._results=function t(e,n){void 0===n&&(n=e);for(let s=0;s{class t{constructor(t){this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)($t(Ql,8))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const Zl=new At("AppId"),ql={provide:Zl,useFactory:function(){return`${Gl()}${Gl()}${Gl()}`},deps:[]};function Gl(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Kl=new At("Platform Initializer"),Jl=new At("Platform ID"),Xl=new At("appBootstrapListener");let tc=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const ec=new At("LocaleId"),nc=new At("DefaultCurrencyCode");class sc{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const oc=function(t){return new Ol(t)},ic=oc,rc=function(t){return Promise.resolve(oc(t))},ac=function(t){const e=oc(t),n=Bn(be(t).declarations).reduce((t,e)=>{const n=_e(e);return n&&t.push(new Da(n)),t},[]);return new sc(e,n)},lc=ac,cc=function(t){return Promise.resolve(ac(t))};let uc=(()=>{class t{constructor(){this.compileModuleSync=ic,this.compileModuleAsync=rc,this.compileModuleAndAllComponentsSync=lc,this.compileModuleAndAllComponentsAsync=cc}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const hc=(()=>Promise.resolve(0))();function dc(t){"undefined"==typeof Zone?hc.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class pc{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new kl(!1),this.onMicrotaskEmpty=new kl(!1),this.onStable=new kl(!1),this.onError=new kl(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=e,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let t=Et.requestAnimationFrame,e=Et.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const s=e[Zone.__symbol__("OriginalDelegate")];s&&(e=s)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=!!t.shouldCoalesceEventChangeDetection&&t.nativeRequestAnimationFrame&&(()=>{!function(t){-1===t.lastRequestAnimationFrameId&&(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Et,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,mc(t),yc(t)},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),mc(t))}(t)});t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:e},onInvokeTask:(n,s,o,i,r,a)=>{try{return _c(t),n.invokeTask(o,i,r,a)}finally{e&&"eventTask"===i.type&&e(),wc(t)}},onInvoke:(e,n,s,o,i,r,a)=>{try{return _c(t),e.invoke(s,o,i,r,a)}finally{wc(t)}},onHasTask:(e,n,s,o)=>{e.hasTask(s,o),n===s&&("microTask"==o.change?(t._hasPendingMicrotasks=o.microTask,mc(t),yc(t)):"macroTask"==o.change&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(e,n,s,o)=>(e.handleError(s,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!pc.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(pc.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,s){const o=this._inner,i=o.scheduleEventTask("NgZoneEvent: "+s,t,gc,fc,fc);try{return o.runTask(i,e,n)}finally{o.cancelTask(i)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}function fc(){}const gc={};function yc(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function mc(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||t.shouldCoalesceEventChangeDetection&&-1!==t.lastRequestAnimationFrameId)}function _c(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function wc(t){t._nesting--,yc(t)}class bc{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new kl,this.onMicrotaskEmpty=new kl,this.onStable=new kl,this.onError=new kl}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,s){return t.apply(e,n)}}let Mc=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{pc.assertNotInAngularZone(),dc(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())dc(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let s=-1;e&&e>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==s),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:s,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}return t.\u0275fac=function(e){return new(e||t)($t(pc))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),Cc=(()=>{class t{constructor(){this._applications=new Map,Oc.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return Oc.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();class vc{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}let xc,Oc=new vc;const Pc=new At("AllowMultipleToken");function Ec(t,e,n=[]){const s="Platform: "+e,o=new At(s);return(e=[])=>{let i=Lc();if(!i||i.injector.get(Pc,!1))if(t)t(n.concat(e).concat({provide:o,useValue:!0}));else{const t=n.concat(e).concat({provide:o,useValue:!0},{provide:Ei,useValue:"platform"});!function(t){if(xc&&!xc.destroyed&&!xc.injector.get(Pc,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");xc=t.get(Sc);const e=t.get(Kl,null);e&&e.forEach(t=>t())}(Hi.create({providers:t,name:s}))}return function(t){const e=Lc();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(o)}}function Lc(){return xc&&!xc.destroyed?xc:null}let Sc=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t,e){let n;return n="noop"===t?new bc:("zone.js"===t?void 0:t)||new pc({enableLongStackTrace:ps(),shouldCoalesceEventChangeDetection:e}),n}(e?e.ngZone:void 0,e&&e.ngZoneEventCoalescing||!1),s=[{provide:pc,useValue:n}];return n.run(()=>{const e=Hi.create({providers:s,parent:this.injector,name:t.moduleType.name}),o=t.create(e),i=o.injector.get(ls,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return o.onDestroy(()=>Tc(this._modules,o)),n.runOutsideAngular(()=>n.onError.subscribe({next:t=>{i.handleError(t)}})),function(t,e,n){try{const s=n();return ar(s)?s.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):s}catch(s){throw e.runOutsideAngular(()=>t.handleError(s)),s}}(i,n,()=>{const t=o.injector.get(Wl);return t.runInitializers(),t.donePromise.then(()=>(Ha(o.injector.get(ec,"en-US")||"en-US"),this._moduleDoBootstrap(o),o))})})}bootstrapModule(t,e=[]){const n=Dc({},e);return function(t,e,n){const s=new Ol(n);return Promise.resolve(s)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(Nc);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${_t(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)($t(Hi))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();function Dc(t,e){return Array.isArray(e)?e.reduce(Dc,t):Object.assign(Object.assign({},t),e)}let Nc=(()=>{class t{constructor(t,e,n,s,o,i){this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=s,this._componentFactoryResolver=o,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=ps(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const r=new _(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),a=new _(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{pc.assertNotInAngularZone(),dc(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{pc.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=$(r,a.pipe(t=>{return Q()((e=J,function(t){let n;n="function"==typeof e?e:function(){return e};const s=Object.create(t,G);return s.source=t,s.subjectFactory=n,s})(t));var e}))}bootstrap(t,e){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=t instanceof qr?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const s=n.isBoundToModule?void 0:this._injector.get(Gt),o=n.create(Hi.NULL,[],e||n.selector,s);o.onDestroy(()=>{this._unloadComponent(o)});const i=o.injector.get(Mc,null);return i&&o.injector.get(Cc).registerApplication(o.location.nativeElement,i),this._loadComponent(o),ps()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),o}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges();if(this._enforceNoNewChanges)for(let t of this._views)t.checkNoChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;Tc(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Xl,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}_unloadComponent(t){this.detachView(t.hostView),Tc(this.components,t)}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy())}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)($t(pc),$t(tc),$t(Hi),$t(ls),$t(Kr),$t(Wl))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();function Tc(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const kc=Ec(null,"core",[{provide:Jl,useValue:"unknown"},{provide:Sc,deps:[Hi]},{provide:Cc,deps:[]},{provide:tc,deps:[]}]),jc=[{provide:Nc,useClass:Nc,deps:[pc,tc,Hi,ls,Kr,Wl]},{provide:Sa,deps:[pc],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:Wl,useClass:Wl,deps:[[new nt,Ql]]},{provide:uc,useClass:uc,deps:[]},ql,{provide:ma,useFactory:function(){return ba},deps:[]},{provide:_a,useFactory:function(){return Ma},deps:[]},{provide:ec,useFactory:function(t){return Ha(t=t||"undefined"!=typeof $localize&&$localize.locale||"en-US"),t},deps:[[new et(ec),new nt,new ot]]},{provide:nc,useValue:"USD"}];let Ac=(()=>{class t{constructor(t){}}return t.\u0275mod=fe({type:t}),t.\u0275inj=ct({factory:function(e){return new(e||t)($t(Nc))},providers:jc}),t})(),Ic=null;function Rc(){return Ic}const zc=new At("DocumentToken");let Fc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({factory:Vc,token:t,providedIn:"platform"}),t})();function Vc(){return $t(Hc)}let Hc=(()=>{class t extends Fc{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=Rc().getLocation(),this._history=Rc().getHistory()}getBaseHrefFromDOM(){return Rc().getBaseHref(this._doc)}onPopState(t){Rc().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)}onHashChange(t){Rc().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)}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(t){this.location.pathname=t}pushState(t,e,n){Bc()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){Bc()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)($t(zc))},t.\u0275prov=lt({factory:Uc,token:t,providedIn:"platform"}),t})();function Bc(){return!!window.history.pushState}function Uc(){return new Hc($t(zc))}function Yc(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function $c(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function Qc(t){return t&&"?"!==t[0]?"?"+t:t}let Wc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({factory:Zc,token:t,providedIn:"root"}),t})();function Zc(t){const e=$t(zc).location;return new Gc($t(Fc),e&&e.origin||"")}const qc=new At("appBaseHref");let Gc=(()=>{class t extends Wc{constructor(t,e){if(super(),this._platformLocation=t,null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=e}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return Yc(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+Qc(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,s){const o=this.prepareExternalUrl(n+Qc(s));this._platformLocation.pushState(t,e,o)}replaceState(t,e,n,s){const o=this.prepareExternalUrl(n+Qc(s));this._platformLocation.replaceState(t,e,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)($t(Fc),$t(qc,8))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),Kc=(()=>{class t{constructor(t,e){this._subject=new kl,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=$c(Xc(n)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+Qc(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,Xc(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Qc(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Qc(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(t){this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}))}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}return t.\u0275fac=function(e){return new(e||t)($t(Wc),$t(Fc))},t.normalizeQueryParams=Qc,t.joinWithSlash=Yc,t.stripTrailingSlash=$c,t.\u0275prov=lt({factory:Jc,token:t,providedIn:"root"}),t})();function Jc(){return new Kc($t(Wc),$t(Fc))}function Xc(t){return t.replace(/\/index.html$/,"")}const tu={ADP:[void 0,void 0,0],AFN:[void 0,void 0,0],ALL:[void 0,void 0,0],AMD:[void 0,void 0,2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],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,"\u0440.",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"],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:[void 0,"\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"],RUR:[void 0,"\u0440."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],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:["CFA",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 eu=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}({}),nu=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({}),su=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t[1/0]=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}({});function ou(t,e){const n=Aa(t),s=n[za.NumberSymbols][e];if(void 0===s){if(e===su.CurrencyDecimal)return n[za.NumberSymbols][su.Decimal];if(e===su.CurrencyGroup)return n[za.NumberSymbols][su.Group]}return s}function iu(t,e){return Aa(t)[za.NumberFormats][e]}const ru=Ia,au=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function lu(t,e,n,s,o,i,r=!1){let a="",l=!1;if(isFinite(t)){let c=function(t){let e,n,s,o,i,r=Math.abs(t)+"",a=0;for((n=r.indexOf("."))>-1&&(r=r.replace(".","")),(s=r.search(/e/i))>0?(n<0&&(n=s),n+=+r.slice(s+1),r=r.substring(0,s)):n<0&&(n=r.length),s=0;"0"===r.charAt(s);s++);if(s===(i=r.length))e=[0],n=1;else{for(i--;"0"===r.charAt(i);)i--;for(n-=s,e=[],o=0;s<=i;s++,o++)e[o]=Number(r.charAt(s))}return n>22&&(e=e.splice(0,21),a=n-1,n=1),{digits:e,exponent:a,integerLen:n}}(t);r&&(c=function(t){if(0===t.digits[0])return t;const e=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(0===e?t.digits.push(0,0):1===e&&t.digits.push(0),t.integerLen+=2),t}(c));let u=e.minInt,h=e.minFrac,d=e.maxFrac;if(i){const t=i.match(au);if(null===t)throw new Error(i+" is not a valid digit info");const e=t[1],n=t[3],s=t[5];null!=e&&(u=uu(e)),null!=n&&(h=uu(n)),null!=s?d=uu(s):null!=n&&h>d&&(d=h)}!function(t,e,n){if(e>n)throw new Error(`The minimum number of digits after fraction (${e}) is higher than the maximum (${n}).`);let s=t.digits,o=s.length-t.integerLen;const i=Math.min(Math.max(e,o),n);let r=i+t.integerLen,a=s[r];if(r>0){s.splice(Math.max(t.integerLen,r));for(let t=r;t=5)if(r-1<0){for(let e=0;e>r;e--)s.unshift(0),t.integerLen++;s.unshift(1),t.integerLen++}else s[r-1]++;for(;o=c?s.pop():l=!1),e>=10?1:0}),0);u&&(s.unshift(u),t.integerLen++)}(c,h,d);let p=c.digits,f=c.integerLen;const g=c.exponent;let y=[];for(l=p.every(t=>!t);f0?y=p.splice(f,p.length):(y=p,p=[0]);const m=[];for(p.length>=e.lgSize&&m.unshift(p.splice(-e.lgSize,p.length).join(""));p.length>e.gSize;)m.unshift(p.splice(-e.gSize,p.length).join(""));p.length&&m.unshift(p.join("")),a=m.join(ou(n,s)),y.length&&(a+=ou(n,o)+y.join("")),g&&(a+=ou(n,su.Exponential)+"+"+g)}else a=ou(n,su.Infinity);return a=t<0&&!l?e.negPre+a+e.negSuf:e.posPre+a+e.posSuf,a}function cu(t,e="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},s=t.split(";"),o=s[0],i=s[1],r=-1!==o.indexOf(".")?o.split("."):[o.substring(0,o.lastIndexOf("0")+1),o.substring(o.lastIndexOf("0")+1)],a=r[0],l=r[1]||"";n.posPre=a.substr(0,a.indexOf("#"));for(let u=0;u{class t extends hu{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(ru(e||this.locale)(t)){case nu.Zero:return"zero";case nu.One:return"one";case nu.Two:return"two";case nu.Few:return"few";case nu.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)($t(ec))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();function pu(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[s,o]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(s.trim()===e)return decodeURIComponent(o)}return null}let fu=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new gu,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){yu("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){yu("ngIfElse",t),this._elseTemplateRef=t,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(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(Ji(xa),Ji(Ca))},t.\u0275dir=ye({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class gu{constructor(){this.$implicit=null,this.ngIf=null}}function yu(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${_t(e)}'.`)}class mu{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,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 _u=(()=>{class t{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}_matchCase(t){const e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}_updateDefaultCases(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(let e=0;e{class t{constructor(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new mu(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(Ji(xa),Ji(Ca),Ji(_u,1))},t.\u0275dir=ye({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t})();function bu(t,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${_t(t)}'`)}class Mu{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class Cu{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const vu=new Cu,xu=new Mu;let Ou=(()=>{class t{constructor(t){this._ref=t,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue:(t&&this._subscribe(t),this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,e=>this._updateLatestValue(t,e))}_selectStrategy(e){if(ar(e))return vu;if(function(t){return!!t&&"function"==typeof t.subscribe}(e))return xu;throw bu(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(Ji(Oi))},t.\u0275pipe=me({name:"async",type:t,pure:!1}),t})(),Pu=(()=>{class t{constructor(t){this._locale=t}transform(e,n,s){if(Lu(e))return null;s=s||this._locale;try{return function(t,e,n){return lu(t,cu(iu(e,eu.Decimal),ou(e,su.MinusSign)),e,su.Group,su.Decimal,n)}(Su(e),s,n)}catch(o){throw bu(t,o.message)}}}return t.\u0275fac=function(e){return new(e||t)(Ji(ec))},t.\u0275pipe=me({name:"number",type:t,pure:!0}),t})(),Eu=(()=>{class t{constructor(t,e="USD"){this._locale=t,this._defaultCurrencyCode=e}transform(e,n,s="symbol",o,i){if(Lu(e))return null;i=i||this._locale,"boolean"==typeof s&&(console&&console.warn&&console.warn('Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are "code", "symbol" or "symbol-narrow".'),s=s?"symbol":"code");let r=n||this._defaultCurrencyCode;"code"!==s&&(r="symbol"===s||"symbol-narrow"===s?function(t,e,n="en"){const s=function(t){return Aa(t)[za.Currencies]}(n)[t]||tu[t]||[],o=s[1];return"narrow"===e&&"string"==typeof o?o:s[0]||t}(r,"symbol"===s?"wide":"narrow",i):s);try{return function(t,e,n,s,o){const i=cu(iu(e,eu.Currency),ou(e,su.MinusSign));return i.minFrac=function(t){let e;const n=tu[t];return n&&(e=n[2]),"number"==typeof e?e:2}(s),i.maxFrac=i.minFrac,lu(t,i,e,su.CurrencyGroup,su.CurrencyDecimal,o).replace("\xa4",n).replace("\xa4","").trim()}(Su(e),i,r,n,o)}catch(a){throw bu(t,a.message)}}}return t.\u0275fac=function(e){return new(e||t)(Ji(ec),Ji(nc))},t.\u0275pipe=me({name:"currency",type:t,pure:!0}),t})();function Lu(t){return null==t||""===t||t!=t}function Su(t){if("string"==typeof t&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if("number"!=typeof t)throw new Error(t+" is not a number");return t}let Du=(()=>{class t{}return t.\u0275mod=fe({type:t}),t.\u0275inj=ct({factory:function(e){return new(e||t)},providers:[{provide:hu,useClass:du}]}),t})();const Nu={host:"",basePath:"/api/v1/internal/",production:!0,lazyTimeMs:0,clientVersion:n("sPWc").a,ckeditorLicense:"ETYPME234.GTL514TCO770"};var Tu=n("q82V"),ku=n.n(Tu);function ju(t,e=0){return function(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):e}function Au(t){return Array.isArray(t)?t:[t]}function Iu(t){return null==t?"":"string"==typeof t?t:t+"px"}function Ru(){throw Error("Host already has a portal attached")}class zu{attach(t){return null==t&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),t.hasAttached()&&Ru(),this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null==t?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class Fu extends zu{constructor(t,e,n,s){super(),this.component=t,this.viewContainerRef=e,this.injector=n,this.componentFactoryResolver=s}}class Vu extends zu{constructor(t,e,n){super(),this.templateRef=t,this.viewContainerRef=e,this.context=n}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class Hu extends zu{constructor(t){super(),this.element=t instanceof Jr?t.nativeElement:t}}class Bu extends class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&Ru(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),t instanceof Fu?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof Vu?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof Hu?(this._attachedPortal=t,this.attachDomPortal(t)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()}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)}}{constructor(t,e,n,s,o){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=n,this._defaultInjector=s,this.attachDomPortal=t=>{if(!this._document)throw Error("Cannot attach DOM portal without _document constructor parameter");const e=t.element;if(!e.parentNode)throw Error("DOM portal content must be attached to a parent node.");const n=this._document.createComment("dom-portal");e.parentNode.insertBefore(n,e),this.outletElement.appendChild(e),super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})},this._document=o}attachComponentPortal(t){const e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let n;return t.viewContainerRef?(n=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>n.destroy())):(n=e.create(t.injector||this._defaultInjector),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),n}attachTemplatePortal(t){let e=t.viewContainerRef,n=e.createEmbeddedView(t.templateRef,t.context);return n.rootNodes.forEach(t=>this.outletElement.appendChild(t)),n.detectChanges(),this.setDisposeFn(()=>{let t=e.indexOf(n);-1!==t&&e.remove(t)}),n}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let Uu=(()=>{class t{}return t.\u0275mod=fe({type:t}),t.\u0275inj=ct({factory:function(e){return new(e||t)}}),t})();function Yu(t){return e=>e.lift(new $u(t))}class $u{constructor(t){this.notifier=t}call(t,e){const n=new Qu(t),s=k(n,this.notifier);return s&&!n.seenValue?(n.add(s),e.subscribe(n)):n}}class Qu extends j{constructor(t){super(t),this.seenValue=!1}notifyNext(t,e,n,s,o){this.seenValue=!0,this.complete()}notifyComplete(){}}let Wu=(()=>{class t{constructor(){this._onDestroySubject=new v}get $onDestroy(){return this._onDestroySubject.asObservable()}takeUntilDestroyed(){return Yu(this.$onDestroy)}ngOnDestroy(){this._onDestroySubject.next(),this._onDestroySubject.complete()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ye({type:t}),t})();class Zu extends h{constructor(t,e){super()}schedule(t,e=0){return this}}class qu extends Zu{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const n=this.id,s=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(s,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(s,this.id,e),this}requestAsyncId(t,e,n=0){return setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n=!1,s=void 0;try{this.work(t)}catch(o){n=!0,s=!!o&&o||new Error(o)}if(n)return this.unsubscribe(),s}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,s=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==s&&n.splice(s,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}class Gu extends qu{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(t,e,n):t.flush(this)}}let Ku=(()=>{class t{constructor(e,n=t.now){this.SchedulerAction=e,this.now=n}schedule(t,e=0,n){return new this.SchedulerAction(this,t).schedule(n,e)}}return t.now=()=>Date.now(),t})();class Ju extends Ku{constructor(t,e=Ku.now){super(t,()=>Ju.delegate&&Ju.delegate!==this?Ju.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return Ju.delegate&&Ju.delegate!==this?Ju.delegate.schedule(t,e,n):super.schedule(t,e,n)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}class Xu extends Ju{}const th=new Xu(Gu),eh=new _(t=>t.complete());function nh(t){return t?function(t){return new _(e=>t.schedule(()=>e.complete()))}(t):eh}function sh(...t){let e=t[t.length-1];return O(e)?(t.pop(),z(t,e)):Y(t)}let oh=(()=>{class t{constructor(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}}accept(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}toObservable(){switch(this.kind){case"N":return sh(this.value);case"E":return t=this.error,new _(e=>e.error(t));case"C":return nh()}var t;throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new t("N",e):t.undefinedValueNotification}static createError(e){return new t("E",void 0,e)}static createComplete(){return t.completeNotification}}return t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t})();class ih extends f{constructor(t,e,n=0){super(t),this.scheduler=e,this.delay=n}static dispatch(t){const{notification:e,destination:n}=t;e.observe(n),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(ih.dispatch,this.delay,new rh(t,this.destination)))}_next(t){this.scheduleMessage(oh.createNext(t))}_error(t){this.scheduleMessage(oh.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(oh.createComplete()),this.unsubscribe()}}class rh{constructor(t,e){this.notification=t,this.destination=e}}class ah extends v{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift(),super.next(t)}nextTimeWindow(t){this._events.push(new lh(this._getNow(),t)),this._trimBufferThenGetEvents(),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,n=e?this._events:this._trimBufferThenGetEvents(),s=this.scheduler,o=n.length;let i;if(this.closed)throw new b;if(this.isStopped||this.hasError?i=h.EMPTY:(this.observers.push(t),i=new M(this,t)),s&&t.add(t=new ih(t,s)),e)for(let r=0;re&&(i=Math.max(i,o-e)),i>0&&s.splice(0,i),s}}class lh{constructor(t,e){this.time=t,this.value=e}}class ch extends v{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new b;return this._value}next(t){super.next(this._value=t)}}const uh={};function hh(...t){let e=null,n=null;return O(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&l(t[0])&&(t=t[0]),Y(t,n).lift(new dh(e))}class dh{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new ph(t,this.resultSelector))}}class ph extends j{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(uh),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let n=0;n=0}function yh(t=0,e,n){let s=-1;return gh(e)?s=Number(e)<1?1:Number(e):O(e)&&(n=e),O(n)||(n=fh),new _(e=>{const o=gh(t)?t:+t-n.now();return n.schedule(mh,o,{index:0,period:s,subscriber:e})})}function mh(t){const{index:e,period:n,subscriber:s}=t;if(s.next(e),!s.closed){if(-1===n)return s.complete();t.index=e+1,this.schedule(t,n)}}function _h(...t){return U(1)(sh(...t))}function wh(...t){const e=t[t.length-1];return O(e)?(t.pop(),n=>_h(t,n,e)):e=>_h(t,e)}function bh(t){return e=>e.lift(new Mh(t))}class Mh{constructor(t){this.notifier=t}call(t,e){const n=new Ch(t),s=e.subscribe(n);return s.add(k(n,this.notifier)),s}}class Ch extends j{constructor(){super(...arguments),this.hasValue=!1}_next(t){this.value=t,this.hasValue=!0}notifyNext(t,e,n,s,o){this.emitValue()}notifyComplete(){this.emitValue()}emitValue(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))}}const vh=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})();function xh(t){return e=>0===t?nh():e.lift(new Oh(t))}class Oh{constructor(t){if(this.total=t,this.total<0)throw new vh}call(t,e){return e.subscribe(new Ph(t,this.total))}}class Ph extends f{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}function Eh(t,e){return"function"==typeof e?n=>n.pipe(Eh((n,s)=>F(t(n,s)).pipe(A((t,o)=>e(n,t,s,o))))):e=>e.lift(new Lh(t))}class Lh{constructor(t){this.project=t}call(t,e){return e.subscribe(new Sh(t,this.project))}}class Sh extends j{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(s){return void this.destination.error(s)}this._innerSub(e,t,n)}_innerSub(t,e,n){const s=this.innerSubscription;s&&s.unsubscribe();const o=new P(this,e,n),i=this.destination;i.add(o),this.innerSubscription=k(this,t,void 0,void 0,o),this.innerSubscription!==o&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(t,e,n,s,o){this.destination.next(e)}}function Dh(){}const Nh=new _(Dh);function Th(t,e=fh){return n=>n.lift(new kh(t,e))}class kh{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new jh(t,this.dueTime,this.scheduler))}}class jh extends f{constructor(t,e,n){super(t),this.dueTime=e,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(Ah,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function Ah(t){t.debouncedNext()}function Ih(t,e){return function(n){return n.lift(new Rh(t,e))}}class Rh{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new zh(t,this.predicate,this.thisArg))}}class zh extends f{constructor(t,e,n){super(t),this.predicate=e,this.thisArg=n,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}class Fh{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new Vh(t,this.compare,this.keySelector))}}class Vh extends f{constructor(t,e,n){super(t),this.keySelector=n,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:n}=this;e=n?n(t):t}catch(s){return this.destination.error(s)}let n=!1;if(this.hasKey)try{const{compare:t}=this;n=t(this.key,e)}catch(s){return this.destination.error(s)}else this.hasKey=!0;n||(this.key=e,this.destination.next(t))}}class Hh{constructor(t){this.value=t}call(t,e){return e.subscribe(new Bh(t,this.value))}}class Bh extends f{constructor(t,e){super(t),this.value=e}_next(t){this.destination.next(this.value)}}let Uh=(()=>{class t{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({factory:function(){return new t},token:t,providedIn:"root"}),t})(),Yh=(()=>{class t{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((t,e)=>this._cleanupObserver(e))}observe(t){const e=function(t){return t instanceof Jr?t.nativeElement:t}(t);return new _(t=>{const n=this._observeElement(e).subscribe(t);return()=>{n.unsubscribe(),this._unobserveElement(e)}})}_observeElement(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{const e=new v,n=this._mutationObserverFactory.create(t=>e.next(t));n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:e,count:1})}return this._observedElements.get(t).stream}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){const{observer:e,stream:n}=this._observedElements.get(t);e&&e.disconnect(),n.complete(),this._observedElements.delete(t)}}}return t.\u0275fac=function(e){return new(e||t)($t(Uh))},t.\u0275prov=lt({factory:function(){return new t($t(Uh))},token:t,providedIn:"root"}),t})(),$h=(()=>{class t extends Wu{constructor(t,e,n,s){super(),this.contentObserver=t,this.priceTag=e,this.document=n,this.localeId=s}watchSelector$(t,e){return hh([t,e.pipe(wh(this.localeId))]).pipe(Th(1),Eh(([t,e])=>this.watchPriceElement(t,e)),Ih(t=>!!t),t=>t.lift(new Fh(undefined,undefined)),this.takeUntilDestroyed())}watchPriceElement(e,n){let s,o=t.findCommonParent(e,this.priceTag.nativeElement);return s=o?this.observe(o):this.observe(this.document.body).pipe(Th(1),A(()=>t.findCommonParent(e,this.priceTag.nativeElement)),Ih(t=>!!t),xh(1),Eh(t=>this.observe(t))),s.pipe(A(n=>t.findElement(e,n)),Eh(t=>this.observe(t)),Th(1),A(e=>t.getPriceFromElement(e,n)))}observe(t){return t?this.contentObserver.observe(t).pipe(wh(void 0),(e=t,t=>t.lift(new Hh(e)))):Nh;var e}static findCommonParent(t,e){let n,s=e;do{s=null==s?void 0:s.parentElement,n=this.findElement(t,s)}while(s&&!n);return s}static findElement(t,e){var n;return null!==(n=null==e?void 0:e.querySelector(t))&&void 0!==n?n:null}static getPriceFromElement(t,e){return this.getPriceFromText(t.innerText,e)}static getPriceFromText(t,e){let n=this.getCleanedPriceText(t);if(null!==n)return this.validateFormat(n,e),n=this.replaceLocaleGroupWithBlank(n,e),n=this.replaceLocaleDecimalWithPeriod(n,e),parseFloat(n);console.error("Anyday-Price-Tag found a valid 'price-tag-selector' element but could not find a valid number '"+t+"'")}static getCleanedPriceText(t){const e=this.priceMatcher.exec(t);return e&&e[1]||null}static validateFormat(t,e){if(!this.isFormatValid(t,e)){let n=iu(e,eu.Currency);console.error("Anyday-Price-Tag the format of the price '"+t+"' did not match the locale '"+e+"'. Expected format for locale '"+e+"' is '"+n+"'")}}static isFormatValid(t,e){let n=ou(e,su.CurrencyDecimal),s=ou(e,su.CurrencyGroup);"."===n?n="\\.":"."===s&&(s="\\.");let o=new RegExp("^(\\d{1,3})(["+s+"\\s]{1}\\d{3})*("+n+"\\d+)?$|^(\\d+)?("+n+"\\d+)?$").exec(t);return!!o&&!!o[1]}static replaceLocaleDecimalWithPeriod(t,e){let n=ou(e,su.CurrencyDecimal);return t.replace(new RegExp(this.escapeRegExp(n),"g"),".")}static replaceLocaleGroupWithBlank(t,e){let n=ou(e,su.CurrencyGroup),s=this.escapeRegExp(n);return t.replace(new RegExp(s,"g"),"")}static escapeRegExp(t){return t.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&").replace(/\s/g,"\\s")}}return t.priceMatcher=/(\d[\d,.\s]+\d|\d{1,2})/,t.\u0275fac=function(e){return new(e||t)($t(Yh),$t(Jr),$t(zc),$t(ec))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();var Qh=function(t){return t[t.Fine=0]="Fine",t[t.MerchantDeactivated=1]="MerchantDeactivated",t[t.WebShopNotfound=2]="WebShopNotfound",t[t.WebShopHostNotAllowed=3]="WebShopHostNotAllowed",t[t.CannotConnectToAPI=4]="CannotConnectToAPI",t[t.Unknown=5]="Unknown",t}({});let Wh,Zh=(()=>{class t{static getLocale(t,e){return{DKK:"da",USD:"en"}[t]||e}static format(t,e,n=2){t||(t=0),e||(e="DKK");const s=this.getLocale(e,"da"),o=`1.${n}-${n}`;return new Eu(s,e).transform(t,e,"symbol-narrow",o,s)||String(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),qh=(()=>{class t{calculateEstimatedPrice(t){return e=this,void 0,s=function*(){const e={totalPrice:parseFloat(ju(t.totalPrice,0).toFixed(2)),currency:t.currency},n={error:Qh.Fine};try{const t=4;n.estimate={currency:e.currency,totalPrice:e.totalPrice,splitCount:t,splitPercent:100/t,monthlyPayment:this.bankersRounding(e.totalPrice/t,2)}}catch(s){n.error=Qh.Unknown,console.error("Price tag unknown error, please contact Anyday support")}return n},new((n=void 0)||(n=Promise))((function(t,o){function i(t){try{a(s.next(t))}catch(e){o(e)}}function r(t){try{a(s.throw(t))}catch(e){o(e)}}function a(e){var s;e.done?t(e.value):(s=e.value,s instanceof n?s:new n((function(t){t(s)}))).then(i,r)}a((s=s.apply(e,[])).next())}));var e,n,s}bankersRounding(t,e){let n=e||0,s=Math.pow(10,n),o=+(n?t*s:t).toFixed(8),i=Math.floor(o),r=o-i,a=r>.5-1e-8&&r<.5+1e-8?i%2==0?i:i+1:Math.round(o);return n?a/s:a}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Gh=(()=>{class t{constructor(t){this.priceEstimateService=t}watchPrice(t,e,n){const s=hh([n.pipe(wh(void 0)),e.pipe(wh(void 0)),t.pipe(wh(void 0))]).pipe(A(([t,e,n])=>({priceTagToken:t,currency:e,totalPrice:n}))),o=s.pipe(Ih(t=>void 0!==t.currency&&void 0!==t.totalPrice&&void 0!==t.priceTagToken));return s.pipe(bh(yh(3e3)),xh(1),Yu(o)).subscribe(t=>{this.checkQuery(t)}),o.pipe(Th(1e3),Eh(t=>this.priceEstimateService.calculateEstimatedPrice(t)))}checkQuery(t){const e=[];if(void 0===t.totalPrice&&e.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===t.priceTagToken&&e.push("Price tag token not set, did you forget to specify the 'price-tag-token' attribute?"),void 0===t.currency&&e.push("Currency not set, did you forget to specify the 'currency' attribute"),e.length>0)throw new Error("Anyday price tag error: "+e.join(", "))}}return t.\u0275fac=function(e){return new(e||t)($t(qh))},t.\u0275prov=lt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class Kh{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new Jh(t,this.durationSelector))}}class Jh extends j{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){if(this.value=t,this.hasValue=!0,!this.throttled){let n;try{const{durationSelector:e}=this;n=e(t)}catch(e){return this.destination.error(e)}const s=k(this,n);!s||s.closed?this.clearThrottle():this.add(this.throttled=s)}}clearThrottle(){const{value:t,hasValue:e,throttled:n}=this;n&&(this.remove(n),this.throttled=null,n.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(t))}notifyNext(t,e,n,s){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function Xh(t,e=fh){return n=()=>yh(t,e),function(t){return t.lift(new Kh(n))};var n}try{Wh="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(bf){Wh=!1}let td=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?"browser"===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&&!Wh)&&"undefined"!=typeof CSS&&!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}}return t.\u0275fac=function(e){return new(e||t)($t(Jl))},t.\u0275prov=lt({factory:function(){return new t($t(Jl))},token:t,providedIn:"root"}),t})(),ed=(()=>{class t{}return t.\u0275mod=fe({type:t}),t.\u0275inj=ct({factory:function(e){return new(e||t)}}),t})();const nd=new At("cdk-dir-doc",{providedIn:"root",factory:function(){return Qt(zc)}});let sd=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new kl,t){const e=t.documentElement?t.documentElement.dir:null,n=(t.body?t.body.dir:null)||e;this.value="ltr"===n||"rtl"===n?n:"ltr"}}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)($t(nd,8))},t.\u0275prov=lt({factory:function(){return new t($t(nd,8))},token:t,providedIn:"root"}),t})(),od=(()=>{class t{}return t.\u0275mod=fe({type:t}),t.\u0275inj=ct({factory:function(e){return new(e||t)}}),t})(),id=(()=>{class t{constructor(t,e,n){this._ngZone=t,this._platform=e,this._scrolled=new v,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new _(e=>{this._globalSubscription||this._addGlobalListener();const n=t>0?this._scrolled.pipe(Xh(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):sh()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,e)=>this.deregister(e)),this._scrolled.complete()}ancestorScrolled(t,e){const n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(Ih(t=>!t||n.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((n,s)=>{this._scrollableContainsElement(s,t)&&e.push(s)}),e}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollableContainsElement(t,e){let n=e.nativeElement,s=t.getElementRef().nativeElement;do{if(n==s)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>function t(e,n,o,i){return s(o)&&(i=o,o=void 0),i?t(e,n,o).pipe(A(t=>l(t)?i(...t):i(t))):new _(t=>{!function t(e,n,s,o,i){let r;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){const t=e;e.addEventListener(n,s,i),r=()=>t.removeEventListener(n,s,i)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){const t=e;e.on(n,s),r=()=>t.off(n,s)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){const t=e;e.addListener(n,s),r=()=>t.removeListener(n,s)}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(let r=0,a=e.length;r1?Array.prototype.slice.call(arguments):e)}),t,o)})}(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)($t(pc),$t(td),$t(zc,8))},t.\u0275prov=lt({factory:function(){return new t($t(pc),$t(td),$t(zc,8))},token:t,providedIn:"root"}),t})(),rd=(()=>{class t{constructor(t,e,n){this._platform=t,this._change=new v,this._changeListener=t=>{this._change.next(t)},this._document=n,e.runOutsideAngular(()=>{if(t.isBrowser){const t=this._getWindow();t.addEventListener("resize",this._changeListener),t.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:e,height:n}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+n,right:t.left+e,height:n,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._getDocument(),e=this._getWindow(),n=t.documentElement,s=n.getBoundingClientRect();return{top:-s.top||t.body.scrollTop||e.scrollY||n.scrollTop||0,left:-s.left||t.body.scrollLeft||e.scrollX||n.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(Xh(t)):this._change}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}return t.\u0275fac=function(e){return new(e||t)($t(td),$t(pc),$t(zc,8))},t.\u0275prov=lt({factory:function(){return new t($t(td),$t(pc),$t(zc,8))},token:t,providedIn:"root"}),t})(),ad=(()=>{class t{}return t.\u0275mod=fe({type:t}),t.\u0275inj=ct({factory:function(e){return new(e||t)}}),t})(),ld=(()=>{class t{}return t.\u0275mod=fe({type:t}),t.\u0275inj=ct({factory:function(e){return new(e||t)},imports:[[od,ed,ad],od,ad]}),t})();class cd{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}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=Iu(-this._previousScrollPosition.left),t.style.top=Iu(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,e=t.style,n=this._document.body.style,s=e.scrollBehavior||"",o=n.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),e.scrollBehavior=n.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),e.scrollBehavior=s,n.scrollBehavior=o}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}}function ud(){return Error("Scroll strategy has already been attached.")}class hd{constructor(t,e,n,s){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=s,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){if(this._overlayRef)throw ud();this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-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 dd{enable(){}disable(){}attach(){}}function pd(t,e){return e.some(e=>t.bottome.bottom||t.righte.right)}function fd(t,e){return e.some(e=>t.tope.bottom||t.lefte.right)}class gd{constructor(t,e,n,s){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=s,this._scrollSubscription=null}attach(t){if(this._overlayRef)throw ud();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 t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:n}=this._viewportRuler.getViewportSize();pd(t,[{width:e,height:n,bottom:n,right:e,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 yd=(()=>{class t{constructor(t,e,n,s){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=()=>new dd,this.close=t=>new hd(this._scrollDispatcher,this._ngZone,this._viewportRuler,t),this.block=()=>new cd(this._viewportRuler,this._document),this.reposition=t=>new gd(this._scrollDispatcher,this._viewportRuler,this._ngZone,t),this._document=s}}return t.\u0275fac=function(e){return new(e||t)($t(id),$t(rd),$t(pc),$t(zc))},t.\u0275prov=lt({factory:function(){return new t($t(id),$t(rd),$t(pc),$t(zc))},token:t,providedIn:"root"}),t})();class md{constructor(t){if(this.scrollStrategy=new dd,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,this.excludeFromOutsideClick=[],t){const e=Object.keys(t);for(const n of e)void 0!==t[n]&&(this[n]=t[n])}}}class _d{constructor(t,e,n,s,o){this.offsetX=n,this.offsetY=s,this.panelClass=o,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}class wd{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}function bd(t,e){if("top"!==e&&"bottom"!==e&&"center"!==e)throw Error(`ConnectedPosition: Invalid ${t} "${e}". Expected "top", "bottom" or "center".`)}function Md(t,e){if("start"!==e&&"end"!==e&&"center"!==e)throw Error(`ConnectedPosition: Invalid ${t} "${e}". Expected "start", "end" or "center".`)}let Cd=(()=>{class t{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this.detach()}}return t.\u0275fac=function(e){return new(e||t)($t(zc))},t.\u0275prov=lt({factory:function(){return new t($t(zc))},token:t,providedIn:"root"}),t})(),vd=(()=>{class t extends Cd{constructor(t){super(t),this._keydownListener=t=>{const e=this._attachedOverlays;for(let n=e.length-1;n>-1;n--)if(e[n]._keydownEvents.observers.length>0){e[n]._keydownEvents.next(t);break}}}add(t){super.add(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return t.\u0275fac=function(e){return new(e||t)($t(zc))},t.\u0275prov=lt({factory:function(){return new t($t(zc))},token:t,providedIn:"root"}),t})(),xd=(()=>{class t extends Cd{constructor(t,e){super(t),this._platform=e,this._cursorStyleIsSet=!1,this._clickListener=t=>{const e=t.composedPath?t.composedPath()[0]:t.target,n=this._attachedOverlays;for(let s=n.length-1;s>-1;s--){const o=n[s];if(!(o._outsidePointerEvents.observers.length<1)){if([...o.getConfig().excludeFromOutsideClick,o.overlayElement].some(t=>t.contains(e)))break;o._outsidePointerEvents.next(t)}}}}add(t){super.add(t),this._isAttached||(this._document.body.addEventListener("click",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=this._document.body.style.cursor,this._document.body.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("click",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}}return t.\u0275fac=function(e){return new(e||t)($t(zc),$t(td))},t.\u0275prov=lt({factory:function(){return new t($t(zc),$t(td))},token:t,providedIn:"root"}),t})();const Od=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine);let Pd=(()=>{class t{constructor(t,e){this._platform=e,this._document=t}ngOnDestroy(){const t=this._containerElement;t&&t.parentNode&&t.parentNode.removeChild(t)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t=this._platform?this._platform.isBrowser:"undefined"!=typeof window;if(t||Od){const t=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]');for(let e=0;ethis._backdropClick.next(t),this._keydownEvents=new v,this._outsidePointerEvents=new v,s.scrollStrategy&&(this._scrollStrategy=s.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=s.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){let e=this._portalOutlet.attach(t);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.asObservable().pipe(xh(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),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._location&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher&&this._outsideClickDispatcher.add(this),e}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._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher&&this._outsideClickDispatcher.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher&&this._outsideClickDispatcher.remove(this),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick.asObservable()}attachments(){return this._attachments.asObservable()}detachments(){return this._detachments.asObservable()}keydownEvents(){return this._keydownEvents.asObservable()}outsidePointerEvents(){return this._outsidePointerEvents.asObservable()}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=Object.assign(Object.assign({},this._config),t),this._updateElementSize()}setDirection(t){this._config=Object.assign(Object.assign({},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=Iu(this._config.width),t.height=Iu(this._config.height),t.minWidth=Iu(this._config.minWidth),t.minHeight=Iu(this._config.minHeight),t.maxWidth=Iu(this._config.maxWidth),t.maxHeight=Iu(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"auto":"none"}_attachBackdrop(){this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),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),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t,e=this._backdropElement;if(!e)return;let n=()=>{e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",n),e.parentNode&&e.parentNode.removeChild(e)),this._backdropElement==e&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(e,this._config.backdropClass,!1),clearTimeout(t)};e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",n)}),e.style.pointerEvents="none",t=this._ngZone.runOutsideAngular(()=>setTimeout(n,500))}_toggleClasses(t,e,n){const s=t.classList;Au(e).forEach(t=>{t&&(n?s.add(t):s.remove(t))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.asObservable().pipe(Yu($(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._previousHostParent.removeChild(this._host)),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}}const Ld=/([A-Za-z%]+)$/;class Sd{constructor(t,e,n,s,o){this._viewportRuler=e,this._document=n,this._platform=s,this._overlayContainer=o,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 v,this._resizeSubscription=h.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges.asObservable(),this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){if(this._overlayRef&&t!==this._overlayRef)throw Error("This position strategy is already attached to an overlay");this._validatePositions(),t.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),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();const t=this._originRect,e=this._overlayRect,n=this._viewportRect,s=[];let o;for(let i of this._preferredPositions){let r=this._getOriginPoint(t,i),a=this._getOverlayPoint(r,e,i),l=this._getOverlayFit(a,e,n,i);if(l.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(i,r);this._canFitWithFlexibleDimensions(l,a,n)?s.push({position:i,origin:r,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(r,i)}):(!o||o.overlayFit.visibleAreae&&(e=s,t=n)}return this._isPushed=!1,void this._applyPosition(t.position,t.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(o.position,o.originPoint);this._applyPosition(o.position,o.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Dd(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}}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,e){let n,s;if("center"==e.originX)n=t.left+t.width/2;else{const s=this._isRtl()?t.right:t.left,o=this._isRtl()?t.left:t.right;n="start"==e.originX?s:o}return s="center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom,{x:n,y:s}}_getOverlayPoint(t,e,n){let s,o;return s="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,o="center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height,{x:t.x+s,y:t.y+o}}_getOverlayFit(t,e,n,s){let{x:o,y:i}=t,r=this._getOffset(s,"x"),a=this._getOffset(s,"y");r&&(o+=r),a&&(i+=a);let l=0-i,c=i+e.height-n.height,u=this._subtractOverflows(e.width,0-o,o+e.width-n.width),h=this._subtractOverflows(e.height,l,c),d=u*h;return{visibleArea:d,isCompletelyWithinViewport:e.width*e.height===d,fitsInViewportVertically:h===e.height,fitsInViewportHorizontally:u==e.width}}_canFitWithFlexibleDimensions(t,e,n){if(this._hasFlexibleDimensions){const s=n.bottom-e.y,o=n.right-e.x,i=Nd(this._overlayRef.getConfig().minHeight),r=Nd(this._overlayRef.getConfig().minWidth),a=t.fitsInViewportHorizontally||null!=r&&r<=o;return(t.fitsInViewportVertically||null!=i&&i<=s)&&a}return!1}_pushOverlayOnScreen(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const s=this._viewportRect,o=Math.max(t.x+e.width-s.right,0),i=Math.max(t.y+e.height-s.bottom,0),r=Math.max(s.top-n.top-t.y,0),a=Math.max(s.left-n.left-t.x,0);let l=0,c=0;return l=e.width<=s.width?a||-o:t.xs&&!this._isInitialRender&&!this._growAfterOpen&&(i=t.y-s/2)}if("end"===e.overlayX&&!s||"start"===e.overlayX&&s)c=n.width-t.x+this._viewportMargin,a=t.x-this._viewportMargin;else if("start"===e.overlayX&&!s||"end"===e.overlayX&&s)l=t.x,a=n.right-t.x;else{const e=Math.min(n.right-t.x+n.left,t.x),s=this._lastBoundingBoxSize.width;a=2*e,l=t.x-e,a>s&&!this._isInitialRender&&!this._growAfterOpen&&(l=t.x-s/2)}return{top:i,left:l,bottom:r,right:c,width:a,height:o}}_setBoundingBoxStyles(t,e){const n=this._calculateBoundingBoxRect(t,e);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const s={};if(this._hasExactPosition())s.top=s.left="0",s.bottom=s.right=s.maxHeight=s.maxWidth="",s.width=s.height="100%";else{const t=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;s.height=Iu(n.height),s.top=Iu(n.top),s.bottom=Iu(n.bottom),s.width=Iu(n.width),s.left=Iu(n.left),s.right=Iu(n.right),s.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",s.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",t&&(s.maxHeight=Iu(t)),o&&(s.maxWidth=Iu(o))}this._lastBoundingBoxSize=n,Dd(this._boundingBox.style,s)}_resetBoundingBoxStyles(){Dd(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Dd(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const n={},s=this._hasExactPosition(),o=this._hasFlexibleDimensions,i=this._overlayRef.getConfig();if(s){const s=this._viewportRuler.getViewportScrollPosition();Dd(n,this._getExactOverlayY(e,t,s)),Dd(n,this._getExactOverlayX(e,t,s))}else n.position="static";let r="",a=this._getOffset(e,"x"),l=this._getOffset(e,"y");a&&(r+=`translateX(${a}px) `),l&&(r+=`translateY(${l}px)`),n.transform=r.trim(),i.maxHeight&&(s?n.maxHeight=Iu(i.maxHeight):o&&(n.maxHeight="")),i.maxWidth&&(s?n.maxWidth=Iu(i.maxWidth):o&&(n.maxWidth="")),Dd(this._pane.style,n)}_getExactOverlayY(t,e,n){let s={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n));let i=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return o.y-=i,"bottom"===t.overlayY?s.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":s.top=Iu(o.y),s}_getExactOverlayX(t,e,n){let s,o={left:"",right:""},i=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,n)),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=Iu(i.x),o}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(t=>t.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:fd(t,n),isOriginOutsideView:pd(t,n),isOverlayClipped:fd(e,n),isOverlayOutsideView:pd(e,n)}}_subtractOverflows(t,...e){return e.reduce((t,e)=>t-Math.max(e,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+t-this._viewportMargin,bottom:n.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){if(!this._preferredPositions.length)throw Error("FlexibleConnectedPositionStrategy: At least one position is required.");this._preferredPositions.forEach(t=>{Md("originX",t.originX),bd("originY",t.originY),Md("overlayX",t.overlayX),bd("overlayY",t.overlayY)})}_addPanelClasses(t){this._pane&&Au(t).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof Jr)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,n=t.height||0;return{top:t.y,bottom:t.y+n,left:t.x,right:t.x+e,height:n,width:e}}}function Dd(t,e){for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function Nd(t){if("number"!=typeof t&&null!=t){const[e,n]=t.split(Ld);return n&&"px"!==n?null:parseFloat(e)}return t||null}class Td{constructor(t,e,n,s,o,i,r){this._preferredPositions=[],this._positionStrategy=new Sd(n,s,o,i,r).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,e)}get onPositionChange(){return this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(t){this._overlayRef=t,this._positionStrategy.attach(t),this._direction&&(t.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(t){this._positionStrategy.withScrollableContainers(t)}withFallbackPosition(t,e,n,s){const o=new _d(t,e,n,s);return this._preferredPositions.push(o),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(t){return this._overlayRef?this._overlayRef.setDirection(t):this._direction=t,this}withOffsetX(t){return this._positionStrategy.withDefaultOffsetX(t),this}withOffsetY(t){return this._positionStrategy.withDefaultOffsetY(t),this}withLockedPosition(t){return this._positionStrategy.withLockedPosition(t),this}withPositions(t){return this._preferredPositions=t.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(t){return this._positionStrategy.setOrigin(t),this}}class kd{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add("cdk-global-overlay-wrapper"),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-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._justifyContent="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,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:s,height:o,maxWidth:i,maxHeight:r}=n,a=!("100%"!==s&&"100vw"!==s||i&&"100%"!==i&&"100vw"!==i),l=!("100%"!==o&&"100vh"!==o||r&&"100%"!==r&&"100vh"!==r);t.position=this._cssPosition,t.marginLeft=a?"0":this._leftOffset,t.marginTop=l?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,a?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove("cdk-global-overlay-wrapper"),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let jd=(()=>{class t{constructor(t,e,n,s){this._viewportRuler=t,this._document=e,this._platform=n,this._overlayContainer=s}global(){return new kd}connectedTo(t,e,n){return new Td(e,n,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(t){return new Sd(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\u0275fac=function(e){return new(e||t)($t(rd),$t(zc),$t(td),$t(Pd))},t.\u0275prov=lt({factory:function(){return new t($t(rd),$t(zc),$t(td),$t(Pd))},token:t,providedIn:"root"}),t})(),Ad=0,Id=(()=>{class t{constructor(t,e,n,s,o,i,r,a,l,c,u){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=n,this._positionBuilder=s,this._keyboardDispatcher=o,this._injector=i,this._ngZone=r,this._document=a,this._directionality=l,this._location=c,this._outsideClickDispatcher=u}create(t){const e=this._createHostElement(),n=this._createPaneElement(e),s=this._createPortalOutlet(n),o=new md(t);return o.direction=o.direction||this._directionality.value,new Ed(s,e,n,o,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(t){const e=this._document.createElement("div");return e.id="cdk-overlay-"+Ad++,e.classList.add("cdk-overlay-pane"),t.appendChild(e),e}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(Nc)),new Bu(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t.\u0275fac=function(e){return new(e||t)($t(yd),$t(Pd),$t(Kr),$t(jd),$t(vd),$t(Hi),$t(pc),$t(zc),$t(sd),$t(Kc,8),$t(xd,8))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const Rd={provide:new At("cdk-connected-overlay-scroll-strategy"),deps:[Id],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let zd=(()=>{class t{}return t.\u0275mod=fe({type:t}),t.\u0275inj=ct({factory:function(e){return new(e||t)},providers:[Id,Rd],imports:[[od,Uu,ld],ld]}),t})();const Fd=["linkElement"],Vd=function(t,e,n){return[t,e,"symbol-narrow","1.2-2",n]};function Hd(t,e){if(1&t&&(er(0,"span",24),bl(1,25),Ll(2,"currency"),Ll(3,"number"),nr()),2&t){const t=hr();Zs(3),Ml(Dl(2,2,Pl(11,Vd,null==t.model?null:t.model.monthlyPayment,null==t.model?null:t.model.currency,t.currencyLocale)))(Sl(3,8,null==t.model?null:t.model.splitCount,"0.0-0")),Cl(1)}}const Bd=function(t,e,n){return[t,e,"symbol-narrow","1.0-0",n]};function Ud(t,e){if(1&t&&(er(0,"span",24),bl(1,26),Ll(2,"currency"),nr()),2&t){const t=hr();Zs(2),Ml(Dl(2,1,Pl(7,Bd,t.minimumPrice,null==t.model?null:t.model.currency,t.currencyLocale))),Cl(1)}}function Yd(t,e){1&t&&(er(0,"span",31),bl(1,32),nr())}function $d(t,e){if(1&t&&(er(0,"span",31),bl(1,33),Ll(2,"async"),nr()),2&t){const t=hr(2);Zs(2),Ml(function(t,e,n){const s=Ge(),o=Ve(s,t);return Tl(s,Nl(s,t)?function(t,e,n,s,o,i){const r=e+n;return qi(t,r,o)?Zi(t,r+1,i?s.call(i,o):s(o)):El(t,r+1)}(s,rn(),e,o.transform,n,o):o.transform(n))}(2,1,t.priceTagToken$)||"N/A"),Cl(1)}}function Qd(t,e){if(1&t&&(er(0,"span",31),bl(1,34),nr()),2&t){const t=hr(2);Zs(1),Ml(t.origin),Cl(1)}}function Wd(t,e){1&t&&(er(0,"span",31),bl(1,35),nr())}function Zd(t,e){1&t&&(er(0,"span",31),bl(1,36),nr())}function qd(t,e){if(1&t&&(er(0,"div",27),er(1,"div",28),sr(2,"i",29),Ki(3,Yd,2,0,"span",30),Ki(4,$d,3,3,"span",30),Ki(5,Qd,2,1,"span",30),Ki(6,Wd,2,0,"span",30),Ki(7,Zd,2,0,"span",30),nr(),nr()),2&t){const t=hr();Zs(1),Xi("ngSwitch",t.currentError),Zs(2),Xi("ngSwitchCase",t.ErrorTypes.MerchantDeactivated),Zs(1),Xi("ngSwitchCase",t.ErrorTypes.WebShopNotfound),Zs(1),Xi("ngSwitchCase",t.ErrorTypes.WebShopHostNotAllowed),Zs(1),Xi("ngSwitchCase",t.ErrorTypes.CannotConnectToAPI),Zs(1),Xi("ngSwitchCase",t.ErrorTypes.Unknown)}}function Gd(t,e){if(1&t&&(er(0,"div",79),er(1,"h2",80),bl(2,81),nr(),er(3,"span"),Nr(4),Ll(5,"currency"),nr(),er(6,"span",82),Nr(7,"x"),nr(),er(8,"span"),Nr(9),nr(),er(10,"span"),Nr(11,"\xa0"),nr(),er(12,"span"),bl(13,83),nr(),er(14,"span",82),Nr(15,"="),nr(),er(16,"span"),Nr(17),Ll(18,"currency"),nr(),nr()),2&t){const t=hr(3);Zs(4),Tr(Dl(5,3,Pl(15,Vd,t.model.monthlyPayment,t.model.currency,t.currencyLocale))),Zs(5),Tr(t.model.splitCount),Zs(8),Tr(Dl(18,9,Pl(19,Vd,t.model.totalPrice,t.model.currency,t.currencyLocale)))}}function Kd(t,e){if(1&t&&(er(0,"div",79),er(1,"h2",80),bl(2,84),Ll(3,"currency"),nr(),nr()),2&t){const t=hr(3);Zs(3),Ml(Dl(3,2,Pl(8,Bd,t.minimumPrice,t.model.currency,t.currencyLocale)))(t.model.splitCount),Cl(2)}}function Jd(t,e){if(1&t){const t=rr();er(0,"div",39),er(1,"div",40),er(2,"div",41),er(3,"div",42),er(4,"i",43),lr("click",(function(){return Je(t),hr(2).closeTemplateModal()})),nr(),nr(),er(5,"div",44),er(6,"div",45),er(7,"div",2),er(8,"div",46),er(9,"div",47),er(10,"img",48),function(t,e){const n=Ge(),s=Ke();!function(t,e,n,s){const o=Xe().index-20,i=[];for(let r=0;r{class t extends Wu{constructor(t,e,n,s,o,i){super(),this.priceService=t,this.watcherService=e,this.render=n,this.localeId=s,this.viewContainerRef=o,this.overlay=i,this.componentClass="anyday-split",this._totalPrice$=new ah(1),this._totalPriceSelector$=new ah(1),this._priceFormatLocale$=new ah(1),this._currency$=new ah(1),this._environment$=new ch("production"),this.priceTagToken$=new ah(1),this._linkElement$=new ah(1),this.currentError=Qh.Unknown,this.ErrorTypes=Qh,this.isReady=!1,this.origin=window.location.origin,this.formatLocale=s,this.overlayRef=this.overlay.create({hasBackdrop:!0,positionStrategy:this.overlay.position().global().centerHorizontally().centerVertically()}),this.overlayRef.backdropClick().subscribe(()=>this.closeTemplateModal())}get hide(){return this.currentError===Qh.CannotConnectToAPI||this.currentError===Qh.Unknown}set totalPrice(t){this._totalPrice$.next(t)}set environment(t){this._environment$.next(t)}set totalPriceSelector(t){this._totalPriceSelector$.next(t)}set priceFormatLocale(t){this._priceFormatLocale$.next(t)}set currency(t){this._currency$.next(t)}set priceTagToken(t){this.priceTagToken$.next(t)}set linkElement(t){this._linkElement$.next(t.nativeElement)}get logoPath(){return Nu.host+"/assets/img/anyday-logo-black.svg"}get signUpUrl(){return`${Nu.host}/${this.localeId}/shopper`}get hidePriceTag(){var t;return!this.model||!this.isReady||this.currentError!==this.ErrorTypes.Fine||!this.model||(null===(t=this.model)||void 0===t?void 0:t.totalPrice)>this.maximumPrice}get lessThanMinimum(){var t;return!this.model||!this.isReady||this.currentError!==this.ErrorTypes.Fine||!this.model||(null===(t=this.model)||void 0===t?void 0:t.totalPrice)this.formatLocale=t),this.watcherService.watchSelector$(this._totalPriceSelector$,this._priceFormatLocale$).subscribe(t=>{this.totalPrice=t}),this.priceService.watchPrice(this._totalPrice$,this._currency$,this.priceTagToken$).subscribe(t=>{this.model=t.estimate,this.currentError=t.error,this.isReady=!0}),hh([this._totalPrice$.pipe(wh(void 0)),this._environment$.pipe(wh(void 0)),this._totalPriceSelector$.pipe(wh(void 0)),this._priceFormatLocale$.pipe(wh(void 0)),this._currency$.pipe(wh(void 0)),this.priceTagToken$.pipe(wh(void 0)),this._linkElement$.pipe(wh(void 0))]).pipe(A(([t,e,n,s,o,i,r])=>({totalPrice:t,environment:e,totalPriceSelector:n,priceFormatLocale:s,currency:o,priceTagToken:i,linkElement:r})),bh(yh(2500)),xh(1)).subscribe(t=>{this.validateInputs(t)})}validateInputs(t){let e=function(t,e){var n={};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&e.indexOf(s)<0&&(n[s]=t[s]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(s=Object.getOwnPropertySymbols(t);o{switch(t){case"test":Nu.host="https://anyday-split.northeurope.cloudapp.azure.com";break;case"staging":Nu.host="https://anyday-staging.northeurope.cloudapp.azure.com";break;case"dev":Nu.host="https://localhost:56747";break;default:Nu.host="https://my.anyday.io"}})}setupLinkElement(){this._linkElement$.pipe(Eh(t=>this.watcherService.observe(t)),this.takeUntilDestroyed()).subscribe(t=>{this.render.setAttribute(t,"data-content",t.innerText)})}}return t.\u0275fac=function(e){return new(e||t)(Ji(Gh),Ji($h),Ji(na),Ji(ec),Ji(xa),Ji(Id))},t.\u0275cmp=ue({type:t,selectors:[["anyday-price-tag"]],viewQuery:function(t,e){var n,s,o,i,r,a;1&t&&(i=Fd,r=!0,function(t,e,n,s,o,i){t.firstCreatePass&&function(t,e,n){null===t.queries&&(t.queries=new Fl),t.queries.track(new Vl(e,-1))}(t,new zl(n,s,!1,o)),function(t,e){const n=new Al;yo(t,e,n,n.destroy),null===e[19]&&(e[19]=new Rl),e[19].queries.push(new Il(n))}(t,e)}(Ke(),Ge(),i,r,a)),2&t&&function(t){const e=Ge(),n=Ke(),s=dn();pn(s+1);const o=Yl(n,s);if(t.dirty&&Ue(e)===o.metadata.isStatic){if(null===o.matches)t.reset([]);else{const i=o.crossesNgTemplate?function t(e,n,s,o){const i=e.queries.getByIndex(s),r=i.matches;if(null!==r){const a=Ul(e,n,i,s);for(let e=0;e0)o.push(a[e/2]);else{const i=r[e+1],a=n[-s];for(let e=10;e{const t=Element.prototype;return t.matches||t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector})(),sp={schedule(t,e){const n=setTimeout(t,e);return()=>clearTimeout(n)},scheduleBeforeRender(t){if("undefined"==typeof window)return sp.schedule(t,0);if(void 0===window.requestAnimationFrame)return sp.schedule(t,16);const e=window.requestAnimationFrame(t);return()=>window.cancelAnimationFrame(e)}};function op(t,e,n){let s=n;return function(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}(t)&&e.some((e,n)=>!("*"===e||!function(t,e){return np.call(t,e)}(t,e)||(s=n,0))),s}class ip{constructor(t,e){this.componentFactory=e.get(Kr).resolveComponentFactory(t)}create(t){return new rp(this.componentFactory,t)}}class rp{constructor(t,e){this.componentFactory=t,this.injector=e,this.eventEmitters=new ah(1),this.events=this.eventEmitters.pipe(Eh(t=>$(...t))),this.componentRef=null,this.inputChanges=null,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set,this.ngZone=this.injector.get(pc),this.elementZone="undefined"==typeof Zone?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=sp.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null)},10))})}getInputValue(t){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,e){this.runInZone(()=>{var n,s;null!==this.componentRef?((n=e)!==(s=this.getInputValue(t))&&(n==n||s==s)||void 0===e&&this.unchangedInputs.has(t))&&(this.recordInputChange(t,e),this.componentRef.instance[t]=e,this.scheduleDetectChanges()):this.initialInputValues.set(t,e)})}initializeComponent(t){const e=Hi.create({providers:[],parent:this.injector}),n=function(t,e){const n=t.childNodes,s=e.map(()=>[]);let o=-1;e.some((t,e)=>"*"===t&&(o=e,!0));for(let i=0,r=n.length;i{this.implementsOnChanges&&this.unchangedInputs.add(t),this.initialInputValues.has(t)&&this.setInputValue(t,this.initialInputValues.get(t))}),this.initialInputValues.clear()}initializeOutputs(t){const e=this.componentFactory.outputs.map(({propName:e,templateName:n})=>t.instance[e].pipe(A(t=>({name:n,value:t}))));this.eventEmitters.next(e)}callNgOnChanges(t){if(!this.implementsOnChanges||null===this.inputChanges)return;const e=this.inputChanges;this.inputChanges=null,t.instance.ngOnChanges(e)}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=sp.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(t,e){if(null!==this.componentRef&&!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const n=this.inputChanges[t];if(n)return void(n.currentValue=e);const s=this.unchangedInputs.has(t);this.unchangedInputs.delete(t);const o=s?void 0:this.getInputValue(t);this.inputChanges[t]=new Le(o,e,s)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}}class ap extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}function lp(t,e){t.forEach(({propName:t})=>{Object.defineProperty(e,t,{get(){return this.ngElementStrategy.getInputValue(t)},set(e){this.ngElementStrategy.setInputValue(t,e)},configurable:!0,enumerable:!0})})}class cp extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var t;t=new cp,Ic||(Ic=t)}getProperty(t,e){return t[e]}log(t){window.console&&window.console.log&&window.console.log(t)}logGroup(t){window.console&&window.console.group&&window.console.group(t)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){return t.parentNode&&t.parentNode.removeChild(t),t}getValue(t){return t.value}createElement(t,e){return(e=e||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,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(t){const e=hp||(hp=document.querySelector("base"),hp)?hp.getAttribute("href"):null;return null==e?null:(n=e,up||(up=document.createElement("a")),up.setAttribute("href",n),"/"===up.pathname.charAt(0)?up.pathname:"/"+up.pathname);var n}resetBaseElement(){hp=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(t){return pu(document.cookie,t)}}let up,hp=null;const dp=new At("TRANSITION_ID"),pp=[{provide:Ql,useFactory:function(t,e,n){return()=>{n.get(Wl).donePromise.then(()=>{const n=Rc();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[dp,zc,Hi],multi:!0}];class fp{static init(){var t;t=new fp,Oc=t}addToWindow(t){Et.getAngularTestability=(e,n=!0)=>{const s=t.findTestabilityInTree(e,n);if(null==s)throw new Error("Could not find testability for element.");return s},Et.getAllAngularTestabilities=()=>t.getAllTestabilities(),Et.getAllAngularRootElements=()=>t.getAllRootElements(),Et.frameworkStabilizers||(Et.frameworkStabilizers=[]),Et.frameworkStabilizers.push(t=>{const e=Et.getAllAngularTestabilities();let n=e.length,s=!1;const o=function(e){s=s||e,n--,0==n&&t(s)};e.forEach((function(t){t.whenStable(o)}))})}findTestabilityInTree(t,e,n){if(null==e)return null;const s=t.getTestability(e);return null!=s?s:n?Rc().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}const gp=new At("EventManagerPlugins");let yp=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let s=0;s{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),wp=(()=>{class t extends _p{constructor(t){super(),this._doc=t,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(t.head)}_addStylesToHost(t,e){t.forEach(t=>{const n=this._doc.createElement("style");n.textContent=t,this._styleNodes.add(e.appendChild(n))})}addHost(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}removeHost(t){this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach(e=>this._addStylesToHost(t,e))}ngOnDestroy(){this._styleNodes.forEach(t=>Rc().remove(t))}}return t.\u0275fac=function(e){return new(e||t)($t(zc))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const bp={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/"},Mp=/%COMP%/g;function Cp(t,e,n){for(let s=0;s{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let xp=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new Op(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case re.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new Pp(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case re.Native:case re.ShadowDom:return new Ep(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=Cp(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)($t(yp),$t(wp),$t(Zl))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();class Op{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(bp[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,s){if(s){e=s+":"+e;const o=bp[s];o?t.setAttributeNS(o,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const s=bp[n];s?t.removeAttributeNS(s,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,s){s&ea.DashCase?t.style.setProperty(e,n,s&ea.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&ea.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,vp(n)):this.eventManager.addEventListener(t,e,vp(n))}}class Pp extends Op{constructor(t,e,n,s){super(t),this.component=n;const o=Cp(s+"-"+n.id,n.styles,[]);e.addStyles(o),this.contentAttr="_ngcontent-%COMP%".replace(Mp,s+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(Mp,s+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class Ep extends Op{constructor(t,e,n,s){super(t),this.sharedStylesHost=e,this.hostEl=n,this.component=s,this.shadowRoot=s.encapsulation===re.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const o=Cp(s.id,s.styles,[]);for(let i=0;i{class t extends mp{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}return t.\u0275fac=function(e){return new(e||t)($t(zc))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const Sp=["alt","control","meta","shift"],Dp={"\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"},Np={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},Tp={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let kp=(()=>{class t extends mp{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,s){const o=t.parseEventName(n),i=t.eventCallback(o.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Rc().onAndCancel(e,o.domEventName,i))}static parseEventName(e){const n=e.toLowerCase().split("."),s=n.shift();if(0===n.length||"keydown"!==s&&"keyup"!==s)return null;const o=t._normalizeKey(n.pop());let i="";if(Sp.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),i+=t+".")}),i+=o,0!=n.length||0===o.length)return null;const r={};return r.domEventName=s,r.fullKey=i,r}static getEventFullKey(t){let e="",n=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&Np.hasOwnProperty(e)&&(e=Np[e]))}return Dp[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),Sp.forEach(s=>{s!=n&&(0,Tp[s])(t)&&(e+=s+".")}),e+=n,e}static eventCallback(e,n,s){return o=>{t.getEventFullKey(o)===e&&s.runGuarded(()=>n(o))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)($t(zc))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const jp=Ec(kc,"browser",[{provide:Jl,useValue:"browser"},{provide:Kl,useValue:function(){cp.makeCurrent(),fp.init()},multi:!0},{provide:zc,useFactory:function(){return function(t){Te=t}(document),document},deps:[]}]),Ap=[[],{provide:Ei,useValue:"root"},{provide:ls,useFactory:function(){return new ls},deps:[]},{provide:gp,useClass:Lp,multi:!0,deps:[zc,pc,Jl]},{provide:gp,useClass:kp,multi:!0,deps:[zc]},[],{provide:xp,useClass:xp,deps:[yp,wp,Zl]},{provide:ta,useExisting:xp},{provide:_p,useExisting:wp},{provide:wp,useClass:wp,deps:[zc]},{provide:Mc,useClass:Mc,deps:[pc]},{provide:yp,useClass:yp,deps:[gp,pc]},[]];let Ip=(()=>{class t{constructor(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:t,providers:[{provide:Zl,useValue:e.appId},{provide:dp,useExisting:Zl},pp]}}}return t.\u0275mod=fe({type:t}),t.\u0275inj=ct({factory:function(e){return new(e||t)($t(t,12))},providers:Ap,imports:[Du,Ac]}),t})();"undefined"!=typeof window&&window;class Rp{}class zp{}class Fp{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const n=t.slice(0,e),s=n.toLowerCase(),o=t.slice(e+1).trim();this.maybeSetNormalizedName(n,s),this.headers.has(s)?this.headers.get(s).push(o):this.headers.set(s,[o])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const s=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(s,n),this.maybeSetNormalizedName(e,s))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof Fp?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(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new Fp;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof Fp?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const s=("a"===t.op?this.headers.get(e):void 0)||[];s.push(...n),this.headers.set(e,s);break;case"d":const o=t.value;if(o){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===o.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class Vp{encodeKey(t){return Hp(t)}encodeValue(t){return Hp(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function Hp(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}class Bp{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new Vp,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const n=new Map;return t.length>0&&t.split("&").forEach(t=>{const s=t.indexOf("="),[o,i]=-1==s?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,s)),e.decodeValue(t.slice(s+1))],r=n.get(o)||[];r.push(i),n.set(o,r)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e];this.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new Bp({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat([t]),e}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 e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(t.value),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const n=e.indexOf(t.value);-1!==n&&e.splice(n,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}function Up(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function Yp(t){return"undefined"!=typeof Blob&&t instanceof Blob}function $p(t){return"undefined"!=typeof FormData&&t instanceof FormData}class Qp{constructor(t,e,n,s){let o;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||s?(this.body=void 0!==n?n:null,o=s):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.params&&(this.params=o.params)),this.headers||(this.headers=new Fp),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?");this.urlWithParams=e+(-1===n?"?":ne.set(n,t.setHeaders[n]),a)),t.setParams&&(l=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),l)),new Qp(e,n,o,{params:l,headers:a,reportProgress:r,responseType:s,withCredentials:i})}}var Wp=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}({});class Zp{constructor(t,e=200,n="OK"){this.headers=t.headers||new Fp,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class qp extends Zp{constructor(t={}){super(t),this.type=Wp.ResponseHeader}clone(t={}){return new qp({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 Gp extends Zp{constructor(t={}){super(t),this.type=Wp.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Gp({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 Kp extends Zp{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 Jp(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let Xp=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let s;if(t instanceof Qp)s=t;else{let o=void 0;o=n.headers instanceof Fp?n.headers:new Fp(n.headers);let i=void 0;n.params&&(i=n.params instanceof Bp?n.params:new Bp({fromObject:n.params})),s=new Qp(t,e,void 0!==n.body?n.body:null,{headers:o,params:i,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const o=sh(s).pipe(V(t=>this.handler.handle(t),void 0,1));if(t instanceof Qp||"events"===n.observe)return o;const i=o.pipe(Ih(t=>t instanceof Gp));switch(n.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return i.pipe(A(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return i.pipe(A(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return i.pipe(A(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return i.pipe(A(t=>t.body))}case"response":return i;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new Bp).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,n={}){return this.request("PATCH",t,Jp(n,e))}post(t,e,n={}){return this.request("POST",t,Jp(n,e))}put(t,e,n={}){return this.request("PUT",t,Jp(n,e))}}return t.\u0275fac=function(e){return new(e||t)($t(Rp))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();class tf{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const ef=new At("HTTP_INTERCEPTORS");let nf=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const sf=/^\)\]\}',?\n/;class of{}let rf=(()=>{class t{constructor(){}build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),af=(()=>{class t{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new _(e=>{const n=this.xhrFactory.build();if(n.open(t.method,t.urlWithParams),t.withCredentials&&(n.withCredentials=!0),t.headers.forEach((t,e)=>n.setRequestHeader(t,e.join(","))),t.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&n.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();n.responseType="json"!==e?e:"text"}const s=t.serializeBody();let o=null;const i=()=>{if(null!==o)return o;const e=1223===n.status?204:n.status,s=n.statusText||"OK",i=new Fp(n.getAllResponseHeaders()),r=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(n)||t.url;return o=new qp({headers:i,status:e,statusText:s,url:r}),o},r=()=>{let{headers:s,status:o,statusText:r,url:a}=i(),l=null;204!==o&&(l=void 0===n.response?n.responseText:n.response),0===o&&(o=l?200:0);let c=o>=200&&o<300;if("json"===t.responseType&&"string"==typeof l){const t=l;l=l.replace(sf,"");try{l=""!==l?JSON.parse(l):null}catch(u){l=t,c&&(c=!1,l={error:u,text:l})}}c?(e.next(new Gp({body:l,headers:s,status:o,statusText:r,url:a||void 0})),e.complete()):e.error(new Kp({error:l,headers:s,status:o,statusText:r,url:a||void 0}))},a=t=>{const{url:s}=i(),o=new Kp({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:s||void 0});e.error(o)};let l=!1;const c=s=>{l||(e.next(i()),l=!0);let o={type:Wp.DownloadProgress,loaded:s.loaded};s.lengthComputable&&(o.total=s.total),"text"===t.responseType&&n.responseText&&(o.partialText=n.responseText),e.next(o)},u=t=>{let n={type:Wp.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener("load",r),n.addEventListener("error",a),t.reportProgress&&(n.addEventListener("progress",c),null!==s&&n.upload&&n.upload.addEventListener("progress",u)),n.send(s),e.next({type:Wp.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("load",r),t.reportProgress&&(n.removeEventListener("progress",c),null!==s&&n.upload&&n.upload.removeEventListener("progress",u)),n.readyState!==n.DONE&&n.abort()}})}}return t.\u0275fac=function(e){return new(e||t)($t(of))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const lf=new At("XSRF_COOKIE_NAME"),cf=new At("XSRF_HEADER_NAME");class uf{}let hf=(()=>{class t{constructor(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=pu(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)($t(zc),$t(Jl),$t(lf))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),df=(()=>{class t{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);const s=this.tokenService.getToken();return null===s||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,s)})),e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)($t(uf),$t(cf))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),pf=(()=>{class t{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(ef,[]);this.chain=t.reduceRight((t,e)=>new tf(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)($t(zp),$t(Hi))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),ff=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:df,useClass:nf}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:lf,useValue:e.cookieName}:[],e.headerName?{provide:cf,useValue:e.headerName}:[]]}}}return t.\u0275mod=fe({type:t}),t.\u0275inj=ct({factory:function(e){return new(e||t)},providers:[df,{provide:ef,useExisting:df,multi:!0},{provide:uf,useClass:hf},{provide:lf,useValue:"XSRF-TOKEN"},{provide:cf,useValue:"X-XSRF-TOKEN"}]}),t})(),gf=(()=>{class t{}return t.\u0275mod=fe({type:t}),t.\u0275inj=ct({factory:function(e){return new(e||t)},providers:[Xp,{provide:Rp,useClass:pf},af,{provide:zp,useExisting:af},rf,{provide:of,useExisting:rf}],imports:[[ff.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})(),yf=(()=>{class t{constructor(t){this.injector=t}ngDoBootstrap(t){const e=function(t,e){const n=function(t,e){return e.get(Kr).resolveComponentFactory(t).inputs}(t,e.injector),s=e.strategyFactory||new ip(t,e.injector),o=function(t){const e={};return t.forEach(({propName:t,templateName:n})=>{var s;e[(s=n,s.replace(/[A-Z]/g,t=>"-"+t.toLowerCase()))]=t}),e}(n);class i extends ap{constructor(t){super(),this.injector=t}get ngElementStrategy(){if(!this._ngElementStrategy){const t=this._ngElementStrategy=s.create(this.injector||e.injector),o=n.filter(({propName:t})=>this.hasOwnProperty(t)).map(({propName:t})=>[t,this[t]]);this instanceof i?o.forEach(([t])=>delete this[t]):lp(n,this),o.forEach(([e,n])=>t.setInputValue(e,n))}return this._ngElementStrategy}attributeChangedCallback(t,e,n,s){this.ngElementStrategy.setInputValue(o[t],n)}connectedCallback(){let t=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),t=!0),this.ngElementStrategy.connect(this),t||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(t=>{const e=function(t,e,n){if("function"!=typeof CustomEvent){const s=t.createEvent("CustomEvent");return s.initCustomEvent(e,!1,!1,n),s}return new CustomEvent(e,{bubbles:!1,cancelable:!1,detail:n})}(this.ownerDocument,t.name,t.value);this.dispatchEvent(e)})}}return i.observedAttributes=Object.keys(o),Object.defineProperty(i.prototype,"ngElementStrategy",{enumerable:!0}),lp(n,i.prototype),i}(ep,{injector:this.injector});customElements.define("anyday-price-tag",e)}}return t.\u0275mod=fe({type:t}),t.\u0275inj=ct({factory:function(e){return new(e||t)($t(Hi))},providers:[],imports:[[Ip,gf,zd]]}),t})();var mf,_f,wf;mf=ku.a,wf=void 0,"string"!=typeof(_f="da")&&(wf=_f,_f=mf[za.LocaleId]),_f=_f.toLowerCase().replace(/_/g,"-"),ja[_f]=mf,wf&&(ja[_f][za.ExtraData]=wf),Nu.production&&function(){if(ds)throw new Error("Cannot enable prod mode after platform setup.");hs=!1}(),jp().bootstrapModule(yf).catch(t=>console.error(t))},zn8P:function(t,e){function n(t){return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}))}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="zn8P"}},[[0,0]]]); (window.webpackJsonp=window.webpackJsonp||[]).push([[2],{2:function(e,t,n){e.exports=n("hN/g")},"hN/g":function(e,t,n){"use strict";if(n.r(t),n("uwo5"),n("nf2o"),n("lgC5"),"undefined"==typeof Prototype);else{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");void 0!==Array.prototype._reverse&&(Array.prototype.reverse=Array.prototype._reverse),Array.from=function(){var e;try{e=Symbol.iterator?Symbol.iterator:"Symbol(Symbol.iterator)"}catch(s){e="Symbol(Symbol.iterator)"}var t=Object.prototype.toString,n=function(e){return"function"==typeof e||"[object Function]"===t.call(e)},r=Math.pow(2,53)-1,o=function(e){var t=function(e){var t=Number(e);return isNaN(t)?0:0!==t&&isFinite(t)?(t>0?1:-1)*Math.floor(Math.abs(t)):t}(e);return Math.min(Math.max(t,0),r)},a=function(t,n){var r=t&&n[e]();return function(e){return t?r.next():n[e]}},i=function(e,t,n,r,o,a){for(var i=0;i1?arguments[1]:void 0;if(void 0!==u){if(!n(u))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(c=arguments[2])}var h=o(s.length),p=n(r)?Object(new r(h)):new Array(h);return i(c,p,h,a(l,s),l,u)}}(),String.prototype.startsWith=function(e,t){var n=t>0?0|t:0;return this.substring(n,n+e.length)===e},String.prototype.endsWith=function(e,t){return(void 0===t||t>this.length)&&(t=this.length),this.substring(t-e.length,t)===e}}},lgC5:function(e,t){!function(e,t){"use strict";function n(){var e=L.splice(0,L.length);for(Je=0;e.length;)e.shift().call(null,e.shift())}function r(e,t){for(var n=0,r=e.length;n1)&&T(this)}}}),Ae(a,V,{value:function(e){-1>0,z="__"+N+A,I="addEventListener",j="attached",R="Callback",x="detached",F="extends",V="attributeChanged"+R,U=j+R,q="connected"+R,B="disconnected"+R,G="created"+R,W=x+R,$="ADDITION",X="REMOVAL",Y="DOMAttrModified",J="DOMContentLoaded",K="DOMSubtreeModified",Q="<",ee="=",te=/^[A-Z][._A-Z0-9]*-[-._A-Z0-9]*$/,ne=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],re=[],oe=[],ae="",ie=b.documentElement,se=re.indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},le=E.prototype,ce=le.hasOwnProperty,ue=le.isPrototypeOf,he=E.defineProperty,pe=[],fe=E.getOwnPropertyDescriptor,de=E.getOwnPropertyNames,me=E.getPrototypeOf,ge=E.setPrototypeOf,ye=!!E.__proto__,ve="__dreCEv1",Te=e.customElements,_e=!/^force/.test(t.type)&&!!(Te&&Te.define&&Te.get&&Te.whenDefined),ke=E.create||E,be=e.Map||function(){var e,t=[],n=[];return{get:function(e){return n[se.call(t,e)]},set:function(r,o){(e=se.call(t,r))<0?n[t.push(r)-1]=o:n[e]=o}}},Ee=e.Promise||function(e){function t(e){for(r=!0;n.length;)n.shift()(e)}var n=[],r=!1,o={catch:function(){return o},then:function(e){return n.push(e),r&&setTimeout(t,1),o}};return e(t),o},we=!1,Le=ke(null),Me=ke(null),Ce=new be,Se=function(e){return e.toLowerCase()},De=E.create||function e(t){return t?(e.prototype=t,new e):this},Oe=ge||(ye?function(e,t){return e.__proto__=t,e}:de&&fe?function(){function e(e,t){for(var n,r=de(t),o=0,a=r.length;o
",new He((function(e,t){if(e[0]&&"childList"==e[0].type&&!e[0].removedNodes[0].childNodes.length){var n=(P=fe(Pe,"innerHTML"))&&P.set;n&&he(Pe,"innerHTML",{set:function(e){for(;this.lastChild;)this.removeChild(this.lastChild);n.call(this,e)}})}t.disconnect(),P=null})).observe(P,{childList:!0,subtree:!0}),P.innerHTML=""),Ke||(ge||ye?(H=function(e,t){ue.call(t,e)||p(e,t)},Z=p):Z=H=function(e,t){e[z]||(e[z]=E(!0),p(e,t))},Ne?(tt=!1,function(){var e=fe(Pe,I),t=e.value,n=function(e){var t=new CustomEvent(Y,{bubbles:!0});t.attrName=e,t.prevValue=Ve.call(this,e),t.newValue=null,t[X]=t.attrChange=2,qe.call(this,e),Fe.call(this,t)},r=function(e,t){var n=Ue.call(this,e),r=n&&Ve.call(this,e),o=new CustomEvent(Y,{bubbles:!0});Be.call(this,e,t),o.attrName=e,o.prevValue=n?r:null,o.newValue=t,n?o.MODIFICATION=o.attrChange=1:o[$]=o.attrChange=0,Fe.call(this,o)},o=function(e){var t,n=e.currentTarget,r=n[z],o=e.propertyName;r.hasOwnProperty(o)&&(r=r[o],(t=new CustomEvent(Y,{bubbles:!0})).attrName=r.name,t.prevValue=r.value||null,t.newValue=r.value=n[o]||null,null==t.prevValue?t[$]=t.attrChange=0:t.MODIFICATION=t.attrChange=1,Fe.call(n,t))};e.value=function(e,a,i){e===Y&&this[V]&&this.setAttribute!==r&&(this[z]={className:{name:"class",value:this.className}},this.setAttribute=r,this.removeAttribute=n,t.call(this,"propertychange",o)),t.call(this,e,a,i)},he(Pe,I,e)}()):He||(ie[I](Y,Ye),ie.setAttribute(z,1),ie.removeAttribute(z),tt&&(M=function(e){var t,n,r,o=this;if(o===e.target){for(r in t=o[z],o[z]=n=S(o),n){if(!(r in t))return C(0,o,r,t[r],n[r],$);if(n[r]!==t[r])return C(1,o,r,t[r],n[r],"MODIFICATION")}for(r in t)if(!(r in n))return C(2,o,r,t[r],n[r],X)}},C=function(e,t,n,r,o,a){var i={attrChange:e,currentTarget:t,attrName:n,prevValue:r,newValue:o};i[a]=e,s(i)},S=function(e){for(var t,n,r={},o=e.attributes,a=0,i=o.length;a$");if(n[F]="a",(t.prototype=De(Ze.prototype)).constructor=t,e.customElements.define(r,t,n),!o.test(b.createElement("a",{is:r}).outerHTML)||!o.test((new t).outerHTML))throw n}((function e(){return Reflect.construct(Ze,[],e)}),{},"document-register-element-a"+A)}catch(ot){k()}if(!t.noBuiltIn)try{if(Ge.call(b,"a","a").outerHTML.indexOf("is")<0)throw{}}catch(at){Se=function(e){return{is:e.toLowerCase()}}}}(window)},nf2o:function(e,t,n){var r,o;void 0===(o="function"==typeof(r=function(){"use strict";!function(e){const t=e.performance;function n(e){t&&t.mark&&t.mark(e)}function r(e,n){t&&t.measure&&t.measure(e,n)}n("Zone");const o=e.__Zone_symbol_prefix||"__zone_symbol__";function a(e){return o+e}const i=!0===e[a("forceDuplicateZoneCheck")];if(e.Zone){if(i||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}class s{constructor(e,t){this._parent=e,this._name=t?t.name||"unnamed":"",this._properties=t&&t.properties||{},this._zoneDelegate=new c(this,this._parent&&this._parent._zoneDelegate,t)}static assertZonePatched(){if(e.Promise!==D.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 e=s.current;for(;e.parent;)e=e.parent;return e}static get current(){return H.zone}static get currentTask(){return Z}static __load_patch(t,o){if(D.hasOwnProperty(t)){if(i)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const a="Zone:"+t;n(a),D[t]=o(e,s,O),r(a,a)}}get parent(){return this._parent}get name(){return this._name}get(e){const t=this.getZoneWith(e);if(t)return t._properties[e]}getZoneWith(e){let t=this;for(;t;){if(t._properties.hasOwnProperty(e))return t;t=t._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const n=this._zoneDelegate.intercept(this,e,t),r=this;return function(){return r.runGuarded(n,this,arguments,t)}}run(e,t,n,r){H={parent:H,zone:this};try{return this._zoneDelegate.invoke(this,e,t,n,r)}finally{H=H.parent}}runGuarded(e,t=null,n,r){H={parent:H,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,n,r)}catch(o){if(this._zoneDelegate.handleError(this,o))throw o}}finally{H=H.parent}}runTask(e,t,n){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||T).name+"; Execution: "+this.name+")");if(e.state===_&&(e.type===S||e.type===C))return;const r=e.state!=E;r&&e._transitionTo(E,b),e.runCount++;const o=Z;Z=e,H={parent:H,zone:this};try{e.type==C&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(a){if(this._zoneDelegate.handleError(this,a))throw a}}finally{e.state!==_&&e.state!==L&&(e.type==S||e.data&&e.data.isPeriodic?r&&e._transitionTo(b,E):(e.runCount=0,this._updateTaskCount(e,-1),r&&e._transitionTo(_,E,_))),H=H.parent,Z=o}}scheduleTask(e){if(e.zone&&e.zone!==this){let t=this;for(;t;){if(t===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);t=t.parent}}e._transitionTo(k,_);const t=[];e._zoneDelegates=t,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(n){throw e._transitionTo(L,k,_),this._zoneDelegate.handleError(this,n),n}return e._zoneDelegates===t&&this._updateTaskCount(e,1),e.state==k&&e._transitionTo(b,k),e}scheduleMicroTask(e,t,n,r){return this.scheduleTask(new u(M,e,t,n,r,void 0))}scheduleMacroTask(e,t,n,r,o){return this.scheduleTask(new u(C,e,t,n,r,o))}scheduleEventTask(e,t,n,r,o){return this.scheduleTask(new u(S,e,t,n,r,o))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||T).name+"; Execution: "+this.name+")");e._transitionTo(w,b,E);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(L,w),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(_,w),e.runCount=0,e}_updateTaskCount(e,t){const n=e._zoneDelegates;-1==t&&(e._zoneDelegates=null);for(let r=0;re.hasTask(n,r),onScheduleTask:(e,t,n,r)=>e.scheduleTask(n,r),onInvokeTask:(e,t,n,r,o,a)=>e.invokeTask(n,r,o,a),onCancelTask:(e,t,n,r)=>e.cancelTask(n,r)};class c{constructor(e,t,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=e,this._parentDelegate=t,this._forkZS=n&&(n&&n.onFork?n:t._forkZS),this._forkDlgt=n&&(n.onFork?t:t._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:t._forkCurrZone),this._interceptZS=n&&(n.onIntercept?n:t._interceptZS),this._interceptDlgt=n&&(n.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=n&&(n.onInvoke?n:t._invokeZS),this._invokeDlgt=n&&(n.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=n&&(n.onHandleError?n:t._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:t._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=n&&(n.onInvokeTask?n:t._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=n&&(n.onCancelTask?n:t._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const r=n&&n.onHasTask;(r||t&&t._hasTaskZS)&&(this._hasTaskZS=r?n:l,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=e,n.onScheduleTask||(this._scheduleTaskZS=l,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=l,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=l,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(e,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,t):new s(e,t)}intercept(e,t,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,e,t,n):t}invoke(e,t,n,r,o){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,e,t,n,r,o):t.apply(n,r)}handleError(e,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,e,t)}scheduleTask(e,t){let n=t;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,e,t),n||(n=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=M)throw new Error("Task is missing scheduleFn.");y(t)}return n}invokeTask(e,t,n,r){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,e,t,n,r):t.callback.apply(n,r)}cancelTask(e,t){let n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,e,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");n=t.cancelFn(t)}return n}hasTask(e,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,e,t)}catch(n){this.handleError(e,n)}}_updateTaskCount(e,t){const n=this._taskCounts,r=n[e],o=n[e]=r+t;if(o<0)throw new Error("More tasks executed then were scheduled.");0!=r&&0!=o||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:e})}}class u{constructor(t,n,r,o,a,i){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=t,this.source=n,this.data=o,this.scheduleFn=a,this.cancelFn=i,!r)throw new Error("callback is not defined");this.callback=r;const s=this;this.invoke=t===S&&o&&o.useG?u.invokeTask:function(){return u.invokeTask.call(e,s,this,arguments)}}static invokeTask(e,t,n){e||(e=this),P++;try{return e.runCount++,e.zone.runTask(e,t,n)}finally{1==P&&v(),P--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(_,k)}_transitionTo(e,t,n){if(this._state!==t&&this._state!==n)throw new Error(`${this.type} '${this.source}': can not transition to '${e}', expecting state '${t}'${n?" or '"+n+"'":""}, was '${this._state}'.`);this._state=e,e==_&&(this._zoneDelegates=null)}toString(){return this.data&&void 0!==this.data.handleId?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 h=a("setTimeout"),p=a("Promise"),f=a("then");let d,m=[],g=!1;function y(t){if(0===P&&0===m.length)if(d||e[p]&&(d=e[p].resolve(0)),d){let e=d[f];e||(e=d.then),e.call(d,v)}else e[h](v,0);t&&m.push(t)}function v(){if(!g){for(g=!0;m.length;){const t=m;m=[];for(let n=0;nH,onUnhandledError:N,microtaskDrainDone:N,scheduleMicroTask:y,showUncaughtError:()=>!s[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:N,patchMethod:()=>N,bindArguments:()=>[],patchThen:()=>N,patchMacroTask:()=>N,setNativePromise:e=>{e&&"function"==typeof e.resolve&&(d=e.resolve(0))},patchEventPrototype:()=>N,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>N,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>N,wrapWithCurrentZone:()=>N,filterProperties:()=>[],attachOriginToPatched:()=>N,_redefineProperty:()=>N,patchCallbacks:()=>N};let H={parent:null,zone:new s(null,null)},Z=null,P=0;function N(){}r("Zone","Zone"),e.Zone=s}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global),Zone.__load_patch("ZoneAwarePromise",(e,t,n)=>{const r=Object.getOwnPropertyDescriptor,o=Object.defineProperty,a=n.symbol,i=[],s=!0===e[a("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],l=a("Promise"),c=a("then");n.onUnhandledError=e=>{if(n.showUncaughtError()){const t=e&&e.rejection;t?console.error("Unhandled Promise rejection:",t instanceof Error?t.message:t,"; Zone:",e.zone.name,"; Task:",e.task&&e.task.source,"; Value:",t,t instanceof Error?t.stack:void 0):console.error(e)}},n.microtaskDrainDone=()=>{for(;i.length;){const t=i.shift();try{t.zone.runGuarded(()=>{throw t})}catch(e){h(e)}}};const u=a("unhandledPromiseRejectionHandler");function h(e){n.onUnhandledError(e);try{const n=t[u];"function"==typeof n&&n.call(this,e)}catch(r){}}function p(e){return e&&e.then}function f(e){return e}function d(e){return C.reject(e)}const m=a("state"),g=a("value"),y=a("finally"),v=a("parentPromiseValue"),T=a("parentPromiseState");function _(e,t){return n=>{try{b(e,t,n)}catch(r){b(e,!1,r)}}}const k=a("currentTaskTrace");function b(e,r,a){const l=function(){let e=!1;return function(t){return function(){e||(e=!0,t.apply(null,arguments))}}}();if(e===a)throw new TypeError("Promise resolved with itself");if(null===e[m]){let h=null;try{"object"!=typeof a&&"function"!=typeof a||(h=a&&a.then)}catch(u){return l(()=>{b(e,!1,u)})(),e}if(!1!==r&&a instanceof C&&a.hasOwnProperty(m)&&a.hasOwnProperty(g)&&null!==a[m])w(a),b(e,a[m],a[g]);else if(!1!==r&&"function"==typeof h)try{h.call(a,l(_(e,r)),l(_(e,!1)))}catch(u){l(()=>{b(e,!1,u)})()}else{e[m]=r;const l=e[g];if(e[g]=a,e[y]===y&&!0===r&&(e[m]=e[T],e[g]=e[v]),!1===r&&a instanceof Error){const e=t.currentTask&&t.currentTask.data&&t.currentTask.data.__creationTrace__;e&&o(a,k,{configurable:!0,enumerable:!1,writable:!0,value:e})}for(let t=0;t{try{const r=e[g],o=!!n&&y===n[y];o&&(n[v]=r,n[T]=a);const s=t.run(i,void 0,o&&i!==d&&i!==f?[]:[r]);b(n,!0,s)}catch(r){b(n,!1,r)}},n)}const M=function(){};class C{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(e){return b(new this(null),!0,e)}static reject(e){return b(new this(null),!1,e)}static race(e){let t,n,r=new this((e,r)=>{t=e,n=r});function o(e){t(e)}function a(e){n(e)}for(let i of e)p(i)||(i=this.resolve(i)),i.then(o,a);return r}static all(e){return C.allWithCallback(e)}static allSettled(e){return(this&&this.prototype instanceof C?this:C).allWithCallback(e,{thenCallback:e=>({status:"fulfilled",value:e}),errorCallback:e=>({status:"rejected",reason:e})})}static allWithCallback(e,t){let n,r,o=new this((e,t)=>{n=e,r=t}),a=2,i=0;const s=[];for(let c of e){p(c)||(c=this.resolve(c));const e=i;try{c.then(r=>{s[e]=t?t.thenCallback(r):r,a--,0===a&&n(s)},o=>{t?(s[e]=t.errorCallback(o),a--,0===a&&n(s)):r(o)})}catch(l){r(l)}a++,i++}return a-=2,0===a&&n(s),o}constructor(e){const t=this;if(!(t instanceof C))throw new Error("Must be an instanceof Promise.");t[m]=null,t[g]=[];try{e&&e(_(t,!0),_(t,!1))}catch(n){b(t,!1,n)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return C}then(e,n){let r=this.constructor[Symbol.species];r&&"function"==typeof r||(r=this.constructor||C);const o=new r(M),a=t.current;return null==this[m]?this[g].push(a,o,e,n):L(this,a,o,e,n),o}catch(e){return this.then(null,e)}finally(e){let n=this.constructor[Symbol.species];n&&"function"==typeof n||(n=C);const r=new n(M);r[y]=y;const o=t.current;return null==this[m]?this[g].push(o,r,e,e):L(this,o,r,e,e),r}}C.resolve=C.resolve,C.reject=C.reject,C.race=C.race,C.all=C.all;const S=e[l]=e.Promise,D=t.__symbol__("ZoneAwarePromise");let O=r(e,"Promise");O&&!O.configurable||(O&&delete O.writable,O&&delete O.value,O||(O={configurable:!0,enumerable:!0}),O.get=function(){return e[D]?e[D]:e[l]},O.set=function(t){t===C?e[D]=t:(e[l]=t,t.prototype[c]||Z(t),n.setNativePromise(t))},o(e,"Promise",O)),e.Promise=C;const H=a("thenPatched");function Z(e){const t=e.prototype,n=r(t,"then");if(n&&(!1===n.writable||!n.configurable))return;const o=t.then;t[c]=o,e.prototype.then=function(e,t){return new C((e,t)=>{o.call(this,e,t)}).then(e,t)},e[H]=!0}if(n.patchThen=Z,S){Z(S);const t=e.fetch;"function"==typeof t&&(e[n.symbol("fetch")]=t,e.fetch=(P=t,function(){let e=P.apply(this,arguments);if(e instanceof C)return e;let t=e.constructor;return t[H]||Z(t),e}))}var P;return Promise[t.__symbol__("uncaughtPromiseErrors")]=i,C});const e=Object.getOwnPropertyDescriptor,t=Object.defineProperty,n=Object.getPrototypeOf,r=Object.create,o=Array.prototype.slice,a=Zone.__symbol__("addEventListener"),i=Zone.__symbol__("removeEventListener"),s=Zone.__symbol__("");function l(e,t){return Zone.current.wrap(e,t)}function c(e,t,n,r,o){return Zone.current.scheduleMacroTask(e,t,n,r,o)}const u=Zone.__symbol__,h="undefined"!=typeof window,p=h?window:void 0,f=h&&p||"object"==typeof self&&self||global,d=[null];function m(e,t){for(let n=e.length-1;n>=0;n--)"function"==typeof e[n]&&(e[n]=l(e[n],t+"_"+n));return e}function g(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}const y="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,v=!("nw"in f)&&void 0!==f.process&&"[object process]"==={}.toString.call(f.process),T=!v&&!y&&!(!h||!p.HTMLElement),_=void 0!==f.process&&"[object process]"==={}.toString.call(f.process)&&!y&&!(!h||!p.HTMLElement),k={},b=function(e){if(!(e=e||f.event))return;let t=k[e.type];t||(t=k[e.type]=u("ON_PROPERTY"+e.type));const n=this||e.target||f,r=n[t];let o;if(T&&n===p&&"error"===e.type){const t=e;o=r&&r.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===o&&e.preventDefault()}else o=r&&r.apply(this,arguments),null==o||o||e.preventDefault();return o};function E(n,r,o){let a=e(n,r);if(!a&&o&&e(o,r)&&(a={enumerable:!0,configurable:!0}),!a||!a.configurable)return;const i=u("on"+r+"patched");if(n.hasOwnProperty(i)&&n[i])return;delete a.writable,delete a.value;const s=a.get,l=a.set,c=r.substr(2);let h=k[c];h||(h=k[c]=u("ON_PROPERTY"+c)),a.set=function(e){let t=this;t||n!==f||(t=f),t&&(t[h]&&t.removeEventListener(c,b),l&&l.apply(t,d),"function"==typeof e?(t[h]=e,t.addEventListener(c,b,!1)):t[h]=null)},a.get=function(){let e=this;if(e||n!==f||(e=f),!e)return null;const t=e[h];if(t)return t;if(s){let t=s&&s.call(this);if(t)return a.set.call(this,t),"function"==typeof e.removeAttribute&&e.removeAttribute(r),t}return null},t(n,r,a),n[i]=!0}function w(e,t,n){if(t)for(let r=0;rfunction(t,r){const a=n(t,r);return a.cbIdx>=0&&"function"==typeof r[a.cbIdx]?c(a.name,r[a.cbIdx],a,o):e.apply(t,r)})}function D(e,t){e[u("OriginalDelegate")]=t}let O=!1,H=!1;function Z(){try{const e=p.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(e){}return!1}function P(){if(O)return H;O=!0;try{const e=p.navigator.userAgent;-1===e.indexOf("MSIE ")&&-1===e.indexOf("Trident/")&&-1===e.indexOf("Edge/")||(H=!0)}catch(e){}return H}Zone.__load_patch("toString",e=>{const t=Function.prototype.toString,n=u("OriginalDelegate"),r=u("Promise"),o=u("Error"),a=function(){if("function"==typeof this){const a=this[n];if(a)return"function"==typeof a?t.call(a):Object.prototype.toString.call(a);if(this===Promise){const n=e[r];if(n)return t.call(n)}if(this===Error){const n=e[o];if(n)return t.call(n)}}return t.call(this)};a[n]=t,Function.prototype.toString=a;const i=Object.prototype.toString;Object.prototype.toString=function(){return this instanceof Promise?"[object Promise]":i.call(this)}});let N=!1;if("undefined"!=typeof window)try{const e=Object.defineProperty({},"passive",{get:function(){N=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(se){N=!1}const A={useG:!0},z={},I={},j=new RegExp("^"+s+"(\\w+)(true|false)$"),R=u("propagationStopped");function x(e,t){const n=(t?t(e):e)+"false",r=(t?t(e):e)+"true",o=s+n,a=s+r;z[e]={},z[e].false=o,z[e].true=a}function F(e,t,r){const o=r&&r.add||"addEventListener",a=r&&r.rm||"removeEventListener",i=r&&r.listeners||"eventListeners",l=r&&r.rmAll||"removeAllListeners",c=u(o),h="."+o+":",p=function(e,t,n){if(e.isRemoved)return;const r=e.callback;"object"==typeof r&&r.handleEvent&&(e.callback=e=>r.handleEvent(e),e.originalDelegate=r),e.invoke(e,t,[n]);const o=e.options;o&&"object"==typeof o&&o.once&&t[a].call(t,n.type,e.originalDelegate?e.originalDelegate:e.callback,o)},f=function(t){if(!(t=t||e.event))return;const n=this||t.target||e,r=n[z[t.type].false];if(r)if(1===r.length)p(r[0],n,t);else{const e=r.slice();for(let r=0;rfunction(t,n){t[R]=!0,e&&e.apply(t,n)})}function q(e,t,n,r,o){const a=Zone.__symbol__(r);if(t[a])return;const i=t[a]=t[r];t[r]=function(a,s,l){return s&&s.prototype&&o.forEach((function(t){const o=`${n}.${r}::`+t,a=s.prototype;if(a.hasOwnProperty(t)){const n=e.ObjectGetOwnPropertyDescriptor(a,t);n&&n.value?(n.value=e.wrapWithCurrentZone(n.value,o),e._redefineProperty(s.prototype,t,n)):a[t]&&(a[t]=e.wrapWithCurrentZone(a[t],o))}else a[t]&&(a[t]=e.wrapWithCurrentZone(a[t],o))})),i.call(t,a,s,l)},e.attachOriginToPatched(t[r],i)}const B=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],G=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],W=["load"],$=["blur","error","focus","load","resize","scroll","messageerror"],X=["bounce","finish","start"],Y=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],J=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],K=["close","error","open","message"],Q=["error","message"],ee=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],B,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function te(e,t,n){if(!n||0===n.length)return t;const r=n.filter(t=>t.target===e);if(!r||0===r.length)return t;const o=r[0].ignoreProperties;return t.filter(e=>-1===o.indexOf(e))}function ne(e,t,n,r){e&&w(e,te(e,t,n),r)}function re(e,t){if(v&&!_)return;if(Zone[e.symbol("patchEvents")])return;const r="undefined"!=typeof WebSocket,o=t.__Zone_ignore_on_properties;if(T){const e=window,t=Z?[{target:e,ignoreProperties:["error"]}]:[];ne(e,ee.concat(["messageerror"]),o?o.concat(t):o,n(e)),ne(Document.prototype,ee,o),void 0!==e.SVGElement&&ne(e.SVGElement.prototype,ee,o),ne(Element.prototype,ee,o),ne(HTMLElement.prototype,ee,o),ne(HTMLMediaElement.prototype,G,o),ne(HTMLFrameSetElement.prototype,B.concat($),o),ne(HTMLBodyElement.prototype,B.concat($),o),ne(HTMLFrameElement.prototype,W,o),ne(HTMLIFrameElement.prototype,W,o);const r=e.HTMLMarqueeElement;r&&ne(r.prototype,X,o);const a=e.Worker;a&&ne(a.prototype,Q,o)}const a=t.XMLHttpRequest;a&&ne(a.prototype,Y,o);const i=t.XMLHttpRequestEventTarget;i&&ne(i&&i.prototype,Y,o),"undefined"!=typeof IDBIndex&&(ne(IDBIndex.prototype,J,o),ne(IDBRequest.prototype,J,o),ne(IDBOpenDBRequest.prototype,J,o),ne(IDBDatabase.prototype,J,o),ne(IDBTransaction.prototype,J,o),ne(IDBCursor.prototype,J,o)),r&&ne(WebSocket.prototype,K,o)}Zone.__load_patch("util",(n,a,i)=>{i.patchOnProperties=w,i.patchMethod=C,i.bindArguments=m,i.patchMacroTask=S;const c=a.__symbol__("BLACK_LISTED_EVENTS"),u=a.__symbol__("UNPATCHED_EVENTS");n[u]&&(n[c]=n[u]),n[c]&&(a[c]=a[u]=n[c]),i.patchEventPrototype=U,i.patchEventTarget=F,i.isIEOrEdge=P,i.ObjectDefineProperty=t,i.ObjectGetOwnPropertyDescriptor=e,i.ObjectCreate=r,i.ArraySlice=o,i.patchClass=M,i.wrapWithCurrentZone=l,i.filterProperties=te,i.attachOriginToPatched=D,i._redefineProperty=Object.defineProperty,i.patchCallbacks=q,i.getGlobalObjects=()=>({globalSources:I,zoneSymbolEventNames:z,eventNames:ee,isBrowser:T,isMix:_,isNode:v,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:s,ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"})});const oe=u("zoneTask");function ae(e,t,n,r){let o=null,a=null;n+=r;const i={};function s(t){const n=t.data;return n.args[0]=function(){try{t.invoke.apply(this,arguments)}finally{t.data&&t.data.isPeriodic||("number"==typeof n.handleId?delete i[n.handleId]:n.handleId&&(n.handleId[oe]=null))}},n.handleId=o.apply(e,n.args),t}function l(e){return a(e.data.handleId)}o=C(e,t+=r,n=>function(o,a){if("function"==typeof a[0]){const e=c(t,a[0],{isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?a[1]||0:void 0,args:a},s,l);if(!e)return e;const n=e.data.handleId;return"number"==typeof n?i[n]=e:n&&(n[oe]=e),n&&n.ref&&n.unref&&"function"==typeof n.ref&&"function"==typeof n.unref&&(e.ref=n.ref.bind(n),e.unref=n.unref.bind(n)),"number"==typeof n||n?n:e}return n.apply(e,a)}),a=C(e,n,t=>function(n,r){const o=r[0];let a;"number"==typeof o?a=i[o]:(a=o&&o[oe],a||(a=o)),a&&"string"==typeof a.type?"notScheduled"!==a.state&&(a.cancelFn&&a.data.isPeriodic||0===a.runCount)&&("number"==typeof o?delete i[o]:o&&(o[oe]=null),a.zone.cancelTask(a)):t.apply(e,r)})}function ie(e,t){if(Zone[t.symbol("patchEventTarget")])return;const{eventNames:n,zoneSymbolEventNames:r,TRUE_STR:o,FALSE_STR:a,ZONE_SYMBOL_PREFIX:i}=t.getGlobalObjects();for(let l=0;l{const t=e[Zone.__symbol__("legacyPatch")];t&&t()}),Zone.__load_patch("timers",e=>{ae(e,"set","clear","Timeout"),ae(e,"set","clear","Interval"),ae(e,"set","clear","Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{ae(e,"request","cancel","AnimationFrame"),ae(e,"mozRequest","mozCancel","AnimationFrame"),ae(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,t)=>{const n=["alert","prompt","confirm"];for(let r=0;rfunction(r,a){return t.current.run(n,e,a,o)})}),Zone.__load_patch("EventTarget",(e,t,n)=>{(function(e,t){t.patchEventPrototype(e,t)})(e,n),ie(e,n);const r=e.XMLHttpRequestEventTarget;r&&r.prototype&&n.patchEventTarget(e,[r.prototype]),M("MutationObserver"),M("WebKitMutationObserver"),M("IntersectionObserver"),M("FileReader")}),Zone.__load_patch("on_property",(e,t,n)=>{re(n,e)}),Zone.__load_patch("customElements",(e,t,n)=>{!function(e,t){const{isBrowser:n,isMix:r}=t.getGlobalObjects();(n||r)&&e.customElements&&"customElements"in e&&t.patchCallbacks(t,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,n)}),Zone.__load_patch("XHR",(e,t)=>{!function(e){const p=e.XMLHttpRequest;if(!p)return;const f=p.prototype;let d=f[a],m=f[i];if(!d){const t=e.XMLHttpRequestEventTarget;if(t){const e=t.prototype;d=e[a],m=e[i]}}function g(e){const r=e.data,l=r.target;l[s]=!1,l[h]=!1;const c=l[o];d||(d=l[a],m=l[i]),c&&m.call(l,"readystatechange",c);const u=l[o]=()=>{if(l.readyState===l.DONE)if(!r.aborted&&l[s]&&"scheduled"===e.state){const n=l[t.__symbol__("loadfalse")];if(n&&n.length>0){const o=e.invoke;e.invoke=function(){const n=l[t.__symbol__("loadfalse")];for(let t=0;tfunction(e,t){return e[r]=0==t[2],e[l]=t[1],T.apply(e,t)}),_=u("fetchTaskAborting"),k=u("fetchTaskScheduling"),b=C(f,"send",()=>function(e,n){if(!0===t.current[k])return b.apply(e,n);if(e[r])return b.apply(e,n);{const t={target:e,url:e[l],isPeriodic:!1,args:n,aborted:!1},r=c("XMLHttpRequest.send",y,t,g,v);e&&!0===e[h]&&!t.aborted&&"scheduled"===r.state&&r.invoke()}}),E=C(f,"abort",()=>function(e,r){const o=e[n];if(o&&"string"==typeof o.type){if(null==o.cancelFn||o.data&&o.data.aborted)return;o.zone.cancelTask(o)}else if(!0===t.current[_])return E.apply(e,r)})}(e);const n=u("xhrTask"),r=u("xhrSync"),o=u("xhrListener"),s=u("xhrScheduled"),l=u("xhrURL"),h=u("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&function(t,n){const r=t.constructor.name;for(let o=0;o{const t=function(){return e.apply(this,m(arguments,r+"."+a))};return D(t,e),t})(i)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,t)=>{function n(t){return function(n){V(e,t).forEach(r=>{const o=e.PromiseRejectionEvent;if(o){const e=new o(t,{promise:n.promise,reason:n.rejection});r.invoke(e)}})}}e.PromiseRejectionEvent&&(t[u("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),t[u("rejectionHandledHandler")]=n("rejectionhandled"))})})?r.call(t,n,t,e):r)||(e.exports=o)},uwo5:function(e,t){}},[[2,0]]]); !function(e){function r(r){for(var n,l,f=r[0],i=r[1],p=r[2],c=0,s=[];c{throw t},0)}const a={closed:!0,next(t){},error(t){if(i.useDeprecatedSynchronousErrorHandling)throw t;r(t)},complete(){}},l=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))();function c(t){return null!==t&&"object"==typeof t}const u=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();let h=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_unsubscribe:o,_subscriptions:i}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(let t=0;tt.concat(e instanceof u?e.errors:e),[])}const p=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class f extends h{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a;break;case 1:if(!t){this.destination=a;break}if("object"==typeof t){t instanceof f?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new g(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new g(this,t,e,n)}}[p](){return this}static create(t,e,n){const s=new f(t,e,n);return s.syncErrorThrowable=!1,s}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class g extends f{constructor(t,e,n,o){let i;super(),this._parentSubscriber=t;let r=this;s(e)?i=e:e&&(i=e.next,n=e.error,o=e.complete,e!==a&&(r=Object.create(e),s(r.unsubscribe)&&this.add(r.unsubscribe.bind(r)),r.unsubscribe=this.unsubscribe.bind(this))),this._context=r,this._next=i,this._error=n,this._complete=o}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;i.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=i;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):r(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;r(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);i.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),i.useDeprecatedSynchronousErrorHandling)throw n;r(n)}}__tryOrSetError(t,e,n){if(!i.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(s){return i.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=s,t.syncErrorThrown=!0,!0):(r(s),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const y=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function m(t){return t}let _=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:s}=this,o=function(t,e,n){if(t){if(t instanceof f)return t;if(t[p])return t[p]()}return t||e||n?new f(t,e,n):new f(a)}(t,e,n);if(o.add(s?s.call(o,this.source):this.source||i.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),i.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o}_trySubscribe(t){try{return this._subscribe(t)}catch(e){i.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:s}=t;if(e||s)return!1;t=n&&n instanceof f?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=w(e))((e,n)=>{let s;s=this.subscribe(e=>{try{t(e)}catch(o){n(o),s&&s.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[y](){return this}pipe(...t){return 0===t.length?this:(0===(e=t).length?m:1===e.length?e[0]:function(t){return e.reduce((t,e)=>e(t),t)})(this);var e}toPromise(t){return new(t=w(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function w(t){if(t||(t=i.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const b=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class M extends h{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}class C extends f{constructor(t){super(t),this.destination=t}}let v=(()=>{class t extends _{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[p](){return new C(this)}lift(t){const e=new x(this,this);return e.operator=t,e}next(t){if(this.closed)throw new b;if(!this.isStopped){const{observers:e}=this,n=e.length,s=e.slice();for(let o=0;onew x(t,e),t})();class x extends v{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):h.EMPTY}}function O(t){return t&&"function"==typeof t.schedule}class P extends f{constructor(t,e,n){super(),this.parent=t,this.outerValue=e,this.outerIndex=n,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}const E=t=>e=>{for(let n=0,s=t.length;nt&&"number"==typeof t.length&&"function"!=typeof t;function N(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const T=t=>{if(t&&"function"==typeof t[y])return s=t,t=>{const e=s[y]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(D(t))return E(t);if(N(t))return n=t,t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,r),t);if(t&&"function"==typeof t[S])return e=t,t=>{const n=e[S]();for(;;){const e=n.next();if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t};{const e=c(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var e,n,s};function k(t,e,n,s,o=new P(t,n,s)){if(!o.closed)return e instanceof _?e.subscribe(o):T(e)(o)}class j extends f{notifyNext(t,e,n,s,o){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}function A(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new I(t,e))}}class I{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new R(t,this.project,this.thisArg))}}class R extends f{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}function z(t,e){return new _(n=>{const s=new h;let o=0;return s.add(e.schedule((function(){o!==t.length?(n.next(t[o++]),n.closed||s.add(this.schedule())):n.complete()}))),s})}function F(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[y]}(t))return function(t,e){return new _(n=>{const s=new h;return s.add(e.schedule(()=>{const o=t[y]();s.add(o.subscribe({next(t){s.add(e.schedule(()=>n.next(t)))},error(t){s.add(e.schedule(()=>n.error(t)))},complete(){s.add(e.schedule(()=>n.complete()))}}))})),s})}(t,e);if(N(t))return function(t,e){return new _(n=>{const s=new h;return s.add(e.schedule(()=>t.then(t=>{s.add(e.schedule(()=>{n.next(t),s.add(e.schedule(()=>n.complete()))}))},t=>{s.add(e.schedule(()=>n.error(t)))}))),s})}(t,e);if(D(t))return z(t,e);if(function(t){return t&&"function"==typeof t[S]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new _(n=>{const s=new h;let o;return s.add(()=>{o&&"function"==typeof o.return&&o.return()}),s.add(e.schedule(()=>{o=t[S](),s.add(e.schedule((function(){if(n.closed)return;let t,e;try{const n=o.next();t=n.value,e=n.done}catch(s){return void n.error(s)}e?n.complete():(n.next(t),this.schedule())})))})),s})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof _?t:new _(T(t))}function V(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?s=>s.pipe(V((n,s)=>F(t(n,s)).pipe(A((t,o)=>e(n,t,s,o))),n)):("number"==typeof e&&(n=e),e=>e.lift(new H(t,n)))}class H{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new B(t,this.project,this.concurrent))}}class B extends j{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function U(t=Number.POSITIVE_INFINITY){return V(m,t)}function Y(t,e){return e?z(t,e):new _(E(t))}function $(...t){let e=Number.POSITIVE_INFINITY,n=null,s=t[t.length-1];return O(s)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof s&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof _?t[0]:U(e)(Y(t,n))}function Q(){return function(t){return t.lift(new W(t))}}class W{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const s=new Z(t,n),o=e.subscribe(s);return s.closed||(s.connection=n.connect()),o}}class Z extends f{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,s=t._connection;this.connection=null,!s||n&&s!==n||s.unsubscribe()}}class q extends _{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new h,t.add(this.source.subscribe(new K(this.getSubject(),this))),t.closed&&(this._connection=null,t=h.EMPTY)),t}refCount(){return Q()(this)}}const G=(()=>{const t=q.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class K extends C{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}function J(){return new v}function X(t){return{toString:t}.toString()}function tt(t,e,n){return X(()=>{const s=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function o(...t){if(this instanceof o)return s.apply(this,t),this;const e=new o(...t);return n.annotation=e,n;function n(t,n,s){const o=t.hasOwnProperty("__parameters__")?t.__parameters__:Object.defineProperty(t,"__parameters__",{value:[]}).__parameters__;for(;o.length<=s;)o.push(null);return(o[s]=o[s]||[]).push(e),t}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}const et=tt("Inject",t=>({token:t})),nt=tt("Optional"),st=tt("Self"),ot=tt("SkipSelf");var it=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});function rt(t){for(let e in t)if(t[e]===rt)return e;throw Error("Could not find renamed property on target object.")}function at(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function lt(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function ct(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}function ut(t){return ht(t,t[pt])||ht(t,t[yt])}function ht(t,e){return e&&e.token===t?e:null}function dt(t){return t&&(t.hasOwnProperty(ft)||t.hasOwnProperty(mt))?t[ft]:null}const pt=rt({\u0275prov:rt}),ft=rt({\u0275inj:rt}),gt=rt({\u0275provFallback:rt}),yt=rt({ngInjectableDef:rt}),mt=rt({ngInjectorDef:rt});function _t(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(_t).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function wt(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const bt=rt({__forward_ref__:rt});function Mt(t){return t.__forward_ref__=Mt,t.toString=function(){return _t(this())},t}function Ct(t){return"function"==typeof(e=t)&&e.hasOwnProperty(bt)&&e.__forward_ref__===Mt?t():t;var e}const vt="undefined"!=typeof globalThis&&globalThis,xt="undefined"!=typeof window&&window,Ot="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Pt="undefined"!=typeof global&&global,Et=vt||Pt||xt||Ot,Lt=rt({\u0275cmp:rt}),St=rt({\u0275dir:rt}),Dt=rt({\u0275pipe:rt}),Nt=rt({\u0275mod:rt}),Tt=rt({\u0275loc:rt}),kt=rt({\u0275fac:rt}),jt=rt({__NG_ELEMENT_ID__:rt});class At{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=lt({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return"InjectionToken "+this._desc}}const It=new At("INJECTOR",-1),Rt={},zt=/\n/gm,Ft=rt({provide:String,useValue:rt});let Vt,Ht=void 0;function Bt(t){const e=Ht;return Ht=t,e}function Ut(t){const e=Vt;return Vt=t,e}function Yt(t,e=it.Default){if(void 0===Ht)throw new Error("inject() must be called from an injection context");return null===Ht?Wt(t,void 0,e):Ht.get(t,e&it.Optional?null:void 0,e)}function $t(t,e=it.Default){return(Vt||Yt)(Ct(t),e)}const Qt=$t;function Wt(t,e,n){const s=ut(t);if(s&&"root"==s.providedIn)return void 0===s.value?s.value=s.factory():s.value;if(n&it.Optional)return null;if(void 0!==e)return e;throw new Error(`Injector: NOT_FOUND [${_t(t)}]`)}function Zt(t){const e=[];for(let n=0;nArray.isArray(t)?Jt(t,e):e(t))}function Xt(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function te(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function ee(t,e){const n=[];for(let s=0;s=0?t[1|s]=n:(s=~s,function(t,e,n,s){let o=t.length;if(o==e)t.push(n,s);else if(1===o)t.push(s,t[0]),t[0]=n;else{for(o--,t.push(t[o-1],t[o]);o>e;)t[o]=t[o-2],o--;t[e]=n,t[e+1]=s}}(t,s,e,n)),s}function se(t,e){const n=oe(t,e);if(n>=0)return t[1|n]}function oe(t,e){return function(t,e,n){let s=0,o=t.length>>1;for(;o!==s;){const n=s+(o-s>>1),i=t[n<<1];if(e===i)return n<<1;i>e?o=n:s=n+1}return~(o<<1)}(t,e)}var ie=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),re=function(t){return t[t.Emulated=0]="Emulated",t[t.Native=1]="Native",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({});const ae={},le=[];let ce=0;function ue(t){return X(()=>{const e={},n={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===ie.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||le,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||re.Emulated,id:"c",styles:t.styles||le,_:null,setInput:null,schemas:t.schemas||null,tView:null},s=t.directives,o=t.features,i=t.pipes;return n.id+=ce++,n.inputs=ge(t.inputs,e),n.outputs=ge(t.outputs),o&&o.forEach(t=>t(n)),n.directiveDefs=s?()=>("function"==typeof s?s():s).map(he):null,n.pipeDefs=i?()=>("function"==typeof i?i():i).map(de):null,n})}function he(t){return _e(t)||function(t){return t[St]||null}(t)}function de(t){return function(t){return t[Dt]||null}(t)}const pe={};function fe(t){const e={type:t.type,bootstrap:t.bootstrap||le,declarations:t.declarations||le,imports:t.imports||le,exports:t.exports||le,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&X(()=>{pe[t.id]=t.type}),e}function ge(t,e){if(null==t)return ae;const n={};for(const s in t)if(t.hasOwnProperty(s)){let o=t[s],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=s,e&&(e[o]=i)}return n}const ye=ue;function me(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function _e(t){return t[Lt]||null}function we(t,e){return t.hasOwnProperty(kt)?t[kt]:null}function be(t,e){const n=t[Nt]||null;if(!n&&!0===e)throw new Error(`Type ${_t(t)} does not have '\u0275mod' property.`);return n}function Me(t){return Array.isArray(t)&&"object"==typeof t[1]}function Ce(t){return Array.isArray(t)&&!0===t[1]}function ve(t){return 0!=(8&t.flags)}function xe(t){return 2==(2&t.flags)}function Oe(t){return 1==(1&t.flags)}function Pe(t){return null!==t.template}function Ee(t){return 0!=(512&t[2])}class Le{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function Se(){const t=Ne(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===ae)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function De(t,e,n,s){const o=Ne(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:ae,current:null}),i=o.current||(o.current={}),r=o.previous,a=this.declaredInputs[n],l=r[a];i[a]=new Le(l&&l.currentValue,e,r===ae),t[s]=e}function Ne(t){return t.__ngSimpleChanges__||null}let Te=void 0;function ke(){return void 0!==Te?Te:"undefined"!=typeof document?document:void 0}function je(t){return!!t.listen}const Ae={createRenderer:(t,e)=>ke()};function Ie(t){for(;Array.isArray(t);)t=t[0];return t}function Re(t,e){return Ie(e[t+20])}function ze(t,e){return Ie(e[t.index])}function Fe(t,e){return t.data[e+20]}function Ve(t,e){return t[e+20]}function He(t,e){const n=e[t];return Me(n)?n:n[0]}function Be(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Ue(t){return 4==(4&t[2])}function Ye(t){return 128==(128&t[2])}function $e(t,e){return null===t||null==e?null:t[e]}function Qe(t){t[18]=0}function We(t,e){t[5]+=e;let n=t,s=t[3];for(;null!==s&&(1===e&&1===n[5]||-1===e&&0===n[5]);)s[5]+=e,n=s,s=s[3]}const Ze={lFrame:mn(null),bindingsEnabled:!0,checkNoChangesMode:!1};function qe(){return Ze.bindingsEnabled}function Ge(){return Ze.lFrame.lView}function Ke(){return Ze.lFrame.tView}function Je(t){Ze.lFrame.contextLView=t}function Xe(){return Ze.lFrame.previousOrParentTNode}function tn(t,e){Ze.lFrame.previousOrParentTNode=t,Ze.lFrame.isParent=e}function en(){return Ze.lFrame.isParent}function nn(){Ze.lFrame.isParent=!1}function sn(){return Ze.checkNoChangesMode}function on(t){Ze.checkNoChangesMode=t}function rn(){const t=Ze.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function an(){return Ze.lFrame.bindingIndex}function ln(){return Ze.lFrame.bindingIndex++}function cn(t){const e=Ze.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function un(t,e){const n=Ze.lFrame;n.bindingIndex=n.bindingRootIndex=t,hn(e)}function hn(t){Ze.lFrame.currentDirectiveIndex=t}function dn(){return Ze.lFrame.currentQueryIndex}function pn(t){Ze.lFrame.currentQueryIndex=t}function fn(t,e){const n=yn();Ze.lFrame=n,n.previousOrParentTNode=e,n.lView=t}function gn(t,e){const n=yn(),s=t[1];Ze.lFrame=n,n.previousOrParentTNode=e,n.lView=t,n.tView=s,n.contextLView=t,n.bindingIndex=s.bindingStartIndex}function yn(){const t=Ze.lFrame,e=null===t?null:t.child;return null===e?mn(t):e}function mn(t){const e={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null};return null!==t&&(t.child=e),e}function _n(){const t=Ze.lFrame;return Ze.lFrame=t.parent,t.previousOrParentTNode=null,t.lView=null,t}const wn=_n;function bn(){const t=_n();t.isParent=!0,t.tView=null,t.selectedIndex=0,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Mn(){return Ze.lFrame.selectedIndex}function Cn(t){Ze.lFrame.selectedIndex=t}function vn(){const t=Ze.lFrame;return Fe(t.tView,t.selectedIndex)}function xn(t,e){for(let n=e.directiveStart,s=e.directiveEnd;n=s)break}else e[r]<0&&(t[18]+=65536),(i>11>16&&(3&t[2])===e&&(t[2]+=2048,i.call(r)):i.call(r)}class Dn{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function Nn(t,e,n){const s=je(t);let o=0;for(;oe){r=i-1;break}}}for(;i>16}function zn(t,e){let n=Rn(t),s=e;for(;n>0;)s=s[15],n--;return s}function Fn(t){return"string"==typeof t?t:null==t?"":""+t}function Vn(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():Fn(t)}const Hn=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Et))();function Bn(t){return t instanceof Function?t():t}let Un=!0;function Yn(t){const e=Un;return Un=t,e}let $n=0;function Qn(t,e){const n=Zn(t,e);if(-1!==n)return n;const s=e[1];s.firstCreatePass&&(t.injectorIndex=e.length,Wn(s.data,t),Wn(e,null),Wn(s.blueprint,null));const o=qn(t,e),i=t.injectorIndex;if(An(o)){const t=In(o),n=zn(o,e),s=n[1].data;for(let o=0;o<8;o++)e[i+o]=n[t+o]|s[t+o]}return e[i+8]=o,i}function Wn(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Zn(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null==e[t.injectorIndex+8]?-1:t.injectorIndex}function qn(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=e[6],s=1;for(;n&&-1===n.injectorIndex;)n=(e=e[15])?e[6]:null,s++;return n?n.injectorIndex|s<<16:-1}function Gn(t,e,n){!function(t,e,n){let s;"string"==typeof n?s=n.charCodeAt(0)||0:n.hasOwnProperty(jt)&&(s=n[jt]),null==s&&(s=n[jt]=$n++);const o=255&s,i=1<0?255&e:e}(n);if("function"==typeof o){fn(e,t);try{const t=o();if(null!=t||s&it.Optional)return t;throw new Error(`No provider for ${Vn(n)}!`)}finally{wn()}}else if("number"==typeof o){if(-1===o)return new os(t,e);let i=null,r=Zn(t,e),a=-1,l=s&it.Host?e[16][6]:null;for((-1===r||s&it.SkipSelf)&&(a=-1===r?qn(t,e):e[r+8],ss(s,!1)?(i=e[1],r=In(a),e=zn(a,e)):r=-1);-1!==r;){a=e[r+8];const t=e[1];if(ns(o,r,t.data)){const t=Xn(r,e,n,i,s,l);if(t!==Jn)return t}ss(s,e[1].data[r+8]===l)&&ns(o,r,e)?(i=t,r=In(a),e=zn(a,e)):r=-1}}}if(s&it.Optional&&void 0===o&&(o=null),0==(s&(it.Self|it.Host))){const t=e[9],i=Ut(void 0);try{return t?t.get(n,o,s&it.Optional):Wt(n,o,s&it.Optional)}finally{Ut(i)}}if(s&it.Optional)return o;throw new Error(`NodeInjector: NOT_FOUND [${Vn(n)}]`)}const Jn={};function Xn(t,e,n,s,o,i){const r=e[1],a=r.data[t+8],l=ts(a,r,n,null==s?xe(a)&&Un:s!=r&&3===a.type,o&it.Host&&i===a);return null!==l?es(e,r,l,a):Jn}function ts(t,e,n,s,o){const i=t.providerIndexes,r=e.data,a=1048575&i,l=t.directiveStart,c=i>>20,u=o?a+c:t.directiveEnd;for(let h=s?a:a+c;h=l&&t.type===n)return h}if(o){const t=r[l];if(t&&Pe(t)&&t.type===n)return l}return null}function es(t,e,n,s){let o=t[n];const i=e.data;if(o instanceof Dn){const r=o;if(r.resolving)throw new Error("Circular dep for "+Vn(i[n]));const a=Yn(r.canSeeViewProviders);let l;r.resolving=!0,r.injectImpl&&(l=Ut(r.injectImpl)),fn(t,s);try{o=t[n]=r.factory(void 0,i,t,s),e.firstCreatePass&&n>=s.directiveStart&&function(t,e,n){const{ngOnChanges:s,ngOnInit:o,ngDoCheck:i}=e.type.prototype;if(s){const s=((r=e).type.prototype.ngOnChanges&&(r.setInput=De),Se);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s)}var r;o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,o),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,i))}(n,i[n],e)}finally{r.injectImpl&&Ut(l),Yn(a),r.resolving=!1,wn()}}return o}function ns(t,e,n){const s=64&t,o=32&t;let i;return i=128&t?s?o?n[e+7]:n[e+6]:o?n[e+5]:n[e+4]:s?o?n[e+3]:n[e+2]:o?n[e+1]:n[e],!!(i&1<_s(t.trim())).join(", ")}function bs(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function Ms(...t){const e={};for(const n of t)for(const t in n)n.hasOwnProperty(t)&&(e[t]=!0);return e}const Cs=bs("area,br,col,hr,img,wbr"),vs=bs("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),xs=bs("rp,rt"),Os=Ms(xs,vs),Ps=Ms(Cs,Ms(vs,bs("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")),Ms(xs,bs("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")),Os),Es=bs("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Ls=bs("srcset"),Ss=Ms(Es,Ls,bs("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,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),bs("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 Ds=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({});function Ns(t){const e=function(){const t=Ge();return t&&t[12]}();return e?e.sanitize(Ds.URL,t)||"":function(t,e){const n=function(t){return t instanceof cs&&t.getTypeName()||null}(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see http://g.co/ng/security#xss)`)}return n===e}(t,"URL")?us(t):_s(Fn(t))}function Ts(t,e){t.__ngContext__=e}function ks(t,e,n){let s=t.length;for(;;){const o=t.indexOf(e,n);if(-1===o)return o;if(0===o||t.charCodeAt(o-1)<=32){const n=e.length;if(o+n===s||t.charCodeAt(o+n)<=32)return o}n=o+1}}function js(t,e,n){let s=0;for(;si?"":o[u+1].toLowerCase();const e=8&s?t:null;if(e&&-1!==ks(e,c,0)||2&s&&c!==t){if(zs(s))return!1;r=!0}}}}else{if(!r&&!zs(s)&&!zs(l))return!1;if(r&&zs(l))continue;r=!1,s=l|1&s}}return zs(s)||r}function zs(t){return 0==(1&t)}function Fs(t,e,n,s){if(null===e)return-1;let o=0;if(s||!n){let n=!1;for(;o-1)for(n++;n0?'="'+e+'"':"")+"]"}else 8&s?o+="."+r:4&s&&(o+=" "+r);else""===o||zs(r)||(e+=Hs(i,o),o=""),s=r,i=i||!zs(s);n++}return""!==o&&(e+=Hs(i,o)),e}const Us={};function Ys(t){const e=t[3];return Ce(e)?e[3]:e}function $s(t){return Ws(t[13])}function Qs(t){return Ws(t[4])}function Ws(t){for(;null!==t&&!Ce(t);)t=t[4];return t}function Zs(t){qs(Ke(),Ge(),Mn()+t,sn())}function qs(t,e,n,s){if(!s)if(3==(3&e[2])){const s=t.preOrderCheckHooks;null!==s&&On(e,s,n)}else{const s=t.preOrderHooks;null!==s&&Pn(e,s,0,n)}Cn(n)}function Gs(t,e){return t<<17|e<<2}function Ks(t){return t>>17&32767}function Js(t){return 2|t}function Xs(t){return(131068&t)>>2}function to(t,e){return-131069&t|e<<2}function eo(t){return 1|t}function no(t,e){const n=t.contentQueries;if(null!==n)for(let s=0;s20&&qs(t,e,0,sn()),n(s,o)}finally{Cn(i)}}function uo(t,e,n){if(ve(e)){const s=e.directiveEnd;for(let o=e.directiveStart;o0&&function t(e){for(let s=$s(e);null!==s;s=Qs(s))for(let e=10;e0&&t(n)}const n=e[1].components;if(null!==n)for(let s=0;s0&&t(o)}}(n)}}function Ao(t,e){const n=He(e,t),s=n[1];!function(t,e){for(let n=e.length;nPromise.resolve(null))();function Bo(t){return t[7]||(t[7]=[])}function Uo(t,e){const n=t[9],s=n?n.get(ls,null):null;s&&s.handleError(e)}function Yo(t,e,n,s,o){for(let i=0;i0&&(t[n-1][4]=s[4]);const i=te(t,10+e);Go(s[1],s,!1,null);const r=i[19];null!==r&&r.detachView(i[1]),s[3]=null,s[4]=null,s[2]&=-129}return s}function Xo(t,e){if(!(256&e[2])){const n=e[11];je(n)&&n.destroyNode&&di(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return ei(t[1],t);for(;e;){let n=null;if(Me(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)Me(e)&&ei(e[1],e),e=ti(e,t);null===e&&(e=t),Me(e)&&ei(e[1],e),n=e&&e[4]}e=n}}(e)}}function ti(t,e){let n;return Me(t)&&(n=t[6])&&2===n.type?Qo(n,t):t[3]===e?null:t[3]}function ei(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let s=0;s=0?t[a]():t[-a].unsubscribe(),s+=2}else n[s].call(t[n[s+1]]);e[7]=null}}(t,e);const n=e[6];n&&3===n.type&&je(e[11])&&e[11].destroy();const s=e[17];if(null!==s&&Ce(e[3])){s!==e[3]&&Ko(s,e);const n=e[19];null!==n&&n.detachView(t)}}}function ni(t,e,n){let s=e.parent;for(;null!=s&&(4===s.type||5===s.type);)s=(e=s).parent;if(null==s){const t=n[6];return 2===t.type?Wo(t,n):n[0]}if(e&&5===e.type&&4&e.flags)return ze(e,n).parentNode;if(2&s.flags){const e=t.data,n=e[e[s.index].directiveStart].encapsulation;if(n!==re.ShadowDom&&n!==re.Native)return null}return ze(s,n)}function si(t,e,n,s){je(t)?t.insertBefore(e,n,s):e.insertBefore(n,s,!0)}function oi(t,e,n){je(t)?t.appendChild(e,n):e.appendChild(n)}function ii(t,e,n,s){null!==s?si(t,e,n,s):oi(t,e,n)}function ri(t,e){return je(t)?t.parentNode(e):e.parentNode}function ai(t,e){if(2===t.type){const n=Qo(t,e);return null===n?null:ci(n.indexOf(e,10)-10,n)}return 4===t.type||5===t.type?ze(t,e):null}function li(t,e,n,s){const o=ni(t,s,e);if(null!=o){const t=e[11],i=ai(s.parent||e[6],e);if(Array.isArray(n))for(let e=0;e-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}Xo(this._lView[1],this._lView)}onDestroy(t){yo(this._lView[1],this._lView,null,t)}markForCheck(){Ro(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){zo(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){on(!0);try{zo(t,e,n)}finally{on(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t}detachFromAppRef(){var t;this._appRef=null,di(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class _i extends mi{constructor(t){super(t),this._view=t}detectChanges(){Fo(this._view)}checkNoChanges(){!function(t){on(!0);try{Fo(t)}finally{on(!1)}}(this._view)}get context(){return null}}let wi,bi,Mi;function Ci(t,e,n){return wi||(wi=class extends t{}),new wi(ze(e,n))}function vi(t,e,n,s){return bi||(bi=class extends t{constructor(t,e,n){super(),this._declarationView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=oo(this._declarationView,e,t,16,null,e.node);n[17]=this._declarationView[this._declarationTContainer.index];const s=this._declarationView[19];return null!==s&&(n[19]=s.createEmbeddedView(e)),ro(e,n,t),new mi(n)}}),0===n.type?new bi(s,n,Ci(e,n,s)):null}function xi(t,e,n,s){let o;Mi||(Mi=class extends t{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostView=n}get element(){return Ci(e,this._hostTNode,this._hostView)}get injector(){return new os(this._hostTNode,this._hostView)}get parentInjector(){const t=qn(this._hostTNode,this._hostView),e=zn(t,this._hostView),n=function(t,e,n){if(n.parent&&-1!==n.parent.injectorIndex){const t=n.parent.injectorIndex;let e=n.parent;for(;null!=e.parent&&t==e.parent.injectorIndex;)e=e.parent;return e}let s=Rn(t),o=e,i=e[6];for(;s>1;)o=o[15],i=o[6],s--;return i}(t,this._hostView,this._hostTNode);return An(t)&&null!=n?new os(n,e):new os(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){return null!==this._lContainer[8]&&this._lContainer[8][t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,n){const s=t.createEmbeddedView(e||{});return this.insert(s,n),s}createComponent(t,e,n,s,o){const i=n||this.parentInjector;if(!o&&null==t.ngModule&&i){const t=i.get(Gt,null);t&&(o=t)}const r=t.create(i,s,void 0,o);return this.insert(r.hostView,e),r}insert(t,e){const n=t._lView,s=n[1];if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),Ce(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],s=new Mi(e,e[6],e[3]);s.detach(s.indexOf(t))}}const o=this._adjustIndex(e);return function(t,e,n,s){const o=10+s,i=n.length;s>0&&(n[o-1][4]=e),s{class t{}return t.__NG_ELEMENT_ID__=()=>Pi(),t})();const Pi=function(t=!1){return function(t,e,n){if(!n&&xe(t)){const n=He(t.index,e);return new mi(n,n)}return 3===t.type||0===t.type||4===t.type||5===t.type?new mi(e[16],e):null}(Xe(),Ge(),t)},Ei=new At("Set Injector scope."),Li={},Si={},Di=[];let Ni=void 0;function Ti(){return void 0===Ni&&(Ni=new qt),Ni}function ki(t,e=null,n=null,s){return new ji(t,n,e||Ti(),s)}class ji{constructor(t,e,n,s=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const o=[];e&&Jt(e,n=>this.processProvider(n,t,e)),Jt([t],t=>this.processInjectorType(t,[],o)),this.records.set(It,Ri(void 0,this));const i=this.records.get(Ei);this.scope=null!=i?i.value:null,this.source=s||("object"==typeof t?null:_t(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=Rt,n=it.Default){this.assertNotDestroyed();const s=Bt(this);try{if(!(n&it.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(o=t)||"object"==typeof o&&o instanceof At)&&ut(t);e=n&&this.injectableDefInScope(n)?Ri(Ai(t),Li):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&it.Self?Ti():this.parent).get(t,e=n&it.Optional&&e===Rt?null:e)}catch(i){if("NullInjectorError"===i.name){if((i.ngTempTokenPath=i.ngTempTokenPath||[]).unshift(_t(t)),s)throw i;return function(t,e,n,s){const o=t.ngTempTokenPath;throw e.__source&&o.unshift(e.__source),t.message=function(t,e,n,s=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let o=_t(e);if(Array.isArray(e))o=e.map(_t).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let s=e[n];t.push(n+":"+("string"==typeof s?JSON.stringify(s):_t(s)))}o=`{${t.join(", ")}}`}return`${n}${s?"("+s+")":""}[${o}]: ${t.replace(zt,"\n ")}`}("\n"+t.message,o,n,s),t.ngTokenPath=o,t.ngTempTokenPath=null,t}(i,t,"R3InjectorError",this.source)}throw i}finally{Bt(s)}var o}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(_t(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=Ct(t)))return!1;let s=dt(t);const o=null==s&&t.ngModule||void 0,i=void 0===o?t:o,r=-1!==n.indexOf(i);if(void 0!==o&&(s=dt(o)),null==s)return!1;if(null!=s.imports&&!r){let t;n.push(i);try{Jt(s.imports,s=>{this.processInjectorType(s,e,n)&&(void 0===t&&(t=[]),t.push(s))})}finally{}if(void 0!==t)for(let e=0;ethis.processProvider(t,n,s||Di))}}this.injectorDefTypes.add(i),this.records.set(i,Ri(s.factory,Li));const a=s.providers;if(null!=a&&!r){const e=t;Jt(a,t=>this.processProvider(t,e,a))}return void 0!==o&&void 0!==t.providers}processProvider(t,e,n){let s=Fi(t=Ct(t))?t:Ct(t&&t.provide);const o=function(t,e,n){return zi(t)?Ri(void 0,t.useValue):Ri(Ii(t),Li)}(t);if(Fi(t)||!0!==t.multi)this.records.get(s);else{let e=this.records.get(s);e||(e=Ri(void 0,Li,!0),e.factory=()=>Zt(e.multi),this.records.set(s,e)),s=t,e.multi.push(t)}this.records.set(s,o)}hydrate(t,e){var n;return e.value===Li&&(e.value=Si,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||t.providedIn===this.scope:this.injectorDefTypes.has(t.providedIn))}}function Ai(t){const e=ut(t),n=null!==e?e.factory:we(t);if(null!==n)return n;const s=dt(t);if(null!==s)return s.factory;if(t instanceof At)throw new Error(`Token ${_t(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=ee(e,"?");throw new Error(`Can't resolve all parameters for ${_t(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[pt]||t[yt]||t[gt]&&t[gt]());if(e){const n=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error("unreachable")}function Ii(t,e,n){let s=void 0;if(Fi(t)){const e=Ct(t);return we(e)||Ai(e)}if(zi(t))s=()=>Ct(t.useValue);else if((o=t)&&o.useFactory)s=()=>t.useFactory(...Zt(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))s=()=>$t(Ct(t.useExisting));else{const e=Ct(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return we(e)||Ai(e);s=()=>new e(...Zt(t.deps))}var o;return s}function Ri(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function zi(t){return null!==t&&"object"==typeof t&&Ft in t}function Fi(t){return"function"==typeof t}const Vi=function(t,e,n){return function(t,e=null,n=null,s){const o=ki(t,e,n,s);return o._resolveInjectorDefTypes(),o}({name:n},e,t,n)};let Hi=(()=>{class t{static create(t,e){return Array.isArray(t)?Vi(t,e,""):Vi(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=Rt,t.NULL=new qt,t.\u0275prov=lt({token:t,providedIn:"any",factory:()=>$t(It)}),t.__NG_ELEMENT_ID__=-1,t})();function Bi(t,e,n){let s=n?t.styles:null,o=n?t.classes:null,i=0;if(null!==e)for(let r=0;ra(Ie(t[s.index])).target:s.index;if(je(n)){let r=null;if(!a&&l&&(r=function(t,e,n,s){const o=t.cleanup;if(null!=o)for(let i=0;in?t[n]:null}"string"==typeof t&&(i+=2)}return null}(t,e,o,s.index)),null!==r)(r.__ngLastListenerFn__||r).__ngNextListenerFn__=i,r.__ngLastListenerFn__=i,h=!1;else{i=ur(s,e,i,!1);const t=n.listen(p.name||f,o,i);u.push(i,t),c&&c.push(o,y,g,g+1)}}else i=ur(s,e,i,!0),f.addEventListener(o,i,r),u.push(i),c&&c.push(o,y,g,r)}const d=s.outputs;let p;if(h&&null!==d&&(p=d[o])){const t=p.length;if(t)for(let n=0;n0;)e=e[15],t--;return e}(t,Ze.lFrame.contextLView))[8]}(t)}let dr=!1;function pr(t){dr=t}const fr=[];function gr(t,e,n,s,o){const i=t[n+1],r=null===e;let a=s?Ks(i):Xs(i),l=!1;for(;0!==a&&(!1===l||r);){const n=t[a+1];yr(t[a],e)&&(l=!0,t[a+1]=s?eo(n):Js(n)),a=s?Ks(n):Xs(n)}l&&(t[n+1]=s?Js(i):eo(i))}function yr(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&oe(t,e)>=0}const mr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function _r(t){return t.substring(mr.key,mr.keyEnd)}function wr(t,e){const n=mr.textEnd;return n===e?-1:(e=mr.keyEnd=function(t,e,n){for(;e32;)e++;return e}(t,mr.key=e,n),br(t,e,n))}function br(t,e,n){for(;e=0;n=wr(e,n))ne(t,_r(e),!0)}function vr(t,e){return e>=t.expandoStartIndex}function xr(t,e,n,s){const o=t.data;if(null===o[n+1]){const i=o[Mn()+20],r=vr(t,n);Dr(i,s)&&null===e&&!r&&(e=!1),e=function(t,e,n,s){const o=function(t){const e=Ze.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}(t);let i=s?e.residualClasses:e.residualStyles;if(null===o)0===(s?e.classBindings:e.styleBindings)&&(n=Pr(n=Or(null,t,e,n,s),e.attrs,s),i=null);else{const r=e.directiveStylingLast;if(-1===r||t[r]!==o)if(n=Or(o,t,e,n,s),null===i){let n=function(t,e,n){const s=n?e.classBindings:e.styleBindings;if(0!==Xs(s))return t[Ks(s)]}(t,e,s);void 0!==n&&Array.isArray(n)&&(n=Or(null,t,e,n[1],s),n=Pr(n,e.attrs,s),function(t,e,n,s){t[Ks(n?e.classBindings:e.styleBindings)]=s}(t,e,s,n))}else i=function(t,e,n){let s=void 0;const o=e.directiveEnd;for(let i=1+e.directiveStylingLast;i0)&&(u=!0)}else c=n;if(o)if(0!==l){const e=Ks(t[a+1]);t[s+1]=Gs(e,a),0!==e&&(t[e+1]=to(t[e+1],s)),t[a+1]=131071&t[a+1]|s<<17}else t[s+1]=Gs(a,0),0!==a&&(t[a+1]=to(t[a+1],s)),a=s;else t[s+1]=Gs(l,0),0===a?a=s:t[l+1]=to(t[l+1],s),l=s;u&&(t[s+1]=Js(t[s+1])),gr(t,c,s,!0),gr(t,c,s,!1),function(t,e,n,s,o){const i=o?t.residualClasses:t.residualStyles;null!=i&&"string"==typeof e&&oe(i,e)>=0&&(n[s+1]=eo(n[s+1]))}(e,c,t,s,i),r=Gs(a,l),i?e.classBindings=r:e.styleBindings=r}(o,i,e,n,r,s)}}function Or(t,e,n,s,o){let i=null;const r=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const e=t[o],i=Array.isArray(e),l=i?e[1]:e,c=null===l;let u=n[o+1];u===Us&&(u=c?fr:void 0);let h=c?se(u,s):l===s?u:void 0;if(i&&!Sr(h)&&(h=se(e,s)),Sr(h)&&(a=h,r))return a;const d=t[o+1];o=r?Ks(d):Xs(d)}if(null!==e){let t=i?e.residualClasses:e.residualStyles;null!=t&&(a=se(t,s))}return a}function Sr(t){return void 0!==t}function Dr(t,e){return 0!=(t.flags&(e?16:32))}function Nr(t,e=""){const n=Ge(),s=Ke(),o=t+20,i=s.firstCreatePass?io(s,n[6],t,3,null,null):s.data[o],r=n[o]=qo(e,n[11]);li(s,n,r,i),tn(i,!1)}function Tr(t){return kr("",t,""),Tr}function kr(t,e,n){const s=Ge(),o=function(t,e,n,s){return qi(t,ln(),n)?e+Fn(n)+s:Us}(s,t,e,n);return o!==Us&&$o(s,Mn(),o),kr}function jr(t,e,n){const s=Ge();return qi(s,ln(),e)&&wo(Ke(),vn(),s,t,e,s[11],n,!0),jr}function Ar(t,e){const n=Be(t)[1],s=n.data.length-1;xn(n,{directiveStart:s,directiveEnd:s+1})}function Ir(t){let e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0;const s=[t];for(;e;){let o=void 0;if(Pe(t))o=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");o=e.\u0275dir}if(o){if(n){s.push(o);const e=t;e.inputs=Rr(t.inputs),e.declaredInputs=Rr(t.declaredInputs),e.outputs=Rr(t.outputs);const n=o.hostBindings;n&&Vr(t,n);const i=o.viewQuery,r=o.contentQueries;if(i&&zr(t,i),r&&Fr(t,r),at(t.inputs,o.inputs),at(t.declaredInputs,o.declaredInputs),at(t.outputs,o.outputs),Pe(o)&&o.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(o.data.animation)}}const e=o.features;if(e)for(let s=0;s=0;s--){const o=t[s];o.hostVars=e+=o.hostVars,o.hostAttrs=kn(o.hostAttrs,n=kn(n,o.hostAttrs))}}(s)}function Rr(t){return t===ae?{}:t===le?[]:t}function zr(t,e){const n=t.viewQuery;t.viewQuery=n?(t,s)=>{e(t,s),n(t,s)}:e}function Fr(t,e){const n=t.contentQueries;t.contentQueries=n?(t,s,o)=>{e(t,s,o),n(t,s,o)}:e}function Vr(t,e){const n=t.hostBindings;t.hostBindings=n?(t,s)=>{e(t,s),n(t,s)}:e}function Hr(t,e,n,s,o){if(t=Ct(t),Array.isArray(t))for(let i=0;i>20;if(Fi(t)||!t.multi){const s=new Dn(l,o,Ji),p=Yr(a,e,o?u:u+d,h);-1===p?(Gn(Qn(c,r),i,a),Br(i,t,e.length),e.push(a),c.directiveStart++,c.directiveEnd++,o&&(c.providerIndexes+=1048576),n.push(s),r.push(s)):(n[p]=s,r[p]=s)}else{const p=Yr(a,e,u+d,h),f=Yr(a,e,u,u+d),g=p>=0&&n[p],y=f>=0&&n[f];if(o&&!y||!o&&!g){Gn(Qn(c,r),i,a);const u=function(t,e,n,s,o){const i=new Dn(t,n,Ji);return i.multi=[],i.index=e,i.componentProviders=0,Ur(i,o,s&&!n),i}(o?Qr:$r,n.length,o,s,l);!o&&y&&(n[f].providerFactory=u),Br(i,t,e.length,0),e.push(a),c.directiveStart++,c.directiveEnd++,o&&(c.providerIndexes+=1048576),n.push(u),r.push(u)}else Br(i,t,p>-1?p:f,Ur(n[o?f:p],l,!o&&s));!o&&s&&y&&n[f].componentProviders++}}}function Br(t,e,n,s){const o=Fi(e);if(o||e.useClass){const i=(e.useClass||e).prototype.ngOnDestroy;if(i){const r=t.destroyHooks||(t.destroyHooks=[]);if(!o&&e.multi){const t=r.indexOf(n);-1===t?r.push(n,[s,i]):r[t+1].push(s,i)}else r.push(n,i)}}}function Ur(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function Yr(t,e,n,s){for(let o=n;o{n.providersResolver=(n,s)=>function(t,e,n){const s=Ke();if(s.firstCreatePass){const o=Pe(t);Hr(n,s.data,s.blueprint,o,!0),Hr(e,s.data,s.blueprint,o,!1)}}(n,s?s(t):t,e)}}class qr{}class Gr{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${_t(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let Kr=(()=>{class t{}return t.NULL=new Gr,t})(),Jr=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=()=>Xr(t),t})();const Xr=function(t){return Ci(t,Xe(),Ge())};class ta{}var ea=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({});let na=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>sa(),t})();const sa=function(){const t=Ge(),e=He(Xe().index,t);return function(t){const e=t[11];if(je(e))return e;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(Me(e)?e:t)};let oa=(()=>{class t{}return t.\u0275prov=lt({token:t,providedIn:"root",factory:()=>null}),t})();class ia{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const ra=new ia("10.1.1");class aa{constructor(){}supports(t){return Qi(t)}create(t){return new ca(t)}}const la=(t,e)=>e;class ca{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||la}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,s=0,o=null;for(;e||n;){const i=!n||e&&e.currentIndex{s=this._trackByFn(e,t),null!==o&&Object.is(o.trackById,s)?(i&&(o=this._verifyReinsertion(o,t,s,e)),Object.is(o.item,t)||this._addIdentityChange(o,t)):(o=this._mismatch(o,t,s,e),i=!0),o=o._next,e++}),this.length=e;return this._truncate(o),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t,e;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=e)t.previousIndex=t.currentIndex,e=t._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,s){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,s))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,s)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,s)):t=this._addAfter(new ua(e,n),o,s),t}_verifyReinsertion(t,e,n,s){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?t=this._reinsertAfter(o,t._prev,s):t.currentIndex!=s&&(t.currentIndex=s,this._addToMoves(t,s)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const s=t._prevRemoved,o=t._nextRemoved;return null===s?this._removalsHead=o:s._nextRemoved=o,null===o?this._removalsTail=s:o._prevRemoved=s,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const s=null===e?this._itHead:e._next;return t._next=s,t._prev=e,null===s?this._itTail=t:s._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new da),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new da),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class ua{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class ha{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class da{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new ha,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function pa(t,e,n){const s=t.previousIndex;if(null===s)return s;let o=0;return n&&s{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const s=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,s)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const s=n._prev,o=n._next;return s&&(s._next=o),o&&(o._prev=s),n._next=null,n._prev=null,n}const n=new ya(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class ya{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let ma=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new ot,new nt]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${n=t,n.name||typeof n}'`);var n}}return t.\u0275prov=lt({token:t,providedIn:"root",factory:()=>new t([new aa])}),t})(),_a=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new ot,new nt]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\u0275prov=lt({token:t,providedIn:"root",factory:()=>new t([new fa])}),t})();const wa=[new fa],ba=new ma([new aa]),Ma=new _a(wa);let Ca=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>va(t,Jr),t})();const va=function(t,e){return vi(t,e,Xe(),Ge())};let xa=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Oa(t,Jr),t})();const Oa=function(t,e){return xi(t,e,Xe(),Ge())},Pa={};class Ea extends Kr{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=_e(t);return new Da(e,this.ngModule)}}function La(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const Sa=new At("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Hn});class Da extends qr{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(Bs).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return La(this.componentDef.inputs)}get outputs(){return La(this.componentDef.outputs)}create(t,e,n,s){const o=(s=s||this.ngModule)?function(t,e){return{get:(n,s,o)=>{const i=t.get(n,Pa,o);return i!==Pa||s===Pa?i:e.get(n,s,o)}}}(t,s.injector):t,i=o.get(ta,Ae),r=o.get(oa,null),a=i.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(t,e,n){if(je(t))return t.selectRootElement(e,n===re.ShadowDom);let s="string"==typeof e?t.querySelector(e):e;return s.textContent="",s}(a,n,this.componentDef.encapsulation):so(l,i.createRenderer(null,this.componentDef),function(t){const e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),u=this.componentDef.onPush?576:528,h={components:[],scheduler:Hn,clean:Ho,playerHandler:null,flags:0},d=go(0,-1,null,1,0,null,null,null,null,null),p=oo(null,d,h,u,null,null,i,a,r,o);let f,g;gn(p,null);try{const t=function(t,e,n,s,o,i){const r=n[1];n[20]=t;const a=io(r,null,0,3,null,null),l=a.mergedAttrs=e.hostAttrs;null!==l&&(Bi(a,l,!0),null!==t&&(Nn(o,t,l),null!==a.classes&&yi(o,t,a.classes),null!==a.styles&&gi(o,t,a.styles)));const c=s.createRenderer(t,e),u=oo(n,fo(e),null,e.onPush?64:16,n[20],a,s,c,void 0);return r.firstCreatePass&&(Gn(Qn(a,n),r,e.type),Oo(r,a),Eo(a,n.length,1)),Io(n,u),n[20]=u}(c,this.componentDef,p,i,a);if(c)if(n)Nn(a,c,["ng-version",ra.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let s=1,o=2;for(;s0&&yi(a,c,e.join(" "))}if(g=Fe(d,0),void 0!==e){const t=g.projection=[];for(let n=0;nt(r,e)),e.contentQueries&&e.contentQueries(1,r,n.length-1);const a=Xe();if(i.firstCreatePass&&(null!==e.hostBindings||null!==e.hostAttrs)){Cn(a.index-20);const t=n[1];Mo(t,e),Co(t,n,e.hostVars),vo(e,r)}return r}(t,this.componentDef,p,h,[Ar]),ro(d,p,null)}finally{bn()}const y=new Na(this.componentType,f,Ci(Jr,g,p),p,g);return d.node.child=g,y}}class Na extends class{}{constructor(t,e,n,s,o){super(),this.location=n,this._rootLView=s,this._tNode=o,this.destroyCbs=[],this.instance=e,this.hostView=this.changeDetectorRef=new _i(s),function(t,e,n,s){let o=t.node;null==o&&(t.node=o=mo(0,null,2,-1,null,null)),s[6]=o}(s[1],0,0,s),this.componentType=t}get injector(){return new os(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(t=>t()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(t){this.destroyCbs&&this.destroyCbs.push(t)}}const Ta=void 0;var ka=["en",[["a","p"],["AM","PM"],Ta],[["AM","PM"],Ta,Ta],[["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"]],Ta,[["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"]],Ta,[["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}",Ta,"{1} 'at' {0}",Ta],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let ja={};function Aa(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=Ra(e);if(n)return n;const s=e.split("-")[0];if(n=Ra(s),n)return n;if("en"===s)return ka;throw new Error(`Missing locale data for the locale "${t}".`)}function Ia(t){return Aa(t)[za.PluralCase]}function Ra(t){return t in ja||(ja[t]=Et.ng&&Et.ng.common&&Et.ng.common.locales&&Et.ng.common.locales[t]),ja[t]}var za=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}({});const Fa=["zero","one","two","few","many"];let Va="en-US";function Ha(t){var e,n;n="Expected localeId to be defined",null==(e=t)&&function(t,e,n,s){throw new Error("ASSERTION ERROR: "+t+` [Expected=> null != ${e} <=Actual]`)}(n,e),"string"==typeof t&&(Va=t.toLowerCase().replace(/_/g,"-"))}const Ba={marker:"element"},Ua={marker:"comment"},Ya=[];let $a=-1,Qa=0,Wa=0;function Za(t,e,n,s){const o=s[11];let i=null,r=null;const a=[];for(let l=0;l>>17;let u;u=o===e?s[6]:Fe(t,o),r=Ja(t,i,u,r,s);break;case 0:const h=c>=0,d=(h?c:~c)>>>3;a.push(d),r=i,i=Fe(t,d),i&&tn(i,h);break;case 5:r=i=Fe(t,c>>>3),tn(i,!1);break;case 4:const p=n[++l],f=n[++l];Do(Fe(t,c>>>3),s,p,f,null,null);break;default:throw new Error(`Unable to determine the type of mutate operation for "${c}"`)}else switch(c){case Ua:const e=n[++l],u=n[++l],h=o.createComment(e);r=i,i=tl(t,s,u,5,h,null),a.push(u),Ts(h,s),nn();break;case Ba:const d=n[++l],p=n[++l];r=i,i=tl(t,s,p,3,o.createElement(d),d),a.push(p);break;default:throw new Error(`Unable to determine the type of mutate operation for "${c}"`)}}return nn(),a}function qa(t,e,n,s,o,i){let r=!1;for(let a=0;a>>2;switch(3&a){case 1:const a=s[++l],u=s[++l];wo(t,Fe(t,c),n,a,i,n[11],u,!1);break;case 0:$o(n,c,i);break;case 2:r=Ka(t,e,s[++l],n,i);break;case 3:Ga(t,e,s[++l],o,n,r)}}}}a+=c}}function Ga(t,e,n,s,o,i){const r=e[n],a=o[r.currentCaseLViewIndex];null!==a&&qa(t,e,o,r.update[a],s,i?-1:Qa)}function Ka(t,e,n,s,o){!function t(e,n,s,o){const i=n[s],r=o[i.currentCaseLViewIndex];if(null!==r){const s=i.remove[r];for(let i=0;i>>3;switch(7&r){case 3:Xa(e,o,a,!1);break;case 6:t(e,n,a,o)}}}}(t,e,n,s);let i=!1;const r=e[n],a=function(t,e){let n=t.cases.indexOf(e);if(-1===n)switch(t.type){case 1:{const s=function(t,e){const n=Ia(e)(parseInt(t,10)),s=Fa[n];return void 0!==s?s:"other"}(e,Va);n=t.cases.indexOf(s),-1===n&&"other"!==s&&(n=t.cases.indexOf("other"));break}case 0:n=t.cases.indexOf("other")}return n}(r,o);return s[r.currentCaseLViewIndex]=-1!==a?a:null,a>-1&&(Za(t,-1,r.create[a],s),i=!0),i}function Ja(t,e,n,s,o){const i=e.next;s||(s=n),s===n&&e!==n.child?(e.next=n.child,n.child=e):s!==n&&e!==s.next?(e.next=s.next,s.next=e):e.next=null,n!==o[6]&&(e.parent=n);let r=e.next;for(;r;)r.next===e&&(r.next=i),r=r.next;if(1===e.type)return pi(t,o,e),e;li(t,o,ze(e,o),e);const a=o[e.index];return 0!==e.type&&Ce(a)&&li(t,o,a[7],e),e}function Xa(t,e,n,s){const o=Fe(t,n),i=Re(n,e);i&&ui(e[11],i);const r=Ve(e,n);if(Ce(r)){const t=r;0!==o.type&&ui(e[11],t[7])}s&&(o.flags|=64)}function tl(t,e,n,s,o,i){const r=Xe();e[n+20]=o;const a=io(t,e[6],n,s,i,null);return r&&r.next===a&&(r.next=null),a}const el=/\ufffd(\d+):?\d*\ufffd/gi,nl=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,sl=/\ufffd(\d+)\ufffd/,ol=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/;let il;const rl=[],al=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,ll=/\ufffd(\/?[#*!]\d+):?\d*\ufffd/gi,cl=/\uE500/g;function ul(t,e,n,s=null){const o=[null,null],i=t.split(el);let r=0;for(let a=0;an.length&&n.push(o)}return{type:s,mainBinding:o,cases:e,values:n}}function _l(t,e,n,s,o){const i=(r=ke(),function(){try{return!!(new window.DOMParser).parseFromString("","text/html")}catch(t){return!1}}()?new fs:new gs(r)).getInertBodyElement(t);var r;if(!i)throw new Error("Unable to generate inert body element");const a={vars:1,childIcus:[],create:[],remove:[],update:[]};return function t(e,n,s,o,i,r){if(e){const a=[];for(;e;){const l=e.nextSibling,c=r+ ++n.vars;switch(e.nodeType){case Node.ELEMENT_NODE:const l=e,u=l.tagName.toLowerCase();if(Ps.hasOwnProperty(u)){n.create.push(Ba,u,c,s<<17|1);const a=l.attributes;for(let t=0;t0&&r!==a){let t=r.index-20;en()||(t=~t),u.push(t<<3|0)}const h=[],d=[];if(""===s&&fl(o))u.push(s,dl(i),l<<17|1);else{const t=function(t,e){if(fl(e))return gl(t);{const n=t.indexOf(`:${e}\ufffd`)+2+e.toString().length,s=t.search(new RegExp(`\ufffd\\/\\*\\d+:${e}\ufffd`));return gl(t.substring(n,s))}}(s,o),e=(p=t,p.replace(cl," ")).split(ll);for(let n=0;n0&&function(t,e,n){if(n>0&&t.firstCreatePass){for(let s=0;s>1),r++}})(Ke(),t),pr(!1)}()}function Ml(t){return qi(Ge(),ln(),t)&&(Qa|=1<0){const s=t.data[n+20];let o,i=null;Array.isArray(s)?o=s:(o=s.update,i=s.icus),qa(t,i,e,o,an()-Wa-1,Qa),Qa=0,Wa=0}}(Ke(),Ge(),t)}const vl=new Map;class xl extends Gt{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Ea(this);const n=be(t),s=t[Tt]||null;s&&Ha(s),this._bootstrapComponents=Bn(n.bootstrap),this._r3Injector=ki(t,e,[{provide:Gt,useValue:this},{provide:Kr,useValue:this.componentFactoryResolver}],_t(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=Hi.THROW_IF_NOT_FOUND,n=it.Default){return t===Hi||t===Gt||t===It?this:this._r3Injector.get(t,e,n)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Ol extends class{}{constructor(t){super(),this.moduleType=t,null!==be(t)&&function t(e){if(null!==e.\u0275mod.id){const t=e.\u0275mod.id;(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${_t(e)} vs ${_t(e.name)}`)})(t,vl.get(t),e),vl.set(t,e)}let n=e.\u0275mod.imports;n instanceof Function&&(n=n()),n&&n.forEach(e=>t(e))}(t)}create(t){return new xl(this.moduleType,t)}}function Pl(t,e,n,s,o,i){return function(t,e,n,s,o,i,r,a){const l=e+n;return function(t,e,n,s,o){const i=Gi(t,e,n,s);return qi(t,e+2,o)||i}(t,l,o,i,r)?Zi(t,l+3,a?s.call(a,o,i,r):s(o,i,r)):El(t,l+3)}(Ge(),rn(),t,e,n,s,o,i)}function El(t,e){const n=t[e];return n===Us?void 0:n}function Ll(t,e){const n=Ke();let s;const o=t+20;n.firstCreatePass?(s=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const s=e[n];if(t===s.name)return s}throw new Error(`The pipe '${t}' could not be found!`)}(e,n.pipeRegistry),n.data[o]=s,s.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(o,s.onDestroy)):s=n.data[o];const i=s.factory||(s.factory=we(s.type)),r=Ut(Ji),a=Yn(!1),l=i();return Yn(a),Ut(r),function(t,e,n,s){const o=n+20;o>=t.data.length&&(t.data[o]=null,t.blueprint[o]=null),e[o]=s}(n,Ge(),t,l),l}function Sl(t,e,n,s){const o=Ge(),i=Ve(o,t);return Tl(o,Nl(o,t)?function(t,e,n,s,o,i,r){const a=e+n;return Gi(t,a,o,i)?Zi(t,a+2,r?s.call(r,o,i):s(o,i)):El(t,a+2)}(o,rn(),e,i.transform,n,s,i):i.transform(n,s))}function Dl(t,e,n){const s=Ge(),o=Ve(s,t);return Tl(s,Nl(s,t)?function(t,e,n,s,o,i){let r=e+n,a=!1;for(let l=0;lnull,i=()=>null;t&&"object"==typeof t?(s=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(o=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(i=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(s=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(o=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),n&&(i=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const r=super.subscribe(s,o,i);return t instanceof h&&t.add(r),r}};function jl(){return this._results[Yi()]()}class Al{constructor(){this.dirty=!0,this._results=[],this.changes=new kl,this.length=0;const t=Yi(),e=Al.prototype;e[t]||(e[t]=jl)}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}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){this._results=function t(e,n){void 0===n&&(n=e);for(let s=0;s{class t{constructor(t){this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)($t(Ql,8))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const Zl=new At("AppId"),ql={provide:Zl,useFactory:function(){return`${Gl()}${Gl()}${Gl()}`},deps:[]};function Gl(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Kl=new At("Platform Initializer"),Jl=new At("Platform ID"),Xl=new At("appBootstrapListener");let tc=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const ec=new At("LocaleId"),nc=new At("DefaultCurrencyCode");class sc{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const oc=function(t){return new Ol(t)},ic=oc,rc=function(t){return Promise.resolve(oc(t))},ac=function(t){const e=oc(t),n=Bn(be(t).declarations).reduce((t,e)=>{const n=_e(e);return n&&t.push(new Da(n)),t},[]);return new sc(e,n)},lc=ac,cc=function(t){return Promise.resolve(ac(t))};let uc=(()=>{class t{constructor(){this.compileModuleSync=ic,this.compileModuleAsync=rc,this.compileModuleAndAllComponentsSync=lc,this.compileModuleAndAllComponentsAsync=cc}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const hc=(()=>Promise.resolve(0))();function dc(t){"undefined"==typeof Zone?hc.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class pc{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new kl(!1),this.onMicrotaskEmpty=new kl(!1),this.onStable=new kl(!1),this.onError=new kl(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=e,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let t=Et.requestAnimationFrame,e=Et.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const s=e[Zone.__symbol__("OriginalDelegate")];s&&(e=s)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=!!t.shouldCoalesceEventChangeDetection&&t.nativeRequestAnimationFrame&&(()=>{!function(t){-1===t.lastRequestAnimationFrameId&&(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Et,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,mc(t),yc(t)},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),mc(t))}(t)});t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:e},onInvokeTask:(n,s,o,i,r,a)=>{try{return _c(t),n.invokeTask(o,i,r,a)}finally{e&&"eventTask"===i.type&&e(),wc(t)}},onInvoke:(e,n,s,o,i,r,a)=>{try{return _c(t),e.invoke(s,o,i,r,a)}finally{wc(t)}},onHasTask:(e,n,s,o)=>{e.hasTask(s,o),n===s&&("microTask"==o.change?(t._hasPendingMicrotasks=o.microTask,mc(t),yc(t)):"macroTask"==o.change&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(e,n,s,o)=>(e.handleError(s,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!pc.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(pc.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,s){const o=this._inner,i=o.scheduleEventTask("NgZoneEvent: "+s,t,gc,fc,fc);try{return o.runTask(i,e,n)}finally{o.cancelTask(i)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}function fc(){}const gc={};function yc(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function mc(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||t.shouldCoalesceEventChangeDetection&&-1!==t.lastRequestAnimationFrameId)}function _c(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function wc(t){t._nesting--,yc(t)}class bc{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new kl,this.onMicrotaskEmpty=new kl,this.onStable=new kl,this.onError=new kl}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,s){return t.apply(e,n)}}let Mc=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{pc.assertNotInAngularZone(),dc(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())dc(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let s=-1;e&&e>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==s),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:s,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}return t.\u0275fac=function(e){return new(e||t)($t(pc))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),Cc=(()=>{class t{constructor(){this._applications=new Map,Oc.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return Oc.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();class vc{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}let xc,Oc=new vc;const Pc=new At("AllowMultipleToken");function Ec(t,e,n=[]){const s="Platform: "+e,o=new At(s);return(e=[])=>{let i=Lc();if(!i||i.injector.get(Pc,!1))if(t)t(n.concat(e).concat({provide:o,useValue:!0}));else{const t=n.concat(e).concat({provide:o,useValue:!0},{provide:Ei,useValue:"platform"});!function(t){if(xc&&!xc.destroyed&&!xc.injector.get(Pc,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");xc=t.get(Sc);const e=t.get(Kl,null);e&&e.forEach(t=>t())}(Hi.create({providers:t,name:s}))}return function(t){const e=Lc();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(o)}}function Lc(){return xc&&!xc.destroyed?xc:null}let Sc=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t,e){let n;return n="noop"===t?new bc:("zone.js"===t?void 0:t)||new pc({enableLongStackTrace:ps(),shouldCoalesceEventChangeDetection:e}),n}(e?e.ngZone:void 0,e&&e.ngZoneEventCoalescing||!1),s=[{provide:pc,useValue:n}];return n.run(()=>{const e=Hi.create({providers:s,parent:this.injector,name:t.moduleType.name}),o=t.create(e),i=o.injector.get(ls,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return o.onDestroy(()=>Tc(this._modules,o)),n.runOutsideAngular(()=>n.onError.subscribe({next:t=>{i.handleError(t)}})),function(t,e,n){try{const s=n();return ar(s)?s.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):s}catch(s){throw e.runOutsideAngular(()=>t.handleError(s)),s}}(i,n,()=>{const t=o.injector.get(Wl);return t.runInitializers(),t.donePromise.then(()=>(Ha(o.injector.get(ec,"en-US")||"en-US"),this._moduleDoBootstrap(o),o))})})}bootstrapModule(t,e=[]){const n=Dc({},e);return function(t,e,n){const s=new Ol(n);return Promise.resolve(s)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(Nc);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${_t(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)($t(Hi))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();function Dc(t,e){return Array.isArray(e)?e.reduce(Dc,t):Object.assign(Object.assign({},t),e)}let Nc=(()=>{class t{constructor(t,e,n,s,o,i){this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=s,this._componentFactoryResolver=o,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=ps(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const r=new _(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),a=new _(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{pc.assertNotInAngularZone(),dc(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{pc.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=$(r,a.pipe(t=>{return Q()((e=J,function(t){let n;n="function"==typeof e?e:function(){return e};const s=Object.create(t,G);return s.source=t,s.subjectFactory=n,s})(t));var e}))}bootstrap(t,e){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=t instanceof qr?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const s=n.isBoundToModule?void 0:this._injector.get(Gt),o=n.create(Hi.NULL,[],e||n.selector,s);o.onDestroy(()=>{this._unloadComponent(o)});const i=o.injector.get(Mc,null);return i&&o.injector.get(Cc).registerApplication(o.location.nativeElement,i),this._loadComponent(o),ps()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),o}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges();if(this._enforceNoNewChanges)for(let t of this._views)t.checkNoChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;Tc(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Xl,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}_unloadComponent(t){this.detachView(t.hostView),Tc(this.components,t)}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy())}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)($t(pc),$t(tc),$t(Hi),$t(ls),$t(Kr),$t(Wl))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();function Tc(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const kc=Ec(null,"core",[{provide:Jl,useValue:"unknown"},{provide:Sc,deps:[Hi]},{provide:Cc,deps:[]},{provide:tc,deps:[]}]),jc=[{provide:Nc,useClass:Nc,deps:[pc,tc,Hi,ls,Kr,Wl]},{provide:Sa,deps:[pc],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:Wl,useClass:Wl,deps:[[new nt,Ql]]},{provide:uc,useClass:uc,deps:[]},ql,{provide:ma,useFactory:function(){return ba},deps:[]},{provide:_a,useFactory:function(){return Ma},deps:[]},{provide:ec,useFactory:function(t){return Ha(t=t||"undefined"!=typeof $localize&&$localize.locale||"en-US"),t},deps:[[new et(ec),new nt,new ot]]},{provide:nc,useValue:"USD"}];let Ac=(()=>{class t{constructor(t){}}return t.\u0275mod=fe({type:t}),t.\u0275inj=ct({factory:function(e){return new(e||t)($t(Nc))},providers:jc}),t})(),Ic=null;function Rc(){return Ic}const zc=new At("DocumentToken");let Fc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({factory:Vc,token:t,providedIn:"platform"}),t})();function Vc(){return $t(Hc)}let Hc=(()=>{class t extends Fc{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=Rc().getLocation(),this._history=Rc().getHistory()}getBaseHrefFromDOM(){return Rc().getBaseHref(this._doc)}onPopState(t){Rc().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)}onHashChange(t){Rc().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)}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(t){this.location.pathname=t}pushState(t,e,n){Bc()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){Bc()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)($t(zc))},t.\u0275prov=lt({factory:Uc,token:t,providedIn:"platform"}),t})();function Bc(){return!!window.history.pushState}function Uc(){return new Hc($t(zc))}function Yc(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function $c(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function Qc(t){return t&&"?"!==t[0]?"?"+t:t}let Wc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({factory:Zc,token:t,providedIn:"root"}),t})();function Zc(t){const e=$t(zc).location;return new Gc($t(Fc),e&&e.origin||"")}const qc=new At("appBaseHref");let Gc=(()=>{class t extends Wc{constructor(t,e){if(super(),this._platformLocation=t,null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=e}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return Yc(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+Qc(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,s){const o=this.prepareExternalUrl(n+Qc(s));this._platformLocation.pushState(t,e,o)}replaceState(t,e,n,s){const o=this.prepareExternalUrl(n+Qc(s));this._platformLocation.replaceState(t,e,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)($t(Fc),$t(qc,8))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),Kc=(()=>{class t{constructor(t,e){this._subject=new kl,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=$c(Xc(n)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+Qc(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,Xc(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Qc(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Qc(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(t){this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}))}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}return t.\u0275fac=function(e){return new(e||t)($t(Wc),$t(Fc))},t.normalizeQueryParams=Qc,t.joinWithSlash=Yc,t.stripTrailingSlash=$c,t.\u0275prov=lt({factory:Jc,token:t,providedIn:"root"}),t})();function Jc(){return new Kc($t(Wc),$t(Fc))}function Xc(t){return t.replace(/\/index.html$/,"")}const tu={ADP:[void 0,void 0,0],AFN:[void 0,void 0,0],ALL:[void 0,void 0,0],AMD:[void 0,void 0,2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],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,"\u0440.",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"],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:[void 0,"\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"],RUR:[void 0,"\u0440."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],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:["CFA",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 eu=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}({}),nu=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({}),su=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t[1/0]=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}({});function ou(t,e){const n=Aa(t),s=n[za.NumberSymbols][e];if(void 0===s){if(e===su.CurrencyDecimal)return n[za.NumberSymbols][su.Decimal];if(e===su.CurrencyGroup)return n[za.NumberSymbols][su.Group]}return s}function iu(t,e){return Aa(t)[za.NumberFormats][e]}const ru=Ia,au=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function lu(t,e,n,s,o,i,r=!1){let a="",l=!1;if(isFinite(t)){let c=function(t){let e,n,s,o,i,r=Math.abs(t)+"",a=0;for((n=r.indexOf("."))>-1&&(r=r.replace(".","")),(s=r.search(/e/i))>0?(n<0&&(n=s),n+=+r.slice(s+1),r=r.substring(0,s)):n<0&&(n=r.length),s=0;"0"===r.charAt(s);s++);if(s===(i=r.length))e=[0],n=1;else{for(i--;"0"===r.charAt(i);)i--;for(n-=s,e=[],o=0;s<=i;s++,o++)e[o]=Number(r.charAt(s))}return n>22&&(e=e.splice(0,21),a=n-1,n=1),{digits:e,exponent:a,integerLen:n}}(t);r&&(c=function(t){if(0===t.digits[0])return t;const e=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(0===e?t.digits.push(0,0):1===e&&t.digits.push(0),t.integerLen+=2),t}(c));let u=e.minInt,h=e.minFrac,d=e.maxFrac;if(i){const t=i.match(au);if(null===t)throw new Error(i+" is not a valid digit info");const e=t[1],n=t[3],s=t[5];null!=e&&(u=uu(e)),null!=n&&(h=uu(n)),null!=s?d=uu(s):null!=n&&h>d&&(d=h)}!function(t,e,n){if(e>n)throw new Error(`The minimum number of digits after fraction (${e}) is higher than the maximum (${n}).`);let s=t.digits,o=s.length-t.integerLen;const i=Math.min(Math.max(e,o),n);let r=i+t.integerLen,a=s[r];if(r>0){s.splice(Math.max(t.integerLen,r));for(let t=r;t=5)if(r-1<0){for(let e=0;e>r;e--)s.unshift(0),t.integerLen++;s.unshift(1),t.integerLen++}else s[r-1]++;for(;o=c?s.pop():l=!1),e>=10?1:0}),0);u&&(s.unshift(u),t.integerLen++)}(c,h,d);let p=c.digits,f=c.integerLen;const g=c.exponent;let y=[];for(l=p.every(t=>!t);f0?y=p.splice(f,p.length):(y=p,p=[0]);const m=[];for(p.length>=e.lgSize&&m.unshift(p.splice(-e.lgSize,p.length).join(""));p.length>e.gSize;)m.unshift(p.splice(-e.gSize,p.length).join(""));p.length&&m.unshift(p.join("")),a=m.join(ou(n,s)),y.length&&(a+=ou(n,o)+y.join("")),g&&(a+=ou(n,su.Exponential)+"+"+g)}else a=ou(n,su.Infinity);return a=t<0&&!l?e.negPre+a+e.negSuf:e.posPre+a+e.posSuf,a}function cu(t,e="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},s=t.split(";"),o=s[0],i=s[1],r=-1!==o.indexOf(".")?o.split("."):[o.substring(0,o.lastIndexOf("0")+1),o.substring(o.lastIndexOf("0")+1)],a=r[0],l=r[1]||"";n.posPre=a.substr(0,a.indexOf("#"));for(let u=0;u{class t extends hu{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(ru(e||this.locale)(t)){case nu.Zero:return"zero";case nu.One:return"one";case nu.Two:return"two";case nu.Few:return"few";case nu.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)($t(ec))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();function pu(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[s,o]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(s.trim()===e)return decodeURIComponent(o)}return null}let fu=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new gu,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){yu("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){yu("ngIfElse",t),this._elseTemplateRef=t,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(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(Ji(xa),Ji(Ca))},t.\u0275dir=ye({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class gu{constructor(){this.$implicit=null,this.ngIf=null}}function yu(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${_t(e)}'.`)}class mu{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,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 _u=(()=>{class t{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}_matchCase(t){const e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}_updateDefaultCases(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(let e=0;e{class t{constructor(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new mu(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(Ji(xa),Ji(Ca),Ji(_u,1))},t.\u0275dir=ye({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t})();function bu(t,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${_t(t)}'`)}class Mu{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class Cu{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const vu=new Cu,xu=new Mu;let Ou=(()=>{class t{constructor(t){this._ref=t,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue:(t&&this._subscribe(t),this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,e=>this._updateLatestValue(t,e))}_selectStrategy(e){if(ar(e))return vu;if(function(t){return!!t&&"function"==typeof t.subscribe}(e))return xu;throw bu(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(Ji(Oi))},t.\u0275pipe=me({name:"async",type:t,pure:!1}),t})(),Pu=(()=>{class t{constructor(t){this._locale=t}transform(e,n,s){if(Lu(e))return null;s=s||this._locale;try{return function(t,e,n){return lu(t,cu(iu(e,eu.Decimal),ou(e,su.MinusSign)),e,su.Group,su.Decimal,n)}(Su(e),s,n)}catch(o){throw bu(t,o.message)}}}return t.\u0275fac=function(e){return new(e||t)(Ji(ec))},t.\u0275pipe=me({name:"number",type:t,pure:!0}),t})(),Eu=(()=>{class t{constructor(t,e="USD"){this._locale=t,this._defaultCurrencyCode=e}transform(e,n,s="symbol",o,i){if(Lu(e))return null;i=i||this._locale,"boolean"==typeof s&&(console&&console.warn&&console.warn('Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are "code", "symbol" or "symbol-narrow".'),s=s?"symbol":"code");let r=n||this._defaultCurrencyCode;"code"!==s&&(r="symbol"===s||"symbol-narrow"===s?function(t,e,n="en"){const s=function(t){return Aa(t)[za.Currencies]}(n)[t]||tu[t]||[],o=s[1];return"narrow"===e&&"string"==typeof o?o:s[0]||t}(r,"symbol"===s?"wide":"narrow",i):s);try{return function(t,e,n,s,o){const i=cu(iu(e,eu.Currency),ou(e,su.MinusSign));return i.minFrac=function(t){let e;const n=tu[t];return n&&(e=n[2]),"number"==typeof e?e:2}(s),i.maxFrac=i.minFrac,lu(t,i,e,su.CurrencyGroup,su.CurrencyDecimal,o).replace("\xa4",n).replace("\xa4","").trim()}(Su(e),i,r,n,o)}catch(a){throw bu(t,a.message)}}}return t.\u0275fac=function(e){return new(e||t)(Ji(ec),Ji(nc))},t.\u0275pipe=me({name:"currency",type:t,pure:!0}),t})();function Lu(t){return null==t||""===t||t!=t}function Su(t){if("string"==typeof t&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if("number"!=typeof t)throw new Error(t+" is not a number");return t}let Du=(()=>{class t{}return t.\u0275mod=fe({type:t}),t.\u0275inj=ct({factory:function(e){return new(e||t)},providers:[{provide:hu,useClass:du}]}),t})();const Nu={host:"",basePath:"/api/v1/internal/",production:!0,lazyTimeMs:0,clientVersion:n("sPWc").a,ckeditorLicense:"ETYPME234.GTL514TCO770"};var Tu=n("q82V"),ku=n.n(Tu);function ju(t,e=0){return function(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):e}function Au(t){return Array.isArray(t)?t:[t]}function Iu(t){return null==t?"":"string"==typeof t?t:t+"px"}function Ru(){throw Error("Host already has a portal attached")}class zu{attach(t){return null==t&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),t.hasAttached()&&Ru(),this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null==t?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class Fu extends zu{constructor(t,e,n,s){super(),this.component=t,this.viewContainerRef=e,this.injector=n,this.componentFactoryResolver=s}}class Vu extends zu{constructor(t,e,n){super(),this.templateRef=t,this.viewContainerRef=e,this.context=n}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class Hu extends zu{constructor(t){super(),this.element=t instanceof Jr?t.nativeElement:t}}class Bu extends class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&Ru(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),t instanceof Fu?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof Vu?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof Hu?(this._attachedPortal=t,this.attachDomPortal(t)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()}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)}}{constructor(t,e,n,s,o){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=n,this._defaultInjector=s,this.attachDomPortal=t=>{if(!this._document)throw Error("Cannot attach DOM portal without _document constructor parameter");const e=t.element;if(!e.parentNode)throw Error("DOM portal content must be attached to a parent node.");const n=this._document.createComment("dom-portal");e.parentNode.insertBefore(n,e),this.outletElement.appendChild(e),super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})},this._document=o}attachComponentPortal(t){const e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let n;return t.viewContainerRef?(n=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>n.destroy())):(n=e.create(t.injector||this._defaultInjector),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),n}attachTemplatePortal(t){let e=t.viewContainerRef,n=e.createEmbeddedView(t.templateRef,t.context);return n.rootNodes.forEach(t=>this.outletElement.appendChild(t)),n.detectChanges(),this.setDisposeFn(()=>{let t=e.indexOf(n);-1!==t&&e.remove(t)}),n}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let Uu=(()=>{class t{}return t.\u0275mod=fe({type:t}),t.\u0275inj=ct({factory:function(e){return new(e||t)}}),t})();function Yu(t){return e=>e.lift(new $u(t))}class $u{constructor(t){this.notifier=t}call(t,e){const n=new Qu(t),s=k(n,this.notifier);return s&&!n.seenValue?(n.add(s),e.subscribe(n)):n}}class Qu extends j{constructor(t){super(t),this.seenValue=!1}notifyNext(t,e,n,s,o){this.seenValue=!0,this.complete()}notifyComplete(){}}let Wu=(()=>{class t{constructor(){this._onDestroySubject=new v}get $onDestroy(){return this._onDestroySubject.asObservable()}takeUntilDestroyed(){return Yu(this.$onDestroy)}ngOnDestroy(){this._onDestroySubject.next(),this._onDestroySubject.complete()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ye({type:t}),t})();class Zu extends h{constructor(t,e){super()}schedule(t,e=0){return this}}class qu extends Zu{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const n=this.id,s=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(s,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(s,this.id,e),this}requestAsyncId(t,e,n=0){return setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n=!1,s=void 0;try{this.work(t)}catch(o){n=!0,s=!!o&&o||new Error(o)}if(n)return this.unsubscribe(),s}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,s=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==s&&n.splice(s,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}class Gu extends qu{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(t,e,n):t.flush(this)}}let Ku=(()=>{class t{constructor(e,n=t.now){this.SchedulerAction=e,this.now=n}schedule(t,e=0,n){return new this.SchedulerAction(this,t).schedule(n,e)}}return t.now=()=>Date.now(),t})();class Ju extends Ku{constructor(t,e=Ku.now){super(t,()=>Ju.delegate&&Ju.delegate!==this?Ju.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return Ju.delegate&&Ju.delegate!==this?Ju.delegate.schedule(t,e,n):super.schedule(t,e,n)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}class Xu extends Ju{}const th=new Xu(Gu),eh=new _(t=>t.complete());function nh(t){return t?function(t){return new _(e=>t.schedule(()=>e.complete()))}(t):eh}function sh(...t){let e=t[t.length-1];return O(e)?(t.pop(),z(t,e)):Y(t)}let oh=(()=>{class t{constructor(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}}accept(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}toObservable(){switch(this.kind){case"N":return sh(this.value);case"E":return t=this.error,new _(e=>e.error(t));case"C":return nh()}var t;throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new t("N",e):t.undefinedValueNotification}static createError(e){return new t("E",void 0,e)}static createComplete(){return t.completeNotification}}return t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t})();class ih extends f{constructor(t,e,n=0){super(t),this.scheduler=e,this.delay=n}static dispatch(t){const{notification:e,destination:n}=t;e.observe(n),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(ih.dispatch,this.delay,new rh(t,this.destination)))}_next(t){this.scheduleMessage(oh.createNext(t))}_error(t){this.scheduleMessage(oh.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(oh.createComplete()),this.unsubscribe()}}class rh{constructor(t,e){this.notification=t,this.destination=e}}class ah extends v{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift(),super.next(t)}nextTimeWindow(t){this._events.push(new lh(this._getNow(),t)),this._trimBufferThenGetEvents(),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,n=e?this._events:this._trimBufferThenGetEvents(),s=this.scheduler,o=n.length;let i;if(this.closed)throw new b;if(this.isStopped||this.hasError?i=h.EMPTY:(this.observers.push(t),i=new M(this,t)),s&&t.add(t=new ih(t,s)),e)for(let r=0;re&&(i=Math.max(i,o-e)),i>0&&s.splice(0,i),s}}class lh{constructor(t,e){this.time=t,this.value=e}}class ch extends v{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new b;return this._value}next(t){super.next(this._value=t)}}const uh={};function hh(...t){let e=null,n=null;return O(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&l(t[0])&&(t=t[0]),Y(t,n).lift(new dh(e))}class dh{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new ph(t,this.resultSelector))}}class ph extends j{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(uh),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let n=0;n=0}function yh(t=0,e,n){let s=-1;return gh(e)?s=Number(e)<1?1:Number(e):O(e)&&(n=e),O(n)||(n=fh),new _(e=>{const o=gh(t)?t:+t-n.now();return n.schedule(mh,o,{index:0,period:s,subscriber:e})})}function mh(t){const{index:e,period:n,subscriber:s}=t;if(s.next(e),!s.closed){if(-1===n)return s.complete();t.index=e+1,this.schedule(t,n)}}function _h(...t){return U(1)(sh(...t))}function wh(...t){const e=t[t.length-1];return O(e)?(t.pop(),n=>_h(t,n,e)):e=>_h(t,e)}function bh(t){return e=>e.lift(new Mh(t))}class Mh{constructor(t){this.notifier=t}call(t,e){const n=new Ch(t),s=e.subscribe(n);return s.add(k(n,this.notifier)),s}}class Ch extends j{constructor(){super(...arguments),this.hasValue=!1}_next(t){this.value=t,this.hasValue=!0}notifyNext(t,e,n,s,o){this.emitValue()}notifyComplete(){this.emitValue()}emitValue(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))}}const vh=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})();function xh(t){return e=>0===t?nh():e.lift(new Oh(t))}class Oh{constructor(t){if(this.total=t,this.total<0)throw new vh}call(t,e){return e.subscribe(new Ph(t,this.total))}}class Ph extends f{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}function Eh(t,e){return"function"==typeof e?n=>n.pipe(Eh((n,s)=>F(t(n,s)).pipe(A((t,o)=>e(n,t,s,o))))):e=>e.lift(new Lh(t))}class Lh{constructor(t){this.project=t}call(t,e){return e.subscribe(new Sh(t,this.project))}}class Sh extends j{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(s){return void this.destination.error(s)}this._innerSub(e,t,n)}_innerSub(t,e,n){const s=this.innerSubscription;s&&s.unsubscribe();const o=new P(this,e,n),i=this.destination;i.add(o),this.innerSubscription=k(this,t,void 0,void 0,o),this.innerSubscription!==o&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(t,e,n,s,o){this.destination.next(e)}}function Dh(){}const Nh=new _(Dh);function Th(t,e=fh){return n=>n.lift(new kh(t,e))}class kh{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new jh(t,this.dueTime,this.scheduler))}}class jh extends f{constructor(t,e,n){super(t),this.dueTime=e,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(Ah,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function Ah(t){t.debouncedNext()}function Ih(t,e){return function(n){return n.lift(new Rh(t,e))}}class Rh{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new zh(t,this.predicate,this.thisArg))}}class zh extends f{constructor(t,e,n){super(t),this.predicate=e,this.thisArg=n,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}class Fh{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new Vh(t,this.compare,this.keySelector))}}class Vh extends f{constructor(t,e,n){super(t),this.keySelector=n,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:n}=this;e=n?n(t):t}catch(s){return this.destination.error(s)}let n=!1;if(this.hasKey)try{const{compare:t}=this;n=t(this.key,e)}catch(s){return this.destination.error(s)}else this.hasKey=!0;n||(this.key=e,this.destination.next(t))}}class Hh{constructor(t){this.value=t}call(t,e){return e.subscribe(new Bh(t,this.value))}}class Bh extends f{constructor(t,e){super(t),this.value=e}_next(t){this.destination.next(this.value)}}let Uh=(()=>{class t{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({factory:function(){return new t},token:t,providedIn:"root"}),t})(),Yh=(()=>{class t{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((t,e)=>this._cleanupObserver(e))}observe(t){const e=function(t){return t instanceof Jr?t.nativeElement:t}(t);return new _(t=>{const n=this._observeElement(e).subscribe(t);return()=>{n.unsubscribe(),this._unobserveElement(e)}})}_observeElement(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{const e=new v,n=this._mutationObserverFactory.create(t=>e.next(t));n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:e,count:1})}return this._observedElements.get(t).stream}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){const{observer:e,stream:n}=this._observedElements.get(t);e&&e.disconnect(),n.complete(),this._observedElements.delete(t)}}}return t.\u0275fac=function(e){return new(e||t)($t(Uh))},t.\u0275prov=lt({factory:function(){return new t($t(Uh))},token:t,providedIn:"root"}),t})(),$h=(()=>{class t extends Wu{constructor(t,e,n,s){super(),this.contentObserver=t,this.priceTag=e,this.document=n,this.localeId=s}watchSelector$(t,e){return hh([t,e.pipe(wh(this.localeId))]).pipe(Th(1),Eh(([t,e])=>this.watchPriceElement(t,e)),Ih(t=>!!t),t=>t.lift(new Fh(undefined,undefined)),this.takeUntilDestroyed())}watchPriceElement(e,n){let s,o=t.findCommonParent(e,this.priceTag.nativeElement);return s=o?this.observe(o):this.observe(this.document.body).pipe(Th(1),A(()=>t.findCommonParent(e,this.priceTag.nativeElement)),Ih(t=>!!t),xh(1),Eh(t=>this.observe(t))),s.pipe(A(n=>t.findElement(e,n)),Eh(t=>this.observe(t)),Th(1),A(e=>t.getPriceFromElement(e,n)))}observe(t){return t?this.contentObserver.observe(t).pipe(wh(void 0),(e=t,t=>t.lift(new Hh(e)))):Nh;var e}static findCommonParent(t,e){let n,s=e;do{s=null==s?void 0:s.parentElement,n=this.findElement(t,s)}while(s&&!n);return s}static findElement(t,e){var n;return null!==(n=null==e?void 0:e.querySelector(t))&&void 0!==n?n:null}static getPriceFromElement(t,e){return this.getPriceFromText(t.innerText,e)}static getPriceFromText(t,e){let n=this.getCleanedPriceText(t);if(null!==n)return this.validateFormat(n,e),n=this.replaceLocaleGroupWithBlank(n,e),n=this.replaceLocaleDecimalWithPeriod(n,e),parseFloat(n);console.error("Anyday-Price-Tag found a valid 'price-tag-selector' element but could not find a valid number '"+t+"'")}static getCleanedPriceText(t){const e=this.priceMatcher.exec(t);return e&&e[1]||null}static validateFormat(t,e){if(!this.isFormatValid(t,e)){let n=iu(e,eu.Currency);console.error("Anyday-Price-Tag the format of the price '"+t+"' did not match the locale '"+e+"'. Expected format for locale '"+e+"' is '"+n+"'")}}static isFormatValid(t,e){let n=ou(e,su.CurrencyDecimal),s=ou(e,su.CurrencyGroup);"."===n?n="\\.":"."===s&&(s="\\.");let o=new RegExp("^(\\d{1,3})(["+s+"\\s]{1}\\d{3})*("+n+"\\d+)?$|^(\\d+)?("+n+"\\d+)?$").exec(t);return!!o&&!!o[1]}static replaceLocaleDecimalWithPeriod(t,e){let n=ou(e,su.CurrencyDecimal);return t.replace(new RegExp(this.escapeRegExp(n),"g"),".")}static replaceLocaleGroupWithBlank(t,e){let n=ou(e,su.CurrencyGroup),s=this.escapeRegExp(n);return t.replace(new RegExp(s,"g"),"")}static escapeRegExp(t){return t.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&").replace(/\s/g,"\\s")}}return t.priceMatcher=/(\d[\d,.\s]+\d|\d{1,2})/,t.\u0275fac=function(e){return new(e||t)($t(Yh),$t(Jr),$t(zc),$t(ec))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();var Qh=function(t){return t[t.Fine=0]="Fine",t[t.MerchantDeactivated=1]="MerchantDeactivated",t[t.WebShopNotfound=2]="WebShopNotfound",t[t.WebShopHostNotAllowed=3]="WebShopHostNotAllowed",t[t.CannotConnectToAPI=4]="CannotConnectToAPI",t[t.Unknown=5]="Unknown",t}({});let Wh,Zh=(()=>{class t{static getLocale(t,e){return{DKK:"da",USD:"en"}[t]||e}static format(t,e,n=2){t||(t=0),e||(e="DKK");const s=this.getLocale(e,"da"),o=`1.${n}-${n}`;return new Eu(s,e).transform(t,e,"symbol-narrow",o,s)||String(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),qh=(()=>{class t{calculateEstimatedPrice(t){return e=this,void 0,s=function*(){const e={totalPrice:parseFloat(ju(t.totalPrice,0).toFixed(2)),currency:t.currency},n={error:Qh.Fine};try{const t=4;n.estimate={currency:e.currency,totalPrice:e.totalPrice,splitCount:t,splitPercent:100/t,monthlyPayment:this.bankersRounding(e.totalPrice/t,2)}}catch(s){n.error=Qh.Unknown,console.error("Price tag unknown error, please contact Anyday support")}return n},new((n=void 0)||(n=Promise))((function(t,o){function i(t){try{a(s.next(t))}catch(e){o(e)}}function r(t){try{a(s.throw(t))}catch(e){o(e)}}function a(e){var s;e.done?t(e.value):(s=e.value,s instanceof n?s:new n((function(t){t(s)}))).then(i,r)}a((s=s.apply(e,[])).next())}));var e,n,s}bankersRounding(t,e){let n=e||0,s=Math.pow(10,n),o=+(n?t*s:t).toFixed(8),i=Math.floor(o),r=o-i,a=r>.5-1e-8&&r<.5+1e-8?i%2==0?i:i+1:Math.round(o);return n?a/s:a}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Gh=(()=>{class t{constructor(t){this.priceEstimateService=t}watchPrice(t,e,n){const s=hh([n.pipe(wh(void 0)),e.pipe(wh(void 0)),t.pipe(wh(void 0))]).pipe(A(([t,e,n])=>({priceTagToken:t,currency:e,totalPrice:n}))),o=s.pipe(Ih(t=>void 0!==t.currency&&void 0!==t.totalPrice&&void 0!==t.priceTagToken));return s.pipe(bh(yh(3e3)),xh(1),Yu(o)).subscribe(t=>{this.checkQuery(t)}),o.pipe(Th(1e3),Eh(t=>this.priceEstimateService.calculateEstimatedPrice(t)))}checkQuery(t){const e=[];if(void 0===t.totalPrice&&e.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===t.priceTagToken&&e.push("Price tag token not set, did you forget to specify the 'price-tag-token' attribute?"),void 0===t.currency&&e.push("Currency not set, did you forget to specify the 'currency' attribute"),e.length>0)throw new Error("Anyday price tag error: "+e.join(", "))}}return t.\u0275fac=function(e){return new(e||t)($t(qh))},t.\u0275prov=lt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class Kh{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new Jh(t,this.durationSelector))}}class Jh extends j{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){if(this.value=t,this.hasValue=!0,!this.throttled){let n;try{const{durationSelector:e}=this;n=e(t)}catch(e){return this.destination.error(e)}const s=k(this,n);!s||s.closed?this.clearThrottle():this.add(this.throttled=s)}}clearThrottle(){const{value:t,hasValue:e,throttled:n}=this;n&&(this.remove(n),this.throttled=null,n.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(t))}notifyNext(t,e,n,s){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function Xh(t,e=fh){return n=()=>yh(t,e),function(t){return t.lift(new Kh(n))};var n}try{Wh="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(bf){Wh=!1}let td=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?"browser"===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&&!Wh)&&"undefined"!=typeof CSS&&!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}}return t.\u0275fac=function(e){return new(e||t)($t(Jl))},t.\u0275prov=lt({factory:function(){return new t($t(Jl))},token:t,providedIn:"root"}),t})(),ed=(()=>{class t{}return t.\u0275mod=fe({type:t}),t.\u0275inj=ct({factory:function(e){return new(e||t)}}),t})();const nd=new At("cdk-dir-doc",{providedIn:"root",factory:function(){return Qt(zc)}});let sd=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new kl,t){const e=t.documentElement?t.documentElement.dir:null,n=(t.body?t.body.dir:null)||e;this.value="ltr"===n||"rtl"===n?n:"ltr"}}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)($t(nd,8))},t.\u0275prov=lt({factory:function(){return new t($t(nd,8))},token:t,providedIn:"root"}),t})(),od=(()=>{class t{}return t.\u0275mod=fe({type:t}),t.\u0275inj=ct({factory:function(e){return new(e||t)}}),t})(),id=(()=>{class t{constructor(t,e,n){this._ngZone=t,this._platform=e,this._scrolled=new v,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new _(e=>{this._globalSubscription||this._addGlobalListener();const n=t>0?this._scrolled.pipe(Xh(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):sh()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,e)=>this.deregister(e)),this._scrolled.complete()}ancestorScrolled(t,e){const n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(Ih(t=>!t||n.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((n,s)=>{this._scrollableContainsElement(s,t)&&e.push(s)}),e}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollableContainsElement(t,e){let n=e.nativeElement,s=t.getElementRef().nativeElement;do{if(n==s)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>function t(e,n,o,i){return s(o)&&(i=o,o=void 0),i?t(e,n,o).pipe(A(t=>l(t)?i(...t):i(t))):new _(t=>{!function t(e,n,s,o,i){let r;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){const t=e;e.addEventListener(n,s,i),r=()=>t.removeEventListener(n,s,i)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){const t=e;e.on(n,s),r=()=>t.off(n,s)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){const t=e;e.addListener(n,s),r=()=>t.removeListener(n,s)}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(let r=0,a=e.length;r1?Array.prototype.slice.call(arguments):e)}),t,o)})}(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)($t(pc),$t(td),$t(zc,8))},t.\u0275prov=lt({factory:function(){return new t($t(pc),$t(td),$t(zc,8))},token:t,providedIn:"root"}),t})(),rd=(()=>{class t{constructor(t,e,n){this._platform=t,this._change=new v,this._changeListener=t=>{this._change.next(t)},this._document=n,e.runOutsideAngular(()=>{if(t.isBrowser){const t=this._getWindow();t.addEventListener("resize",this._changeListener),t.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:e,height:n}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+n,right:t.left+e,height:n,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._getDocument(),e=this._getWindow(),n=t.documentElement,s=n.getBoundingClientRect();return{top:-s.top||t.body.scrollTop||e.scrollY||n.scrollTop||0,left:-s.left||t.body.scrollLeft||e.scrollX||n.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(Xh(t)):this._change}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}return t.\u0275fac=function(e){return new(e||t)($t(td),$t(pc),$t(zc,8))},t.\u0275prov=lt({factory:function(){return new t($t(td),$t(pc),$t(zc,8))},token:t,providedIn:"root"}),t})(),ad=(()=>{class t{}return t.\u0275mod=fe({type:t}),t.\u0275inj=ct({factory:function(e){return new(e||t)}}),t})(),ld=(()=>{class t{}return t.\u0275mod=fe({type:t}),t.\u0275inj=ct({factory:function(e){return new(e||t)},imports:[[od,ed,ad],od,ad]}),t})();class cd{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}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=Iu(-this._previousScrollPosition.left),t.style.top=Iu(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,e=t.style,n=this._document.body.style,s=e.scrollBehavior||"",o=n.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),e.scrollBehavior=n.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),e.scrollBehavior=s,n.scrollBehavior=o}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}}function ud(){return Error("Scroll strategy has already been attached.")}class hd{constructor(t,e,n,s){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=s,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){if(this._overlayRef)throw ud();this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-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 dd{enable(){}disable(){}attach(){}}function pd(t,e){return e.some(e=>t.bottome.bottom||t.righte.right)}function fd(t,e){return e.some(e=>t.tope.bottom||t.lefte.right)}class gd{constructor(t,e,n,s){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=s,this._scrollSubscription=null}attach(t){if(this._overlayRef)throw ud();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 t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:n}=this._viewportRuler.getViewportSize();pd(t,[{width:e,height:n,bottom:n,right:e,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 yd=(()=>{class t{constructor(t,e,n,s){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=()=>new dd,this.close=t=>new hd(this._scrollDispatcher,this._ngZone,this._viewportRuler,t),this.block=()=>new cd(this._viewportRuler,this._document),this.reposition=t=>new gd(this._scrollDispatcher,this._viewportRuler,this._ngZone,t),this._document=s}}return t.\u0275fac=function(e){return new(e||t)($t(id),$t(rd),$t(pc),$t(zc))},t.\u0275prov=lt({factory:function(){return new t($t(id),$t(rd),$t(pc),$t(zc))},token:t,providedIn:"root"}),t})();class md{constructor(t){if(this.scrollStrategy=new dd,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,this.excludeFromOutsideClick=[],t){const e=Object.keys(t);for(const n of e)void 0!==t[n]&&(this[n]=t[n])}}}class _d{constructor(t,e,n,s,o){this.offsetX=n,this.offsetY=s,this.panelClass=o,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}class wd{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}function bd(t,e){if("top"!==e&&"bottom"!==e&&"center"!==e)throw Error(`ConnectedPosition: Invalid ${t} "${e}". Expected "top", "bottom" or "center".`)}function Md(t,e){if("start"!==e&&"end"!==e&&"center"!==e)throw Error(`ConnectedPosition: Invalid ${t} "${e}". Expected "start", "end" or "center".`)}let Cd=(()=>{class t{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this.detach()}}return t.\u0275fac=function(e){return new(e||t)($t(zc))},t.\u0275prov=lt({factory:function(){return new t($t(zc))},token:t,providedIn:"root"}),t})(),vd=(()=>{class t extends Cd{constructor(t){super(t),this._keydownListener=t=>{const e=this._attachedOverlays;for(let n=e.length-1;n>-1;n--)if(e[n]._keydownEvents.observers.length>0){e[n]._keydownEvents.next(t);break}}}add(t){super.add(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return t.\u0275fac=function(e){return new(e||t)($t(zc))},t.\u0275prov=lt({factory:function(){return new t($t(zc))},token:t,providedIn:"root"}),t})(),xd=(()=>{class t extends Cd{constructor(t,e){super(t),this._platform=e,this._cursorStyleIsSet=!1,this._clickListener=t=>{const e=t.composedPath?t.composedPath()[0]:t.target,n=this._attachedOverlays;for(let s=n.length-1;s>-1;s--){const o=n[s];if(!(o._outsidePointerEvents.observers.length<1)){if([...o.getConfig().excludeFromOutsideClick,o.overlayElement].some(t=>t.contains(e)))break;o._outsidePointerEvents.next(t)}}}}add(t){super.add(t),this._isAttached||(this._document.body.addEventListener("click",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=this._document.body.style.cursor,this._document.body.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("click",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}}return t.\u0275fac=function(e){return new(e||t)($t(zc),$t(td))},t.\u0275prov=lt({factory:function(){return new t($t(zc),$t(td))},token:t,providedIn:"root"}),t})();const Od=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine);let Pd=(()=>{class t{constructor(t,e){this._platform=e,this._document=t}ngOnDestroy(){const t=this._containerElement;t&&t.parentNode&&t.parentNode.removeChild(t)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t=this._platform?this._platform.isBrowser:"undefined"!=typeof window;if(t||Od){const t=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]');for(let e=0;ethis._backdropClick.next(t),this._keydownEvents=new v,this._outsidePointerEvents=new v,s.scrollStrategy&&(this._scrollStrategy=s.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=s.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){let e=this._portalOutlet.attach(t);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.asObservable().pipe(xh(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),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._location&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher&&this._outsideClickDispatcher.add(this),e}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._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher&&this._outsideClickDispatcher.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher&&this._outsideClickDispatcher.remove(this),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick.asObservable()}attachments(){return this._attachments.asObservable()}detachments(){return this._detachments.asObservable()}keydownEvents(){return this._keydownEvents.asObservable()}outsidePointerEvents(){return this._outsidePointerEvents.asObservable()}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=Object.assign(Object.assign({},this._config),t),this._updateElementSize()}setDirection(t){this._config=Object.assign(Object.assign({},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=Iu(this._config.width),t.height=Iu(this._config.height),t.minWidth=Iu(this._config.minWidth),t.minHeight=Iu(this._config.minHeight),t.maxWidth=Iu(this._config.maxWidth),t.maxHeight=Iu(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"auto":"none"}_attachBackdrop(){this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),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),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t,e=this._backdropElement;if(!e)return;let n=()=>{e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",n),e.parentNode&&e.parentNode.removeChild(e)),this._backdropElement==e&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(e,this._config.backdropClass,!1),clearTimeout(t)};e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",n)}),e.style.pointerEvents="none",t=this._ngZone.runOutsideAngular(()=>setTimeout(n,500))}_toggleClasses(t,e,n){const s=t.classList;Au(e).forEach(t=>{t&&(n?s.add(t):s.remove(t))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.asObservable().pipe(Yu($(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._previousHostParent.removeChild(this._host)),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}}const Ld=/([A-Za-z%]+)$/;class Sd{constructor(t,e,n,s,o){this._viewportRuler=e,this._document=n,this._platform=s,this._overlayContainer=o,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 v,this._resizeSubscription=h.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges.asObservable(),this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){if(this._overlayRef&&t!==this._overlayRef)throw Error("This position strategy is already attached to an overlay");this._validatePositions(),t.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),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();const t=this._originRect,e=this._overlayRect,n=this._viewportRect,s=[];let o;for(let i of this._preferredPositions){let r=this._getOriginPoint(t,i),a=this._getOverlayPoint(r,e,i),l=this._getOverlayFit(a,e,n,i);if(l.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(i,r);this._canFitWithFlexibleDimensions(l,a,n)?s.push({position:i,origin:r,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(r,i)}):(!o||o.overlayFit.visibleAreae&&(e=s,t=n)}return this._isPushed=!1,void this._applyPosition(t.position,t.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(o.position,o.originPoint);this._applyPosition(o.position,o.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Dd(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}}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,e){let n,s;if("center"==e.originX)n=t.left+t.width/2;else{const s=this._isRtl()?t.right:t.left,o=this._isRtl()?t.left:t.right;n="start"==e.originX?s:o}return s="center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom,{x:n,y:s}}_getOverlayPoint(t,e,n){let s,o;return s="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,o="center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height,{x:t.x+s,y:t.y+o}}_getOverlayFit(t,e,n,s){let{x:o,y:i}=t,r=this._getOffset(s,"x"),a=this._getOffset(s,"y");r&&(o+=r),a&&(i+=a);let l=0-i,c=i+e.height-n.height,u=this._subtractOverflows(e.width,0-o,o+e.width-n.width),h=this._subtractOverflows(e.height,l,c),d=u*h;return{visibleArea:d,isCompletelyWithinViewport:e.width*e.height===d,fitsInViewportVertically:h===e.height,fitsInViewportHorizontally:u==e.width}}_canFitWithFlexibleDimensions(t,e,n){if(this._hasFlexibleDimensions){const s=n.bottom-e.y,o=n.right-e.x,i=Nd(this._overlayRef.getConfig().minHeight),r=Nd(this._overlayRef.getConfig().minWidth),a=t.fitsInViewportHorizontally||null!=r&&r<=o;return(t.fitsInViewportVertically||null!=i&&i<=s)&&a}return!1}_pushOverlayOnScreen(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const s=this._viewportRect,o=Math.max(t.x+e.width-s.right,0),i=Math.max(t.y+e.height-s.bottom,0),r=Math.max(s.top-n.top-t.y,0),a=Math.max(s.left-n.left-t.x,0);let l=0,c=0;return l=e.width<=s.width?a||-o:t.xs&&!this._isInitialRender&&!this._growAfterOpen&&(i=t.y-s/2)}if("end"===e.overlayX&&!s||"start"===e.overlayX&&s)c=n.width-t.x+this._viewportMargin,a=t.x-this._viewportMargin;else if("start"===e.overlayX&&!s||"end"===e.overlayX&&s)l=t.x,a=n.right-t.x;else{const e=Math.min(n.right-t.x+n.left,t.x),s=this._lastBoundingBoxSize.width;a=2*e,l=t.x-e,a>s&&!this._isInitialRender&&!this._growAfterOpen&&(l=t.x-s/2)}return{top:i,left:l,bottom:r,right:c,width:a,height:o}}_setBoundingBoxStyles(t,e){const n=this._calculateBoundingBoxRect(t,e);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const s={};if(this._hasExactPosition())s.top=s.left="0",s.bottom=s.right=s.maxHeight=s.maxWidth="",s.width=s.height="100%";else{const t=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;s.height=Iu(n.height),s.top=Iu(n.top),s.bottom=Iu(n.bottom),s.width=Iu(n.width),s.left=Iu(n.left),s.right=Iu(n.right),s.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",s.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",t&&(s.maxHeight=Iu(t)),o&&(s.maxWidth=Iu(o))}this._lastBoundingBoxSize=n,Dd(this._boundingBox.style,s)}_resetBoundingBoxStyles(){Dd(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Dd(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const n={},s=this._hasExactPosition(),o=this._hasFlexibleDimensions,i=this._overlayRef.getConfig();if(s){const s=this._viewportRuler.getViewportScrollPosition();Dd(n,this._getExactOverlayY(e,t,s)),Dd(n,this._getExactOverlayX(e,t,s))}else n.position="static";let r="",a=this._getOffset(e,"x"),l=this._getOffset(e,"y");a&&(r+=`translateX(${a}px) `),l&&(r+=`translateY(${l}px)`),n.transform=r.trim(),i.maxHeight&&(s?n.maxHeight=Iu(i.maxHeight):o&&(n.maxHeight="")),i.maxWidth&&(s?n.maxWidth=Iu(i.maxWidth):o&&(n.maxWidth="")),Dd(this._pane.style,n)}_getExactOverlayY(t,e,n){let s={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n));let i=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return o.y-=i,"bottom"===t.overlayY?s.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":s.top=Iu(o.y),s}_getExactOverlayX(t,e,n){let s,o={left:"",right:""},i=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,n)),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=Iu(i.x),o}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(t=>t.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:fd(t,n),isOriginOutsideView:pd(t,n),isOverlayClipped:fd(e,n),isOverlayOutsideView:pd(e,n)}}_subtractOverflows(t,...e){return e.reduce((t,e)=>t-Math.max(e,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+t-this._viewportMargin,bottom:n.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){if(!this._preferredPositions.length)throw Error("FlexibleConnectedPositionStrategy: At least one position is required.");this._preferredPositions.forEach(t=>{Md("originX",t.originX),bd("originY",t.originY),Md("overlayX",t.overlayX),bd("overlayY",t.overlayY)})}_addPanelClasses(t){this._pane&&Au(t).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof Jr)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,n=t.height||0;return{top:t.y,bottom:t.y+n,left:t.x,right:t.x+e,height:n,width:e}}}function Dd(t,e){for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function Nd(t){if("number"!=typeof t&&null!=t){const[e,n]=t.split(Ld);return n&&"px"!==n?null:parseFloat(e)}return t||null}class Td{constructor(t,e,n,s,o,i,r){this._preferredPositions=[],this._positionStrategy=new Sd(n,s,o,i,r).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,e)}get onPositionChange(){return this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(t){this._overlayRef=t,this._positionStrategy.attach(t),this._direction&&(t.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(t){this._positionStrategy.withScrollableContainers(t)}withFallbackPosition(t,e,n,s){const o=new _d(t,e,n,s);return this._preferredPositions.push(o),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(t){return this._overlayRef?this._overlayRef.setDirection(t):this._direction=t,this}withOffsetX(t){return this._positionStrategy.withDefaultOffsetX(t),this}withOffsetY(t){return this._positionStrategy.withDefaultOffsetY(t),this}withLockedPosition(t){return this._positionStrategy.withLockedPosition(t),this}withPositions(t){return this._preferredPositions=t.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(t){return this._positionStrategy.setOrigin(t),this}}class kd{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add("cdk-global-overlay-wrapper"),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-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._justifyContent="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,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:s,height:o,maxWidth:i,maxHeight:r}=n,a=!("100%"!==s&&"100vw"!==s||i&&"100%"!==i&&"100vw"!==i),l=!("100%"!==o&&"100vh"!==o||r&&"100%"!==r&&"100vh"!==r);t.position=this._cssPosition,t.marginLeft=a?"0":this._leftOffset,t.marginTop=l?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,a?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove("cdk-global-overlay-wrapper"),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let jd=(()=>{class t{constructor(t,e,n,s){this._viewportRuler=t,this._document=e,this._platform=n,this._overlayContainer=s}global(){return new kd}connectedTo(t,e,n){return new Td(e,n,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(t){return new Sd(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\u0275fac=function(e){return new(e||t)($t(rd),$t(zc),$t(td),$t(Pd))},t.\u0275prov=lt({factory:function(){return new t($t(rd),$t(zc),$t(td),$t(Pd))},token:t,providedIn:"root"}),t})(),Ad=0,Id=(()=>{class t{constructor(t,e,n,s,o,i,r,a,l,c,u){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=n,this._positionBuilder=s,this._keyboardDispatcher=o,this._injector=i,this._ngZone=r,this._document=a,this._directionality=l,this._location=c,this._outsideClickDispatcher=u}create(t){const e=this._createHostElement(),n=this._createPaneElement(e),s=this._createPortalOutlet(n),o=new md(t);return o.direction=o.direction||this._directionality.value,new Ed(s,e,n,o,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(t){const e=this._document.createElement("div");return e.id="cdk-overlay-"+Ad++,e.classList.add("cdk-overlay-pane"),t.appendChild(e),e}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(Nc)),new Bu(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t.\u0275fac=function(e){return new(e||t)($t(yd),$t(Pd),$t(Kr),$t(jd),$t(vd),$t(Hi),$t(pc),$t(zc),$t(sd),$t(Kc,8),$t(xd,8))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const Rd={provide:new At("cdk-connected-overlay-scroll-strategy"),deps:[Id],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let zd=(()=>{class t{}return t.\u0275mod=fe({type:t}),t.\u0275inj=ct({factory:function(e){return new(e||t)},providers:[Id,Rd],imports:[[od,Uu,ld],ld]}),t})();const Fd=["linkElement"],Vd=function(t,e,n){return[t,e,"symbol-narrow","1.2-2",n]};function Hd(t,e){if(1&t&&(er(0,"span",24),bl(1,25),Ll(2,"currency"),Ll(3,"number"),nr()),2&t){const t=hr();Zs(3),Ml(Dl(2,2,Pl(11,Vd,null==t.model?null:t.model.monthlyPayment,null==t.model?null:t.model.currency,t.currencyLocale)))(Sl(3,8,null==t.model?null:t.model.splitCount,"0.0-0")),Cl(1)}}const Bd=function(t,e,n){return[t,e,"symbol-narrow","1.0-0",n]};function Ud(t,e){if(1&t&&(er(0,"span",24),bl(1,26),Ll(2,"currency"),nr()),2&t){const t=hr();Zs(2),Ml(Dl(2,1,Pl(7,Bd,t.minimumPrice,null==t.model?null:t.model.currency,t.currencyLocale))),Cl(1)}}function Yd(t,e){1&t&&(er(0,"span",31),bl(1,32),nr())}function $d(t,e){if(1&t&&(er(0,"span",31),bl(1,33),Ll(2,"async"),nr()),2&t){const t=hr(2);Zs(2),Ml(function(t,e,n){const s=Ge(),o=Ve(s,t);return Tl(s,Nl(s,t)?function(t,e,n,s,o,i){const r=e+n;return qi(t,r,o)?Zi(t,r+1,i?s.call(i,o):s(o)):El(t,r+1)}(s,rn(),e,o.transform,n,o):o.transform(n))}(2,1,t.priceTagToken$)||"N/A"),Cl(1)}}function Qd(t,e){if(1&t&&(er(0,"span",31),bl(1,34),nr()),2&t){const t=hr(2);Zs(1),Ml(t.origin),Cl(1)}}function Wd(t,e){1&t&&(er(0,"span",31),bl(1,35),nr())}function Zd(t,e){1&t&&(er(0,"span",31),bl(1,36),nr())}function qd(t,e){if(1&t&&(er(0,"div",27),er(1,"div",28),sr(2,"i",29),Ki(3,Yd,2,0,"span",30),Ki(4,$d,3,3,"span",30),Ki(5,Qd,2,1,"span",30),Ki(6,Wd,2,0,"span",30),Ki(7,Zd,2,0,"span",30),nr(),nr()),2&t){const t=hr();Zs(1),Xi("ngSwitch",t.currentError),Zs(2),Xi("ngSwitchCase",t.ErrorTypes.MerchantDeactivated),Zs(1),Xi("ngSwitchCase",t.ErrorTypes.WebShopNotfound),Zs(1),Xi("ngSwitchCase",t.ErrorTypes.WebShopHostNotAllowed),Zs(1),Xi("ngSwitchCase",t.ErrorTypes.CannotConnectToAPI),Zs(1),Xi("ngSwitchCase",t.ErrorTypes.Unknown)}}function Gd(t,e){if(1&t&&(er(0,"div",79),er(1,"h2",80),bl(2,81),nr(),er(3,"span"),Nr(4),Ll(5,"currency"),nr(),er(6,"span",82),Nr(7,"x"),nr(),er(8,"span"),Nr(9),nr(),er(10,"span"),Nr(11,"\xa0"),nr(),er(12,"span"),bl(13,83),nr(),er(14,"span",82),Nr(15,"="),nr(),er(16,"span"),Nr(17),Ll(18,"currency"),nr(),nr()),2&t){const t=hr(3);Zs(4),Tr(Dl(5,3,Pl(15,Vd,t.model.monthlyPayment,t.model.currency,t.currencyLocale))),Zs(5),Tr(t.model.splitCount),Zs(8),Tr(Dl(18,9,Pl(19,Vd,t.model.totalPrice,t.model.currency,t.currencyLocale)))}}function Kd(t,e){if(1&t&&(er(0,"div",79),er(1,"h2",80),bl(2,84),Ll(3,"currency"),nr(),nr()),2&t){const t=hr(3);Zs(3),Ml(Dl(3,2,Pl(8,Bd,t.minimumPrice,t.model.currency,t.currencyLocale)))(t.model.splitCount),Cl(2)}}function Jd(t,e){if(1&t){const t=rr();er(0,"div",39),er(1,"div",40),er(2,"div",41),er(3,"div",42),er(4,"i",43),lr("click",(function(){return Je(t),hr(2).closeTemplateModal()})),nr(),nr(),er(5,"div",44),er(6,"div",45),er(7,"div",2),er(8,"div",46),er(9,"div",47),er(10,"img",48),function(t,e){const n=Ge(),s=Ke();!function(t,e,n,s){const o=Xe().index-20,i=[];for(let r=0;r{class t extends Wu{constructor(t,e,n,s,o,i){super(),this.priceService=t,this.watcherService=e,this.render=n,this.localeId=s,this.viewContainerRef=o,this.overlay=i,this.componentClass="anyday-split",this._totalPrice$=new ah(1),this._totalPriceSelector$=new ah(1),this._priceFormatLocale$=new ah(1),this._currency$=new ah(1),this._environment$=new ch("production"),this.priceTagToken$=new ah(1),this._linkElement$=new ah(1),this.currentError=Qh.Unknown,this.ErrorTypes=Qh,this.isReady=!1,this.origin=window.location.origin,this.formatLocale=s,this.overlayRef=this.overlay.create({hasBackdrop:!0,positionStrategy:this.overlay.position().global().centerHorizontally().centerVertically()}),this.overlayRef.backdropClick().subscribe(()=>this.closeTemplateModal())}get hide(){return this.currentError===Qh.CannotConnectToAPI||this.currentError===Qh.Unknown}set totalPrice(t){this._totalPrice$.next(t)}set environment(t){this._environment$.next(t)}set totalPriceSelector(t){this._totalPriceSelector$.next(t)}set priceFormatLocale(t){this._priceFormatLocale$.next(t)}set currency(t){this._currency$.next(t)}set priceTagToken(t){this.priceTagToken$.next(t)}set linkElement(t){this._linkElement$.next(t.nativeElement)}get logoPath(){return Nu.host+"/assets/img/anyday-logo-black.svg"}get signUpUrl(){return`${Nu.host}/${this.localeId}/shopper`}get hidePriceTag(){var t;return!this.model||!this.isReady||this.currentError!==this.ErrorTypes.Fine||!this.model||(null===(t=this.model)||void 0===t?void 0:t.totalPrice)>this.maximumPrice}get lessThanMinimum(){var t;return!this.model||!this.isReady||this.currentError!==this.ErrorTypes.Fine||!this.model||(null===(t=this.model)||void 0===t?void 0:t.totalPrice)this.formatLocale=t),this.watcherService.watchSelector$(this._totalPriceSelector$,this._priceFormatLocale$).subscribe(t=>{this.totalPrice=t}),this.priceService.watchPrice(this._totalPrice$,this._currency$,this.priceTagToken$).subscribe(t=>{this.model=t.estimate,this.currentError=t.error,this.isReady=!0}),hh([this._totalPrice$.pipe(wh(void 0)),this._environment$.pipe(wh(void 0)),this._totalPriceSelector$.pipe(wh(void 0)),this._priceFormatLocale$.pipe(wh(void 0)),this._currency$.pipe(wh(void 0)),this.priceTagToken$.pipe(wh(void 0)),this._linkElement$.pipe(wh(void 0))]).pipe(A(([t,e,n,s,o,i,r])=>({totalPrice:t,environment:e,totalPriceSelector:n,priceFormatLocale:s,currency:o,priceTagToken:i,linkElement:r})),bh(yh(2500)),xh(1)).subscribe(t=>{this.validateInputs(t)})}validateInputs(t){let e=function(t,e){var n={};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&e.indexOf(s)<0&&(n[s]=t[s]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(s=Object.getOwnPropertySymbols(t);o{switch(t){case"test":Nu.host="https://anyday-split.northeurope.cloudapp.azure.com";break;case"staging":Nu.host="https://anyday-staging.northeurope.cloudapp.azure.com";break;case"dev":Nu.host="https://localhost:56747";break;default:Nu.host="https://my.anyday.io"}})}setupLinkElement(){this._linkElement$.pipe(Eh(t=>this.watcherService.observe(t)),this.takeUntilDestroyed()).subscribe(t=>{this.render.setAttribute(t,"data-content",t.innerText)})}}return t.\u0275fac=function(e){return new(e||t)(Ji(Gh),Ji($h),Ji(na),Ji(ec),Ji(xa),Ji(Id))},t.\u0275cmp=ue({type:t,selectors:[["anyday-price-tag"]],viewQuery:function(t,e){var n,s,o,i,r,a;1&t&&(i=Fd,r=!0,function(t,e,n,s,o,i){t.firstCreatePass&&function(t,e,n){null===t.queries&&(t.queries=new Fl),t.queries.track(new Vl(e,-1))}(t,new zl(n,s,!1,o)),function(t,e){const n=new Al;yo(t,e,n,n.destroy),null===e[19]&&(e[19]=new Rl),e[19].queries.push(new Il(n))}(t,e)}(Ke(),Ge(),i,r,a)),2&t&&function(t){const e=Ge(),n=Ke(),s=dn();pn(s+1);const o=Yl(n,s);if(t.dirty&&Ue(e)===o.metadata.isStatic){if(null===o.matches)t.reset([]);else{const i=o.crossesNgTemplate?function t(e,n,s,o){const i=e.queries.getByIndex(s),r=i.matches;if(null!==r){const a=Ul(e,n,i,s);for(let e=0;e0)o.push(a[e/2]);else{const i=r[e+1],a=n[-s];for(let e=10;e{const t=Element.prototype;return t.matches||t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector})(),sp={schedule(t,e){const n=setTimeout(t,e);return()=>clearTimeout(n)},scheduleBeforeRender(t){if("undefined"==typeof window)return sp.schedule(t,0);if(void 0===window.requestAnimationFrame)return sp.schedule(t,16);const e=window.requestAnimationFrame(t);return()=>window.cancelAnimationFrame(e)}};function op(t,e,n){let s=n;return function(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}(t)&&e.some((e,n)=>!("*"===e||!function(t,e){return np.call(t,e)}(t,e)||(s=n,0))),s}class ip{constructor(t,e){this.componentFactory=e.get(Kr).resolveComponentFactory(t)}create(t){return new rp(this.componentFactory,t)}}class rp{constructor(t,e){this.componentFactory=t,this.injector=e,this.eventEmitters=new ah(1),this.events=this.eventEmitters.pipe(Eh(t=>$(...t))),this.componentRef=null,this.inputChanges=null,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set,this.ngZone=this.injector.get(pc),this.elementZone="undefined"==typeof Zone?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=sp.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null)},10))})}getInputValue(t){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,e){this.runInZone(()=>{var n,s;null!==this.componentRef?((n=e)!==(s=this.getInputValue(t))&&(n==n||s==s)||void 0===e&&this.unchangedInputs.has(t))&&(this.recordInputChange(t,e),this.componentRef.instance[t]=e,this.scheduleDetectChanges()):this.initialInputValues.set(t,e)})}initializeComponent(t){const e=Hi.create({providers:[],parent:this.injector}),n=function(t,e){const n=t.childNodes,s=e.map(()=>[]);let o=-1;e.some((t,e)=>"*"===t&&(o=e,!0));for(let i=0,r=n.length;i{this.implementsOnChanges&&this.unchangedInputs.add(t),this.initialInputValues.has(t)&&this.setInputValue(t,this.initialInputValues.get(t))}),this.initialInputValues.clear()}initializeOutputs(t){const e=this.componentFactory.outputs.map(({propName:e,templateName:n})=>t.instance[e].pipe(A(t=>({name:n,value:t}))));this.eventEmitters.next(e)}callNgOnChanges(t){if(!this.implementsOnChanges||null===this.inputChanges)return;const e=this.inputChanges;this.inputChanges=null,t.instance.ngOnChanges(e)}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=sp.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(t,e){if(null!==this.componentRef&&!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const n=this.inputChanges[t];if(n)return void(n.currentValue=e);const s=this.unchangedInputs.has(t);this.unchangedInputs.delete(t);const o=s?void 0:this.getInputValue(t);this.inputChanges[t]=new Le(o,e,s)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}}class ap extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}function lp(t,e){t.forEach(({propName:t})=>{Object.defineProperty(e,t,{get(){return this.ngElementStrategy.getInputValue(t)},set(e){this.ngElementStrategy.setInputValue(t,e)},configurable:!0,enumerable:!0})})}class cp extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var t;t=new cp,Ic||(Ic=t)}getProperty(t,e){return t[e]}log(t){window.console&&window.console.log&&window.console.log(t)}logGroup(t){window.console&&window.console.group&&window.console.group(t)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){return t.parentNode&&t.parentNode.removeChild(t),t}getValue(t){return t.value}createElement(t,e){return(e=e||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,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(t){const e=hp||(hp=document.querySelector("base"),hp)?hp.getAttribute("href"):null;return null==e?null:(n=e,up||(up=document.createElement("a")),up.setAttribute("href",n),"/"===up.pathname.charAt(0)?up.pathname:"/"+up.pathname);var n}resetBaseElement(){hp=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(t){return pu(document.cookie,t)}}let up,hp=null;const dp=new At("TRANSITION_ID"),pp=[{provide:Ql,useFactory:function(t,e,n){return()=>{n.get(Wl).donePromise.then(()=>{const n=Rc();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[dp,zc,Hi],multi:!0}];class fp{static init(){var t;t=new fp,Oc=t}addToWindow(t){Et.getAngularTestability=(e,n=!0)=>{const s=t.findTestabilityInTree(e,n);if(null==s)throw new Error("Could not find testability for element.");return s},Et.getAllAngularTestabilities=()=>t.getAllTestabilities(),Et.getAllAngularRootElements=()=>t.getAllRootElements(),Et.frameworkStabilizers||(Et.frameworkStabilizers=[]),Et.frameworkStabilizers.push(t=>{const e=Et.getAllAngularTestabilities();let n=e.length,s=!1;const o=function(e){s=s||e,n--,0==n&&t(s)};e.forEach((function(t){t.whenStable(o)}))})}findTestabilityInTree(t,e,n){if(null==e)return null;const s=t.getTestability(e);return null!=s?s:n?Rc().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}const gp=new At("EventManagerPlugins");let yp=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let s=0;s{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),wp=(()=>{class t extends _p{constructor(t){super(),this._doc=t,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(t.head)}_addStylesToHost(t,e){t.forEach(t=>{const n=this._doc.createElement("style");n.textContent=t,this._styleNodes.add(e.appendChild(n))})}addHost(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}removeHost(t){this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach(e=>this._addStylesToHost(t,e))}ngOnDestroy(){this._styleNodes.forEach(t=>Rc().remove(t))}}return t.\u0275fac=function(e){return new(e||t)($t(zc))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const bp={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/"},Mp=/%COMP%/g;function Cp(t,e,n){for(let s=0;s{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let xp=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new Op(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case re.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new Pp(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case re.Native:case re.ShadowDom:return new Ep(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=Cp(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)($t(yp),$t(wp),$t(Zl))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();class Op{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(bp[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,s){if(s){e=s+":"+e;const o=bp[s];o?t.setAttributeNS(o,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const s=bp[n];s?t.removeAttributeNS(s,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,s){s&ea.DashCase?t.style.setProperty(e,n,s&ea.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&ea.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,vp(n)):this.eventManager.addEventListener(t,e,vp(n))}}class Pp extends Op{constructor(t,e,n,s){super(t),this.component=n;const o=Cp(s+"-"+n.id,n.styles,[]);e.addStyles(o),this.contentAttr="_ngcontent-%COMP%".replace(Mp,s+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(Mp,s+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class Ep extends Op{constructor(t,e,n,s){super(t),this.sharedStylesHost=e,this.hostEl=n,this.component=s,this.shadowRoot=s.encapsulation===re.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const o=Cp(s.id,s.styles,[]);for(let i=0;i{class t extends mp{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}return t.\u0275fac=function(e){return new(e||t)($t(zc))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const Sp=["alt","control","meta","shift"],Dp={"\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"},Np={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},Tp={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let kp=(()=>{class t extends mp{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,s){const o=t.parseEventName(n),i=t.eventCallback(o.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Rc().onAndCancel(e,o.domEventName,i))}static parseEventName(e){const n=e.toLowerCase().split("."),s=n.shift();if(0===n.length||"keydown"!==s&&"keyup"!==s)return null;const o=t._normalizeKey(n.pop());let i="";if(Sp.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),i+=t+".")}),i+=o,0!=n.length||0===o.length)return null;const r={};return r.domEventName=s,r.fullKey=i,r}static getEventFullKey(t){let e="",n=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&Np.hasOwnProperty(e)&&(e=Np[e]))}return Dp[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),Sp.forEach(s=>{s!=n&&(0,Tp[s])(t)&&(e+=s+".")}),e+=n,e}static eventCallback(e,n,s){return o=>{t.getEventFullKey(o)===e&&s.runGuarded(()=>n(o))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)($t(zc))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const jp=Ec(kc,"browser",[{provide:Jl,useValue:"browser"},{provide:Kl,useValue:function(){cp.makeCurrent(),fp.init()},multi:!0},{provide:zc,useFactory:function(){return function(t){Te=t}(document),document},deps:[]}]),Ap=[[],{provide:Ei,useValue:"root"},{provide:ls,useFactory:function(){return new ls},deps:[]},{provide:gp,useClass:Lp,multi:!0,deps:[zc,pc,Jl]},{provide:gp,useClass:kp,multi:!0,deps:[zc]},[],{provide:xp,useClass:xp,deps:[yp,wp,Zl]},{provide:ta,useExisting:xp},{provide:_p,useExisting:wp},{provide:wp,useClass:wp,deps:[zc]},{provide:Mc,useClass:Mc,deps:[pc]},{provide:yp,useClass:yp,deps:[gp,pc]},[]];let Ip=(()=>{class t{constructor(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:t,providers:[{provide:Zl,useValue:e.appId},{provide:dp,useExisting:Zl},pp]}}}return t.\u0275mod=fe({type:t}),t.\u0275inj=ct({factory:function(e){return new(e||t)($t(t,12))},providers:Ap,imports:[Du,Ac]}),t})();"undefined"!=typeof window&&window;class Rp{}class zp{}class Fp{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const n=t.slice(0,e),s=n.toLowerCase(),o=t.slice(e+1).trim();this.maybeSetNormalizedName(n,s),this.headers.has(s)?this.headers.get(s).push(o):this.headers.set(s,[o])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const s=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(s,n),this.maybeSetNormalizedName(e,s))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof Fp?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(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new Fp;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof Fp?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const s=("a"===t.op?this.headers.get(e):void 0)||[];s.push(...n),this.headers.set(e,s);break;case"d":const o=t.value;if(o){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===o.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class Vp{encodeKey(t){return Hp(t)}encodeValue(t){return Hp(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function Hp(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}class Bp{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new Vp,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const n=new Map;return t.length>0&&t.split("&").forEach(t=>{const s=t.indexOf("="),[o,i]=-1==s?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,s)),e.decodeValue(t.slice(s+1))],r=n.get(o)||[];r.push(i),n.set(o,r)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e];this.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new Bp({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat([t]),e}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 e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(t.value),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const n=e.indexOf(t.value);-1!==n&&e.splice(n,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}function Up(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function Yp(t){return"undefined"!=typeof Blob&&t instanceof Blob}function $p(t){return"undefined"!=typeof FormData&&t instanceof FormData}class Qp{constructor(t,e,n,s){let o;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||s?(this.body=void 0!==n?n:null,o=s):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.params&&(this.params=o.params)),this.headers||(this.headers=new Fp),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?");this.urlWithParams=e+(-1===n?"?":ne.set(n,t.setHeaders[n]),a)),t.setParams&&(l=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),l)),new Qp(e,n,o,{params:l,headers:a,reportProgress:r,responseType:s,withCredentials:i})}}var Wp=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}({});class Zp{constructor(t,e=200,n="OK"){this.headers=t.headers||new Fp,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class qp extends Zp{constructor(t={}){super(t),this.type=Wp.ResponseHeader}clone(t={}){return new qp({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 Gp extends Zp{constructor(t={}){super(t),this.type=Wp.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Gp({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 Kp extends Zp{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 Jp(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let Xp=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let s;if(t instanceof Qp)s=t;else{let o=void 0;o=n.headers instanceof Fp?n.headers:new Fp(n.headers);let i=void 0;n.params&&(i=n.params instanceof Bp?n.params:new Bp({fromObject:n.params})),s=new Qp(t,e,void 0!==n.body?n.body:null,{headers:o,params:i,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const o=sh(s).pipe(V(t=>this.handler.handle(t),void 0,1));if(t instanceof Qp||"events"===n.observe)return o;const i=o.pipe(Ih(t=>t instanceof Gp));switch(n.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return i.pipe(A(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return i.pipe(A(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return i.pipe(A(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return i.pipe(A(t=>t.body))}case"response":return i;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new Bp).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,n={}){return this.request("PATCH",t,Jp(n,e))}post(t,e,n={}){return this.request("POST",t,Jp(n,e))}put(t,e,n={}){return this.request("PUT",t,Jp(n,e))}}return t.\u0275fac=function(e){return new(e||t)($t(Rp))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();class tf{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const ef=new At("HTTP_INTERCEPTORS");let nf=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const sf=/^\)\]\}',?\n/;class of{}let rf=(()=>{class t{constructor(){}build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),af=(()=>{class t{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new _(e=>{const n=this.xhrFactory.build();if(n.open(t.method,t.urlWithParams),t.withCredentials&&(n.withCredentials=!0),t.headers.forEach((t,e)=>n.setRequestHeader(t,e.join(","))),t.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&n.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();n.responseType="json"!==e?e:"text"}const s=t.serializeBody();let o=null;const i=()=>{if(null!==o)return o;const e=1223===n.status?204:n.status,s=n.statusText||"OK",i=new Fp(n.getAllResponseHeaders()),r=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(n)||t.url;return o=new qp({headers:i,status:e,statusText:s,url:r}),o},r=()=>{let{headers:s,status:o,statusText:r,url:a}=i(),l=null;204!==o&&(l=void 0===n.response?n.responseText:n.response),0===o&&(o=l?200:0);let c=o>=200&&o<300;if("json"===t.responseType&&"string"==typeof l){const t=l;l=l.replace(sf,"");try{l=""!==l?JSON.parse(l):null}catch(u){l=t,c&&(c=!1,l={error:u,text:l})}}c?(e.next(new Gp({body:l,headers:s,status:o,statusText:r,url:a||void 0})),e.complete()):e.error(new Kp({error:l,headers:s,status:o,statusText:r,url:a||void 0}))},a=t=>{const{url:s}=i(),o=new Kp({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:s||void 0});e.error(o)};let l=!1;const c=s=>{l||(e.next(i()),l=!0);let o={type:Wp.DownloadProgress,loaded:s.loaded};s.lengthComputable&&(o.total=s.total),"text"===t.responseType&&n.responseText&&(o.partialText=n.responseText),e.next(o)},u=t=>{let n={type:Wp.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener("load",r),n.addEventListener("error",a),t.reportProgress&&(n.addEventListener("progress",c),null!==s&&n.upload&&n.upload.addEventListener("progress",u)),n.send(s),e.next({type:Wp.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("load",r),t.reportProgress&&(n.removeEventListener("progress",c),null!==s&&n.upload&&n.upload.removeEventListener("progress",u)),n.readyState!==n.DONE&&n.abort()}})}}return t.\u0275fac=function(e){return new(e||t)($t(of))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})();const lf=new At("XSRF_COOKIE_NAME"),cf=new At("XSRF_HEADER_NAME");class uf{}let hf=(()=>{class t{constructor(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=pu(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)($t(zc),$t(Jl),$t(lf))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),df=(()=>{class t{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);const s=this.tokenService.getToken();return null===s||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,s)})),e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)($t(uf),$t(cf))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),pf=(()=>{class t{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(ef,[]);this.chain=t.reduceRight((t,e)=>new tf(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)($t(zp),$t(Hi))},t.\u0275prov=lt({token:t,factory:t.\u0275fac}),t})(),ff=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:df,useClass:nf}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:lf,useValue:e.cookieName}:[],e.headerName?{provide:cf,useValue:e.headerName}:[]]}}}return t.\u0275mod=fe({type:t}),t.\u0275inj=ct({factory:function(e){return new(e||t)},providers:[df,{provide:ef,useExisting:df,multi:!0},{provide:uf,useClass:hf},{provide:lf,useValue:"XSRF-TOKEN"},{provide:cf,useValue:"X-XSRF-TOKEN"}]}),t})(),gf=(()=>{class t{}return t.\u0275mod=fe({type:t}),t.\u0275inj=ct({factory:function(e){return new(e||t)},providers:[Xp,{provide:Rp,useClass:pf},af,{provide:zp,useExisting:af},rf,{provide:of,useExisting:rf}],imports:[[ff.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})(),yf=(()=>{class t{constructor(t){this.injector=t}ngDoBootstrap(t){const e=function(t,e){const n=function(t,e){return e.get(Kr).resolveComponentFactory(t).inputs}(t,e.injector),s=e.strategyFactory||new ip(t,e.injector),o=function(t){const e={};return t.forEach(({propName:t,templateName:n})=>{var s;e[(s=n,s.replace(/[A-Z]/g,t=>"-"+t.toLowerCase()))]=t}),e}(n);class i extends ap{constructor(t){super(),this.injector=t}get ngElementStrategy(){if(!this._ngElementStrategy){const t=this._ngElementStrategy=s.create(this.injector||e.injector),o=n.filter(({propName:t})=>this.hasOwnProperty(t)).map(({propName:t})=>[t,this[t]]);this instanceof i?o.forEach(([t])=>delete this[t]):lp(n,this),o.forEach(([e,n])=>t.setInputValue(e,n))}return this._ngElementStrategy}attributeChangedCallback(t,e,n,s){this.ngElementStrategy.setInputValue(o[t],n)}connectedCallback(){let t=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),t=!0),this.ngElementStrategy.connect(this),t||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(t=>{const e=function(t,e,n){if("function"!=typeof CustomEvent){const s=t.createEvent("CustomEvent");return s.initCustomEvent(e,!1,!1,n),s}return new CustomEvent(e,{bubbles:!1,cancelable:!1,detail:n})}(this.ownerDocument,t.name,t.value);this.dispatchEvent(e)})}}return i.observedAttributes=Object.keys(o),Object.defineProperty(i.prototype,"ngElementStrategy",{enumerable:!0}),lp(n,i.prototype),i}(ep,{injector:this.injector});customElements.define("anyday-price-tag",e)}}return t.\u0275mod=fe({type:t}),t.\u0275inj=ct({factory:function(e){return new(e||t)($t(Hi))},providers:[],imports:[[Ip,gf,zd]]}),t})();var mf,_f,wf;mf=ku.a,wf=void 0,"string"!=typeof(_f="da")&&(wf=_f,_f=mf[za.LocaleId]),_f=_f.toLowerCase().replace(/_/g,"-"),ja[_f]=mf,wf&&(ja[_f][za.ExtraData]=wf),Nu.production&&function(){if(ds)throw new Error("Cannot enable prod mode after platform setup.");hs=!1}(),jp().bootstrapModule(yf).catch(t=>console.error(t))},zn8P:function(t,e){function n(t){return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}))}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="zn8P"}},[[0,0]]]); (window.webpackJsonp=window.webpackJsonp||[]).push([[2],{2:function(e,t,n){e.exports=n("hN/g")},"hN/g":function(e,t,n){"use strict";if(n.r(t),n("uwo5"),n("nf2o"),n("lgC5"),"undefined"==typeof Prototype);else{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");void 0!==Array.prototype._reverse&&(Array.prototype.reverse=Array.prototype._reverse),Array.from=function(){var e;try{e=Symbol.iterator?Symbol.iterator:"Symbol(Symbol.iterator)"}catch(s){e="Symbol(Symbol.iterator)"}var t=Object.prototype.toString,n=function(e){return"function"==typeof e||"[object Function]"===t.call(e)},r=Math.pow(2,53)-1,o=function(e){var t=function(e){var t=Number(e);return isNaN(t)?0:0!==t&&isFinite(t)?(t>0?1:-1)*Math.floor(Math.abs(t)):t}(e);return Math.min(Math.max(t,0),r)},a=function(t,n){var r=t&&n[e]();return function(e){return t?r.next():n[e]}},i=function(e,t,n,r,o,a){for(var i=0;i1?arguments[1]:void 0;if(void 0!==u){if(!n(u))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(c=arguments[2])}var h=o(s.length),p=n(r)?Object(new r(h)):new Array(h);return i(c,p,h,a(l,s),l,u)}}(),String.prototype.startsWith=function(e,t){var n=t>0?0|t:0;return this.substring(n,n+e.length)===e},String.prototype.endsWith=function(e,t){return(void 0===t||t>this.length)&&(t=this.length),this.substring(t-e.length,t)===e}}},lgC5:function(e,t){!function(e,t){"use strict";function n(){var e=L.splice(0,L.length);for(Je=0;e.length;)e.shift().call(null,e.shift())}function r(e,t){for(var n=0,r=e.length;n1)&&T(this)}}}),Ae(a,V,{value:function(e){-1>0,z="__"+N+A,I="addEventListener",j="attached",R="Callback",x="detached",F="extends",V="attributeChanged"+R,U=j+R,q="connected"+R,B="disconnected"+R,G="created"+R,W=x+R,$="ADDITION",X="REMOVAL",Y="DOMAttrModified",J="DOMContentLoaded",K="DOMSubtreeModified",Q="<",ee="=",te=/^[A-Z][._A-Z0-9]*-[-._A-Z0-9]*$/,ne=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],re=[],oe=[],ae="",ie=b.documentElement,se=re.indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},le=E.prototype,ce=le.hasOwnProperty,ue=le.isPrototypeOf,he=E.defineProperty,pe=[],fe=E.getOwnPropertyDescriptor,de=E.getOwnPropertyNames,me=E.getPrototypeOf,ge=E.setPrototypeOf,ye=!!E.__proto__,ve="__dreCEv1",Te=e.customElements,_e=!/^force/.test(t.type)&&!!(Te&&Te.define&&Te.get&&Te.whenDefined),ke=E.create||E,be=e.Map||function(){var e,t=[],n=[];return{get:function(e){return n[se.call(t,e)]},set:function(r,o){(e=se.call(t,r))<0?n[t.push(r)-1]=o:n[e]=o}}},Ee=e.Promise||function(e){function t(e){for(r=!0;n.length;)n.shift()(e)}var n=[],r=!1,o={catch:function(){return o},then:function(e){return n.push(e),r&&setTimeout(t,1),o}};return e(t),o},we=!1,Le=ke(null),Me=ke(null),Ce=new be,Se=function(e){return e.toLowerCase()},De=E.create||function e(t){return t?(e.prototype=t,new e):this},Oe=ge||(ye?function(e,t){return e.__proto__=t,e}:de&&fe?function(){function e(e,t){for(var n,r=de(t),o=0,a=r.length;o
",new He((function(e,t){if(e[0]&&"childList"==e[0].type&&!e[0].removedNodes[0].childNodes.length){var n=(P=fe(Pe,"innerHTML"))&&P.set;n&&he(Pe,"innerHTML",{set:function(e){for(;this.lastChild;)this.removeChild(this.lastChild);n.call(this,e)}})}t.disconnect(),P=null})).observe(P,{childList:!0,subtree:!0}),P.innerHTML=""),Ke||(ge||ye?(H=function(e,t){ue.call(t,e)||p(e,t)},Z=p):Z=H=function(e,t){e[z]||(e[z]=E(!0),p(e,t))},Ne?(tt=!1,function(){var e=fe(Pe,I),t=e.value,n=function(e){var t=new CustomEvent(Y,{bubbles:!0});t.attrName=e,t.prevValue=Ve.call(this,e),t.newValue=null,t[X]=t.attrChange=2,qe.call(this,e),Fe.call(this,t)},r=function(e,t){var n=Ue.call(this,e),r=n&&Ve.call(this,e),o=new CustomEvent(Y,{bubbles:!0});Be.call(this,e,t),o.attrName=e,o.prevValue=n?r:null,o.newValue=t,n?o.MODIFICATION=o.attrChange=1:o[$]=o.attrChange=0,Fe.call(this,o)},o=function(e){var t,n=e.currentTarget,r=n[z],o=e.propertyName;r.hasOwnProperty(o)&&(r=r[o],(t=new CustomEvent(Y,{bubbles:!0})).attrName=r.name,t.prevValue=r.value||null,t.newValue=r.value=n[o]||null,null==t.prevValue?t[$]=t.attrChange=0:t.MODIFICATION=t.attrChange=1,Fe.call(n,t))};e.value=function(e,a,i){e===Y&&this[V]&&this.setAttribute!==r&&(this[z]={className:{name:"class",value:this.className}},this.setAttribute=r,this.removeAttribute=n,t.call(this,"propertychange",o)),t.call(this,e,a,i)},he(Pe,I,e)}()):He||(ie[I](Y,Ye),ie.setAttribute(z,1),ie.removeAttribute(z),tt&&(M=function(e){var t,n,r,o=this;if(o===e.target){for(r in t=o[z],o[z]=n=S(o),n){if(!(r in t))return C(0,o,r,t[r],n[r],$);if(n[r]!==t[r])return C(1,o,r,t[r],n[r],"MODIFICATION")}for(r in t)if(!(r in n))return C(2,o,r,t[r],n[r],X)}},C=function(e,t,n,r,o,a){var i={attrChange:e,currentTarget:t,attrName:n,prevValue:r,newValue:o};i[a]=e,s(i)},S=function(e){for(var t,n,r={},o=e.attributes,a=0,i=o.length;a$");if(n[F]="a",(t.prototype=De(Ze.prototype)).constructor=t,e.customElements.define(r,t,n),!o.test(b.createElement("a",{is:r}).outerHTML)||!o.test((new t).outerHTML))throw n}((function e(){return Reflect.construct(Ze,[],e)}),{},"document-register-element-a"+A)}catch(ot){k()}if(!t.noBuiltIn)try{if(Ge.call(b,"a","a").outerHTML.indexOf("is")<0)throw{}}catch(at){Se=function(e){return{is:e.toLowerCase()}}}}(window)},nf2o:function(e,t,n){var r,o;void 0===(o="function"==typeof(r=function(){"use strict";!function(e){const t=e.performance;function n(e){t&&t.mark&&t.mark(e)}function r(e,n){t&&t.measure&&t.measure(e,n)}n("Zone");const o=e.__Zone_symbol_prefix||"__zone_symbol__";function a(e){return o+e}const i=!0===e[a("forceDuplicateZoneCheck")];if(e.Zone){if(i||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}class s{constructor(e,t){this._parent=e,this._name=t?t.name||"unnamed":"",this._properties=t&&t.properties||{},this._zoneDelegate=new c(this,this._parent&&this._parent._zoneDelegate,t)}static assertZonePatched(){if(e.Promise!==D.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 e=s.current;for(;e.parent;)e=e.parent;return e}static get current(){return H.zone}static get currentTask(){return Z}static __load_patch(t,o){if(D.hasOwnProperty(t)){if(i)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const a="Zone:"+t;n(a),D[t]=o(e,s,O),r(a,a)}}get parent(){return this._parent}get name(){return this._name}get(e){const t=this.getZoneWith(e);if(t)return t._properties[e]}getZoneWith(e){let t=this;for(;t;){if(t._properties.hasOwnProperty(e))return t;t=t._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const n=this._zoneDelegate.intercept(this,e,t),r=this;return function(){return r.runGuarded(n,this,arguments,t)}}run(e,t,n,r){H={parent:H,zone:this};try{return this._zoneDelegate.invoke(this,e,t,n,r)}finally{H=H.parent}}runGuarded(e,t=null,n,r){H={parent:H,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,n,r)}catch(o){if(this._zoneDelegate.handleError(this,o))throw o}}finally{H=H.parent}}runTask(e,t,n){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||T).name+"; Execution: "+this.name+")");if(e.state===_&&(e.type===S||e.type===C))return;const r=e.state!=E;r&&e._transitionTo(E,b),e.runCount++;const o=Z;Z=e,H={parent:H,zone:this};try{e.type==C&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(a){if(this._zoneDelegate.handleError(this,a))throw a}}finally{e.state!==_&&e.state!==L&&(e.type==S||e.data&&e.data.isPeriodic?r&&e._transitionTo(b,E):(e.runCount=0,this._updateTaskCount(e,-1),r&&e._transitionTo(_,E,_))),H=H.parent,Z=o}}scheduleTask(e){if(e.zone&&e.zone!==this){let t=this;for(;t;){if(t===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);t=t.parent}}e._transitionTo(k,_);const t=[];e._zoneDelegates=t,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(n){throw e._transitionTo(L,k,_),this._zoneDelegate.handleError(this,n),n}return e._zoneDelegates===t&&this._updateTaskCount(e,1),e.state==k&&e._transitionTo(b,k),e}scheduleMicroTask(e,t,n,r){return this.scheduleTask(new u(M,e,t,n,r,void 0))}scheduleMacroTask(e,t,n,r,o){return this.scheduleTask(new u(C,e,t,n,r,o))}scheduleEventTask(e,t,n,r,o){return this.scheduleTask(new u(S,e,t,n,r,o))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||T).name+"; Execution: "+this.name+")");e._transitionTo(w,b,E);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(L,w),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(_,w),e.runCount=0,e}_updateTaskCount(e,t){const n=e._zoneDelegates;-1==t&&(e._zoneDelegates=null);for(let r=0;re.hasTask(n,r),onScheduleTask:(e,t,n,r)=>e.scheduleTask(n,r),onInvokeTask:(e,t,n,r,o,a)=>e.invokeTask(n,r,o,a),onCancelTask:(e,t,n,r)=>e.cancelTask(n,r)};class c{constructor(e,t,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=e,this._parentDelegate=t,this._forkZS=n&&(n&&n.onFork?n:t._forkZS),this._forkDlgt=n&&(n.onFork?t:t._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:t._forkCurrZone),this._interceptZS=n&&(n.onIntercept?n:t._interceptZS),this._interceptDlgt=n&&(n.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=n&&(n.onInvoke?n:t._invokeZS),this._invokeDlgt=n&&(n.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=n&&(n.onHandleError?n:t._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:t._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=n&&(n.onInvokeTask?n:t._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=n&&(n.onCancelTask?n:t._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const r=n&&n.onHasTask;(r||t&&t._hasTaskZS)&&(this._hasTaskZS=r?n:l,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=e,n.onScheduleTask||(this._scheduleTaskZS=l,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=l,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=l,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(e,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,t):new s(e,t)}intercept(e,t,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,e,t,n):t}invoke(e,t,n,r,o){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,e,t,n,r,o):t.apply(n,r)}handleError(e,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,e,t)}scheduleTask(e,t){let n=t;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,e,t),n||(n=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=M)throw new Error("Task is missing scheduleFn.");y(t)}return n}invokeTask(e,t,n,r){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,e,t,n,r):t.callback.apply(n,r)}cancelTask(e,t){let n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,e,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");n=t.cancelFn(t)}return n}hasTask(e,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,e,t)}catch(n){this.handleError(e,n)}}_updateTaskCount(e,t){const n=this._taskCounts,r=n[e],o=n[e]=r+t;if(o<0)throw new Error("More tasks executed then were scheduled.");0!=r&&0!=o||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:e})}}class u{constructor(t,n,r,o,a,i){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=t,this.source=n,this.data=o,this.scheduleFn=a,this.cancelFn=i,!r)throw new Error("callback is not defined");this.callback=r;const s=this;this.invoke=t===S&&o&&o.useG?u.invokeTask:function(){return u.invokeTask.call(e,s,this,arguments)}}static invokeTask(e,t,n){e||(e=this),P++;try{return e.runCount++,e.zone.runTask(e,t,n)}finally{1==P&&v(),P--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(_,k)}_transitionTo(e,t,n){if(this._state!==t&&this._state!==n)throw new Error(`${this.type} '${this.source}': can not transition to '${e}', expecting state '${t}'${n?" or '"+n+"'":""}, was '${this._state}'.`);this._state=e,e==_&&(this._zoneDelegates=null)}toString(){return this.data&&void 0!==this.data.handleId?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 h=a("setTimeout"),p=a("Promise"),f=a("then");let d,m=[],g=!1;function y(t){if(0===P&&0===m.length)if(d||e[p]&&(d=e[p].resolve(0)),d){let e=d[f];e||(e=d.then),e.call(d,v)}else e[h](v,0);t&&m.push(t)}function v(){if(!g){for(g=!0;m.length;){const t=m;m=[];for(let n=0;nH,onUnhandledError:N,microtaskDrainDone:N,scheduleMicroTask:y,showUncaughtError:()=>!s[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:N,patchMethod:()=>N,bindArguments:()=>[],patchThen:()=>N,patchMacroTask:()=>N,setNativePromise:e=>{e&&"function"==typeof e.resolve&&(d=e.resolve(0))},patchEventPrototype:()=>N,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>N,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>N,wrapWithCurrentZone:()=>N,filterProperties:()=>[],attachOriginToPatched:()=>N,_redefineProperty:()=>N,patchCallbacks:()=>N};let H={parent:null,zone:new s(null,null)},Z=null,P=0;function N(){}r("Zone","Zone"),e.Zone=s}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global),Zone.__load_patch("ZoneAwarePromise",(e,t,n)=>{const r=Object.getOwnPropertyDescriptor,o=Object.defineProperty,a=n.symbol,i=[],s=!0===e[a("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],l=a("Promise"),c=a("then");n.onUnhandledError=e=>{if(n.showUncaughtError()){const t=e&&e.rejection;t?console.error("Unhandled Promise rejection:",t instanceof Error?t.message:t,"; Zone:",e.zone.name,"; Task:",e.task&&e.task.source,"; Value:",t,t instanceof Error?t.stack:void 0):console.error(e)}},n.microtaskDrainDone=()=>{for(;i.length;){const t=i.shift();try{t.zone.runGuarded(()=>{throw t})}catch(e){h(e)}}};const u=a("unhandledPromiseRejectionHandler");function h(e){n.onUnhandledError(e);try{const n=t[u];"function"==typeof n&&n.call(this,e)}catch(r){}}function p(e){return e&&e.then}function f(e){return e}function d(e){return C.reject(e)}const m=a("state"),g=a("value"),y=a("finally"),v=a("parentPromiseValue"),T=a("parentPromiseState");function _(e,t){return n=>{try{b(e,t,n)}catch(r){b(e,!1,r)}}}const k=a("currentTaskTrace");function b(e,r,a){const l=function(){let e=!1;return function(t){return function(){e||(e=!0,t.apply(null,arguments))}}}();if(e===a)throw new TypeError("Promise resolved with itself");if(null===e[m]){let h=null;try{"object"!=typeof a&&"function"!=typeof a||(h=a&&a.then)}catch(u){return l(()=>{b(e,!1,u)})(),e}if(!1!==r&&a instanceof C&&a.hasOwnProperty(m)&&a.hasOwnProperty(g)&&null!==a[m])w(a),b(e,a[m],a[g]);else if(!1!==r&&"function"==typeof h)try{h.call(a,l(_(e,r)),l(_(e,!1)))}catch(u){l(()=>{b(e,!1,u)})()}else{e[m]=r;const l=e[g];if(e[g]=a,e[y]===y&&!0===r&&(e[m]=e[T],e[g]=e[v]),!1===r&&a instanceof Error){const e=t.currentTask&&t.currentTask.data&&t.currentTask.data.__creationTrace__;e&&o(a,k,{configurable:!0,enumerable:!1,writable:!0,value:e})}for(let t=0;t{try{const r=e[g],o=!!n&&y===n[y];o&&(n[v]=r,n[T]=a);const s=t.run(i,void 0,o&&i!==d&&i!==f?[]:[r]);b(n,!0,s)}catch(r){b(n,!1,r)}},n)}const M=function(){};class C{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(e){return b(new this(null),!0,e)}static reject(e){return b(new this(null),!1,e)}static race(e){let t,n,r=new this((e,r)=>{t=e,n=r});function o(e){t(e)}function a(e){n(e)}for(let i of e)p(i)||(i=this.resolve(i)),i.then(o,a);return r}static all(e){return C.allWithCallback(e)}static allSettled(e){return(this&&this.prototype instanceof C?this:C).allWithCallback(e,{thenCallback:e=>({status:"fulfilled",value:e}),errorCallback:e=>({status:"rejected",reason:e})})}static allWithCallback(e,t){let n,r,o=new this((e,t)=>{n=e,r=t}),a=2,i=0;const s=[];for(let c of e){p(c)||(c=this.resolve(c));const e=i;try{c.then(r=>{s[e]=t?t.thenCallback(r):r,a--,0===a&&n(s)},o=>{t?(s[e]=t.errorCallback(o),a--,0===a&&n(s)):r(o)})}catch(l){r(l)}a++,i++}return a-=2,0===a&&n(s),o}constructor(e){const t=this;if(!(t instanceof C))throw new Error("Must be an instanceof Promise.");t[m]=null,t[g]=[];try{e&&e(_(t,!0),_(t,!1))}catch(n){b(t,!1,n)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return C}then(e,n){let r=this.constructor[Symbol.species];r&&"function"==typeof r||(r=this.constructor||C);const o=new r(M),a=t.current;return null==this[m]?this[g].push(a,o,e,n):L(this,a,o,e,n),o}catch(e){return this.then(null,e)}finally(e){let n=this.constructor[Symbol.species];n&&"function"==typeof n||(n=C);const r=new n(M);r[y]=y;const o=t.current;return null==this[m]?this[g].push(o,r,e,e):L(this,o,r,e,e),r}}C.resolve=C.resolve,C.reject=C.reject,C.race=C.race,C.all=C.all;const S=e[l]=e.Promise,D=t.__symbol__("ZoneAwarePromise");let O=r(e,"Promise");O&&!O.configurable||(O&&delete O.writable,O&&delete O.value,O||(O={configurable:!0,enumerable:!0}),O.get=function(){return e[D]?e[D]:e[l]},O.set=function(t){t===C?e[D]=t:(e[l]=t,t.prototype[c]||Z(t),n.setNativePromise(t))},o(e,"Promise",O)),e.Promise=C;const H=a("thenPatched");function Z(e){const t=e.prototype,n=r(t,"then");if(n&&(!1===n.writable||!n.configurable))return;const o=t.then;t[c]=o,e.prototype.then=function(e,t){return new C((e,t)=>{o.call(this,e,t)}).then(e,t)},e[H]=!0}if(n.patchThen=Z,S){Z(S);const t=e.fetch;"function"==typeof t&&(e[n.symbol("fetch")]=t,e.fetch=(P=t,function(){let e=P.apply(this,arguments);if(e instanceof C)return e;let t=e.constructor;return t[H]||Z(t),e}))}var P;return Promise[t.__symbol__("uncaughtPromiseErrors")]=i,C});const e=Object.getOwnPropertyDescriptor,t=Object.defineProperty,n=Object.getPrototypeOf,r=Object.create,o=Array.prototype.slice,a=Zone.__symbol__("addEventListener"),i=Zone.__symbol__("removeEventListener"),s=Zone.__symbol__("");function l(e,t){return Zone.current.wrap(e,t)}function c(e,t,n,r,o){return Zone.current.scheduleMacroTask(e,t,n,r,o)}const u=Zone.__symbol__,h="undefined"!=typeof window,p=h?window:void 0,f=h&&p||"object"==typeof self&&self||global,d=[null];function m(e,t){for(let n=e.length-1;n>=0;n--)"function"==typeof e[n]&&(e[n]=l(e[n],t+"_"+n));return e}function g(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}const y="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,v=!("nw"in f)&&void 0!==f.process&&"[object process]"==={}.toString.call(f.process),T=!v&&!y&&!(!h||!p.HTMLElement),_=void 0!==f.process&&"[object process]"==={}.toString.call(f.process)&&!y&&!(!h||!p.HTMLElement),k={},b=function(e){if(!(e=e||f.event))return;let t=k[e.type];t||(t=k[e.type]=u("ON_PROPERTY"+e.type));const n=this||e.target||f,r=n[t];let o;if(T&&n===p&&"error"===e.type){const t=e;o=r&&r.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===o&&e.preventDefault()}else o=r&&r.apply(this,arguments),null==o||o||e.preventDefault();return o};function E(n,r,o){let a=e(n,r);if(!a&&o&&e(o,r)&&(a={enumerable:!0,configurable:!0}),!a||!a.configurable)return;const i=u("on"+r+"patched");if(n.hasOwnProperty(i)&&n[i])return;delete a.writable,delete a.value;const s=a.get,l=a.set,c=r.substr(2);let h=k[c];h||(h=k[c]=u("ON_PROPERTY"+c)),a.set=function(e){let t=this;t||n!==f||(t=f),t&&(t[h]&&t.removeEventListener(c,b),l&&l.apply(t,d),"function"==typeof e?(t[h]=e,t.addEventListener(c,b,!1)):t[h]=null)},a.get=function(){let e=this;if(e||n!==f||(e=f),!e)return null;const t=e[h];if(t)return t;if(s){let t=s&&s.call(this);if(t)return a.set.call(this,t),"function"==typeof e.removeAttribute&&e.removeAttribute(r),t}return null},t(n,r,a),n[i]=!0}function w(e,t,n){if(t)for(let r=0;rfunction(t,r){const a=n(t,r);return a.cbIdx>=0&&"function"==typeof r[a.cbIdx]?c(a.name,r[a.cbIdx],a,o):e.apply(t,r)})}function D(e,t){e[u("OriginalDelegate")]=t}let O=!1,H=!1;function Z(){try{const e=p.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(e){}return!1}function P(){if(O)return H;O=!0;try{const e=p.navigator.userAgent;-1===e.indexOf("MSIE ")&&-1===e.indexOf("Trident/")&&-1===e.indexOf("Edge/")||(H=!0)}catch(e){}return H}Zone.__load_patch("toString",e=>{const t=Function.prototype.toString,n=u("OriginalDelegate"),r=u("Promise"),o=u("Error"),a=function(){if("function"==typeof this){const a=this[n];if(a)return"function"==typeof a?t.call(a):Object.prototype.toString.call(a);if(this===Promise){const n=e[r];if(n)return t.call(n)}if(this===Error){const n=e[o];if(n)return t.call(n)}}return t.call(this)};a[n]=t,Function.prototype.toString=a;const i=Object.prototype.toString;Object.prototype.toString=function(){return this instanceof Promise?"[object Promise]":i.call(this)}});let N=!1;if("undefined"!=typeof window)try{const e=Object.defineProperty({},"passive",{get:function(){N=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(se){N=!1}const A={useG:!0},z={},I={},j=new RegExp("^"+s+"(\\w+)(true|false)$"),R=u("propagationStopped");function x(e,t){const n=(t?t(e):e)+"false",r=(t?t(e):e)+"true",o=s+n,a=s+r;z[e]={},z[e].false=o,z[e].true=a}function F(e,t,r){const o=r&&r.add||"addEventListener",a=r&&r.rm||"removeEventListener",i=r&&r.listeners||"eventListeners",l=r&&r.rmAll||"removeAllListeners",c=u(o),h="."+o+":",p=function(e,t,n){if(e.isRemoved)return;const r=e.callback;"object"==typeof r&&r.handleEvent&&(e.callback=e=>r.handleEvent(e),e.originalDelegate=r),e.invoke(e,t,[n]);const o=e.options;o&&"object"==typeof o&&o.once&&t[a].call(t,n.type,e.originalDelegate?e.originalDelegate:e.callback,o)},f=function(t){if(!(t=t||e.event))return;const n=this||t.target||e,r=n[z[t.type].false];if(r)if(1===r.length)p(r[0],n,t);else{const e=r.slice();for(let r=0;rfunction(t,n){t[R]=!0,e&&e.apply(t,n)})}function q(e,t,n,r,o){const a=Zone.__symbol__(r);if(t[a])return;const i=t[a]=t[r];t[r]=function(a,s,l){return s&&s.prototype&&o.forEach((function(t){const o=`${n}.${r}::`+t,a=s.prototype;if(a.hasOwnProperty(t)){const n=e.ObjectGetOwnPropertyDescriptor(a,t);n&&n.value?(n.value=e.wrapWithCurrentZone(n.value,o),e._redefineProperty(s.prototype,t,n)):a[t]&&(a[t]=e.wrapWithCurrentZone(a[t],o))}else a[t]&&(a[t]=e.wrapWithCurrentZone(a[t],o))})),i.call(t,a,s,l)},e.attachOriginToPatched(t[r],i)}const B=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],G=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],W=["load"],$=["blur","error","focus","load","resize","scroll","messageerror"],X=["bounce","finish","start"],Y=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],J=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],K=["close","error","open","message"],Q=["error","message"],ee=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],B,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function te(e,t,n){if(!n||0===n.length)return t;const r=n.filter(t=>t.target===e);if(!r||0===r.length)return t;const o=r[0].ignoreProperties;return t.filter(e=>-1===o.indexOf(e))}function ne(e,t,n,r){e&&w(e,te(e,t,n),r)}function re(e,t){if(v&&!_)return;if(Zone[e.symbol("patchEvents")])return;const r="undefined"!=typeof WebSocket,o=t.__Zone_ignore_on_properties;if(T){const e=window,t=Z?[{target:e,ignoreProperties:["error"]}]:[];ne(e,ee.concat(["messageerror"]),o?o.concat(t):o,n(e)),ne(Document.prototype,ee,o),void 0!==e.SVGElement&&ne(e.SVGElement.prototype,ee,o),ne(Element.prototype,ee,o),ne(HTMLElement.prototype,ee,o),ne(HTMLMediaElement.prototype,G,o),ne(HTMLFrameSetElement.prototype,B.concat($),o),ne(HTMLBodyElement.prototype,B.concat($),o),ne(HTMLFrameElement.prototype,W,o),ne(HTMLIFrameElement.prototype,W,o);const r=e.HTMLMarqueeElement;r&&ne(r.prototype,X,o);const a=e.Worker;a&&ne(a.prototype,Q,o)}const a=t.XMLHttpRequest;a&&ne(a.prototype,Y,o);const i=t.XMLHttpRequestEventTarget;i&&ne(i&&i.prototype,Y,o),"undefined"!=typeof IDBIndex&&(ne(IDBIndex.prototype,J,o),ne(IDBRequest.prototype,J,o),ne(IDBOpenDBRequest.prototype,J,o),ne(IDBDatabase.prototype,J,o),ne(IDBTransaction.prototype,J,o),ne(IDBCursor.prototype,J,o)),r&&ne(WebSocket.prototype,K,o)}Zone.__load_patch("util",(n,a,i)=>{i.patchOnProperties=w,i.patchMethod=C,i.bindArguments=m,i.patchMacroTask=S;const c=a.__symbol__("BLACK_LISTED_EVENTS"),u=a.__symbol__("UNPATCHED_EVENTS");n[u]&&(n[c]=n[u]),n[c]&&(a[c]=a[u]=n[c]),i.patchEventPrototype=U,i.patchEventTarget=F,i.isIEOrEdge=P,i.ObjectDefineProperty=t,i.ObjectGetOwnPropertyDescriptor=e,i.ObjectCreate=r,i.ArraySlice=o,i.patchClass=M,i.wrapWithCurrentZone=l,i.filterProperties=te,i.attachOriginToPatched=D,i._redefineProperty=Object.defineProperty,i.patchCallbacks=q,i.getGlobalObjects=()=>({globalSources:I,zoneSymbolEventNames:z,eventNames:ee,isBrowser:T,isMix:_,isNode:v,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:s,ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"})});const oe=u("zoneTask");function ae(e,t,n,r){let o=null,a=null;n+=r;const i={};function s(t){const n=t.data;return n.args[0]=function(){try{t.invoke.apply(this,arguments)}finally{t.data&&t.data.isPeriodic||("number"==typeof n.handleId?delete i[n.handleId]:n.handleId&&(n.handleId[oe]=null))}},n.handleId=o.apply(e,n.args),t}function l(e){return a(e.data.handleId)}o=C(e,t+=r,n=>function(o,a){if("function"==typeof a[0]){const e=c(t,a[0],{isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?a[1]||0:void 0,args:a},s,l);if(!e)return e;const n=e.data.handleId;return"number"==typeof n?i[n]=e:n&&(n[oe]=e),n&&n.ref&&n.unref&&"function"==typeof n.ref&&"function"==typeof n.unref&&(e.ref=n.ref.bind(n),e.unref=n.unref.bind(n)),"number"==typeof n||n?n:e}return n.apply(e,a)}),a=C(e,n,t=>function(n,r){const o=r[0];let a;"number"==typeof o?a=i[o]:(a=o&&o[oe],a||(a=o)),a&&"string"==typeof a.type?"notScheduled"!==a.state&&(a.cancelFn&&a.data.isPeriodic||0===a.runCount)&&("number"==typeof o?delete i[o]:o&&(o[oe]=null),a.zone.cancelTask(a)):t.apply(e,r)})}function ie(e,t){if(Zone[t.symbol("patchEventTarget")])return;const{eventNames:n,zoneSymbolEventNames:r,TRUE_STR:o,FALSE_STR:a,ZONE_SYMBOL_PREFIX:i}=t.getGlobalObjects();for(let l=0;l{const t=e[Zone.__symbol__("legacyPatch")];t&&t()}),Zone.__load_patch("timers",e=>{ae(e,"set","clear","Timeout"),ae(e,"set","clear","Interval"),ae(e,"set","clear","Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{ae(e,"request","cancel","AnimationFrame"),ae(e,"mozRequest","mozCancel","AnimationFrame"),ae(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,t)=>{const n=["alert","prompt","confirm"];for(let r=0;rfunction(r,a){return t.current.run(n,e,a,o)})}),Zone.__load_patch("EventTarget",(e,t,n)=>{(function(e,t){t.patchEventPrototype(e,t)})(e,n),ie(e,n);const r=e.XMLHttpRequestEventTarget;r&&r.prototype&&n.patchEventTarget(e,[r.prototype]),M("MutationObserver"),M("WebKitMutationObserver"),M("IntersectionObserver"),M("FileReader")}),Zone.__load_patch("on_property",(e,t,n)=>{re(n,e)}),Zone.__load_patch("customElements",(e,t,n)=>{!function(e,t){const{isBrowser:n,isMix:r}=t.getGlobalObjects();(n||r)&&e.customElements&&"customElements"in e&&t.patchCallbacks(t,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,n)}),Zone.__load_patch("XHR",(e,t)=>{!function(e){const p=e.XMLHttpRequest;if(!p)return;const f=p.prototype;let d=f[a],m=f[i];if(!d){const t=e.XMLHttpRequestEventTarget;if(t){const e=t.prototype;d=e[a],m=e[i]}}function g(e){const r=e.data,l=r.target;l[s]=!1,l[h]=!1;const c=l[o];d||(d=l[a],m=l[i]),c&&m.call(l,"readystatechange",c);const u=l[o]=()=>{if(l.readyState===l.DONE)if(!r.aborted&&l[s]&&"scheduled"===e.state){const n=l[t.__symbol__("loadfalse")];if(n&&n.length>0){const o=e.invoke;e.invoke=function(){const n=l[t.__symbol__("loadfalse")];for(let t=0;tfunction(e,t){return e[r]=0==t[2],e[l]=t[1],T.apply(e,t)}),_=u("fetchTaskAborting"),k=u("fetchTaskScheduling"),b=C(f,"send",()=>function(e,n){if(!0===t.current[k])return b.apply(e,n);if(e[r])return b.apply(e,n);{const t={target:e,url:e[l],isPeriodic:!1,args:n,aborted:!1},r=c("XMLHttpRequest.send",y,t,g,v);e&&!0===e[h]&&!t.aborted&&"scheduled"===r.state&&r.invoke()}}),E=C(f,"abort",()=>function(e,r){const o=e[n];if(o&&"string"==typeof o.type){if(null==o.cancelFn||o.data&&o.data.aborted)return;o.zone.cancelTask(o)}else if(!0===t.current[_])return E.apply(e,r)})}(e);const n=u("xhrTask"),r=u("xhrSync"),o=u("xhrListener"),s=u("xhrScheduled"),l=u("xhrURL"),h=u("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&function(t,n){const r=t.constructor.name;for(let o=0;o{const t=function(){return e.apply(this,m(arguments,r+"."+a))};return D(t,e),t})(i)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,t)=>{function n(t){return function(n){V(e,t).forEach(r=>{const o=e.PromiseRejectionEvent;if(o){const e=new o(t,{promise:n.promise,reason:n.rejection});r.invoke(e)}})}}e.PromiseRejectionEvent&&(t[u("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),t[u("rejectionHandledHandler")]=n("rejectionhandled"))})})?r.call(t,n,t,e):r)||(e.exports=o)},uwo5:function(e,t){}},[[2,0]]]); !function(e){function r(r){for(var n,l,f=r[0],i=r[1],p=r[2],c=0,s=[];c HDMI venstre vinklet adapter (Sort) - 0,1 m - Goobay
1-2 dages levering
Prisgaranti på alt

HDMI venstre vinklet adapter (Sort) – 0,1 m – Goobay

Goobay
Tilgængelighed:

På lager


Vejl. pris 25,-
DKK 19,00

På lager


30 dages returret
Prisgaranti på alt
1-2 dages levering
Vi bytter med et :)
Vægt100 g
Brand

Farve

Blå

Længde

Kabel type

Adaptere, HDMI

Tilslutning 1, type

HDMI (han)

Tilslutning 2, type

HDMI (hun)

SKU

Goo008-13-01

Baseret på 0 bedømmelser

0.0 total
0
0
0
0
0

Bliv den første til at give en bedømmelse af “HDMI venstre vinklet adapter (Sort) – 0,1 m – Goobay”

Der er ingen bedømmelser endnu.