(self.webpackChunkzuelligpharma08=self.webpackChunkzuelligpharma08||[]).push([[179],{8255:function(t){function e(t){return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}e.keys=function(){return[]},e.resolve=e,e.id=8255,t.exports=e},5418:function(t,e,n){"use strict";function s(t){return"function"==typeof t}let i=!1;const r={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 i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=t},get useDeprecatedSynchronousErrorHandling(){return i}};function o(t){setTimeout(()=>{throw t},0)}const a={closed:!0,next(t){},error(t){if(r.useDeprecatedSynchronousErrorHandling)throw t;o(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})();class h{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:e,_ctorUnsubscribe:n,_unsubscribe:i,_subscriptions:r}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,e instanceof h)e.remove(this);else if(null!==e)for(let s=0;st.concat(e instanceof u?e.errors:e),[])}h.EMPTY=((d=new h).closed=!0,d);const f="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class g 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 g?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new m(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new m(this,t,e,n)}}[f](){return this}static create(t,e,n){const s=new g(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 m extends g{constructor(t,e,n,i){super(),this._parentSubscriber=t;let r,o=this;s(e)?r=e:e&&(r=e.next,n=e.error,i=e.complete,e!==a&&(o=Object.create(e),s(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=r,this._error=n,this._complete=i}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;r.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}=r;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):o(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;o(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);r.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(),r.useDeprecatedSynchronousErrorHandling)throw n;o(n)}}__tryOrSetError(t,e,n){if(!r.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(s){return r.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=s,t.syncErrorThrown=!0,!0):(o(s),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const _="function"==typeof Symbol&&Symbol.observable||"@@observable";function y(t){return t}let b=(()=>{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,i=function(t,e,n){if(t){if(t instanceof g)return t;if(t[f])return t[f]()}return t||e||n?new g(t,e,n):new g(a)}(t,e,n);if(i.add(s?s.call(i,this.source):this.source||r.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),r.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i}_trySubscribe(t){try{return this._subscribe(t)}catch(e){r.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 g?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=v(e))((e,n)=>{let s;s=this.subscribe(e=>{try{t(e)}catch(i){n(i),s&&s.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[_](){return this}pipe(...t){return 0===t.length?this:function(t){return 0===t.length?y:1===t.length?t[0]:function(e){return t.reduce((t,e)=>e(t),e)}}(t)(this)}toPromise(t){return new(t=v(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function v(t){if(t||(t=r.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const w=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class C 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 x extends g{constructor(t){super(t),this.destination=t}}let S=(()=>{class t extends b{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[f](){return new x(this)}lift(t){const e=new O(this,this);return e.operator=t,e}next(t){if(this.closed)throw new w;if(!this.isStopped){const{observers:e}=this,n=e.length,s=e.slice();for(let i=0;inew O(t,e),t})();class O extends S{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 P(t){return t&&"function"==typeof t.schedule}function k(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 E(t,e))}}class E{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new T(t,this.project,this.thisArg))}}class T extends g{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)}}const M=t=>e=>{for(let n=0,s=t.length;nt&&"number"==typeof t.length&&"function"!=typeof t;function I(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const N=t=>{if(t&&"function"==typeof t[_])return(t=>e=>{const n=t[_]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)})(t);if(R(t))return M(t);if(I(t))return(t=>e=>(t.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,o),e))(t);if(t&&"function"==typeof t[A])return(t=>e=>{const n=t[A]();for(;;){let t;try{t=n.next()}catch(s){return e.error(s),e}if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof n.return&&e.add(()=>{n.return&&n.return()}),e})(t);{const e=`You provided ${c(t)?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(e)}};function D(t,e){return new b(n=>{const s=new h;let i=0;return s.add(e.schedule(function(){i!==t.length?(n.next(t[i++]),n.closed||s.add(this.schedule())):n.complete()})),s})}function L(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[_]}(t))return function(t,e){return new b(n=>{const s=new h;return s.add(e.schedule(()=>{const i=t[_]();s.add(i.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(I(t))return function(t,e){return new b(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(R(t))return D(t,e);if(function(t){return t&&"function"==typeof t[A]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new b(n=>{const s=new h;let i;return s.add(()=>{i&&"function"==typeof i.return&&i.return()}),s.add(e.schedule(()=>{i=t[A](),s.add(e.schedule(function(){if(n.closed)return;let t,e;try{const n=i.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 b?t:new b(N(t))}class F extends g{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class j extends g{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function z(t,e){if(e.closed)return;if(t instanceof b)return t.subscribe(e);let n;try{n=N(t)(e)}catch(s){e.error(s)}return n}function H(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?s=>s.pipe(H((n,s)=>L(t(n,s)).pipe(k((t,i)=>e(n,t,s,i))),n)):("number"==typeof e&&(n=e),e=>e.lift(new B(t,n)))}class B{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new U(t,this.project,this.concurrent))}}class U 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(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function V(t=Number.POSITIVE_INFINITY){return H(y,t)}function q(t,e){return e?D(t,e):new b(M(t))}function W(...t){let e=Number.POSITIVE_INFINITY,n=null,s=t[t.length-1];return P(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 b?t[0]:V(e)(q(t,n))}function G(){return function(t){return t.lift(new K(t))}}class K{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const s=new Z(t,n),i=e.subscribe(s);return s.closed||(s.connection=n.connect()),i}}class Z extends g{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 b{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 Y(this.getSubject(),this))),t.closed&&(this._connection=null,t=h.EMPTY)),t}refCount(){return G()(this)}}const J=(()=>{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 Y extends x{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 X(){return new S}function tt(){return t=>G()(function(t,e){return function(e){let n;n="function"==typeof t?t:function(){return t};const s=Object.create(e,J);return s.source=e,s.subjectFactory=n,s}}(X)(t))}function et(t){for(let e in t)if(t[e]===et)return e;throw Error("Could not find renamed property on target object.")}function nt(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function st(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(st).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 it(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const rt=et({__forward_ref__:et});function ot(t){return t.__forward_ref__=ot,t.toString=function(){return st(this())},t}function at(t){return lt(t)?t():t}function lt(t){return"function"==typeof t&&t.hasOwnProperty(rt)&&t.__forward_ref__===ot}class ct extends Error{constructor(t,e){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}(t,e)),this.code=t}}function ut(t){return"string"==typeof t?t:null==t?"":String(t)}function ht(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():ut(t)}function dt(t,e){const n=e?` in ${e}`:"";throw new ct("201",`No provider for ${ht(t)} found${n}`)}function pt(t,e){null==t&&function(t,e,n,s){throw new Error(`ASSERTION ERROR: ${t}`+(null==s?"":` [Expected=> ${n} ${s} ${e} <=Actual]`))}(e,t,null,"!=")}function ft(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function gt(t){return{providers:t.providers||[],imports:t.imports||[]}}function mt(t){return _t(t,bt)||_t(t,wt)}function _t(t,e){return t.hasOwnProperty(e)?t[e]:null}function yt(t){return t&&(t.hasOwnProperty(vt)||t.hasOwnProperty(Ct))?t[vt]:null}const bt=et({"\u0275prov":et}),vt=et({"\u0275inj":et}),wt=et({ngInjectableDef:et}),Ct=et({ngInjectorDef:et});var xt=(()=>((xt=xt||{})[xt.Default=0]="Default",xt[xt.Host=1]="Host",xt[xt.Self=2]="Self",xt[xt.SkipSelf=4]="SkipSelf",xt[xt.Optional=8]="Optional",xt))();let St;function Ot(t){const e=St;return St=t,e}function Pt(t,e,n){const s=mt(t);return s&&"root"==s.providedIn?void 0===s.value?s.value=s.factory():s.value:n&xt.Optional?null:void 0!==e?e:void dt(st(t),"Injector")}function kt(t){return{toString:t}.toString()}var Et=(()=>((Et=Et||{})[Et.OnPush=0]="OnPush",Et[Et.Default=1]="Default",Et))(),Tt=(()=>((Tt=Tt||{})[Tt.Emulated=0]="Emulated",Tt[Tt.None=2]="None",Tt[Tt.ShadowDom=3]="ShadowDom",Tt))();const Mt="undefined"!=typeof globalThis&&globalThis,At="undefined"!=typeof window&&window,Rt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,It=Mt||"undefined"!=typeof global&&global||At||Rt,Nt={},Dt=[],Lt=et({"\u0275cmp":et}),Ft=et({"\u0275dir":et}),jt=et({"\u0275pipe":et}),zt=et({"\u0275mod":et}),Ht=et({"\u0275loc":et}),Bt=et({"\u0275fac":et}),Ut=et({__NG_ELEMENT_ID__:et});let $t=0;function Vt(t){return kt(()=>{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===Et.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||Dt,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||Tt.Emulated,id:"c",styles:t.styles||Dt,_:null,setInput:null,schemas:t.schemas||null,tView:null},s=t.directives,i=t.features,r=t.pipes;return n.id+=$t++,n.inputs=Zt(t.inputs,e),n.outputs=Zt(t.outputs),i&&i.forEach(t=>t(n)),n.directiveDefs=s?()=>("function"==typeof s?s():s).map(qt):null,n.pipeDefs=r?()=>("function"==typeof r?r():r).map(Wt):null,n})}function qt(t){return Jt(t)||function(t){return t[Ft]||null}(t)}function Wt(t){return function(t){return t[jt]||null}(t)}const Gt={};function Kt(t){return kt(()=>{const e={type:t.type,bootstrap:t.bootstrap||Dt,declarations:t.declarations||Dt,imports:t.imports||Dt,exports:t.exports||Dt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&(Gt[t.id]=t.type),e})}function Zt(t,e){if(null==t)return Nt;const n={};for(const s in t)if(t.hasOwnProperty(s)){let i=t[s],r=i;Array.isArray(i)&&(r=i[1],i=i[0]),n[i]=s,e&&(e[i]=r)}return n}const Qt=Vt;function Jt(t){return t[Lt]||null}function Yt(t,e){const n=t[zt]||null;if(!n&&!0===e)throw new Error(`Type ${st(t)} does not have '\u0275mod' property.`);return n}const Xt=11;function te(t){return Array.isArray(t)&&"object"==typeof t[1]}function ee(t){return Array.isArray(t)&&!0===t[1]}function ne(t){return 0!=(8&t.flags)}function se(t){return 2==(2&t.flags)}function ie(t){return 1==(1&t.flags)}function re(t){return null!==t.template}function oe(t){return 0!=(512&t[2])}function ae(t,e){return t.hasOwnProperty(Bt)?t[Bt]:null}class le{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function ce(){return ue}function ue(t){return t.type.prototype.ngOnChanges&&(t.setInput=de),he}function he(){const t=fe(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===Nt)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 i=fe(t)||function(t,e){return t[pe]=e}(t,{previous:Nt,current:null}),r=i.current||(i.current={}),o=i.previous,a=this.declaredInputs[n],l=o[a];r[a]=new le(l&&l.currentValue,e,o===Nt),t[s]=e}ce.ngInherit=!0;const pe="__ngSimpleChanges__";function fe(t){return t[pe]||null}let ge;function me(t){return!!t.listen}const _e={createRenderer:(t,e)=>void 0!==ge?ge:"undefined"!=typeof document?document:void 0};function ye(t){for(;Array.isArray(t);)t=t[0];return t}function be(t,e){return ye(e[t])}function ve(t,e){return ye(e[t.index])}function we(t,e){return t.data[e]}function Ce(t,e){const n=e[t];return te(n)?n:n[0]}function xe(t){return 4==(4&t[2])}function Se(t){return 128==(128&t[2])}function Oe(t,e){return null==e?null:t[e]}function Pe(t){t[18]=0}function ke(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 Ee={lFrame:Ze(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Te(){return Ee.bindingsEnabled}function Me(){return Ee.lFrame.lView}function Ae(){return Ee.lFrame.tView}function Re(){let t=Ie();for(;null!==t&&64===t.type;)t=t.parent;return t}function Ie(){return Ee.lFrame.currentTNode}function Ne(t,e){const n=Ee.lFrame;n.currentTNode=t,n.isParent=e}function De(){return Ee.lFrame.isParent}function Le(){Ee.lFrame.isParent=!1}function Fe(){return Ee.isInCheckNoChangesMode}function je(t){Ee.isInCheckNoChangesMode=t}function ze(){return Ee.lFrame.bindingIndex++}function He(t,e){const n=Ee.lFrame;n.bindingIndex=n.bindingRootIndex=t,Be(e)}function Be(t){Ee.lFrame.currentDirectiveIndex=t}function Ue(t){const e=Ee.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function $e(){return Ee.lFrame.currentQueryIndex}function Ve(t){Ee.lFrame.currentQueryIndex=t}function qe(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function We(t,e,n){if(n&xt.SkipSelf){let s=e,i=t;for(;!(s=s.parent,null!==s||n&xt.Host||(s=qe(i),null===s||(i=i[15],10&s.type))););if(null===s)return!1;e=s,t=i}const s=Ee.lFrame=Ke();return s.currentTNode=e,s.lView=t,!0}function Ge(t){const e=Ke(),n=t[1];Ee.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function Ke(){const t=Ee.lFrame,e=null===t?null:t.child;return null===e?Ze(t):e}function Ze(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function Qe(){const t=Ee.lFrame;return Ee.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const Je=Qe;function Ye(){const t=Qe();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Xe(){return Ee.lFrame.selectedIndex}function tn(t){Ee.lFrame.selectedIndex=t}function en(){const t=Ee.lFrame;return we(t.tView,t.selectedIndex)}function nn(t,e){for(let n=e.directiveStart,s=e.directiveEnd;n=s)break}else e[a]<0&&(t[18]+=65536),(o>11>16&&(3&t[2])===e){t[2]+=2048;try{r.call(o)}finally{}}}else try{r.call(o)}finally{}}class cn{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function un(t,e,n){const s=me(t);let i=0;for(;ie){o=r-1;break}}}for(;r>16}(t),s=e;for(;n>0;)s=s[15],n--;return s}let yn=!0;function bn(t){const e=yn;return yn=t,e}let vn=0;function wn(t,e){const n=xn(t,e);if(-1!==n)return n;const s=e[1];s.firstCreatePass&&(t.injectorIndex=e.length,Cn(s.data,t),Cn(e,null),Cn(s.blueprint,null));const i=Sn(t,e),r=t.injectorIndex;if(gn(i)){const t=mn(i),n=_n(i,e),s=n[1].data;for(let i=0;i<8;i++)e[r+i]=n[t+i]|s[t+i]}return e[r+8]=i,r}function Cn(t,e){t.push(0,0,0,0,0,0,0,0,e)}function xn(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Sn(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,s=null,i=e;for(;null!==i;){const t=i[1],e=t.type;if(s=2===e?t.declTNode:1===e?i[6]:null,null===s)return-1;if(n++,i=i[15],-1!==s.injectorIndex)return s.injectorIndex|n<<16}return-1}function On(t,e,n){!function(t,e,n){let s;"string"==typeof n?s=n.charCodeAt(0)||0:n.hasOwnProperty(Ut)&&(s=n[Ut]),null==s&&(s=n[Ut]=vn++);const i=255&s;e.data[t+(i>>5)]|=1<=0?255&e:Mn:e}(n);if("function"==typeof r){if(!We(e,t,s))return s&xt.Host?Pn(i,n,s):kn(e,n,s,i);try{const t=r(s);if(null!=t||s&xt.Optional)return t;dt(n)}finally{Je()}}else if("number"==typeof r){let i=null,o=xn(t,e),a=-1,l=s&xt.Host?e[16][6]:null;for((-1===o||s&xt.SkipSelf)&&(a=-1===o?Sn(t,e):e[o+8],-1!==a&&Dn(s,!1)?(i=e[1],o=mn(a),e=_n(a,e)):o=-1);-1!==o;){const t=e[1];if(Nn(r,o,t.data)){const t=An(o,e,n,i,s,l);if(t!==Tn)return t}a=e[o+8],-1!==a&&Dn(s,e[1].data[o+8]===l)&&Nn(r,o,e)?(i=t,o=mn(a),e=_n(a,e)):o=-1}}}return kn(e,n,s,i)}const Tn={};function Mn(){return new Ln(Re(),Me())}function An(t,e,n,s,i,r){const o=e[1],a=o.data[t+8],l=Rn(a,o,n,null==s?se(a)&&yn:s!=o&&0!=(3&a.type),i&xt.Host&&r===a);return null!==l?In(e,o,l,a):Tn}function Rn(t,e,n,s,i){const r=t.providerIndexes,o=e.data,a=1048575&r,l=t.directiveStart,c=r>>20,u=i?a+c:t.directiveEnd;for(let h=s?a:a+c;h=l&&t.type===n)return h}if(i){const t=o[l];if(t&&re(t)&&t.type===n)return l}return null}function In(t,e,n,s){let i=t[n];const r=e.data;if(function(t){return t instanceof cn}(i)){const o=i;o.resolving&&function(t,e){throw new ct("200",`Circular dependency in DI detected for ${t}`)}(ht(r[n]));const a=bn(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?Ot(o.injectImpl):null;We(t,s,xt.Default);try{i=t[n]=o.factory(void 0,r,t,s),e.firstCreatePass&&n>=s.directiveStart&&function(t,e,n){const{ngOnChanges:s,ngOnInit:i,ngDoCheck:r}=e.type.prototype;if(s){const s=ue(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,i),r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r))}(n,r[n],e)}finally{null!==l&&Ot(l),bn(a),o.resolving=!1,Je()}}return i}function Nn(t,e,n){return!!(n[e+(t>>5)]&1<{const e=Fn(at(t));return e&&e()}:ae(t)}function jn(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const n=t.attrs;if(n){const t=n.length;let s=0;for(;s{const s=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function i(...t){if(this instanceof i)return s.apply(this,t),this;const e=new i(...t);return n.annotation=e,n;function n(t,n,s){const i=t.hasOwnProperty(zn)?t[zn]:Object.defineProperty(t,zn,{value:[]})[zn];for(;i.length<=s;)i.push(null);return(i[s]=i[s]||[]).push(e),t}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}class Bn{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=ft({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Un=new Bn("AnalyzeForEntryComponents"),$n=Function;function Vn(t,e){void 0===e&&(e=t);for(let n=0;nArray.isArray(t)?qn(t,e):e(t))}function Wn(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Gn(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Kn(t,e){const n=[];for(let s=0;s=0?t[1|s]=n:(s=~s,function(t,e,n,s){let i=t.length;if(i==e)t.push(n,s);else if(1===i)t.push(s,t[0]),t[0]=n;else{for(i--,t.push(t[i-1],t[i]);i>e;)t[i]=t[i-2],i--;t[e]=n,t[e+1]=s}}(t,s,e,n)),s}function Qn(t,e){const n=Jn(t,e);if(n>=0)return t[1|n]}function Jn(t,e){return function(t,e,n){let s=0,i=t.length>>n;for(;i!==s;){const r=s+(i-s>>1),o=t[r<e?i=r:s=r+1}return~(i< ");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):st(s)))}i=`{${t.join(", ")}}`}return`${n}${s?"("+s+")":""}[${i}]: ${t.replace(es,"\n ")}`}("\n"+t.message,i,n,s),t.ngTokenPath=i,t[ts]=null,t}const ps=us(Hn("Inject",t=>({token:t})),-1),fs=us(Hn("Optional"),8),gs=us(Hn("SkipSelf"),4);let ms;function _s(t){var e;return(null===(e=function(){if(void 0===ms&&(ms=null,It.trustedTypes))try{ms=It.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return ms}())||void 0===e?void 0:e.createHTML(t))||t}class ys{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class bs extends ys{getTypeName(){return"HTML"}}class vs extends ys{getTypeName(){return"Style"}}class ws extends ys{getTypeName(){return"Script"}}class Cs extends ys{getTypeName(){return"URL"}}class xs extends ys{getTypeName(){return"ResourceURL"}}function Ss(t){return t instanceof ys?t.changingThisBreaksApplicationSecurity:t}function Os(t,e){const n=Ps(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===e}function Ps(t){return t instanceof ys&&t.getTypeName()||null}class ks{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(_s(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch(e){return null}}}class Es{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t);const e=this.inertDocument.createElement("body");t.appendChild(e)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=_s(t),e;const n=this.inertDocument.createElement("body");return n.innerHTML=_s(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(t){const e=t.attributes;for(let s=e.length-1;0As(t.trim())).join(", ")}function Is(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function Ns(...t){const e={};for(const n of t)for(const t in n)n.hasOwnProperty(t)&&(e[t]=!0);return e}const Ds=Is("area,br,col,hr,img,wbr"),Ls=Is("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Fs=Is("rp,rt"),js=Ns(Ds,Ns(Ls,Is("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")),Ns(Fs,Is("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")),Ns(Fs,Ls)),zs=Is("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Hs=Is("srcset"),Bs=Ns(zs,Hs,Is("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"),Is("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")),Us=Is("script,style,template");class $s{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,n=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let t=this.checkClobberedElement(e,e.nextSibling);if(t){e=t;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!js.hasOwnProperty(e))return this.sanitizedSomething=!0,!Us.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const n=t.attributes;for(let s=0;s"),!0}endElement(t){const e=t.nodeName.toLowerCase();js.hasOwnProperty(e)&&!Ds.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(Ws(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const Vs=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,qs=/([^\#-~ |!])/g;function Ws(t){return t.replace(/&/g,"&").replace(Vs,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(qs,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let Gs;function Ks(t,e){let n=null;try{Gs=Gs||function(t){const e=new Es(t);return function(){try{return!!(new window.DOMParser).parseFromString(_s(""),"text/html")}catch(t){return!1}}()?new ks(e):e}(t);let s=e?String(e):"";n=Gs.getInertBodyElement(s);let i=5,r=s;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,s=r,r=n.innerHTML,n=Gs.getInertBodyElement(s)}while(s!==r);return _s((new $s).sanitizeChildren(Zs(n)||n))}finally{if(n){const t=Zs(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function Zs(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Qs=(()=>((Qs=Qs||{})[Qs.NONE=0]="NONE",Qs[Qs.HTML=1]="HTML",Qs[Qs.STYLE=2]="STYLE",Qs[Qs.SCRIPT=3]="SCRIPT",Qs[Qs.URL=4]="URL",Qs[Qs.RESOURCE_URL=5]="RESOURCE_URL",Qs))();function Js(t){const e=function(){const t=Me();return t&&t[12]}();return e?e.sanitize(Qs.URL,t)||"":Os(t,"URL")?Ss(t):As(ut(t))}const Ys="__ngContext__";function Xs(t,e){t[Ys]=e}function ti(t){const e=function(t){return t[Ys]||null}(t);return e?Array.isArray(e)?e:e.lView:null}function ei(t){return t.ngOriginalError}function ni(t,...e){t.error(...e)}class si{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),s=function(t){return t&&t.ngErrorLogger||ni}(t);s(this._console,"ERROR",t),e&&s(this._console,"ORIGINAL ERROR",e),n&&s(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?function(t){return t.ngDebugContext}(t)||this._findContext(ei(t)):null}_findOriginalError(t){let e=t&&ei(t);for(;e&&ei(e);)e=ei(e);return e||null}}const ii=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(It))();function ri(t){return t instanceof Function?t():t}var oi=(()=>((oi=oi||{})[oi.Important=1]="Important",oi[oi.DashCase=2]="DashCase",oi))();function ai(t,e){return undefined(t,e)}function li(t){const e=t[3];return ee(e)?e[3]:e}function ci(t){return hi(t[13])}function ui(t){return hi(t[4])}function hi(t){for(;null!==t&&!ee(t);)t=t[4];return t}function di(t,e,n,s,i){if(null!=s){let r,o=!1;ee(s)?r=s:te(s)&&(o=!0,s=s[0]);const a=ye(s);0===t&&null!==n?null==i?vi(e,n,a):bi(e,n,a,i||null,!0):1===t&&null!==n?bi(e,n,a,i||null,!0):2===t?function(t,e,n){const s=Ci(t,e);s&&function(t,e,n,s){me(t)?t.removeChild(e,n,s):e.removeChild(n)}(t,s,e,n)}(e,a,o):3===t&&e.destroyNode(a),null!=r&&function(t,e,n,s,i){const r=n[7];r!==ye(n)&&di(e,t,s,r,i);for(let o=10;o0&&(t[n-1][4]=s[4]);const r=Gn(t,10+e);!function(t,e){Mi(t,e,e[Xt],2,null,null),e[0]=null,e[6]=null}(s[1],s);const o=r[19];null!==o&&o.detachView(r[1]),s[3]=null,s[4]=null,s[2]&=-129}return s}function mi(t,e){if(!(256&e[2])){const n=e[Xt];me(n)&&n.destroyNode&&Mi(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return _i(t[1],t);for(;e;){let n=null;if(te(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)te(e)&&_i(e[1],e),e=e[3];null===e&&(e=t),te(e)&&_i(e[1],e),n=e&&e[4]}e=n}}(e)}}function _i(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?s[i=l]():s[i=-l].unsubscribe(),r+=2}else{const t=s[i=n[r+1]];n[r].call(t)}if(null!==s){for(let t=i+1;tr?"":i[u+1].toLowerCase();const e=8&s?t:null;if(e&&-1!==Ni(e,c,0)||2&s&&c!==t){if(Hi(s))return!1;o=!0}}}}else{if(!o&&!Hi(s)&&!Hi(l))return!1;if(o&&Hi(l))continue;o=!1,s=l|1&s}}return Hi(s)||o}function Hi(t){return 0==(1&t)}function Bi(t,e,n,s){if(null===e)return-1;let i=0;if(s||!n){let n=!1;for(;i-1)for(n++;n0?'="'+e+'"':"")+"]"}else 8&s?i+="."+o:4&s&&(i+=" "+o);else""!==i&&!Hi(o)&&(e+=Vi(r,i),i=""),s=o,r=r||!Hi(s);n++}return""!==i&&(e+=Vi(r,i)),e}const Wi={};function Gi(t){Ki(Ae(),Me(),Xe()+t,Fe())}function Ki(t,e,n,s){if(!s)if(3==(3&e[2])){const s=t.preOrderCheckHooks;null!==s&&sn(e,s,n)}else{const s=t.preOrderHooks;null!==s&&rn(e,s,0,n)}tn(n)}function Zi(t,e){return t<<17|e<<2}function Qi(t){return t>>17&32767}function Ji(t){return 2|t}function Yi(t){return(131068&t)>>2}function Xi(t,e){return-131069&t|e<<2}function tr(t){return 1|t}function er(t,e){const n=t.contentQueries;if(null!==n)for(let s=0;s20&&Ki(t,e,20,Fe()),n(s,i)}finally{tn(r)}}function cr(t,e,n){!Te()||(function(t,e,n,s){const i=n.directiveStart,r=n.directiveEnd;t.firstCreatePass||wn(n,e),Xs(s,e);const o=n.initialInputs;for(let a=i;a0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(n)!=r&&n.push(r),n.push(s,i,o)}}function yr(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function br(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function vr(t,e,n){if(n){if(e.exportAs)for(let s=0;s0&&Tr(n)}}function Tr(t){for(let n=ci(t);null!==n;n=ui(n))for(let t=10;t0&&Tr(e)}const e=t[1].components;if(null!==e)for(let n=0;n0&&Tr(s)}}function Mr(t,e){const n=Ce(e,t),s=n[1];(function(t,e){for(let n=e.length;nPromise.resolve(null))();function Fr(t){return t[7]||(t[7]=[])}function jr(t){return t.cleanup||(t.cleanup=[])}function zr(t,e,n){return(null===t||re(t))&&(n=function(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[0]}return null}(n[e.index])),n[Xt]}function Hr(t,e){const n=t[9],s=n?n.get(si,null):null;s&&s.handleError(e)}function Br(t,e,n,s,i){for(let r=0;rthis.processProvider(n,t,e)),qn([t],t=>this.processInjectorType(t,[],i)),this.records.set(Vr,to(void 0,this));const r=this.records.get(Wr);this.scope=null!=r?r.value:null,this.source=s||("object"==typeof t?null:st(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=Yn,n=xt.Default){this.assertNotDestroyed();const s=rs(this),i=Ot(void 0);try{if(!(n&xt.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=function(t){return"function"==typeof t||"object"==typeof t&&t instanceof Bn}(t)&&mt(t);e=n&&this.injectableDefInScope(n)?to(Xr(t),Gr):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&xt.Self?Qr():this.parent).get(t,e=n&xt.Optional&&e===Yn?null:e)}catch(r){if("NullInjectorError"===r.name){if((r[ts]=r[ts]||[]).unshift(st(t)),s)throw r;return ds(r,t,"R3InjectorError",this.source)}throw r}finally{Ot(i),rs(s)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(st(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=at(t)))return!1;let s=yt(t);const i=null==s&&t.ngModule||void 0,r=void 0===i?t:i,o=-1!==n.indexOf(r);if(void 0!==i&&(s=yt(i)),null==s)return!1;if(null!=s.imports&&!o){let t;n.push(r);try{qn(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||Dt))}}this.injectorDefTypes.add(r);const a=ae(r)||(()=>new r);this.records.set(r,to(a,Gr));const l=s.providers;if(null!=l&&!o){const e=t;qn(l,t=>this.processProvider(t,e,l))}return void 0!==i&&void 0!==t.providers}processProvider(t,e,n){let s=no(t=at(t))?t:at(t&&t.provide);const i=function(t,e,n){return eo(t)?to(void 0,t.useValue):to(function(t,e,n){let s;if(no(t)){const e=at(t);return ae(e)||Xr(e)}if(eo(t))s=()=>at(t.useValue);else if(function(t){return!(!t||!t.useFactory)}(t))s=()=>t.useFactory(...cs(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))s=()=>as(at(t.useExisting));else{const e=at(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return ae(e)||Xr(e);s=()=>new e(...cs(t.deps))}return s}(t),Gr)}(t);if(no(t)||!0!==t.multi)this.records.get(s);else{let e=this.records.get(s);e||(e=to(void 0,Gr,!0),e.factory=()=>cs(e.multi),this.records.set(s,e)),s=t,e.multi.push(t)}this.records.set(s,i)}hydrate(t,e){return e.value===Gr&&(e.value=Kr,e.value=e.factory()),"object"==typeof e.value&&e.value&&function(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(e.value)&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=at(t.providedIn);return"string"==typeof e?"any"===e||e===this.scope:this.injectorDefTypes.has(e)}}function Xr(t){const e=mt(t),n=null!==e?e.factory:ae(t);if(null!==n)return n;if(t instanceof Bn)throw new Error(`Token ${st(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=Kn(e,"?");throw new Error(`Can't resolve all parameters for ${st(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[bt]||t[wt]);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 to(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function eo(t){return null!==t&&"object"==typeof t&&ss in t}function no(t){return"function"==typeof t}const so=function(t,e,n){return function(t,e=null,n=null,s){const i=Jr(t,e,n,s);return i._resolveInjectorDefTypes(),i}({name:n},e,t,n)};let io=(()=>{class t{static create(t,e){return Array.isArray(t)?so(t,e,""):so(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=Yn,t.NULL=new qr,t.\u0275prov=ft({token:t,providedIn:"any",factory:()=>as(Vr)}),t.__NG_ELEMENT_ID__=-1,t})();function ro(t,e){nn(ti(t)[1],Re())}function oo(t){let e=function(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),n=!0;const s=[t];for(;e;){let i;if(re(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");i=e.\u0275dir}if(i){if(n){s.push(i);const e=t;e.inputs=ao(t.inputs),e.declaredInputs=ao(t.declaredInputs),e.outputs=ao(t.outputs);const n=i.hostBindings;n&&uo(t,n);const r=i.viewQuery,o=i.contentQueries;if(r&&lo(t,r),o&&co(t,o),nt(t.inputs,i.inputs),nt(t.declaredInputs,i.declaredInputs),nt(t.outputs,i.outputs),re(i)&&i.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(i.data.animation)}}const e=i.features;if(e)for(let s=0;s=0;s--){const i=t[s];i.hostVars=e+=i.hostVars,i.hostAttrs=pn(i.hostAttrs,n=pn(n,i.hostAttrs))}}(s)}function ao(t){return t===Nt?{}:t===Dt?[]:t}function lo(t,e){const n=t.viewQuery;t.viewQuery=n?(t,s)=>{e(t,s),n(t,s)}:e}function co(t,e){const n=t.contentQueries;t.contentQueries=n?(t,s,i)=>{e(t,s,i),n(t,s,i)}:e}function uo(t,e){const n=t.hostBindings;t.hostBindings=n?(t,s)=>{e(t,s),n(t,s)}:e}let ho=null;function po(){if(!ho){const t=It.Symbol;if(t&&t.iterator)ho=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;ea(ye(t[s.index])):s.index;if(me(n)){let o=null;if(!a&&l&&(o=function(t,e,n,s){const i=t.cleanup;if(null!=i)for(let r=0;rn?t[n]:null}"string"==typeof t&&(r+=2)}return null}(t,e,i,s.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=r,o.__ngLastListenerFn__=r,d=!1;else{r=Ao(s,e,u,r,!1);const t=n.listen(f,i,r);h.push(r,t),c&&c.push(i,m,g,g+1)}}else r=Ao(s,e,u,r,!0),f.addEventListener(i,r,o),h.push(r),c&&c.push(i,m,g,o)}else r=Ao(s,e,u,r,!1);const p=s.outputs;let f;if(d&&null!==p&&(f=p[i])){const t=f.length;if(t)for(let n=0;n=0}function Fo(t,e){return function(t,e,n,s){const i=Me(),r=Ae(),o=function(t){const e=Ee.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}(2);r.firstUpdatePass&&function(t,e,n,s){const i=t.data;if(null===i[n+1]){const r=i[Xe()],o=function(t,e){return e>=t.expandoStartIndex}(t,n);(function(t,e){return 0!=(t.flags&(e?16:32))})(r,s)&&null===e&&!o&&(e=!1),e=function(t,e,n,s){const i=Ue(t);let r=s?e.residualClasses:e.residualStyles;if(null===i)0===(s?e.classBindings:e.styleBindings)&&(n=zo(n=jo(null,t,e,n,s),e.attrs,s),r=null);else{const o=e.directiveStylingLast;if(-1===o||t[o]!==i)if(n=jo(i,t,e,n,s),null===r){let n=function(t,e,n){const s=n?e.classBindings:e.styleBindings;if(0!==Yi(s))return t[Qi(s)]}(t,e,s);void 0!==n&&Array.isArray(n)&&(n=jo(null,t,e,n[1],s),n=zo(n,e.attrs,s),function(t,e,n,s){t[Qi(n?e.classBindings:e.styleBindings)]=s}(t,e,s,n))}else r=function(t,e,n){let s;const i=e.directiveEnd;for(let r=1+e.directiveStylingLast;r0)&&(u=!0)}else c=n;if(i)if(0!==l){const e=Qi(t[a+1]);t[s+1]=Zi(e,a),0!==e&&(t[e+1]=Xi(t[e+1],s)),t[a+1]=function(t,e){return 131071&t|e<<17}(t[a+1],s)}else t[s+1]=Zi(a,0),0!==a&&(t[a+1]=Xi(t[a+1],s)),a=s;else t[s+1]=Zi(l,0),0===a?a=s:t[l+1]=Xi(t[l+1],s),l=s;u&&(t[s+1]=Ji(t[s+1])),Do(t,c,s,!0),Do(t,c,s,!1),function(t,e,n,s,i){const r=i?t.residualClasses:t.residualStyles;null!=r&&"string"==typeof e&&Jn(r,e)>=0&&(n[s+1]=tr(n[s+1]))}(e,c,t,s,r),o=Zi(a,l),r?e.classBindings=o:e.styleBindings=o}(i,r,e,n,o,s)}}(r,t,o,s),e!==Wi&&mo(i,o,e)&&function(t,e,n,s,i,r,o,a){if(!(3&e.type))return;const l=t.data,c=l[a+1];Bo(function(t){return 1==(1&t)}(c)?Ho(l,e,n,i,Yi(c),o):void 0)||(Bo(r)||function(t){return 2==(2&t)}(c)&&(r=Ho(l,null,n,i,a,o)),function(t,e,n,s,i){const r=me(t);if(e)i?r?t.addClass(n,s):n.classList.add(s):r?t.removeClass(n,s):n.classList.remove(s);else{let e=-1===s.indexOf("-")?void 0:oi.DashCase;if(null==i)r?t.removeStyle(n,s,e):n.style.removeProperty(s);else{const o="string"==typeof i&&i.endsWith("!important");o&&(i=i.slice(0,-10),e|=oi.Important),r?t.setStyle(n,s,i,e):n.style.setProperty(s,i,o?"important":"")}}}(s,o,be(Xe(),n),i,r))}(r,r.data[Xe()],i,i[Xt],t,i[o+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=st(Ss(t)))),t}(e,n),s,o)}(t,e,null,!0),Fo}function jo(t,e,n,s,i){let r=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const e=t[i],r=Array.isArray(e),l=r?e[1]:e,c=null===l;let u=n[i+1];u===Wi&&(u=c?Dt:void 0);let h=c?Qn(u,s):l===s?u:void 0;if(r&&!Bo(h)&&(h=Qn(e,s)),Bo(h)&&(a=h,o))return a;const d=t[i+1];i=o?Qi(d):Yi(d)}if(null!==e){let t=r?e.residualClasses:e.residualStyles;null!=t&&(a=Qn(t,s))}return a}function Bo(t){return void 0!==t}function Uo(t,e=""){const n=Me(),s=Ae(),i=t+20,r=s.firstCreatePass?sr(s,i,1,e,null):s.data[i],o=n[i]=function(t,e){return me(t)?t.createText(e):t.createTextNode(e)}(n[Xt],e);Oi(s,n,o,r),Ne(r,!1)}function $o(t,e,n){const s=Me(),i=function(t,e,n,s){return mo(t,ze(),n)?e+ut(n)+s:Wi}(s,t,e,n);return i!==Wi&&Ur(s,Xe(),i),$o}function Vo(t,e,n){const s=Me();return mo(s,ze(),e)&&gr(Ae(),en(),s,t,e,s[Xt],n,!0),Vo}function qo(t,e,n){const s=Me();if(mo(s,ze(),e)){const i=Ae(),r=en();gr(i,r,s,t,e,zr(Ue(i.data),r,s),n,!0)}return qo}const Wo=void 0;var Go=["en",[["a","p"],["AM","PM"],Wo],[["AM","PM"],Wo,Wo],[["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"]],Wo,[["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"]],Wo,[["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}",Wo,"{1} 'at' {0}",Wo],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){const e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let Ko={};function Zo(t){return t in Ko||(Ko[t]=It.ng&&It.ng.common&&It.ng.common.locales&&It.ng.common.locales[t]),Ko[t]}var Qo=(()=>((Qo=Qo||{})[Qo.LocaleId=0]="LocaleId",Qo[Qo.DayPeriodsFormat=1]="DayPeriodsFormat",Qo[Qo.DayPeriodsStandalone=2]="DayPeriodsStandalone",Qo[Qo.DaysFormat=3]="DaysFormat",Qo[Qo.DaysStandalone=4]="DaysStandalone",Qo[Qo.MonthsFormat=5]="MonthsFormat",Qo[Qo.MonthsStandalone=6]="MonthsStandalone",Qo[Qo.Eras=7]="Eras",Qo[Qo.FirstDayOfWeek=8]="FirstDayOfWeek",Qo[Qo.WeekendRange=9]="WeekendRange",Qo[Qo.DateFormat=10]="DateFormat",Qo[Qo.TimeFormat=11]="TimeFormat",Qo[Qo.DateTimeFormat=12]="DateTimeFormat",Qo[Qo.NumberSymbols=13]="NumberSymbols",Qo[Qo.NumberFormats=14]="NumberFormats",Qo[Qo.CurrencyCode=15]="CurrencyCode",Qo[Qo.CurrencySymbol=16]="CurrencySymbol",Qo[Qo.CurrencyName=17]="CurrencyName",Qo[Qo.Currencies=18]="Currencies",Qo[Qo.Directionality=19]="Directionality",Qo[Qo.PluralCase=20]="PluralCase",Qo[Qo.ExtraData=21]="ExtraData",Qo))();const Jo="en-US";let Yo=Jo;function Xo(t){pt(t,"Expected localeId to be defined"),"string"==typeof t&&(Yo=t.toLowerCase().replace(/_/g,"-"))}class ta{}const ea="ngComponent";class na{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${st(t)}. Did you add it to @NgModule.entryComponents?`);return e[ea]=t,e}(t)}}let sa=(()=>{class t{}return t.NULL=new na,t})();function ia(...t){}function ra(t,e){return new aa(ve(t,e))}const oa=function(){return ra(Re(),Me())};let aa=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=oa,t})();function la(t){return t instanceof aa?t.nativeElement:t}class ca{}let ua=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>ha(),t})();const ha=function(){const t=Me(),e=Ce(Re().index,t);return function(t){return t[Xt]}(te(e)?e:t)};let da=(()=>{class t{}return t.\u0275prov=ft({token:t,providedIn:"root",factory:()=>null}),t})();class pa{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const fa=new pa("12.2.15");class ga{constructor(){}supports(t){return fo(t)}create(t){return new _a(t)}}const ma=(t,e)=>e;class _a{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||ma}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,i=null;for(;e||n;){const r=!n||e&&e.currentIndex{s=this._trackByFn(e,t),null!==i&&Object.is(i.trackById,s)?(r&&(i=this._verifyReinsertion(i,t,s,e)),Object.is(i.item,t)||this._addIdentityChange(i,t)):(i=this._mismatch(i,t,s,e),r=!0),i=i._next,e++}),this.length=e;return this._truncate(i),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,s){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,i,s)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,s))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,i,s)):t=this._addAfter(new ya(e,n),i,s),t}_verifyReinsertion(t,e,n,s){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?t=this._reinsertAfter(i,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,i=t._nextRemoved;return null===s?this._removalsHead=i:s._nextRemoved=i,null===i?this._removalsTail=s:i._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 va),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 va),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 ya{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 ba{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 va{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new ba,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 wa(t,e,n){const s=t.previousIndex;if(null===s)return s;let i=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,i=n._next;return s&&(s._next=i),i&&(i._prev=s),n._next=null,n._prev=null,n}const n=new Sa(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 Sa{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Oa(){return new Pa([new ga])}let Pa=(()=>{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=>t.create(e,n||Oa()),deps:[[t,new gs,new fs]]}}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 '${function(t){return t.name||typeof t}(t)}'`)}}return t.\u0275prov=ft({token:t,providedIn:"root",factory:Oa}),t})();function ka(){return new Ea([new Ca])}let Ea=(()=>{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=>t.create(e,n||ka()),deps:[[t,new gs,new fs]]}}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=ft({token:t,providedIn:"root",factory:ka}),t})();function Ta(t,e,n,s,i=!1){for(;null!==n;){const r=e[n.index];if(null!==r&&s.push(ye(r)),ee(r))for(let t=10;t-1&&(gi(t,n),Gn(e,n))}this._attachedToViewContainer=!1}mi(this._lView[1],this._lView)}onDestroy(t){pr(this._lView[1],this._lView,null,t)}markForCheck(){Rr(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Ir(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){je(!0);try{Ir(t,e,n)}finally{je(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function(t,e){Mi(t,e,e[Xt],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class Aa extends Ma{constructor(t){super(t),this._view=t}detectChanges(){Nr(this._view)}checkNoChanges(){!function(t){je(!0);try{Nr(t)}finally{je(!1)}}(this._view)}get context(){return null}}const Ra=function(t){return function(t,e,n){if(se(t)&&!n){const n=Ce(t.index,e);return new Ma(n,n)}return 47&t.type?new Ma(e[16],e):null}(Re(),Me(),16==(16&t))};let Ia=(()=>{class t{}return t.__NG_ELEMENT_ID__=Ra,t})();const Na=[new Ca],Da=new Pa([new ga]),La=new Ea(Na),Fa=function(){return Ba(Re(),Me())};let ja=(()=>{class t{}return t.__NG_ELEMENT_ID__=Fa,t})();const za=ja,Ha=class extends za{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=nr(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(n[19]=s.createEmbeddedView(e)),rr(e,n,t),new Ma(n)}};function Ba(t,e){return 4&t.type?new Ha(e,t,ra(t,e)):null}class Ua{}class $a{}const Va=function(){return Qa(Re(),Me())};let qa=(()=>{class t{}return t.__NG_ELEMENT_ID__=Va,t})();const Wa=qa,Ga=class extends Wa{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return ra(this._hostTNode,this._hostLView)}get injector(){return new Ln(this._hostTNode,this._hostLView)}get parentInjector(){const t=Sn(this._hostTNode,this._hostLView);if(gn(t)){const e=_n(t,this._hostLView),n=mn(t);return new Ln(e[1].data[n+8],e)}return new Ln(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=Ka(this._lContainer);return null!==e&&e[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,i){const r=n||this.parentInjector;if(!i&&null==t.ngModule&&r){const t=r.get(Ua,null);t&&(i=t)}const o=t.create(r,s,void 0,i);return this.insert(o.hostView,e),o}insert(t,e){const n=t._lView,s=n[1];if(function(t){return ee(t[3])}(n)){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],s=new Ga(e,e[6],e[3]);s.detach(s.indexOf(t))}}const i=this._adjustIndex(e),r=this._lContainer;!function(t,e,n,s){const i=10+s,r=n.length;s>0&&(n[i-1][4]=e),sii});class el extends ta{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=function(t){return t.map(qi).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return Xa(this.componentDef.inputs)}get outputs(){return Xa(this.componentDef.outputs)}create(t,e,n,s){const i=(s=s||this.ngModule)?function(t,e){return{get:(n,s,i)=>{const r=t.get(n,Ja,i);return r!==Ja||s===Ja?r:e.get(n,s,i)}}}(t,s.injector):t,r=i.get(ca,_e),o=i.get(da,null),a=r.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(t,e,n){if(me(t))return t.selectRootElement(e,n===Tt.ShadowDom);let s="string"==typeof e?t.querySelector(e):e;return s.textContent="",s}(a,n,this.componentDef.encapsulation):pi(r.createRenderer(null,this.componentDef),l,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=function(t,e){return{components:[],scheduler:t||ii,clean:Lr,playerHandler:e||null,flags:0}}(),d=dr(0,null,null,1,0,null,null,null,null,null),p=nr(null,d,h,u,null,null,r,a,o,i);let f,g;Ge(p);try{const t=function(t,e,n,s,i,r){const o=n[1];n[20]=t;const a=sr(o,20,2,"#host",null),l=a.mergedAttrs=e.hostAttrs;null!==l&&($r(a,l,!0),null!==t&&(un(i,t,l),null!==a.classes&&Ii(i,t,a.classes),null!==a.styles&&Ri(i,t,a.styles)));const c=s.createRenderer(t,e),u=nr(n,hr(e),null,e.onPush?64:16,n[20],a,s,c,r||null,null);return o.firstCreatePass&&(On(wn(a,n),o,e.type),br(o,a),wr(a,n.length,1)),Ar(n,u),n[20]=u}(c,this.componentDef,p,r,a);if(c)if(n)un(a,c,["ng-version",fa.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let s=1,i=2;for(;s0&&Ii(a,c,e.join(" "))}if(g=we(d,20),void 0!==e){const t=g.projection=[];for(let n=0;nt(o,e)),e.contentQueries){const t=Re();e.contentQueries(1,o,t.directiveStart)}const a=Re();return!r.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(tn(a.index),_r(n[1],a,0,a.directiveStart,a.directiveEnd,e),yr(e,o)),o}(t,this.componentDef,p,h,[ro]),rr(d,p,null)}finally{Ye()}return new nl(this.componentType,f,ra(g,p),p,g)}}class nl extends class{}{constructor(t,e,n,s,i){super(),this.location=n,this._rootLView=s,this._tNode=i,this.instance=e,this.hostView=this.changeDetectorRef=new Aa(s),this.componentType=t}get injector(){return new Ln(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const sl=new Map;class il extends Ua{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Ya(this);const n=Yt(t),s=function(t){return t[Ht]||null}(t);s&&Xo(s),this._bootstrapComponents=ri(n.bootstrap),this._r3Injector=Jr(t,e,[{provide:Ua,useValue:this},{provide:sa,useValue:this.componentFactoryResolver}],st(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=io.THROW_IF_NOT_FOUND,n=xt.Default){return t===io||t===Ua||t===Vr?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 rl extends $a{constructor(t){super(),this.moduleType=t,null!==Yt(t)&&function(t){const e=new Set;!function t(n){const s=Yt(n,!0),i=s.id;null!==i&&(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${st(e)} vs ${st(e.name)}`)}(i,sl.get(i),n),sl.set(i,n));const r=ri(s.imports);for(const o of r)e.has(o)||(e.add(o),t(o))}(t)}(t)}create(t){return new il(this.moduleType,t)}}function ol(t){return e=>{setTimeout(t,void 0,e)}}const al=class extends S{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){var s,i,r;let o=t,a=e||(()=>null),l=n;if(t&&"object"==typeof t){const e=t;o=null===(s=e.next)||void 0===s?void 0:s.bind(e),a=null===(i=e.error)||void 0===i?void 0:i.bind(e),l=null===(r=e.complete)||void 0===r?void 0:r.bind(e)}this.__isAsync&&(a=ol(a),o&&(o=ol(o)),l&&(l=ol(l)));const c=super.subscribe({next:o,error:a,complete:l});return t instanceof h&&t.add(c),c}};function ll(){return this._results[po()]()}class cl{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=po(),n=cl.prototype;n[e]||(n[e]=ll)}get changes(){return this._changes||(this._changes=new al)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,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,e){const n=this;n.dirty=!1;const s=Vn(t);(this._changesDetected=!function(t,e,n){if(t.length!==e.length)return!1;for(let s=0;s0)s.push(o[t/2]);else{const i=r[t+1],o=e[-n];for(let t=10;t{class t{constructor(t){this.appInits=t,this.resolve=ia,this.reject=ia,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.subscribe({complete:t,error:n})});t.push(n)}}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(as(xl,8))},t.\u0275prov=ft({token:t,factory:t.\u0275fac}),t})();const Ol=new Bn("AppId"),Pl={provide:Ol,useFactory:function(){return`${kl()}${kl()}${kl()}`},deps:[]};function kl(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const El=new Bn("Platform Initializer"),Tl=new Bn("Platform ID"),Ml=new Bn("appBootstrapListener");let Al=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ft({token:t,factory:t.\u0275fac}),t})();const Rl=new Bn("LocaleId"),Il=new Bn("DefaultCurrencyCode");class Nl{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const Dl=function(t){return new rl(t)},Ll=Dl,Fl=function(t){return Promise.resolve(Dl(t))},jl=function(t){const e=Dl(t),n=ri(Yt(t).declarations).reduce((t,e)=>{const n=Jt(e);return n&&t.push(new el(n)),t},[]);return new Nl(e,n)},zl=jl,Hl=function(t){return Promise.resolve(jl(t))};let Bl=(()=>{class t{constructor(){this.compileModuleSync=Ll,this.compileModuleAsync=Fl,this.compileModuleAndAllComponentsSync=zl,this.compileModuleAndAllComponentsAsync=Hl}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ft({token:t,factory:t.\u0275fac}),t})();const Ul=(()=>Promise.resolve(0))();function $l(t){"undefined"==typeof Zone?Ul.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class Vl{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new al(!1),this.onMicrotaskEmpty=new al(!1),this.onStable=new al(!1),this.onError=new al(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!n&&e,s.shouldCoalesceRunChangeDetection=n,s.lastRequestAnimationFrameId=-1,s.nativeRequestAnimationFrame=function(){let t=It.requestAnimationFrame,e=It.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=()=>{!function(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(It,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Gl(t),t.isCheckStableRunning=!0,Wl(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Gl(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,s,i,r,o,a)=>{try{return Kl(t),n.invokeTask(i,r,o,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||t.shouldCoalesceRunChangeDetection)&&e(),Zl(t)}},onInvoke:(n,s,i,r,o,a,l)=>{try{return Kl(t),n.invoke(i,r,o,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),Zl(t)}},onHasTask:(e,n,s,i)=>{e.hasTask(s,i),n===s&&("microTask"==i.change?(t._hasPendingMicrotasks=i.microTask,Gl(t),Wl(t)):"macroTask"==i.change&&(t.hasPendingMacrotasks=i.macroTask))},onHandleError:(e,n,s,i)=>(e.handleError(s,i),t.runOutsideAngular(()=>t.onError.emit(i)),!1)})}(s)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Vl.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Vl.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 i=this._inner,r=i.scheduleEventTask("NgZoneEvent: "+s,t,ql,ia,ia);try{return i.runTask(r,e,n)}finally{i.cancelTask(r)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const ql={};function Wl(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 Gl(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function Kl(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Zl(t){t._nesting--,Wl(t)}class Ql{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new al,this.onMicrotaskEmpty=new al,this.onStable=new al,this.onError=new al}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 Jl=(()=>{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:()=>{Vl.assertNotInAngularZone(),$l(()=>{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())$l(()=>{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/plugins/task-tracking" 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)(as(Vl))},t.\u0275prov=ft({token:t,factory:t.\u0275fac}),t})(),Yl=(()=>{class t{constructor(){this._applications=new Map,tc.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 tc.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ft({token:t,factory:t.\u0275fac}),t})();class Xl{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}let tc=new Xl,ec=!0,nc=!1;function sc(){return nc=!0,ec}let ic;const rc=new Bn("AllowMultipleToken");class oc{constructor(t,e){this.name=t,this.token=e}}function ac(t,e,n=[]){const s=`Platform: ${e}`,i=new Bn(s);return(e=[])=>{let r=lc();if(!r||r.injector.get(rc,!1))if(t)t(n.concat(e).concat({provide:i,useValue:!0}));else{const t=n.concat(e).concat({provide:i,useValue:!0},{provide:Wr,useValue:"platform"});!function(t){if(ic&&!ic.destroyed&&!ic.injector.get(rc,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");ic=t.get(cc);const e=t.get(El,null);e&&e.forEach(t=>t())}(io.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}(i)}}function lc(){return ic&&!ic.destroyed?ic:null}let cc=(()=>{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 Ql:("zone.js"===t?void 0:t)||new Vl({enableLongStackTrace:sc(),shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)}),n}(e?e.ngZone:void 0,{ngZoneEventCoalescing:e&&e.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:e&&e.ngZoneRunCoalescing||!1}),s=[{provide:Vl,useValue:n}];return n.run(()=>{const i=io.create({providers:s,parent:this.injector,name:t.moduleType.name}),r=t.create(i),o=r.injector.get(si,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const t=n.onError.subscribe({next:t=>{o.handleError(t)}});r.onDestroy(()=>{dc(this._modules,r),t.unsubscribe()})}),function(t,n,s){try{const e=s();return Oo(e)?e.catch(e=>{throw n.runOutsideAngular(()=>t.handleError(e)),e}):e}catch(e){throw n.runOutsideAngular(()=>t.handleError(e)),e}}(o,n,()=>{const t=r.injector.get(Sl);return t.runInitializers(),t.donePromise.then(()=>(Xo(r.injector.get(Rl,Jo)||Jo),this._moduleDoBootstrap(r),r))})})}bootstrapModule(t,e=[]){const n=uc({},e);return function(t,e,n){const s=new rl(n);return Promise.resolve(s)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(hc);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${st(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)(as(io))},t.\u0275prov=ft({token:t,factory:t.\u0275fac}),t})();function uc(t,e){return Array.isArray(e)?e.reduce(uc,t):Object.assign(Object.assign({},t),e)}let hc=(()=>{class t{constructor(t,e,n,s,i){this._zone=t,this._injector=e,this._exceptionHandler=n,this._componentFactoryResolver=s,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const r=new b(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),o=new b(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{Vl.assertNotInAngularZone(),$l(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Vl.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=W(r,o.pipe(tt()))}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 ta?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const s=function(t){return t.isBoundToModule}(n)?void 0:this._injector.get(Ua),i=n.create(io.NULL,[],e||n.selector,s),r=i.location.nativeElement,o=i.injector.get(Jl,null),a=o&&i.injector.get(Yl);return o&&a&&a.registerApplication(r,o),i.onDestroy(()=>{this.detachView(i.hostView),dc(this.components,i),a&&a.unregisterApplication(r)}),this._loadComponent(i),i}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}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;dc(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Ml,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(as(Vl),as(io),as(si),as(sa),as(Sl))},t.\u0275prov=ft({token:t,factory:t.\u0275fac}),t})();function dc(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class pc{}class fc{}const gc={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let mc=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||gc}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,s]=t.split("#");return void 0===s&&(s="default"),n(8255)(e).then(t=>t[s]).then(t=>_c(t,e,s)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,s]=t.split("#"),i="NgFactory";return void 0===s&&(s="default",i=""),n(8255)(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[s+i]).then(t=>_c(t,e,s))}}return t.\u0275fac=function(e){return new(e||t)(as(Bl),as(fc,8))},t.\u0275prov=ft({token:t,factory:t.\u0275fac}),t})();function _c(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}const yc=ac(null,"core",[{provide:Tl,useValue:"unknown"},{provide:cc,deps:[io]},{provide:Yl,deps:[]},{provide:Al,deps:[]}]),bc=[{provide:hc,useClass:hc,deps:[Vl,io,si,sa,Sl]},{provide:tl,deps:[Vl],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:Sl,useClass:Sl,deps:[[new fs,xl]]},{provide:Bl,useClass:Bl,deps:[]},Pl,{provide:Pa,useFactory:function(){return Da},deps:[]},{provide:Ea,useFactory:function(){return La},deps:[]},{provide:Rl,useFactory:function(t){return Xo(t=t||"undefined"!=typeof $localize&&$localize.locale||Jo),t},deps:[[new ps(Rl),new fs,new gs]]},{provide:Il,useValue:"USD"}];let vc=(()=>{class t{constructor(t){}}return t.\u0275fac=function(e){return new(e||t)(as(hc))},t.\u0275mod=Kt({type:t}),t.\u0275inj=gt({providers:bc}),t})(),wc=null;function Cc(){return wc}const xc=new Bn("DocumentToken");let Sc=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ft({factory:Oc,token:t,providedIn:"platform"}),t})();function Oc(){return as(kc)}const Pc=new Bn("Location Initialized");let kc=(()=>{class t extends Sc{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Cc().getBaseHref(this._doc)}onPopState(t){const e=Cc().getGlobalEventTarget(this._doc,"window");return e.addEventListener("popstate",t,!1),()=>e.removeEventListener("popstate",t)}onHashChange(t){const e=Cc().getGlobalEventTarget(this._doc,"window");return e.addEventListener("hashchange",t,!1),()=>e.removeEventListener("hashchange",t)}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){Ec()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){Ec()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(as(xc))},t.\u0275prov=ft({factory:Tc,token:t,providedIn:"platform"}),t})();function Ec(){return!!window.history.pushState}function Tc(){return new kc(as(xc))}function Mc(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 Ac(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 Rc(t){return t&&"?"!==t[0]?"?"+t:t}let Ic=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ft({factory:Nc,token:t,providedIn:"root"}),t})();function Nc(t){const e=as(xc).location;return new Lc(as(Sc),e&&e.origin||"")}const Dc=new Bn("appBaseHref");let Lc=(()=>{class t extends Ic{constructor(t,e){if(super(),this._platformLocation=t,this._removeListenerFns=[],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}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return Mc(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+Rc(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,s){const i=this.prepareExternalUrl(n+Rc(s));this._platformLocation.pushState(t,e,i)}replaceState(t,e,n,s){const i=this.prepareExternalUrl(n+Rc(s));this._platformLocation.replaceState(t,e,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformLocation).historyGo)||void 0===n||n.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(as(Sc),as(Dc,8))},t.\u0275prov=ft({token:t,factory:t.\u0275fac}),t})(),Fc=(()=>{class t extends Ic{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=e&&(this._baseHref=e)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=Mc(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,s){let i=this.prepareExternalUrl(n+Rc(s));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(t,e,i)}replaceState(t,e,n,s){let i=this.prepareExternalUrl(n+Rc(s));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformLocation).historyGo)||void 0===n||n.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(as(Sc),as(Dc,8))},t.\u0275prov=ft({token:t,factory:t.\u0275fac}),t})(),jc=(()=>{class t{constructor(t,e){this._subject=new al,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=Ac(Hc(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+Rc(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,Hc(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+Rc(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Rc(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformStrategy).historyGo)||void 0===n||n.call(e,t)}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)(as(Ic),as(Sc))},t.normalizeQueryParams=Rc,t.joinWithSlash=Mc,t.stripTrailingSlash=Ac,t.\u0275prov=ft({factory:zc,token:t,providedIn:"root"}),t})();function zc(){return new jc(as(Ic),as(Sc))}function Hc(t){return t.replace(/\/index.html$/,"")}var Bc=(()=>((Bc=Bc||{})[Bc.Zero=0]="Zero",Bc[Bc.One=1]="One",Bc[Bc.Two=2]="Two",Bc[Bc.Few=3]="Few",Bc[Bc.Many=4]="Many",Bc[Bc.Other=5]="Other",Bc))();const Uc=function(t){return function(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=Zo(e);if(n)return n;const s=e.split("-")[0];if(n=Zo(s),n)return n;if("en"===s)return Go;throw new Error(`Missing locale data for the locale "${t}".`)}(t)[Qo.PluralCase]};class $c{}let Vc=(()=>{class t extends $c{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(Uc(e||this.locale)(t)){case Bc.Zero:return"zero";case Bc.One:return"one";case Bc.Two:return"two";case Bc.Few:return"few";case Bc.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(as(Rl))},t.\u0275prov=ft({token:t,factory:t.\u0275fac}),t})();function qc(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[s,i]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(s.trim()===e)return decodeURIComponent(i)}return null}let Wc=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new Gc,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){Kc("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Kc("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)(bo(qa),bo(ja))},t.\u0275dir=Qt({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class Gc{constructor(){this.$implicit=null,this.ngIf=null}}function Kc(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${st(e)}'.`)}let Zc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Kt({type:t}),t.\u0275inj=gt({providers:[{provide:$c,useClass:Vc}]}),t})();const Qc="browser";function Jc(t){return"server"===t}let Yc=(()=>{class t{}return t.\u0275prov=ft({token:t,providedIn:"root",factory:()=>new Xc(as(xc),window)}),t})();class Xc{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const e=function(t,e){const n=t.getElementById(e)||t.getElementsByName(e)[0];if(n)return n;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow)){const n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let s=n.currentNode;for(;s;){const t=s.shadowRoot;if(t){const n=t.getElementById(e)||t.querySelector(`[name="${e}"]`);if(n)return n}s=n.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),this.attemptFocus(e))}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,s=e.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],s-i[1])}attemptFocus(t){return t.focus(),this.document.activeElement===t}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=tu(this.window.history)||tu(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}function tu(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class eu{}class nu extends class extends class{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function(t){wc||(wc=t)}(new nu)}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}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}getBaseHref(t){const e=(iu=iu||document.querySelector("base"),iu?iu.getAttribute("href"):null);return null==e?null:function(t){su=su||document.createElement("a"),su.setAttribute("href",t);const e=su.pathname;return"/"===e.charAt(0)?e:`/${e}`}(e)}resetBaseElement(){iu=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return qc(document.cookie,t)}}let su,iu=null;const ru=new Bn("TRANSITION_ID"),ou=[{provide:xl,useFactory:function(t,e,n){return()=>{n.get(Sl).donePromise.then(()=>{const n=Cc(),s=e.querySelectorAll(`style[ng-transition="${t}"]`);for(let t=0;t{const s=t.findTestabilityInTree(e,n);if(null==s)throw new Error("Could not find testability for element.");return s},It.getAllAngularTestabilities=()=>t.getAllTestabilities(),It.getAllAngularRootElements=()=>t.getAllRootElements(),It.frameworkStabilizers||(It.frameworkStabilizers=[]),It.frameworkStabilizers.push(t=>{const e=It.getAllAngularTestabilities();let n=e.length,s=!1;const i=function(e){s=s||e,n--,0==n&&t(s)};e.forEach(function(t){t.whenStable(i)})})}findTestabilityInTree(t,e,n){if(null==e)return null;const s=t.getTestability(e);return null!=s?s:n?Cc().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}let lu=(()=>{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ft({token:t,factory:t.\u0275fac}),t})();const cu=new Bn("EventManagerPlugins");let uu=(()=>{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=ft({token:t,factory:t.\u0275fac}),t})(),pu=(()=>{class t extends du{constructor(t){super(),this._doc=t,this._hostNodes=new Map,this._hostNodes.set(t.head,[])}_addStylesToHost(t,e,n){t.forEach(t=>{const s=this._doc.createElement("style");s.textContent=t,n.push(e.appendChild(s))})}addHost(t){const e=[];this._addStylesToHost(this._stylesSet,t,e),this._hostNodes.set(t,e)}removeHost(t){const e=this._hostNodes.get(t);e&&e.forEach(fu),this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach((e,n)=>{this._addStylesToHost(t,n,e)})}ngOnDestroy(){this._hostNodes.forEach(t=>t.forEach(fu))}}return t.\u0275fac=function(e){return new(e||t)(as(xc))},t.\u0275prov=ft({token:t,factory:t.\u0275fac}),t})();function fu(t){Cc().remove(t)}const gu={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/"},mu=/%COMP%/g;function _u(t,e,n){for(let s=0;s{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let bu=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new vu(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case Tt.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new wu(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case 1:case Tt.ShadowDom:return new Cu(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=_u(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)(as(uu),as(pu),as(Ol))},t.\u0275prov=ft({token:t,factory:t.\u0275fac}),t})();class vu{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(gu[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 i=gu[s];i?t.setAttributeNS(i,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const s=gu[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&(oi.DashCase|oi.Important)?t.style.setProperty(e,n,s&oi.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&oi.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,yu(n)):this.eventManager.addEventListener(t,e,yu(n))}}class wu extends vu{constructor(t,e,n,s){super(t),this.component=n;const i=_u(s+"-"+n.id,n.styles,[]);e.addStyles(i),this.contentAttr=function(t){return"_ngcontent-%COMP%".replace(mu,t)}(s+"-"+n.id),this.hostAttr=function(t){return"_nghost-%COMP%".replace(mu,t)}(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 Cu extends vu{constructor(t,e,n,s){super(t),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const i=_u(s.id,s.styles,[]);for(let r=0;r{class t extends hu{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)(as(xc))},t.\u0275prov=ft({token:t,factory:t.\u0275fac}),t})();const Su=["alt","control","meta","shift"],Ou={"\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"},Pu={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"},ku={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let Eu=(()=>{class t extends hu{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,s){const i=t.parseEventName(n),r=t.eventCallback(i.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Cc().onAndCancel(e,i.domEventName,r))}static parseEventName(e){const n=e.toLowerCase().split("."),s=n.shift();if(0===n.length||"keydown"!==s&&"keyup"!==s)return null;const i=t._normalizeKey(n.pop());let r="";if(Su.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),r+=t+".")}),r+=i,0!=n.length||0===i.length)return null;const o={};return o.domEventName=s,o.fullKey=r,o}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&&Pu.hasOwnProperty(e)&&(e=Pu[e]))}return Ou[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),Su.forEach(s=>{s!=n&&ku[s](t)&&(e+=s+".")}),e+=n,e}static eventCallback(e,n,s){return i=>{t.getEventFullKey(i)===e&&s.runGuarded(()=>n(i))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(as(xc))},t.\u0275prov=ft({token:t,factory:t.\u0275fac}),t})(),Tu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ft({factory:function(){return as(Mu)},token:t,providedIn:"root"}),t})(),Mu=(()=>{class t extends Tu{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case Qs.NONE:return e;case Qs.HTML:return Os(e,"HTML")?Ss(e):Ks(this._doc,String(e)).toString();case Qs.STYLE:return Os(e,"Style")?Ss(e):e;case Qs.SCRIPT:if(Os(e,"Script"))return Ss(e);throw new Error("unsafe value used in a script context");case Qs.URL:return Ps(e),Os(e,"URL")?Ss(e):As(String(e));case Qs.RESOURCE_URL:if(Os(e,"ResourceURL"))return Ss(e);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return function(t){return new bs(t)}(t)}bypassSecurityTrustStyle(t){return function(t){return new vs(t)}(t)}bypassSecurityTrustScript(t){return function(t){return new ws(t)}(t)}bypassSecurityTrustUrl(t){return function(t){return new Cs(t)}(t)}bypassSecurityTrustResourceUrl(t){return function(t){return new xs(t)}(t)}}return t.\u0275fac=function(e){return new(e||t)(as(xc))},t.\u0275prov=ft({factory:function(){return function(t){return new Mu(t.get(xc))}(as(Vr))},token:t,providedIn:"root"}),t})();const Au=ac(yc,"browser",[{provide:Tl,useValue:Qc},{provide:El,useValue:function(){nu.makeCurrent(),au.init()},multi:!0},{provide:xc,useFactory:function(){return function(t){ge=t}(document),document},deps:[]}]),Ru=[[],{provide:Wr,useValue:"root"},{provide:si,useFactory:function(){return new si},deps:[]},{provide:cu,useClass:xu,multi:!0,deps:[xc,Vl,Tl]},{provide:cu,useClass:Eu,multi:!0,deps:[xc]},[],{provide:bu,useClass:bu,deps:[uu,pu,Ol]},{provide:ca,useExisting:bu},{provide:du,useExisting:pu},{provide:pu,useClass:pu,deps:[xc]},{provide:Jl,useClass:Jl,deps:[Vl]},{provide:uu,useClass:uu,deps:[cu,Vl]},{provide:eu,useClass:lu,deps:[]},[]];let Iu=(()=>{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:Ol,useValue:e.appId},{provide:ru,useExisting:Ol},ou]}}}return t.\u0275fac=function(e){return new(e||t)(as(t,12))},t.\u0275mod=Kt({type:t}),t.\u0275inj=gt({providers:Ru,imports:[Zc,vc]}),t})();function Nu(){return new Du(as(xc))}let Du=(()=>{class t{constructor(t){this._doc=t,this._dom=Cc()}addTag(t,e=!1){return t?this._getOrCreateElement(t,e):null}addTags(t,e=!1){return t?t.reduce((t,n)=>(n&&t.push(this._getOrCreateElement(n,e)),t),[]):[]}getTag(t){return t&&this._doc.querySelector(`meta[${t}]`)||null}getTags(t){if(!t)return[];const e=this._doc.querySelectorAll(`meta[${t}]`);return e?[].slice.call(e):[]}updateTag(t,e){if(!t)return null;e=e||this._parseSelector(t);const n=this.getTag(e);return n?this._setMetaElementAttributes(t,n):this._getOrCreateElement(t,!0)}removeTag(t){this.removeTagElement(this.getTag(t))}removeTagElement(t){t&&this._dom.remove(t)}_getOrCreateElement(t,e=!1){if(!e){const e=this._parseSelector(t),n=this.getTags(e).filter(e=>this._containsAttributes(t,e))[0];if(void 0!==n)return n}const n=this._dom.createElement("meta");return this._setMetaElementAttributes(t,n),this._doc.getElementsByTagName("head")[0].appendChild(n),n}_setMetaElementAttributes(t,e){return Object.keys(t).forEach(n=>e.setAttribute(this._getMetaKeyMap(n),t[n])),e}_parseSelector(t){const e=t.name?"name":"property";return`${e}="${t[e]}"`}_containsAttributes(t,e){return Object.keys(t).every(n=>e.getAttribute(this._getMetaKeyMap(n))===t[n])}_getMetaKeyMap(t){return Lu[t]||t}}return t.\u0275fac=function(e){return new(e||t)(as(xc))},t.\u0275prov=ft({factory:Nu,token:t,providedIn:"root"}),t})();const Lu={httpEquiv:"http-equiv"};function Fu(){return new ju(as(xc))}let ju=(()=>{class t{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}}return t.\u0275fac=function(e){return new(e||t)(as(xc))},t.\u0275prov=ft({factory:Fu,token:t,providedIn:"root"}),t})();function zu(...t){let e=t[t.length-1];return P(e)?(t.pop(),D(t,e)):q(t)}"undefined"!=typeof window&&window;class Hu extends S{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 w;return this._value}next(t){super.next(this._value=t)}}class Bu extends g{notifyNext(t,e,n,s,i){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}class Uu extends g{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()}}function $u(t,e,n,s,i=new Uu(t,n,s)){if(!i.closed)return e instanceof b?e.subscribe(i):N(e)(i)}const Vu={};class qu{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new Wu(t,this.resultSelector))}}class Wu extends Bu{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(Vu),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{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})();function Ku(...t){return V(1)(zu(...t))}const Zu=new b(t=>t.complete());function Qu(t){return t?function(t){return new b(e=>t.schedule(()=>e.complete()))}(t):Zu}function Ju(t){return new b(e=>{let n;try{n=t()}catch(s){return void e.error(s)}return(n?L(n):Qu()).subscribe(e)})}function Yu(t,e){return"function"==typeof e?n=>n.pipe(Yu((n,s)=>L(t(n,s)).pipe(k((t,i)=>e(n,t,s,i))))):e=>e.lift(new Xu(t))}class Xu{constructor(t){this.project=t}call(t,e){return e.subscribe(new th(t,this.project))}}class th 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)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const n=new F(this),s=this.destination;s.add(n),this.innerSubscription=z(t,n),this.innerSubscription!==n&&s.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;(!t||t.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(t){this.destination.next(t)}}const eh=(()=>{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 nh(t){return e=>0===t?Qu():e.lift(new sh(t))}class sh{constructor(t){if(this.total=t,this.total<0)throw new eh}call(t,e){return e.subscribe(new ih(t,this.total))}}class ih extends g{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 rh(...t){const e=t[t.length-1];return P(e)?(t.pop(),n=>Ku(t,n,e)):e=>Ku(t,e)}function oh(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(s){return s.lift(new ah(t,e,n))}}class ah{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new lh(t,this.accumulator,this.seed,this.hasSeed))}}class lh extends g{constructor(t,e,n,s){super(t),this.accumulator=e,this._seed=n,this.hasSeed=s,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let n;try{n=this.accumulator(this.seed,t,e)}catch(s){this.destination.error(s)}this.seed=n,this.destination.next(n)}}function ch(t,e){return function(n){return n.lift(new uh(t,e))}}class uh{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new hh(t,this.predicate,this.thisArg))}}class hh extends g{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)}}function dh(t){return function(e){const n=new ph(t),s=e.lift(n);return n.caught=s}}class ph{constructor(t){this.selector=t}call(t,e){return e.subscribe(new fh(t,this.selector,this.caught))}}class fh extends j{constructor(t,e,n){super(t),this.selector=e,this.caught=n}error(t){if(!this.isStopped){let n;try{n=this.selector(t,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const s=new F(this);this.add(s);const i=z(n,s);i!==s&&this.add(i)}}}function gh(t,e){return H(t,e,1)}function mh(t){return function(e){return 0===t?Qu():e.lift(new _h(t))}}class _h{constructor(t){if(this.total=t,this.total<0)throw new eh}call(t,e){return e.subscribe(new yh(t,this.total))}}class yh extends g{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,n=this.total,s=this.count++;e.length0){const n=this.count>=this.total?this.total:this.count,s=this.ring;for(let i=0;ie.lift(new vh(t))}class vh{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new wh(t,this.errorFactory))}}class wh extends g{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function Ch(){return new Gu}function xh(t=null){return e=>e.lift(new Sh(t))}class Sh{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new Oh(t,this.defaultValue))}}class Oh extends g{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function Ph(t,e){const n=arguments.length>=2;return s=>s.pipe(t?ch((e,n)=>t(e,n,s)):y,nh(1),n?xh(e):bh(()=>new Gu))}function kh(){}function Eh(t,e,n){return function(s){return s.lift(new Th(t,e,n))}}class Th{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new Mh(t,this.nextOrObserver,this.error,this.complete))}}class Mh extends g{constructor(t,e,n,i){super(t),this._tapNext=kh,this._tapError=kh,this._tapComplete=kh,this._tapError=n||kh,this._tapComplete=i||kh,s(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||kh,this._tapError=e.error||kh,this._tapComplete=e.complete||kh)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}function Ah(t){return e=>e.lift(new Rh(t))}class Rh{constructor(t){this.callback=t}call(t,e){return e.subscribe(new Ih(t,this.callback))}}class Ih extends g{constructor(t,e){super(t),this.add(new h(e))}}class Nh{constructor(t,e){this.id=t,this.url=e}}class Dh extends Nh{constructor(t,e,n="imperative",s=null){super(t,e),this.navigationTrigger=n,this.restoredState=s}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Lh extends Nh{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Fh extends Nh{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class jh extends Nh{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class zh extends Nh{constructor(t,e,n,s){super(t,e),this.urlAfterRedirects=n,this.state=s}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Hh extends Nh{constructor(t,e,n,s){super(t,e),this.urlAfterRedirects=n,this.state=s}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Bh extends Nh{constructor(t,e,n,s,i){super(t,e),this.urlAfterRedirects=n,this.state=s,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Uh extends Nh{constructor(t,e,n,s){super(t,e),this.urlAfterRedirects=n,this.state=s}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class $h extends Nh{constructor(t,e,n,s){super(t,e),this.urlAfterRedirects=n,this.state=s}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Vh{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class qh{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Wh{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Gh{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Kh{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Zh{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Qh{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const Jh="primary";class Yh{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function Xh(t){return new Yh(t)}const td="ngNavigationCancelingError";function ed(t){const e=Error("NavigationCancelingError: "+t);return e[td]=!0,e}function nd(t,e,n){const s=n.path.split("/");if(s.length>t.length||"full"===n.pathMatch&&(e.hasChildren()||s.lengths[e]===t)}return t===e}function rd(t){return Array.prototype.concat.apply([],t)}function od(t){return t.length>0?t[t.length-1]:null}function ad(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function ld(t){return Po(t)?t:Oo(t)?L(Promise.resolve(t)):zu(t)}const cd={exact:function t(e,n,s){if(!yd(e.segments,n.segments)||!fd(e.segments,n.segments,s)||e.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children)if(!e.children[i]||!t(e.children[i],n.children[i],s))return!1;return!0},subset:dd},ud={exact:function(t,e){return sd(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>id(t[n],e[n]))},ignored:()=>!0};function hd(t,e,n){return cd[n.paths](t.root,e.root,n.matrixParams)&&ud[n.queryParams](t.queryParams,e.queryParams)&&!("exact"===n.fragment&&t.fragment!==e.fragment)}function dd(t,e,n){return pd(t,e,e.segments,n)}function pd(t,e,n,s){if(t.segments.length>n.length){const i=t.segments.slice(0,n.length);return!(!yd(i,n)||e.hasChildren()||!fd(i,n,s))}if(t.segments.length===n.length){if(!yd(t.segments,n)||!fd(t.segments,n,s))return!1;for(const n in e.children)if(!t.children[n]||!dd(t.children[n],e.children[n],s))return!1;return!0}{const i=n.slice(0,t.segments.length),r=n.slice(t.segments.length);return!!(yd(t.segments,i)&&fd(t.segments,i,s)&&t.children[Jh])&&pd(t.children[Jh],e,r,s)}}function fd(t,e,n){return e.every((e,s)=>ud[n](t[s].parameters,e.parameters))}class gd{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Xh(this.queryParams)),this._queryParamMap}toString(){return wd.serialize(this)}}class md{constructor(t,e){this.segments=t,this.children=e,this.parent=null,ad(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Cd(this)}}class _d{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Xh(this.parameters)),this._parameterMap}toString(){return Td(this)}}function yd(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}class bd{}class vd{parse(t){const e=new Nd(t);return new gd(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){return`${`/${xd(t.root,!0)}`}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${Od(e)}=${Od(t)}`).join("&"):`${Od(e)}=${Od(n)}`}).filter(t=>!!t);return e.length?`?${e.join("&")}`:""}(t.queryParams)}${"string"==typeof t.fragment?`#${function(t){return encodeURI(t)}(t.fragment)}`:""}`}}const wd=new vd;function Cd(t){return t.segments.map(t=>Td(t)).join("/")}function xd(t,e){if(!t.hasChildren())return Cd(t);if(e){const e=t.children[Jh]?xd(t.children[Jh],!1):"",n=[];return ad(t.children,(t,e)=>{e!==Jh&&n.push(`${e}:${xd(t,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}{const e=function(t,e){let n=[];return ad(t.children,(t,s)=>{s===Jh&&(n=n.concat(e(t,s)))}),ad(t.children,(t,s)=>{s!==Jh&&(n=n.concat(e(t,s)))}),n}(t,(e,n)=>n===Jh?[xd(t.children[Jh],!1)]:[`${n}:${xd(e,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children[Jh]?`${Cd(t)}/${e[0]}`:`${Cd(t)}/(${e.join("//")})`}}function Sd(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Od(t){return Sd(t).replace(/%3B/gi,";")}function Pd(t){return Sd(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function kd(t){return decodeURIComponent(t)}function Ed(t){return kd(t.replace(/\+/g,"%20"))}function Td(t){return`${Pd(t.path)}${function(t){return Object.keys(t).map(e=>`;${Pd(e)}=${Pd(t[e])}`).join("")}(t.parameters)}`}const Md=/^[^\/()?;=#]+/;function Ad(t){const e=t.match(Md);return e?e[0]:""}const Rd=/^[^=?&#]+/,Id=/^[^?&#]+/;class Nd{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new md([],{}):new md([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[Jh]=new md(t,e)),n}parseSegment(){const t=Ad(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new _d(kd(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=Ad(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=Ad(this.remaining);t&&(n=t,this.capture(n))}t[kd(e)]=kd(n)}parseQueryParam(t){const e=function(t){const e=t.match(Rd);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(Id);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const s=Ed(e),i=Ed(n);if(t.hasOwnProperty(s)){let e=t[s];Array.isArray(e)||(e=[e],t[s]=e),e.push(i)}else t[s]=i}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Ad(this.remaining),s=this.remaining[n.length];if("/"!==s&&")"!==s&&";"!==s)throw new Error(`Cannot parse url '${this.url}'`);let i;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=Jh);const r=this.parseChildren();e[i]=1===Object.keys(r).length?r[Jh]:new md([],r),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class Dd{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=Ld(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=Ld(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Fd(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Fd(t,this._root).map(t=>t.value)}}function Ld(t,e){if(t===e.value)return e;for(const n of e.children){const e=Ld(t,n);if(e)return e}return null}function Fd(t,e){if(t===e.value)return[e];for(const n of e.children){const s=Fd(t,n);if(s.length)return s.unshift(e),s}return[]}class jd{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function zd(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class Hd extends Dd{constructor(t,e){super(t),this.snapshot=e,Wd(this,t)}toString(){return this.snapshot.toString()}}function Bd(t,e){const n=function(t,e){const n=new Vd([],{},{},"",{},Jh,e,null,t.root,-1,{});return new qd("",new jd(n,[]))}(t,e),s=new Hu([new _d("",{})]),i=new Hu({}),r=new Hu({}),o=new Hu({}),a=new Hu(""),l=new Ud(s,i,o,a,r,Jh,e,n.root);return l.snapshot=n.root,new Hd(new jd(l,[]),n)}class Ud{constructor(t,e,n,s,i,r,o,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=s,this.data=i,this.outlet=r,this.component=o,this._futureSnapshot=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(k(t=>Xh(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(k(t=>Xh(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function $d(t,e="emptyOnly"){const n=t.pathFromRoot;let s=0;if("always"!==e)for(s=n.length-1;s>=1;){const t=n[s],e=n[s-1];if(t.routeConfig&&""===t.routeConfig.path)s--;else{if(e.component)break;s--}}return function(t){return t.reduce((t,e)=>({params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(s))}class Vd{constructor(t,e,n,s,i,r,o,a,l,c,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=s,this.data=i,this.outlet=r,this.component=o,this.routeConfig=a,this._urlSegment=l,this._lastPathIndex=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Xh(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Xh(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class qd extends Dd{constructor(t,e){super(e),this.url=t,Wd(this,e)}toString(){return Gd(this._root)}}function Wd(t,e){e.value._routerState=t,e.children.forEach(e=>Wd(t,e))}function Gd(t){const e=t.children.length>0?` { ${t.children.map(Gd).join(", ")} } `:"";return`${t.value}${e}`}function Kd(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,sd(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),sd(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;nsd(t.parameters,e[n].parameters))}(t.url,e.url)&&!(!t.parent!=!e.parent)&&(!t.parent||Zd(t.parent,e.parent))}function Qd(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){const s=n.value;s._futureSnapshot=e.value;const i=function(t,e,n){return e.children.map(e=>{for(const s of n.children)if(t.shouldReuseRoute(e.value,s.value.snapshot))return Qd(t,e,s);return Qd(t,e)})}(t,e,n);return new jd(s,i)}{if(t.shouldAttach(e.value)){const n=t.retrieve(e.value);if(null!==n){const t=n.route;return Jd(e,t),t}}const n=function(t){return new Ud(new Hu(t.url),new Hu(t.params),new Hu(t.queryParams),new Hu(t.fragment),new Hu(t.data),t.outlet,t.component,t)}(e.value),s=e.children.map(e=>Qd(t,e));return new jd(n,s)}}function Jd(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=t.value;for(let n=0;n{r[e]=Array.isArray(t)?t.map(t=>`${t}`):`${t}`}),new gd(n.root===t?e:ep(n.root,t,e),r,i)}function ep(t,e,n){const s={};return ad(t.children,(t,i)=>{s[i]=t===e?n:ep(t,e,n)}),new md(t.segments,s)}class np{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&Yd(n[0]))throw new Error("Root segment cannot have matrix parameters");const s=n.find(Xd);if(s&&s!==od(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class sp{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function ip(t,e,n){if(t||(t=new md([],{})),0===t.segments.length&&t.hasChildren())return rp(t,e,n);const s=function(t,e,n){let s=0,i=e;const r={match:!1,pathIndex:0,commandIndex:0};for(;i=n.length)return r;const e=t.segments[i],o=n[s];if(Xd(o))break;const a=`${o}`,l=s0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!cp(a,l,e))return r;s+=2}else{if(!cp(a,{},e))return r;s++}i++}return{match:!0,pathIndex:i,commandIndex:s}}(t,e,n),i=n.slice(s.commandIndex);if(s.match&&s.pathIndex{"string"==typeof n&&(n=[n]),null!==n&&(i[s]=ip(t.children[s],e,n))}),ad(t.children,(t,e)=>{void 0===s[e]&&(i[e]=t)}),new md(t.segments,i)}}function op(t,e,n){const s=t.segments.slice(0,e);let i=0;for(;i{"string"==typeof t&&(t=[t]),null!==t&&(e[n]=op(new md([],{}),0,t))}),e}function lp(t){const e={};return ad(t,(t,n)=>e[n]=`${t}`),e}function cp(t,e,n){return t==n.path&&sd(e,n.parameters)}class up{constructor(t,e,n,s){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=s}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),Kd(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const s=zd(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,s[e],n),delete s[e]}),ad(s,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const s=t.value,i=e?e.value:null;if(s===i)if(s.component){const i=n.getContext(s.outlet);i&&this.deactivateChildRoutes(t,e,i.children)}else this.deactivateChildRoutes(t,e,n);else i&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet);if(n&&n.outlet){const e=n.outlet.detach(),s=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:s})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet),s=n&&t.value.component?n.children:e,i=zd(t);for(const r of Object.keys(i))this.deactivateRouteAndItsChildren(i[r],s);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated(),n.attachRef=null,n.resolver=null,n.route=null)}activateChildRoutes(t,e,n){const s=zd(e);t.children.forEach(t=>{this.activateRoutes(t,s[t.value.outlet],n),this.forwardEvent(new Zh(t.value.snapshot))}),t.children.length&&this.forwardEvent(new Gh(t.value.snapshot))}activateRoutes(t,e,n){const s=t.value,i=e?e.value:null;if(Kd(s),s===i)if(s.component){const i=n.getOrCreateContext(s.outlet);this.activateChildRoutes(t,e,i.children)}else this.activateChildRoutes(t,e,n);else if(s.component){const e=n.getOrCreateContext(s.outlet);if(this.routeReuseStrategy.shouldAttach(s.snapshot)){const t=this.routeReuseStrategy.retrieve(s.snapshot);this.routeReuseStrategy.store(s.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),hp(t.route)}else{const n=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(s.snapshot),i=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=s,e.resolver=i,e.outlet&&e.outlet.activateWith(s,i),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function hp(t){Kd(t.value),t.children.forEach(hp)}class dp{constructor(t,e){this.routes=t,this.module=e}}function pp(t){return"function"==typeof t}function fp(t){return t instanceof gd}const gp=Symbol("INITIAL_VALUE");function mp(){return Yu(t=>function(...t){let e,n;return P(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]),q(t,n).lift(new qu(e))}(t.map(t=>t.pipe(nh(1),rh(gp)))).pipe(oh((t,e)=>{let n=!1;return e.reduce((t,s,i)=>t!==gp?t:(s===gp&&(n=!0),n||!1!==s&&i!==e.length-1&&!fp(s)?t:s),t)},gp),ch(t=>t!==gp),k(t=>fp(t)?t:!0===t),nh(1)))}let _p=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Vt({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&So(0,"router-outlet")},directives:function(){return[mf]},encapsulation:2}),t})();function yp(t,e=""){for(let n=0;nCp(t)===e);return n.push(...t.filter(t=>Cp(t)!==e)),n}const Sp={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Op(t,e,n){var s;if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?Object.assign({},Sp):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const i=(e.matcher||nd)(n,t,e);if(!i)return Object.assign({},Sp);const r={};ad(i.posParams,(t,e)=>{r[e]=t.path});const o=i.consumed.length>0?Object.assign(Object.assign({},r),i.consumed[i.consumed.length-1].parameters):r;return{matched:!0,consumedSegments:i.consumed,lastChild:i.consumed.length,parameters:o,positionalParamSegments:null!==(s=i.posParams)&&void 0!==s?s:{}}}function Pp(t,e,n,s,i="corrected"){if(n.length>0&&function(t,e,n){return n.some(n=>kp(t,e,n)&&Cp(n)!==Jh)}(t,n,s)){const i=new md(e,function(t,e,n,s){const i={};i[Jh]=s,s._sourceSegment=t,s._segmentIndexShift=e.length;for(const r of n)if(""===r.path&&Cp(r)!==Jh){const n=new md([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,i[Cp(r)]=n}return i}(t,e,s,new md(n,t.children)));return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>kp(t,e,n))}(t,n,s)){const r=new md(t.segments,function(t,e,n,s,i,r){const o={};for(const a of s)if(kp(t,n,a)&&!i[Cp(a)]){const n=new md([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===r?t.segments.length:e.length,o[Cp(a)]=n}return Object.assign(Object.assign({},i),o)}(t,e,n,s,t.children,i));return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:n}}const r=new md(t.segments,t.children);return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:n}}function kp(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}function Ep(t,e,n,s){return!!(Cp(t)===s||s!==Jh&&kp(e,n,t))&&("**"===t.path||Op(e,t,n).matched)}function Tp(t,e,n){return 0===e.length&&!t.children[n]}class Mp{constructor(t){this.segmentGroup=t||null}}class Ap{constructor(t){this.urlTree=t}}function Rp(t){return new b(e=>e.error(new Mp(t)))}function Ip(t){return new b(e=>e.error(new Ap(t)))}function Np(t){return new b(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class Dp{constructor(t,e,n,s,i){this.configLoader=e,this.urlSerializer=n,this.urlTree=s,this.config=i,this.allowRedirects=!0,this.ngModule=t.get(Ua)}apply(){const t=Pp(this.urlTree.root,[],[],this.config).segmentGroup,e=new md(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,e,Jh).pipe(k(t=>this.createUrlTree(Lp(t),this.urlTree.queryParams,this.urlTree.fragment))).pipe(dh(t=>{if(t instanceof Ap)return this.allowRedirects=!1,this.match(t.urlTree);throw t instanceof Mp?this.noMatchError(t):t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,Jh).pipe(k(e=>this.createUrlTree(Lp(e),t.queryParams,t.fragment))).pipe(dh(t=>{throw t instanceof Mp?this.noMatchError(t):t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const s=t.segments.length>0?new md([],{[Jh]:t}):t;return new gd(s,e,n)}expandSegmentGroup(t,e,n,s){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(k(t=>new md([],t))):this.expandSegment(t,n,e,n.segments,s,!0)}expandChildren(t,e,n){const s=[];for(const i of Object.keys(n.children))"primary"===i?s.unshift(i):s.push(i);return L(s).pipe(gh(s=>{const i=n.children[s],r=xp(e,s);return this.expandSegmentGroup(t,r,i,s).pipe(k(t=>({segment:t,outlet:s})))}),oh((t,e)=>(t[e.outlet]=e.segment,t),{}),function(t,e){const n=arguments.length>=2;return s=>s.pipe(t?ch((e,n)=>t(e,n,s)):y,mh(1),n?xh(e):bh(()=>new Gu))}())}expandSegment(t,e,n,s,i,r){return L(n).pipe(gh(o=>this.expandSegmentAgainstRoute(t,e,n,o,s,i,r).pipe(dh(t=>{if(t instanceof Mp)return zu(null);throw t}))),Ph(t=>!!t),dh((t,n)=>{if(t instanceof Gu||"EmptyError"===t.name){if(Tp(e,s,i))return zu(new md([],{}));throw new Mp(e)}throw t}))}expandSegmentAgainstRoute(t,e,n,s,i,r,o){return Ep(s,e,i,r)?void 0===s.redirectTo?this.matchSegmentAgainstRoute(t,e,s,i,r):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,s,i,r):Rp(e):Rp(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,s,i,r){return"**"===s.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,s,r):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,s,i,r)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,s){const i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Ip(i):this.lineralizeSegments(n,i).pipe(H(n=>{const i=new md(n,{});return this.expandSegment(t,i,e,n,s,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,s,i,r){const{matched:o,consumedSegments:a,lastChild:l,positionalParamSegments:c}=Op(e,s,i);if(!o)return Rp(e);const u=this.applyRedirectCommands(a,s.redirectTo,c);return s.redirectTo.startsWith("/")?Ip(u):this.lineralizeSegments(s,u).pipe(H(s=>this.expandSegment(t,e,n,s.concat(i.slice(l)),r,!1)))}matchSegmentAgainstRoute(t,e,n,s,i){if("**"===n.path)return n.loadChildren?(n._loadedConfig?zu(n._loadedConfig):this.configLoader.load(t.injector,n)).pipe(k(t=>(n._loadedConfig=t,new md(s,{})))):zu(new md(s,{}));const{matched:r,consumedSegments:o,lastChild:a}=Op(e,n,s);if(!r)return Rp(e);const l=s.slice(a);return this.getChildConfig(t,n,s).pipe(H(t=>{const s=t.module,r=t.routes,{segmentGroup:a,slicedSegments:c}=Pp(e,o,l,r),u=new md(a.segments,a.children);if(0===c.length&&u.hasChildren())return this.expandChildren(s,r,u).pipe(k(t=>new md(o,t)));if(0===r.length&&0===c.length)return zu(new md(o,{}));const h=Cp(n)===i;return this.expandSegment(s,u,r,c,h?Jh:i,!0).pipe(k(t=>new md(o.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?zu(new dp(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?zu(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe(H(n=>n?this.configLoader.load(t.injector,e).pipe(k(t=>(e._loadedConfig=t,t))):function(t){return new b(e=>e.error(ed(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):zu(new dp([],t))}runCanLoadGuards(t,e,n){const s=e.canLoad;return s&&0!==s.length?zu(s.map(s=>{const i=t.get(s);let r;if(function(t){return t&&pp(t.canLoad)}(i))r=i.canLoad(e,n);else{if(!pp(i))throw new Error("Invalid CanLoad guard");r=i(e,n)}return ld(r)})).pipe(mp(),Eh(t=>{if(!fp(t))return;const e=ed(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),k(t=>!0===t)):zu(!0)}lineralizeSegments(t,e){let n=[],s=e.root;for(;;){if(n=n.concat(s.segments),0===s.numberOfChildren)return zu(n);if(s.numberOfChildren>1||!s.children[Jh])return Np(t.redirectTo);s=s.children[Jh]}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,s){const i=this.createSegmentGroup(t,e.root,n,s);return new gd(i,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return ad(t,(t,s)=>{if("string"==typeof t&&t.startsWith(":")){const i=t.substring(1);n[s]=e[i]}else n[s]=t}),n}createSegmentGroup(t,e,n,s){const i=this.createSegments(t,e.segments,n,s);let r={};return ad(e.children,(e,i)=>{r[i]=this.createSegmentGroup(t,e,n,s)}),new md(i,r)}createSegments(t,e,n,s){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,s):this.findOrReturn(e,n))}findPosParam(t,e,n){const s=n[e.path.substring(1)];if(!s)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return s}findOrReturn(t,e){let n=0;for(const s of e){if(s.path===t.path)return e.splice(n),s;n++}return t}}function Lp(t){const e={};for(const n of Object.keys(t.children)){const s=Lp(t.children[n]);(s.segments.length>0||s.hasChildren())&&(e[n]=s)}return function(t){if(1===t.numberOfChildren&&t.children[Jh]){const e=t.children[Jh];return new md(t.segments.concat(e.segments),e.children)}return t}(new md(t.segments,e))}class Fp{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class jp{constructor(t,e){this.component=t,this.route=e}}function zp(t,e,n){const s=t._root;return Bp(s,e?e._root:null,n,[s.value])}function Hp(t,e,n){const s=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(s?s.module.injector:n).get(t)}function Bp(t,e,n,s,i={canDeactivateChecks:[],canActivateChecks:[]}){const r=zd(e);return t.children.forEach(t=>{(function(t,e,n,s,i={canDeactivateChecks:[],canActivateChecks:[]}){const r=t.value,o=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(o&&r.routeConfig===o.routeConfig){const l=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!yd(t.url,e.url);case"pathParamsOrQueryParamsChange":return!yd(t.url,e.url)||!sd(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Zd(t,e)||!sd(t.queryParams,e.queryParams);case"paramsChange":default:return!Zd(t,e)}}(o,r,r.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new Fp(s)):(r.data=o.data,r._resolvedData=o._resolvedData),Bp(t,e,r.component?a?a.children:null:n,s,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new jp(a.outlet.component,o))}else o&&Up(e,a,i),i.canActivateChecks.push(new Fp(s)),Bp(t,null,r.component?a?a.children:null:n,s,i)})(t,r[t.value.outlet],n,s.concat([t.value]),i),delete r[t.value.outlet]}),ad(r,(t,e)=>Up(t,n.getContext(e),i)),i}function Up(t,e,n){const s=zd(t),i=t.value;ad(s,(t,s)=>{Up(t,i.component?e?e.children.getContext(s):null:e,n)}),n.canDeactivateChecks.push(new jp(i.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,i))}class $p{}function Vp(t){return new b(e=>e.error(t))}class qp{constructor(t,e,n,s,i,r){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=s,this.paramsInheritanceStrategy=i,this.relativeLinkResolution=r}recognize(){const t=Pp(this.urlTree.root,[],[],this.config.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,Jh);if(null===e)return null;const n=new Vd([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},Jh,this.rootComponentType,null,this.urlTree.root,-1,{}),s=new jd(n,e),i=new qd(this.url,s);return this.inheritParamsAndData(i._root),i}inheritParamsAndData(t){const e=t.value,n=$d(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}processChildren(t,e){const n=[];for(const i of Object.keys(e.children)){const s=e.children[i],r=xp(t,i),o=this.processSegmentGroup(r,s,i);if(null===o)return null;n.push(...o)}const s=Gp(n);return function(t){t.sort((t,e)=>t.value.outlet===Jh?-1:e.value.outlet===Jh?1:t.value.outlet.localeCompare(e.value.outlet))}(s),s}processSegment(t,e,n,s){for(const i of t){const t=this.processSegmentAgainstRoute(i,e,n,s);if(null!==t)return t}return Tp(e,n,s)?[]:null}processSegmentAgainstRoute(t,e,n,s){if(t.redirectTo||!Ep(t,e,n,s))return null;let i,r=[],o=[];if("**"===t.path){const s=n.length>0?od(n).parameters:{};i=new Vd(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Qp(t),Cp(t),t.component,t,Kp(e),Zp(e)+n.length,Jp(t))}else{const s=Op(e,t,n);if(!s.matched)return null;r=s.consumedSegments,o=n.slice(s.lastChild),i=new Vd(r,s.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Qp(t),Cp(t),t.component,t,Kp(e),Zp(e)+r.length,Jp(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:l,slicedSegments:c}=Pp(e,r,o,a.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const t=this.processChildren(a,l);return null===t?null:[new jd(i,t)]}if(0===a.length&&0===c.length)return[new jd(i,[])];const u=Cp(t)===s,h=this.processSegment(a,l,c,u?Jh:s);return null===h?null:[new jd(i,h)]}}function Wp(t){const e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function Gp(t){const e=[],n=new Set;for(const s of t){if(!Wp(s)){e.push(s);continue}const t=e.find(t=>s.value.routeConfig===t.value.routeConfig);void 0!==t?(t.children.push(...s.children),n.add(t)):e.push(s)}for(const s of n){const t=Gp(s.children);e.push(new jd(s.value,t))}return e.filter(t=>!n.has(t))}function Kp(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function Zp(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function Qp(t){return t.data||{}}function Jp(t){return t.resolve||{}}function Yp(t){return Yu(e=>{const n=t(e);return n?L(n).pipe(k(()=>e)):zu(e)})}class Xp extends class{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const tf=new Bn("ROUTES");class ef{constructor(t,e,n,s){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=s}load(t,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const n=this.loadModuleFactory(e.loadChildren).pipe(k(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const s=n.create(t);return new dp(rd(s.injector.get(tf,void 0,xt.Self|xt.Optional)).map(wp),s)}),dh(t=>{throw e._loader$=void 0,t}));return e._loader$=new Q(n,()=>new S).pipe(G()),e._loader$}loadModuleFactory(t){return"string"==typeof t?L(this.loader.load(t)):ld(t()).pipe(H(t=>t instanceof $a?zu(t):L(this.compiler.compileModuleAsync(t))))}}class nf{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new sf,this.attachRef=null}}class sf{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null,e.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new nf,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class rf{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function of(t){throw t}function af(t,e,n){return e.parse("/")}function lf(t,e){return zu(null)}const cf={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},uf={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let hf=(()=>{class t{constructor(t,e,n,s,i,r,o,a){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=s,this.config=a,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new S,this.errorHandler=of,this.malformedUriErrorHandler=af,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:lf,afterPreactivation:lf},this.urlHandlingStrategy=new rf,this.routeReuseStrategy=new Xp,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=i.get(Ua),this.console=i.get(Al);const l=i.get(Vl);this.isNgZoneEnabled=l instanceof Vl&&Vl.isInAngularZone(),this.resetConfig(a),this.currentUrlTree=new gd(new md([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new ef(r,o,t=>this.triggerEvent(new Vh(t)),t=>this.triggerEvent(new qh(t))),this.routerState=Bd(this.currentUrlTree,this.rootComponentType),this.transitions=new Hu({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var t;return null===(t=this.location.getState())||void 0===t?void 0:t.\u0275routerPageId}setupNavigations(t){const e=this.events;return t.pipe(ch(t=>0!==t.id),k(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),Yu(t=>{let n=!1,s=!1;return zu(t).pipe(Eh(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Yu(t=>{const n=this.browserUrlTree.toString(),i=!this.navigated||t.extractedUrl.toString()!==n||n!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||i)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return df(t.source)&&(this.browserUrlTree=t.extractedUrl),zu(t).pipe(Yu(t=>{const n=this.transitions.getValue();return e.next(new Dh(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?Zu:Promise.resolve(t)}),function(t,e,n,s){return Yu(i=>function(t,e,n,s,i){return new Dp(t,e,n,s,i).apply()}(t,e,n,i.extractedUrl,s).pipe(k(t=>Object.assign(Object.assign({},i),{urlAfterRedirects:t}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),Eh(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,n,i,r){return H(o=>function(t,e,n,i,r="emptyOnly",o="legacy"){try{const s=new qp(t,e,n,i,r,o).recognize();return null===s?Vp(new $p):zu(s)}catch(s){return Vp(s)}}(t,e,o.urlAfterRedirects,n(o.urlAfterRedirects),i,r).pipe(k(t=>Object.assign(Object.assign({},o),{targetSnapshot:t}))))}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),Eh(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,t),this.browserUrlTree=t.urlAfterRedirects);const n=new zh(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));if(i&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:s,source:i,restoredState:r,extras:o}=t,a=new Dh(n,this.serializeUrl(s),i,r);e.next(a);const l=Bd(s,this.rootComponentType).snapshot;return zu(Object.assign(Object.assign({},t),{targetSnapshot:l,urlAfterRedirects:s,extras:Object.assign(Object.assign({},o),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),Zu}),Yp(t=>{const{targetSnapshot:e,id:n,extractedUrl:s,rawUrl:i,extras:{skipLocationChange:r,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:s,rawUrlTree:i,skipLocationChange:!!r,replaceUrl:!!o})}),Eh(t=>{const e=new Hh(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),k(t=>Object.assign(Object.assign({},t),{guards:zp(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return H(n=>{const{targetSnapshot:s,currentSnapshot:i,guards:{canActivateChecks:r,canDeactivateChecks:o}}=n;return 0===o.length&&0===r.length?zu(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,s){return L(t).pipe(H(t=>function(t,e,n,s,i){const r=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return r&&0!==r.length?zu(r.map(r=>{const o=Hp(r,e,i);let a;if(function(t){return t&&pp(t.canDeactivate)}(o))a=ld(o.canDeactivate(t,e,n,s));else{if(!pp(o))throw new Error("Invalid CanDeactivate guard");a=ld(o(t,e,n,s))}return a.pipe(Ph())})).pipe(mp()):zu(!0)}(t.component,t.route,n,e,s)),Ph(t=>!0!==t,!0))}(o,s,i,t).pipe(H(n=>n&&function(t){return"boolean"==typeof t}(n)?function(t,e,n,s){return L(e).pipe(gh(e=>Ku(function(t,e){return null!==t&&e&&e(new Wh(t)),zu(!0)}(e.route.parent,s),function(t,e){return null!==t&&e&&e(new Kh(t)),zu(!0)}(e.route,s),function(t,e,n){const s=e[e.length-1],i=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>Ju(()=>zu(e.guards.map(i=>{const r=Hp(i,e.node,n);let o;if(function(t){return t&&pp(t.canActivateChild)}(r))o=ld(r.canActivateChild(s,t));else{if(!pp(r))throw new Error("Invalid CanActivateChild guard");o=ld(r(s,t))}return o.pipe(Ph())})).pipe(mp())));return zu(i).pipe(mp())}(t,e.path,n),function(t,e,n){const s=e.routeConfig?e.routeConfig.canActivate:null;return s&&0!==s.length?zu(s.map(s=>Ju(()=>{const i=Hp(s,e,n);let r;if(function(t){return t&&pp(t.canActivate)}(i))r=ld(i.canActivate(e,t));else{if(!pp(i))throw new Error("Invalid CanActivate guard");r=ld(i(e,t))}return r.pipe(Ph())}))).pipe(mp()):zu(!0)}(t,e.route,n))),Ph(t=>!0!==t,!0))}(s,r,t,e):zu(n)),k(t=>Object.assign(Object.assign({},n),{guardsResult:t})))})}(this.ngModule.injector,t=>this.triggerEvent(t)),Eh(t=>{if(fp(t.guardsResult)){const e=ed(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}const e=new Bh(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),ch(t=>!!t.guardsResult||(this.restoreHistory(t),this.cancelNavigationTransition(t,""),!1)),Yp(t=>{if(t.guards.canActivateChecks.length)return zu(t).pipe(Eh(t=>{const e=new Uh(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),Yu(t=>{let e=!1;return zu(t).pipe(function(t,e){return H(n=>{const{targetSnapshot:s,guards:{canActivateChecks:i}}=n;if(!i.length)return zu(n);let r=0;return L(i).pipe(gh(n=>function(t,e,n,s){return function(t,e,n,s){const i=Object.keys(t);if(0===i.length)return zu({});const r={};return L(i).pipe(H(i=>function(t,e,n,s){const i=Hp(t,e,s);return ld(i.resolve?i.resolve(e,n):i(e,n))}(t[i],e,n,s).pipe(Eh(t=>{r[i]=t}))),mh(1),H(()=>Object.keys(r).length===i.length?zu(r):Zu))}(t._resolve,t,e,s).pipe(k(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),$d(t,n).resolve),null)))}(n.route,s,t,e)),Eh(()=>r++),mh(1),H(t=>r===i.length?zu(n):Zu))})}(this.paramsInheritanceStrategy,this.ngModule.injector),Eh({next:()=>e=!0,complete:()=>{e||(this.restoreHistory(t),this.cancelNavigationTransition(t,"At least one route resolver didn't emit any value."))}}))}),Eh(t=>{const e=new $h(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),Yp(t=>{const{targetSnapshot:e,id:n,extractedUrl:s,rawUrl:i,extras:{skipLocationChange:r,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:s,rawUrlTree:i,skipLocationChange:!!r,replaceUrl:!!o})}),k(t=>{const e=function(t,e,n){const s=Qd(t,e._root,n?n._root:void 0);return new Hd(s,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),Eh(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(t.urlAfterRedirects,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,t),this.browserUrlTree=t.urlAfterRedirects)}),((t,e,n)=>k(s=>(new up(e,s.targetRouterState,s.currentRouterState,n).activate(t),s)))(this.rootContexts,this.routeReuseStrategy,t=>this.triggerEvent(t)),Eh({next(){n=!0},complete(){n=!0}}),Ah(()=>{var e;if(!n&&!s){const e=`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`;"replace"===this.canceledNavigationResolution?(this.restoreHistory(t),this.cancelNavigationTransition(t,e)):this.cancelNavigationTransition(t,e)}(null===(e=this.currentNavigation)||void 0===e?void 0:e.id)===t.id&&(this.currentNavigation=null)}),dh(n=>{if(s=!0,function(t){return t&&t[td]}(n)){const s=fp(n.url);s||(this.navigated=!0,this.restoreHistory(t,!0));const i=new Fh(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(i),s?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree),s={skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||df(t.source)};this.scheduleNavigation(e,"imperative",null,s,{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{this.restoreHistory(t,!0);const s=new jh(t.id,this.serializeUrl(t.extractedUrl),n);e.next(s);try{t.resolve(this.errorHandler(n))}catch(i){t.reject(i)}}return Zu}))}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const e=this.extractLocationChangeInfoFromEvent(t);this.shouldScheduleNavigation(this.lastLocationChangeInfo,e)&&setTimeout(()=>{const{source:t,state:n,urlTree:s}=e,i={replaceUrl:!0};if(n){const t=Object.assign({},n);delete t.navigationId,delete t.\u0275routerPageId,0!==Object.keys(t).length&&(i.state=t)}this.scheduleNavigation(s,t,n,i)},0),this.lastLocationChangeInfo=e}))}extractLocationChangeInfoFromEvent(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(t,e){if(!t)return!0;const n=e.urlTree.toString()===t.urlTree.toString();return e.transitionId!==t.transitionId||!n||!("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){yp(t),this.config=t.map(wp),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(t,e={}){const{relativeTo:n,queryParams:s,fragment:i,queryParamsHandling:r,preserveFragment:o}=e,a=n||this.routerState.root,l=o?this.currentUrlTree.fragment:i;let c=null;switch(r){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),s);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=s||null}return null!==c&&(c=this.removeEmptyProps(c)),function(t,e,n,s,i){if(0===n.length)return tp(e.root,e.root,e,s,i);const r=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new np(!0,0,t);let e=0,n=!1;const s=t.reduce((t,s,i)=>{if("object"==typeof s&&null!=s){if(s.outlets){const e={};return ad(s.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(s.segmentPath)return[...t,s.segmentPath]}return"string"!=typeof s?[...t,s]:0===i?(s.split("/").forEach((s,i)=>{0==i&&"."===s||(0==i&&""===s?n=!0:".."===s?e++:""!=s&&t.push(s))}),t):[...t,s]},[]);return new np(n,e,s)}(n);if(r.toRoot())return tp(e.root,new md([],{}),e,s,i);const o=function(t,e,n){if(t.isAbsolute)return new sp(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){const t=n.snapshot._urlSegment;return new sp(t,t===e.root,0)}const s=Yd(t.commands[0])?0:1;return function(t,e,n){let s=t,i=e,r=n;for(;r>i;){if(r-=i,s=s.parent,!s)throw new Error("Invalid number of '../'");i=s.segments.length}return new sp(s,!1,i-r)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+s,t.numberOfDoubleDots)}(r,e,t),a=o.processChildren?rp(o.segmentGroup,o.index,r.commands):ip(o.segmentGroup,o.index,r.commands);return tp(o.segmentGroup,a,e,s,i)}(a,this.currentUrlTree,t,c,null!=l?l:null)}navigateByUrl(t,e={skipLocationChange:!1}){const n=fp(t)?t:this.parseUrl(t),s=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(s,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e{const s=t[n];return null!=s&&(e[n]=s),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.currentPageId=t.targetPageId,this.events.next(new Lh(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,t.resolve(!0)},t=>{this.console.warn(`Unhandled Navigation Error: ${t}`)})}scheduleNavigation(t,e,n,s,i){var r,o;if(this.disposed)return Promise.resolve(!1);const a=this.getTransition(),l=df(e)&&a&&!df(a.source),c=(this.lastSuccessfulId===a.id||this.currentNavigation?a.rawUrl:a.urlAfterRedirects).toString()===t.toString();if(l&&c)return Promise.resolve(!0);let u,h,d;i?(u=i.resolve,h=i.reject,d=i.promise):d=new Promise((t,e)=>{u=t,h=e});const p=++this.navigationId;let f;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(n=this.location.getState()),f=n&&n.\u0275routerPageId?n.\u0275routerPageId:s.replaceUrl||s.skipLocationChange?null!==(r=this.browserPageId)&&void 0!==r?r:0:(null!==(o=this.browserPageId)&&void 0!==o?o:0)+1):f=0,this.setTransition({id:p,targetPageId:f,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:s,resolve:u,reject:h,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(t=>Promise.reject(t))}setBrowserUrl(t,e){const n=this.urlSerializer.serialize(t),s=Object.assign(Object.assign({},e.extras.state),this.generateNgRouterState(e.id,e.targetPageId));this.location.isCurrentPathEqualTo(n)||e.extras.replaceUrl?this.location.replaceState(n,"",s):this.location.go(n,"",s)}restoreHistory(t,e=!1){var n,s;if("computed"===this.canceledNavigationResolution){const e=this.currentPageId-t.targetPageId;"popstate"!==t.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(n=this.currentNavigation)||void 0===n?void 0:n.finalUrl)||0===e?this.currentUrlTree===(null===(s=this.currentNavigation)||void 0===s?void 0:s.finalUrl)&&0===e&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(e)}else"replace"===this.canceledNavigationResolution&&(e&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=t.currentRouterState,this.currentUrlTree=t.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(t,e){const n=new Fh(t.id,this.serializeUrl(t.extractedUrl),e);this.triggerEvent(n),t.resolve(!1)}generateNgRouterState(t,e){return"computed"===this.canceledNavigationResolution?{navigationId:t,"\u0275routerPageId":e}:{navigationId:t}}}return t.\u0275fac=function(e){return new(e||t)(as($n),as(bd),as(sf),as(jc),as(io),as(pc),as(Bl),as(void 0))},t.\u0275prov=ft({token:t,factory:t.\u0275fac}),t})();function df(t){return"imperative"!==t}let pf=(()=>{class t{constructor(t,e,n,s,i){this.router=t,this.route=e,this.commands=[],this.onChanges=new S,null==n&&s.setAttribute(i.nativeElement,"tabindex","0")}ngOnChanges(t){this.onChanges.next(this)}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}onClick(){const t={skipLocationChange:gf(this.skipLocationChange),replaceUrl:gf(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:gf(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(bo(hf),bo(Ud),jn("tabindex"),bo(ua),bo(aa))},t.\u0275dir=Qt({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e){1&t&&ko("click",function(){return e.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[ce]}),t})(),ff=(()=>{class t{constructor(t,e,n){this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.onChanges=new S,this.subscription=t.events.subscribe(t=>{t instanceof Lh&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}ngOnChanges(t){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,n,s,i){if(0!==t||e||n||s||i||"string"==typeof this.target&&"_self"!=this.target)return!0;const r={skipLocationChange:gf(this.skipLocationChange),replaceUrl:gf(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,r),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:gf(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(bo(hf),bo(Ud),bo(Ic))},t.\u0275dir=Qt({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&ko("click",function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)}),2&t&&(Vo("href",e.href,Js),_o("target",e.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[ce]}),t})();function gf(t){return""===t||!!t}let mf=(()=>{class t{constructor(t,e,n,s,i){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=i,this.activated=null,this._activatedRoute=null,this.activateEvents=new al,this.deactivateEvents=new al,this.name=s||Jh,t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;const n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),s=this.parentContexts.getOrCreateContext(this.name).children,i=new _f(t,s,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(bo(sf),bo(qa),bo(sa),jn("name"),bo(Ia))},t.\u0275dir=Qt({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class _f{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===Ud?this.route:t===sf?this.childContexts:this.parent.get(t,e)}}class yf{}class bf{preload(t,e){return zu(null)}}let vf=(()=>{class t{constructor(t,e,n,s,i){this.router=t,this.injector=s,this.preloadingStrategy=i,this.loader=new ef(e,n,e=>t.triggerEvent(new Vh(e)),e=>t.triggerEvent(new qh(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(ch(t=>t instanceof Lh),gh(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(Ua);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const s of e)if(s.loadChildren&&!s.canLoad&&s._loadedConfig){const t=s._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else s.loadChildren&&!s.canLoad?n.push(this.preloadConfig(t,s)):s.children&&n.push(this.processRoutes(t,s.children));return L(n).pipe(V(),k(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>(e._loadedConfig?zu(e._loadedConfig):this.loader.load(t.injector,e)).pipe(H(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(as(hf),as(pc),as(Bl),as(io),as(yf))},t.\u0275prov=ft({token:t,factory:t.\u0275fac}),t})(),wf=(()=>{class t{constructor(t,e,n={}){this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(t=>{t instanceof Dh?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Lh&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof Qh&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.router.triggerEvent(new Qh(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(as(hf),as(Yc),as(void 0))},t.\u0275prov=ft({token:t,factory:t.\u0275fac}),t})();const Cf=new Bn("ROUTER_CONFIGURATION"),xf=new Bn("ROUTER_FORROOT_GUARD"),Sf=[jc,{provide:bd,useClass:vd},{provide:hf,useFactory:function(t,e,n,s,i,r,o,a={},l,c){const u=new hf(null,t,e,n,s,i,r,rd(o));return l&&(u.urlHandlingStrategy=l),c&&(u.routeReuseStrategy=c),function(t,e){t.errorHandler&&(e.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(e.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(e.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(e.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(e.urlUpdateStrategy=t.urlUpdateStrategy)}(a,u),a.enableTracing&&u.events.subscribe(t=>{var e,n;null===(e=console.group)||void 0===e||e.call(console,`Router Event: ${t.constructor.name}`),console.log(t.toString()),console.log(t),null===(n=console.groupEnd)||void 0===n||n.call(console)}),u},deps:[bd,sf,jc,io,pc,Bl,tf,Cf,[class{},new fs],[class{},new fs]]},sf,{provide:Ud,useFactory:function(t){return t.routerState.root},deps:[hf]},{provide:pc,useClass:mc},vf,bf,class{preload(t,e){return e().pipe(dh(()=>zu(null)))}},{provide:Cf,useValue:{enableTracing:!1}}];function Of(){return new oc("Router",hf)}let Pf=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[Sf,Mf(e),{provide:xf,useFactory:Tf,deps:[[hf,new fs,new gs]]},{provide:Cf,useValue:n||{}},{provide:Ic,useFactory:Ef,deps:[Sc,[new ps(Dc),new fs],Cf]},{provide:wf,useFactory:kf,deps:[hf,Yc,Cf]},{provide:yf,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:bf},{provide:oc,multi:!0,useFactory:Of},[Af,{provide:xl,multi:!0,useFactory:Rf,deps:[Af]},{provide:Nf,useFactory:If,deps:[Af]},{provide:Ml,multi:!0,useExisting:Nf}]]}}static forChild(e){return{ngModule:t,providers:[Mf(e)]}}}return t.\u0275fac=function(e){return new(e||t)(as(xf,8),as(hf,8))},t.\u0275mod=Kt({type:t}),t.\u0275inj=gt({}),t})();function kf(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new wf(t,e,n)}function Ef(t,e,n={}){return n.useHash?new Fc(t,e):new Lc(t,e)}function Tf(t){return"guarded"}function Mf(t){return[{provide:Un,multi:!0,useValue:t},{provide:tf,multi:!0,useValue:t}]}let Af=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new S}appInitializer(){return this.injector.get(Pc,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let t=null;const e=new Promise(e=>t=e),n=this.injector.get(hf),s=this.injector.get(Cf);return"disabled"===s.initialNavigation?(n.setUpLocationChangeListener(),t(!0)):"enabled"===s.initialNavigation||"enabledBlocking"===s.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?zu(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()):t(!0),e})}bootstrapListener(t){const e=this.injector.get(Cf),n=this.injector.get(vf),s=this.injector.get(wf),i=this.injector.get(hf),r=this.injector.get(hc);t===r.components[0]&&(("enabledNonBlocking"===e.initialNavigation||void 0===e.initialNavigation)&&i.initialNavigation(),n.setUpPreloading(),s.init(),i.resetRootComponentType(r.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return t.\u0275fac=function(e){return new(e||t)(as(io))},t.\u0275prov=ft({token:t,factory:t.\u0275fac}),t})();function Rf(t){return t.appInitializer.bind(t)}function If(t){return t.bootstrapListener.bind(t)}const Nf=new Bn("Router Initializer");class Df extends h{constructor(t,e){super()}schedule(t,e=0){return this}}class Lf extends Df{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,s=!1;try{this.work(t)}catch(i){s=!0,n=!!i&&i||new Error(i)}if(s)return this.unsubscribe(),n}_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}}let Ff=(()=>{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 jf extends Ff{constructor(t,e=Ff.now){super(t,()=>jf.delegate&&jf.delegate!==this?jf.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return jf.delegate&&jf.delegate!==this?jf.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}}}const zf=new jf(Lf);function Hf(t){return!l(t)&&t-parseFloat(t)+1>=0}function Bf(t=0,e,n){let s=-1;return Hf(e)?s=Number(e)<1?1:Number(e):P(e)&&(n=e),P(n)||(n=zf),new b(e=>{const i=Hf(t)?t:+t-n.now();return n.schedule(Uf,i,{index:0,period:s,subscriber:e})})}function Uf(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 $f(t){return null!=t&&"false"!=`${t}`}function Vf(t){return Array.isArray(t)?t:[t]}function qf(t){return null==t?"":"string"==typeof t?t:`${t}px`}function Wf(t){return t instanceof aa?t.nativeElement:t}function Gf(t,e,n,i){return s(n)&&(i=n,n=void 0),i?Gf(t,e,n).pipe(k(t=>l(t)?i(...t):i(t))):new b(s=>{Kf(t,e,function(t){s.next(arguments.length>1?Array.prototype.slice.call(arguments):t)},s,n)})}function Kf(t,e,n,s,i){let r;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){const s=t;t.addEventListener(e,n,i),r=()=>s.removeEventListener(e,n,i)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){const s=t;t.on(e,n),r=()=>s.off(e,n)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){const s=t;t.addListener(e,n),r=()=>s.removeListener(e,n)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let r=0,o=t.length;r0?super.requestAsyncId(t,e,n):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame(()=>t.flush(null))))}recycleAsyncId(t,e,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(t,e,n);0===t.actions.length&&(cancelAnimationFrame(e),t.scheduled=void 0)}});let Zf=1;const Qf=Promise.resolve(),Jf={};function Yf(t){return t in Jf&&(delete Jf[t],!0)}const Xf={setImmediate(t){const e=Zf++;return Jf[e]=!0,Qf.then(()=>Yf(e)&&t()),e},clearImmediate(t){Yf(t)}};new class extends jf{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let n,s=-1,i=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++s0?super.requestAsyncId(t,e,n):(t.actions.push(this),t.scheduled||(t.scheduled=Xf.setImmediate(t.flush.bind(t,null))))}recycleAsyncId(t,e,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(t,e,n);0===t.actions.length&&(Xf.clearImmediate(e),t.scheduled=void 0)}});class tg{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new eg(t,this.compare,this.keySelector))}}class eg extends g{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 ng{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new sg(t,this.durationSelector))}}class sg 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=z(n,new F(this));!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=void 0,n.unsubscribe()),e&&(this.value=void 0,this.hasValue=!1,this.destination.next(t))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function ig(t,e=zf){return function(t){return function(e){return e.lift(new ng(t))}}(()=>Bf(t,e))}function rg(t){return e=>e.lift(new og(t))}class og{constructor(t){this.notifier=t}call(t,e){const n=new ag(t),s=z(this.notifier,new F(n));return s&&!n.seenValue?(n.add(s),e.subscribe(n)):n}}class ag extends j{constructor(t){super(t),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}function lg(t,e){return new b(e?n=>e.schedule(cg,0,{error:t,subscriber:n}):e=>e.error(t))}function cg({error:t,subscriber:e}){e.error(t)}new class extends jf{}(class extends Lf{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)}});class ug{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 zu(this.value);case"E":return lg(this.error);case"C":return Qu()}throw new Error("unexpected notification kind value")}static createNext(t){return void 0!==t?new ug("N",t):ug.undefinedValueNotification}static createError(t){return new ug("E",void 0,t)}static createComplete(){return ug.completeNotification}}let hg;ug.completeNotification=new ug("C"),ug.undefinedValueNotification=new ug("N",void 0);try{hg="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(d){hg=!1}let dg,pg,fg,gg=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?function(t){return t===Qc}(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&&!hg)&&"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)(as(Tl))},t.\u0275prov=ft({factory:function(){return new t(as(Tl))},token:t,providedIn:"root"}),t})(),mg=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Kt({type:t}),t.\u0275inj=gt({}),t})();function _g(t){return function(){if(null==dg&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>dg=!0}))}finally{dg=dg||!1}return dg}()?t:!!t.capture}function yg(){if(null==pg){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return pg=!1,pg;if("scrollBehavior"in document.documentElement.style)pg=!0;else{const t=Element.prototype.scrollTo;pg=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return pg}function bg(){let t="undefined"!=typeof document&&document?document.activeElement:null;for(;t&&t.shadowRoot;){const e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}function vg(t){return t.composedPath?t.composedPath()[0]:t.target}function wg(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}const Cg=new Bn("cdk-dir-doc",{providedIn:"root",factory:function(){return ls(xc)}});let xg=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new al,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)(as(Cg,8))},t.\u0275prov=ft({factory:function(){return new t(as(Cg,8))},token:t,providedIn:"root"}),t})(),Sg=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Kt({type:t}),t.\u0275inj=gt({}),t})(),Og=(()=>{class t{constructor(t,e,n){this._ngZone=t,this._platform=e,this._scrolled=new S,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 b(e=>{this._globalSubscription||this._addGlobalListener();const n=t>0?this._scrolled.pipe(ig(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):zu()}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(ch(t=>!t||n.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((n,s)=>{this._scrollableContainsElement(s,t)&&e.push(s)}),e}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,e){let n=Wf(e),s=t.getElementRef().nativeElement;do{if(n==s)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Gf(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)(as(Vl),as(gg),as(xc,8))},t.\u0275prov=ft({factory:function(){return new t(as(Vl),as(gg),as(xc,8))},token:t,providedIn:"root"}),t})(),Pg=(()=>{class t{constructor(t,e,n){this._platform=t,this._change=new S,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._viewportSize=null)})}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._document,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(ig(t)):this._change}_getWindow(){return this._document.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)(as(gg),as(Vl),as(xc,8))},t.\u0275prov=ft({factory:function(){return new t(as(gg),as(Vl),as(xc,8))},token:t,providedIn:"root"}),t})(),kg=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Kt({type:t}),t.\u0275inj=gt({}),t})(),Eg=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Kt({type:t}),t.\u0275inj=gt({imports:[[Sg,mg,kg],Sg,kg]}),t})();class Tg{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class Mg extends Tg{constructor(t,e,n,s){super(),this.component=t,this.viewContainerRef=e,this.injector=n,this.componentFactoryResolver=s}}class Ag extends Tg{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 Rg extends Tg{constructor(t){super(),this.element=t instanceof aa?t.nativeElement:t}}class Ig{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof Mg?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof Ag?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof Rg?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Ng extends Ig{constructor(t,e,n,s,i){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=n,this._defaultInjector=s,this.attachDomPortal=t=>{const e=t.element,n=this._document.createComment("dom-portal");e.parentNode.insertBefore(n,e),this.outletElement.appendChild(e),this._attachedPortal=t,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})},this._document=i}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)),this._attachedPortal=t,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)}),this._attachedPortal=t,n}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let Dg=(()=>{class t extends Ig{constructor(t,e,n){super(),this._componentFactoryResolver=t,this._viewContainerRef=e,this._isInitialized=!1,this.attached=new al,this.attachDomPortal=t=>{const e=t.element,n=this._document.createComment("dom-portal");t.setAttachedHost(this),e.parentNode.insertBefore(n,e),this._getRootNode().appendChild(e),this._attachedPortal=t,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})},this._document=n}get portal(){return this._attachedPortal}set portal(t){this.hasAttached()&&!t&&!this._isInitialized||(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(t){t.setAttachedHost(this);const e=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,n=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),s=e.createComponent(n,e.length,t.injector||e.injector);return e!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=t,this._attachedRef=s,this.attached.emit(s),s}attachTemplatePortal(t){t.setAttachedHost(this);const e=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=e,this.attached.emit(e),e}_getRootNode(){const t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}}return t.\u0275fac=function(e){return new(e||t)(bo(sa),bo(qa),bo(xc))},t.\u0275dir=Qt({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[oo]}),t})(),Lg=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Kt({type:t}),t.\u0275inj=gt({}),t})();const Fg=yg();class jg{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=qf(-this._previousScrollPosition.left),t.style.top=qf(-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||"",i=n.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),Fg&&(e.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Fg&&(e.scrollBehavior=s,n.scrollBehavior=i)}}_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}}class zg{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){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 Hg{enable(){}disable(){}attach(){}}function Bg(t,e){return e.some(e=>t.bottome.bottom||t.righte.right)}function Ug(t,e){return e.some(e=>t.tope.bottom||t.lefte.right)}class $g{constructor(t,e,n,s){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=s,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:n}=this._viewportRuler.getViewportSize();Bg(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 Vg=(()=>{class t{constructor(t,e,n,s){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=()=>new Hg,this.close=t=>new zg(this._scrollDispatcher,this._ngZone,this._viewportRuler,t),this.block=()=>new jg(this._viewportRuler,this._document),this.reposition=t=>new $g(this._scrollDispatcher,this._viewportRuler,this._ngZone,t),this._document=s}}return t.\u0275fac=function(e){return new(e||t)(as(Og),as(Pg),as(Vl),as(xc))},t.\u0275prov=ft({factory:function(){return new t(as(Og),as(Pg),as(Vl),as(xc))},token:t,providedIn:"root"}),t})();class qg{constructor(t){if(this.scrollStrategy=new Hg,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const n of e)void 0!==t[n]&&(this[n]=t[n])}}}class Wg{constructor(t,e,n,s,i){this.offsetX=n,this.offsetY=s,this.panelClass=i,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}class Gg{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let Kg=(()=>{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)(as(xc))},t.\u0275prov=ft({factory:function(){return new t(as(xc))},token:t,providedIn:"root"}),t})(),Zg=(()=>{class t extends Kg{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)(as(xc))},t.\u0275prov=ft({factory:function(){return new t(as(xc))},token:t,providedIn:"root"}),t})(),Qg=(()=>{class t extends Kg{constructor(t,e){super(t),this._platform=e,this._cursorStyleIsSet=!1,this._pointerDownListener=t=>{this._pointerDownEventTarget=vg(t)},this._clickListener=t=>{const e=vg(t),n="click"===t.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:e;this._pointerDownEventTarget=null;const s=this._attachedOverlays.slice();for(let i=s.length-1;i>-1;i--){const r=s[i];if(!(r._outsidePointerEvents.observers.length<1)&&r.hasAttached()){if(r.overlayElement.contains(e)||r.overlayElement.contains(n))break;r._outsidePointerEvents.next(t)}}}}add(t){if(super.add(t),!this._isAttached){const t=this._document.body;t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return t.\u0275fac=function(e){return new(e||t)(as(xc),as(gg))},t.\u0275prov=ft({factory:function(){return new t(as(xc),as(gg))},token:t,providedIn:"root"}),t})(),Jg=(()=>{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="cdk-overlay-container";if(this._platform.isBrowser||wg()){const e=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let t=0;tthis._backdropClick.next(t),this._keydownEvents=new S,this._outsidePointerEvents=new S,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.pipe(nh(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._locationChanges=this._location.subscribe(()=>this.dispose())),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.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host&&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}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=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=qf(this._config.width),t.height=qf(this._config.height),t.minWidth=qf(this._config.minWidth),t.minHeight=qf(this._config.minHeight),t.maxWidth=qf(this._config.maxWidth),t.maxHeight=qf(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._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(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const t=this._backdropElement;if(!t)return;let e;const n=()=>{t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",n),this._disposeBackdrop(t)),this._config.backdropClass&&this._toggleClasses(t,this._config.backdropClass,!1),clearTimeout(e)};t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",n)}),t.style.pointerEvents="none",e=this._ngZone.runOutsideAngular(()=>setTimeout(n,500))}_toggleClasses(t,e,n){const s=t.classList;Vf(e).forEach(t=>{t&&(n?s.add(t):s.remove(t))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(rg(W(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())}_disposeBackdrop(t){t&&(t.parentNode&&t.parentNode.removeChild(t),this._backdropElement===t&&(this._backdropElement=null))}}const Xg="cdk-overlay-connected-position-bounding-box",tm=/([A-Za-z%]+)$/;class em{constructor(t,e,n,s,i){this._viewportRuler=e,this._document=n,this._platform=s,this._overlayContainer=i,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new S,this._resizeSubscription=h.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){this._validatePositions(),t.hostElement.classList.add(Xg),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 i;for(let r of this._preferredPositions){let o=this._getOriginPoint(t,r),a=this._getOverlayPoint(o,e,r),l=this._getOverlayFit(a,e,n,r);if(l.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(r,o);this._canFitWithFlexibleDimensions(l,a,n)?s.push({position:r,origin:o,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(o,r)}):(!i||i.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(i.position,i.originPoint);this._applyPosition(i.position,i.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&nm(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Xg),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,i=this._isRtl()?t.left:t.right;n="start"==e.originX?s:i}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,i;return s="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,i="center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height,{x:t.x+s,y:t.y+i}}_getOverlayFit(t,e,n,s){const i=im(e);let{x:r,y:o}=t,a=this._getOffset(s,"x"),l=this._getOffset(s,"y");a&&(r+=a),l&&(o+=l);let c=0-o,u=o+i.height-n.height,h=this._subtractOverflows(i.width,0-r,r+i.width-n.width),d=this._subtractOverflows(i.height,c,u),p=h*d;return{visibleArea:p,isCompletelyWithinViewport:i.width*i.height===p,fitsInViewportVertically:d===i.height,fitsInViewportHorizontally:h==i.width}}_canFitWithFlexibleDimensions(t,e,n){if(this._hasFlexibleDimensions){const s=n.bottom-e.y,i=n.right-e.x,r=sm(this._overlayRef.getConfig().minHeight),o=sm(this._overlayRef.getConfig().minWidth),a=t.fitsInViewportHorizontally||null!=o&&o<=i;return(t.fitsInViewportVertically||null!=r&&r<=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=im(e),i=this._viewportRect,r=Math.max(t.x+s.width-i.width,0),o=Math.max(t.y+s.height-i.height,0),a=Math.max(i.top-n.top-t.y,0),l=Math.max(i.left-n.left-t.x,0);let c=0,u=0;return c=s.width<=i.width?l||-r:t.xs&&!this._isInitialRender&&!this._growAfterOpen&&(r=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:r,left:l,bottom:o,right:c,width:a,height:i}}_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,i=this._overlayRef.getConfig().maxWidth;s.height=qf(n.height),s.top=qf(n.top),s.bottom=qf(n.bottom),s.width=qf(n.width),s.left=qf(n.left),s.right=qf(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=qf(t)),i&&(s.maxWidth=qf(i))}this._lastBoundingBoxSize=n,nm(this._boundingBox.style,s)}_resetBoundingBoxStyles(){nm(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){nm(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const n={},s=this._hasExactPosition(),i=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(s){const s=this._viewportRuler.getViewportScrollPosition();nm(n,this._getExactOverlayY(e,t,s)),nm(n,this._getExactOverlayX(e,t,s))}else n.position="static";let o="",a=this._getOffset(e,"x"),l=this._getOffset(e,"y");a&&(o+=`translateX(${a}px) `),l&&(o+=`translateY(${l}px)`),n.transform=o.trim(),r.maxHeight&&(s?n.maxHeight=qf(r.maxHeight):i&&(n.maxHeight="")),r.maxWidth&&(s?n.maxWidth=qf(r.maxWidth):i&&(n.maxWidth="")),nm(this._pane.style,n)}_getExactOverlayY(t,e,n){let s={top:"",bottom:""},i=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,n));let r=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return i.y-=r,"bottom"===t.overlayY?s.bottom=this._document.documentElement.clientHeight-(i.y+this._overlayRect.height)+"px":s.top=qf(i.y),s}_getExactOverlayX(t,e,n){let s,i={left:"",right:""},r=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n)),s=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===s?i.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":i.left=qf(r.x),i}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(t=>t.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Ug(t,n),isOriginOutsideView:Bg(t,n),isOverlayClipped:Ug(e,n),isOverlayOutsideView:Bg(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(){}_addPanelClasses(t){this._pane&&Vf(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 aa)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 nm(t,e){for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function sm(t){if("number"!=typeof t&&null!=t){const[e,n]=t.split(tm);return n&&"px"!==n?null:parseFloat(e)}return t||null}function im(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}class rm{constructor(t,e,n,s,i,r,o){this._preferredPositions=[],this._positionStrategy=new em(n,s,i,r,o).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,e),this.onPositionChange=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 i=new Wg(t,e,n,s);return this._preferredPositions.push(i),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}}const om="cdk-global-overlay-wrapper";class am{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(om),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:i,maxWidth:r,maxHeight:o}=n,a=!("100%"!==s&&"100vw"!==s||r&&"100%"!==r&&"100vw"!==r),l=!("100%"!==i&&"100vh"!==i||o&&"100%"!==o&&"100vh"!==o);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(om),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let lm=(()=>{class t{constructor(t,e,n,s){this._viewportRuler=t,this._document=e,this._platform=n,this._overlayContainer=s}global(){return new am}connectedTo(t,e,n){return new rm(e,n,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(t){return new em(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\u0275fac=function(e){return new(e||t)(as(Pg),as(xc),as(gg),as(Jg))},t.\u0275prov=ft({factory:function(){return new t(as(Pg),as(xc),as(gg),as(Jg))},token:t,providedIn:"root"}),t})(),cm=0,um=(()=>{class t{constructor(t,e,n,s,i,r,o,a,l,c,u){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=n,this._positionBuilder=s,this._keyboardDispatcher=i,this._injector=r,this._ngZone=o,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),i=new qg(t);return i.direction=i.direction||this._directionality.value,new Yg(s,e,n,i,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-"+cm++,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(hc)),new Ng(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t.\u0275fac=function(e){return new(e||t)(as(Vg),as(Jg),as(sa),as(lm),as(Zg),as(io),as(Vl),as(xc),as(xg),as(jc),as(Qg))},t.\u0275prov=ft({token:t,factory:t.\u0275fac}),t})();const hm={provide:new Bn("cdk-connected-overlay-scroll-strategy"),deps:[um],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let dm=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Kt({type:t}),t.\u0275inj=gt({providers:[um,hm],imports:[[Sg,Lg,Eg],Eg]}),t})();class pm{constructor(t){this.total=t}call(t,e){return e.subscribe(new fm(t,this.total))}}class fm extends g{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}let gm=(()=>{class t{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}isTabbable(t){if(!this._platform.isBrowser)return!1;const e=function(t){try{return t.frameElement}catch(e){return null}}(function(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}(t));if(e&&(-1===_m(e)||!this.isVisible(e)))return!1;let n=t.nodeName.toLowerCase(),s=_m(t);return t.hasAttribute("contenteditable")?-1!==s:!("iframe"===n||"object"===n||this._platform.WEBKIT&&this._platform.IOS&&!function(t){let e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&("audio"===n?!!t.hasAttribute("controls")&&-1!==s:"video"===n?-1!==s&&(null!==s||this._platform.FIREFOX||t.hasAttribute("controls")):t.tabIndex>=0)}isFocusable(t,e){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){let e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||mm(t))}(t)&&!this.isDisabled(t)&&((null==e?void 0:e.ignoreVisibility)||this.isVisible(t))}}return t.\u0275fac=function(e){return new(e||t)(as(gg))},t.\u0275prov=ft({factory:function(){return new t(as(gg))},token:t,providedIn:"root"}),t})();function mm(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function _m(t){if(!mm(t))return null;const e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class ym{constructor(t,e,n,s,i=!1){this._element=t,this._checker=e,this._ngZone=n,this._document=s,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,i||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(t)))})}focusFirstTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(t)))})}focusLastTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(t)))})}_getRegionBoundary(t){let e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);for(let n=0;n=0;n--){let t=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(t)return t}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe(nh(1)).subscribe(t)}}let bm=(()=>{class t{constructor(t,e,n){this._checker=t,this._ngZone=e,this._document=n}create(t,e=!1){return new ym(t,this._checker,this._ngZone,this._document,e)}}return t.\u0275fac=function(e){return new(e||t)(as(gm),as(Vl),as(xc))},t.\u0275prov=ft({factory:function(){return new t(as(gm),as(Vl),as(xc))},token:t,providedIn:"root"}),t})();function vm(t){return 0===t.offsetX&&0===t.offsetY}function wm(t){const e=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!(!e||-1!==e.identifier||null!=e.radiusX&&1!==e.radiusX||null!=e.radiusY&&1!==e.radiusY)}"undefined"!=typeof Element&∈const Cm=new Bn("cdk-input-modality-detector-options"),xm={ignoreKeys:[18,17,224,91,16]},Sm=_g({passive:!0,capture:!0});let Om=(()=>{class t{constructor(t,e,n,s){this._platform=t,this._mostRecentTarget=null,this._modality=new Hu(null),this._lastTouchMs=0,this._onKeydown=t=>{var e,n;(null===(n=null===(e=this._options)||void 0===e?void 0:e.ignoreKeys)||void 0===n?void 0:n.some(e=>e===t.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=vg(t))},this._onMousedown=t=>{Date.now()-this._lastTouchMs<650||(this._modality.next(vm(t)?"keyboard":"mouse"),this._mostRecentTarget=vg(t))},this._onTouchstart=t=>{wm(t)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=vg(t))},this._options=Object.assign(Object.assign({},xm),s),this.modalityDetected=this._modality.pipe(t=>t.lift(new pm(1))),this.modalityChanged=this.modalityDetected.pipe(function(t,e){return n=>n.lift(new tg(t,e))}()),t.isBrowser&&e.runOutsideAngular(()=>{n.addEventListener("keydown",this._onKeydown,Sm),n.addEventListener("mousedown",this._onMousedown,Sm),n.addEventListener("touchstart",this._onTouchstart,Sm)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Sm),document.removeEventListener("mousedown",this._onMousedown,Sm),document.removeEventListener("touchstart",this._onTouchstart,Sm))}}return t.\u0275fac=function(e){return new(e||t)(as(gg),as(Vl),as(xc),as(Cm,8))},t.\u0275prov=ft({factory:function(){return new t(as(gg),as(Vl),as(xc),as(Cm,8))},token:t,providedIn:"root"}),t})();const Pm=new Bn("cdk-focus-monitor-default-options"),km=_g({passive:!0,capture:!0});let Em=(()=>{class t{constructor(t,e,n,s,i){this._ngZone=t,this._platform=e,this._inputModalityDetector=n,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new S,this._rootNodeFocusAndBlurListener=t=>{const e=vg(t),n="focus"===t.type?this._onFocus:this._onBlur;for(let s=e;s;s=s.parentElement)n.call(this,t,s)},this._document=s,this._detectionMode=(null==i?void 0:i.detectionMode)||0}monitor(t,e=!1){const n=Wf(t);if(!this._platform.isBrowser||1!==n.nodeType)return zu(null);const s=function(t){if(function(){if(null==fg){const t="undefined"!=typeof document?document.head:null;fg=!(!t||!t.createShadowRoot&&!t.attachShadow)}return fg}()){const e=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}(n)||this._getDocument(),i=this._elementInfo.get(n);if(i)return e&&(i.checkChildren=!0),i.subject;const r={checkChildren:e,subject:new S,rootNode:s};return this._elementInfo.set(n,r),this._registerGlobalListeners(r),r.subject}stopMonitoring(t){const e=Wf(t),n=this._elementInfo.get(e);n&&(n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._removeGlobalListeners(n))}focusVia(t,e,n){const s=Wf(t);s===this._getDocument().activeElement?this._getClosestElementsInfo(s).forEach(([t,n])=>this._originChanged(t,e,n)):(this._setOrigin(e),"function"==typeof s.focus&&s.focus(n))}ngOnDestroy(){this._elementInfo.forEach((t,e)=>this.stopMonitoring(e))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(t,e,n){n?t.classList.add(e):t.classList.remove(e)}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(t){return 1===this._detectionMode||!!(null==t?void 0:t.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(t,e){this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e)}_setOrigin(t,e=!1){this._ngZone.runOutsideAngular(()=>{this._origin=t,this._originFromTouchInteraction="touch"===t&&e,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(t,e){const n=this._elementInfo.get(e),s=vg(t);!n||!n.checkChildren&&e!==s||this._originChanged(e,this._getFocusOrigin(s),n)}_onBlur(t,e){const n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n.subject,null))}_emitOrigin(t,e){this._ngZone.run(()=>t.next(e))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;const e=t.rootNode,n=this._rootNodeFocusListenerCount.get(e)||0;n||this._ngZone.runOutsideAngular(()=>{e.addEventListener("focus",this._rootNodeFocusAndBlurListener,km),e.addEventListener("blur",this._rootNodeFocusAndBlurListener,km)}),this._rootNodeFocusListenerCount.set(e,n+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(rg(this._stopInputModalityDetector)).subscribe(t=>{this._setOrigin(t,!0)}))}_removeGlobalListeners(t){const e=t.rootNode;if(this._rootNodeFocusListenerCount.has(e)){const t=this._rootNodeFocusListenerCount.get(e);t>1?this._rootNodeFocusListenerCount.set(e,t-1):(e.removeEventListener("focus",this._rootNodeFocusAndBlurListener,km),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,km),this._rootNodeFocusListenerCount.delete(e))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,e,n){this._setClasses(t,e),this._emitOrigin(n.subject,e),this._lastFocusOrigin=e}_getClosestElementsInfo(t){const e=[];return this._elementInfo.forEach((n,s)=>{(s===t||n.checkChildren&&s.contains(t))&&e.push([s,n])}),e}}return t.\u0275fac=function(e){return new(e||t)(as(Vl),as(gg),as(Om),as(xc,8),as(Pm,8))},t.\u0275prov=ft({factory:function(){return new t(as(Vl),as(gg),as(Om),as(xc,8),as(Pm,8))},token:t,providedIn:"root"}),t})();const Tm="cdk-high-contrast-black-on-white",Mm="cdk-high-contrast-white-on-black",Am="cdk-high-contrast-active";let Rm=(()=>{class t{constructor(t,e){this._platform=t,this._document=e}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const e=this._document.defaultView||window,n=e&&e.getComputedStyle?e.getComputedStyle(t):null,s=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),s){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove(Am),t.remove(Tm),t.remove(Mm),this._hasCheckedHighContrastMode=!0;const e=this.getHighContrastMode();1===e?(t.add(Am),t.add(Tm)):2===e&&(t.add(Am),t.add(Mm))}}}return t.\u0275fac=function(e){return new(e||t)(as(gg),as(xc))},t.\u0275prov=ft({factory:function(){return new t(as(gg),as(xc))},token:t,providedIn:"root"}),t})();const Im=new pa("12.2.13");class Nm{}const Dm="*";function Lm(t,e){return{type:7,name:t,definitions:e,options:{}}}function Fm(t,e=null){return{type:4,styles:e,timings:t}}function jm(t,e=null){return{type:2,steps:t,options:e}}function zm(t){return{type:6,styles:t,offset:null}}function Hm(t,e,n){return{type:0,name:t,styles:e,options:n}}function Bm(t,e,n=null){return{type:1,expr:t,animation:e,options:n}}function Um(t){Promise.resolve(null).then(t)}class $m{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Um(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class Vm{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,n=0,s=0;const i=this.players.length;0==i?Um(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==i&&this._onFinish()}),t.onDestroy(()=>{++n==i&&this._onDestroy()}),t.onStart(()=>{++s==i&&this._onStart()})}),this.totalTime=this.players.reduce((t,e)=>Math.max(t,e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(t=>{const n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}getPosition(){const t=this.players.reduce((t,e)=>null===t||e.totalTime>t.totalTime?e:t,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}function qm(){return"undefined"!=typeof window&&void 0!==window.document}function Wm(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Gm(t){switch(t.length){case 0:return new $m;case 1:return t[0];default:return new Vm(t)}}function Km(t,e,n,s,i={},r={}){const o=[],a=[];let l=-1,c=null;if(s.forEach(t=>{const n=t.offset,s=n==l,u=s&&c||{};Object.keys(t).forEach(n=>{let s=n,a=t[n];if("offset"!==n)switch(s=e.normalizePropertyName(s,o),a){case"!":a=i[n];break;case Dm:a=r[n];break;default:a=e.normalizeStyleValue(n,s,a,o)}u[s]=a}),s||a.push(u),c=u,l=n}),o.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${o.join(t)}`)}return a}function Zm(t,e,n,s){switch(e){case"start":t.onStart(()=>s(n&&Qm(n,"start",t)));break;case"done":t.onDone(()=>s(n&&Qm(n,"done",t)));break;case"destroy":t.onDestroy(()=>s(n&&Qm(n,"destroy",t)))}}function Qm(t,e,n){const s=n.totalTime,i=Jm(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==s?t.totalTime:s,!!n.disabled),r=t._data;return null!=r&&(i._data=r),i}function Jm(t,e,n,s,i="",r=0,o){return{element:t,triggerName:e,fromState:n,toState:s,phaseName:i,totalTime:r,disabled:!!o}}function Ym(t,e,n){let s;return t instanceof Map?(s=t.get(e),s||t.set(e,s=n)):(s=t[e],s||(s=t[e]=n)),s}function Xm(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let t_=(t,e)=>!1,e_=(t,e)=>!1,n_=(t,e,n)=>[];const s_=Wm();(s_||"undefined"!=typeof Element)&&(t_=qm()?(t,e)=>{for(;e&&e!==document.documentElement;){if(e===t)return!0;e=e.parentNode||e.host}return!1}:(t,e)=>t.contains(e),e_=(()=>{if(s_||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,n)=>e.apply(t,[n]):e_}})(),n_=(t,e,n)=>{let s=[];if(n){const n=t.querySelectorAll(e);for(let t=0;t{const s=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[s]=t[n]}),e}let h_=(()=>{class t{validateStyleProperty(t){return o_(t)}matchesElement(t,e){return a_(t,e)}containsElement(t,e){return l_(t,e)}query(t,e,n){return c_(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,s,i,r=[],o){return new $m(n,s)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ft({token:t,factory:t.\u0275fac}),t})(),d_=(()=>{class t{}return t.NOOP=new h_,t})();const p_="ng-enter",f_="ng-leave",g_="ng-trigger",m_=".ng-trigger",__="ng-animating",y_=".ng-animating";function b_(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:v_(parseFloat(e[1]),e[2])}function v_(t,e){switch(e){case"s":return 1e3*t;default:return t}}function w_(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){let s,i=0,r="";if("string"==typeof t){const n=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return e.push(`The provided timing value "${t}" is invalid.`),{duration:0,delay:0,easing:""};s=v_(parseFloat(n[1]),n[2]);const o=n[3];null!=o&&(i=v_(parseFloat(o),n[4]));const a=n[5];a&&(r=a)}else s=t;if(!n){let n=!1,r=e.length;s<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),i<0&&(e.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&e.splice(r,0,`The provided timing value "${t}" is invalid.`)}return{duration:s,delay:i,easing:r}}(t,e,n)}function C_(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function x_(t,e,n={}){if(e)for(let s in t)n[s]=t[s];else C_(t,n);return n}function S_(t,e,n){return n?e+":"+n+";":""}function O_(t){let e="";for(let n=0;n{const i=N_(s);n&&!n.hasOwnProperty(s)&&(n[s]=t.style[i]),t.style[i]=e[s]}),Wm()&&O_(t))}function k_(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=N_(e);t.style[n]=""}),Wm()&&O_(t))}function E_(t){return Array.isArray(t)?1==t.length?t[0]:jm(t):t}const T_=new RegExp("{{\\s*(.+?)\\s*}}","g");function M_(t){let e=[];if("string"==typeof t){let n;for(;n=T_.exec(t);)e.push(n[1]);T_.lastIndex=0}return e}function A_(t,e,n){const s=t.toString(),i=s.replace(T_,(t,s)=>{let i=e[s];return e.hasOwnProperty(s)||(n.push(`Please provide a value for the animation param ${s}`),i=""),i.toString()});return i==s?t:i}function R_(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const I_=/-+([a-z0-9])/g;function N_(t){return t.replace(I_,(...t)=>t[1].toUpperCase())}function D_(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function L_(t,e){return 0===t||0===e}function F_(t,e,n){const s=Object.keys(n);if(s.length&&e.length){let r=e[0],o=[];if(s.forEach(t=>{r.hasOwnProperty(t)||o.push(t),r[t]=n[t]}),o.length)for(var i=1;ifunction(t,e,n){if(":"==t[0]){const s=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,e)=>parseFloat(e)>parseFloat(t);case":decrement":return(t,e)=>parseFloat(e) *"}}(t,n);if("function"==typeof s)return void e.push(s);t=s}const s=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==s||s.length<4)return n.push(`The provided transition expression "${t}" is not supported`),e;const i=s[1],r=s[2],o=s[3];e.push($_(i,o));"<"==r[0]&&!("*"==i&&"*"==o)&&e.push($_(o,i))}(t,n,e)):n.push(t),n}const B_=new Set(["true","1"]),U_=new Set(["false","0"]);function $_(t,e){const n=B_.has(t)||U_.has(t),s=B_.has(e)||U_.has(e);return(i,r)=>{let o="*"==t||t==i,a="*"==e||e==r;return!o&&n&&"boolean"==typeof i&&(o=i?B_.has(t):U_.has(t)),!a&&s&&"boolean"==typeof r&&(a=r?B_.has(e):U_.has(e)),o&&a}}const V_=new RegExp("s*:selfs*,?","g");function q_(t,e,n){return new W_(t).build(e,n)}class W_{constructor(t){this._driver=t}build(t,e){const n=new G_(e);return this._resetContextStyleTimingState(n),j_(this,E_(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,s=e.depCount=0;const i=[],r=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(t=>{if(this._resetContextStyleTimingState(e),0==t.type){const n=t,s=n.name;s.toString().split(/\s*,\s*/).forEach(t=>{n.name=t,i.push(this.visitState(n,e))}),n.name=s}else if(1==t.type){const i=this.visitTransition(t,e);n+=i.queryCount,s+=i.depCount,r.push(i)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:i,transitions:r,queryCount:n,depCount:s,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),s=t.options&&t.options.params||null;if(n.containsDynamicStyles){const i=new Set,r=s||{};if(n.styles.forEach(t=>{if(K_(t)){const e=t;Object.keys(e).forEach(t=>{M_(e[t]).forEach(t=>{r.hasOwnProperty(t)||i.add(t)})})}}),i.size){const n=R_(i.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:t.name,style:n,options:s?{params:s}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=j_(this,E_(t.animation),e);return{type:1,matchers:H_(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:Z_(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>j_(this,t,e)),options:Z_(t.options)}}visitGroup(t,e){const n=e.currentTime;let s=0;const i=t.steps.map(t=>{e.currentTime=n;const i=j_(this,t,e);return s=Math.max(s,e.currentTime),i});return e.currentTime=s,{type:3,steps:i,options:Z_(t.options)}}visitAnimate(t,e){const n=function(t,e){let n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return Q_(w_(t,e).duration,0,"");const s=t;if(s.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=Q_(0,0,"");return t.dynamic=!0,t.strValue=s,t}return n=n||w_(s,e),Q_(n.duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=n;let s,i=t.styles?t.styles:zm({});if(5==i.type)s=this.visitKeyframes(i,e);else{let i=t.styles,r=!1;if(!i){r=!0;const t={};n.easing&&(t.easing=n.easing),i=zm(t)}e.currentTime+=n.duration+n.delay;const o=this.visitStyle(i,e);o.isEmptyStep=r,s=o}return e.currentAnimateTimings=null,{type:4,timings:n,style:s,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?t==Dm?n.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):n.push(t)}):n.push(t.styles);let s=!1,i=null;return n.forEach(t=>{if(K_(t)){const e=t,n=e.easing;if(n&&(i=n,delete e.easing),!s)for(let t in e)if(e[t].toString().indexOf("{{")>=0){s=!0;break}}}),{type:6,styles:n,easing:i,offset:t.offset,containsDynamicStyles:s,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let s=e.currentTime,i=e.currentTime;n&&i>0&&(i-=n.duration+n.delay),t.styles.forEach(t=>{"string"!=typeof t&&Object.keys(t).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const r=e.collectedStyles[e.currentQuerySelector],o=r[n];let a=!0;o&&(i!=s&&i>=o.startTime&&s<=o.endTime&&(e.errors.push(`The CSS property "${n}" that exists between the times of "${o.startTime}ms" and "${o.endTime}ms" is also being animated in a parallel animation between the times of "${i}ms" and "${s}ms"`),a=!1),i=o.startTime),a&&(r[n]={startTime:i,endTime:s}),e.options&&function(t,e,n){const s=e.params||{},i=M_(t);i.length&&i.forEach(t=>{s.hasOwnProperty(t)||n.push(`Unable to resolve the local animation param ${t} in the given list of values`)})}(t[n],e.options,e.errors)})})}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),n;let s=0;const i=[];let r=!1,o=!1,a=0;const l=t.steps.map(t=>{const n=this._makeStyleAst(t,e);let l=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(K_(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(K_(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),c=0;return null!=l&&(s++,c=n.offset=l),o=o||c<0||c>1,r=r||c0&&s{const r=u>0?s==h?1:u*s:i[s],o=r*f;e.currentTime=d+p.delay+o,p.duration=o,this._validateStyleAst(t,e),t.offset=r,n.styles.push(t)}),n}visitReference(t,e){return{type:8,animation:j_(this,E_(t.animation),e),options:Z_(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:Z_(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:Z_(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,s=t.options||{};e.queryCount++,e.currentQuery=t;const[i,r]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(V_,"")),[t=t.replace(/@\*/g,m_).replace(/@\w+/g,t=>m_+"-"+t.substr(1)).replace(/:animating/g,y_),e]}(t.selector);e.currentQuerySelector=n.length?n+" "+i:i,Ym(e.collectedStyles,e.currentQuerySelector,{});const o=j_(this,E_(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:i,limit:s.limit||0,optional:!!s.optional,includeSelf:r,animation:o,originalSelector:t.selector,options:Z_(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const n="full"===t.timings?{duration:0,delay:0,easing:"full"}:w_(t.timings,e.errors,!0);return{type:12,animation:j_(this,E_(t.animation),e),timings:n,options:null}}}class G_{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function K_(t){return!Array.isArray(t)&&"object"==typeof t}function Z_(t){return t?(t=C_(t)).params&&(t.params=function(t){return t?C_(t):null}(t.params)):t={},t}function Q_(t,e,n){return{duration:t,delay:e,easing:n}}function J_(t,e,n,s,i,r,o=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:s,duration:i,delay:r,totalTime:i+r,easing:o,subTimeline:a}}class Y_{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const X_=new RegExp(":enter","g"),ty=new RegExp(":leave","g");function ey(t,e,n,s,i,r={},o={},a,l,c=[]){return(new ny).buildKeyframes(t,e,n,s,i,r,o,a,l,c)}class ny{buildKeyframes(t,e,n,s,i,r,o,a,l,c=[]){l=l||new Y_;const u=new iy(t,e,l,s,i,c,[]);u.options=a,u.currentTimeline.setStyles([r],null,u.errors,a),j_(this,n,u);const h=u.timelines.filter(t=>t.containsAnimation());if(h.length&&Object.keys(o).length){const t=h[h.length-1];t.allowOnlyTimelineStyles()||t.setStyles([o],null,u.errors,a)}return h.length?h.map(t=>t.buildKeyframes()):[J_(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const n=e.subInstructions.consume(e.element);if(n){const s=e.createSubContext(t.options),i=e.currentTimeline.currentTime,r=this._visitSubInstructions(n,s,s.options);i!=r&&e.transformIntoNewTimeline(r)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,n){let s=e.currentTimeline.currentTime;const i=null!=n.duration?b_(n.duration):null,r=null!=n.delay?b_(n.delay):null;return 0!==i&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,i,r);s=Math.max(s,n.duration+n.delay)}),s}visitReference(t,e){e.updateOptions(t.options,!0),j_(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let s=e;const i=t.options;if(i&&(i.params||i.delay)&&(s=e.createSubContext(i),s.transformIntoNewTimeline(),null!=i.delay)){6==s.previousNode.type&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=sy);const t=b_(i.delay);s.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>j_(this,t,s)),s.currentTimeline.applyStylesToKeyframe(),s.subContextCount>n&&s.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let s=e.currentTimeline.currentTime;const i=t.options&&t.options.delay?b_(t.options.delay):0;t.steps.forEach(r=>{const o=e.createSubContext(t.options);i&&o.delayNextStep(i),j_(this,r,o),s=Math.max(s,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(s),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return w_(e.params?A_(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const n=e.currentAnimateTimings=this._visitTiming(t.timings,e),s=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),s.snapshotCurrentStyles());const i=t.style;5==i.type?this.visitKeyframes(i,e):(e.incrementTime(n.duration),this.visitStyle(i,e),s.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,s=e.currentAnimateTimings;!s&&n.getCurrentStyleProperties().length&&n.forwardFrame();const i=s&&s.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(i):n.setStyles(t.styles,i,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,s=e.currentTimeline.duration,i=n.duration,r=e.createSubContext().currentTimeline;r.easing=n.easing,t.styles.forEach(t=>{r.forwardTime((t.offset||0)*i),r.setStyles(t.styles,t.easing,e.errors,e.options),r.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(r),e.transformIntoNewTimeline(s+i),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,s=t.options||{},i=s.delay?b_(s.delay):0;i&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=sy);let r=n;const o=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!s.optional,e.errors);e.currentQueryTotal=o.length;let a=null;o.forEach((n,s)=>{e.currentQueryIndex=s;const o=e.createSubContext(t.options,n);i&&o.delayNextStep(i),n===e.element&&(a=o.currentTimeline),j_(this,t.animation,o),o.currentTimeline.applyStylesToKeyframe(),r=Math.max(r,o.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(r),a&&(e.currentTimeline.mergeTimelineCollectedStyles(a),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,s=e.currentTimeline,i=t.timings,r=Math.abs(i.duration),o=r*(e.currentQueryTotal-1);let a=r*e.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":a=o-a;break;case"full":a=n.currentStaggerTime}const l=e.currentTimeline;a&&l.delayNextStep(a);const c=l.currentTime;j_(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=s.currentTime-c+(s.startTime-n.currentTimeline.startTime)}}const sy={};class iy{constructor(t,e,n,s,i,r,o,a){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=s,this._leaveClassName=i,this.errors=r,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=sy,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new ry(this._driver,e,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let s=this.options;null!=n.duration&&(s.duration=b_(n.duration)),null!=n.delay&&(s.delay=b_(n.delay));const i=n.params;if(i){let t=s.params;t||(t=this.options.params={}),Object.keys(i).forEach(n=>{(!e||!t.hasOwnProperty(n))&&(t[n]=A_(i[n],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const n=t.params={};Object.keys(e).forEach(t=>{n[t]=e[t]})}}return t}createSubContext(t=null,e,n){const s=e||this.element,i=new iy(this._driver,s,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(s,n||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(t),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(t){return this.previousNode=sy,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const s={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},i=new oy(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,s,t.stretchStartingKeyframe);return this.timelines.push(i),s}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,s,i,r){let o=[];if(s&&o.push(this.element),t.length>0){t=(t=t.replace(X_,"."+this._enterClassName)).replace(ty,"."+this._leaveClassName);let e=this._driver.query(this.element,t,1!=n);0!==n&&(e=n<0?e.slice(e.length+n,e.length):e.slice(0,n)),o.push(...e)}return!i&&0==o.length&&r.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),o}}class ry{constructor(t,e,n,s){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=s,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new ry(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(t=>{this._backFill[t]=this._globalTimelineStyles[t]||Dm,this._currentKeyframe[t]=Dm}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,s){e&&(this._previousKeyframe.easing=e);const i=s&&s.params||{},r=function(t,e){const n={};let s;return t.forEach(t=>{"*"===t?(s=s||Object.keys(e),s.forEach(t=>{n[t]=Dm})):x_(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(r).forEach(t=>{const e=A_(r[t],i,n);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:Dm),this._updateStyle(t,e)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(e=>{this._currentKeyframe[e]=t[e]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach(e=>{const n=this._styleSummary[e],s=t._styleSummary[e];(!n||s.time>n.time)&&this._updateStyle(e,s.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let s=[];this._keyframes.forEach((i,r)=>{const o=x_(i,!0);Object.keys(o).forEach(n=>{const s=o[n];"!"==s?t.add(n):s==Dm&&e.add(n)}),n||(o.offset=r/this.duration),s.push(o)});const i=t.size?R_(t.values()):[],r=e.size?R_(e.values()):[];if(n){const t=s[0],e=C_(t);t.offset=0,e.offset=1,s=[t,e]}return J_(this.element,s,i,r,this.duration,this.startTime,this.easing,!1)}}class oy extends ry{constructor(t,e,n,s,i,r,o=!1){super(t,e,r.delay),this.keyframes=n,this.preStyleProps=s,this.postStyleProps=i,this._stretchStartingKeyframe=o,this.timings={duration:r.duration,delay:r.delay,easing:r.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:s}=this.timings;if(this._stretchStartingKeyframe&&e){const i=[],r=n+e,o=e/r,a=x_(t[0],!1);a.offset=0,i.push(a);const l=x_(t[0],!1);l.offset=ay(o),i.push(l);const c=t.length-1;for(let s=1;s<=c;s++){let o=x_(t[s],!1);o.offset=ay((e+o.offset*n)/r),i.push(o)}n=r,e=0,s="",t=i}return J_(this.element,t,this.preStyleProps,this.postStyleProps,n,e,s,!0)}}function ay(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class ly{}class cy extends ly{normalizePropertyName(t,e){return N_(t)}normalizeStyleValue(t,e,n,s){let i="";const r=n.toString().trim();if(uy[e]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&s.push(`Please provide a CSS unit value for ${t}:${n}`)}return r+i}}const uy=(()=>function(t){const e={};return t.forEach(t=>e[t]=!0),e}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function hy(t,e,n,s,i,r,o,a,l,c,u,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:n,fromStyles:r,toState:s,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:h,errors:d}}const dy={};class py{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,s){return function(t,e,n,s,i){return t.some(t=>t(e,n,s,i))}(this.ast.matchers,t,e,n,s)}buildStyles(t,e,n){const s=this._stateStyles["*"],i=this._stateStyles[t],r=s?s.buildStyles(e,n):{};return i?i.buildStyles(e,n):r}build(t,e,n,s,i,r,o,a,l,c){const u=[],h=this.ast.options&&this.ast.options.params||dy,d=this.buildStyles(n,o&&o.params||dy,u),p=a&&a.params||dy,f=this.buildStyles(s,p,u),g=new Set,m=new Map,_=new Map,y="void"===s,b={params:Object.assign(Object.assign({},h),p)},v=c?[]:ey(t,e,this.ast.animation,i,r,d,f,b,l,u);let w=0;if(v.forEach(t=>{w=Math.max(t.duration+t.delay,w)}),u.length)return hy(e,this._triggerName,n,s,y,d,f,[],[],m,_,w,u);v.forEach(t=>{const n=t.element,s=Ym(m,n,{});t.preStyleProps.forEach(t=>s[t]=!0);const i=Ym(_,n,{});t.postStyleProps.forEach(t=>i[t]=!0),n!==e&&g.add(n)});const C=R_(g.values());return hy(e,this._triggerName,n,s,y,d,f,v,C,m,_,w)}}class fy{constructor(t,e,n){this.styles=t,this.defaultParams=e,this.normalizer=n}buildStyles(t,e){const n={},s=C_(this.defaultParams);return Object.keys(t).forEach(e=>{const n=t[e];null!=n&&(s[e]=n)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const i=t;Object.keys(i).forEach(t=>{let r=i[t];r.length>1&&(r=A_(r,s,e));const o=this.normalizer.normalizePropertyName(t,e);r=this.normalizer.normalizeStyleValue(t,o,r,e),n[o]=r})}}),n}}class gy{constructor(t,e,n){this.name=t,this.ast=e,this._normalizer=n,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new fy(t.style,t.options&&t.options.params||{},n)}),my(this.states,"true","1"),my(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new py(t,e,this.states))}),this.fallbackTransition=function(t,e,n){return new py(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},e)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,s){return this.transitionFactories.find(i=>i.match(t,e,n,s))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function my(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const _y=new Y_;class yy{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],s=q_(this._driver,e,n);if(n.length)throw new Error(`Unable to build the animation due to the following errors: ${n.join("\n")}`);this._animations[t]=s}_buildPlayer(t,e,n){const s=t.element,i=Km(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(s,i,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const s=[],i=this._animations[t];let r;const o=new Map;if(i?(r=ey(this._driver,e,i,p_,f_,{},{},n,_y,s),r.forEach(t=>{const e=Ym(o,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(s.push("The requested animation doesn't exist or has already been destroyed"),r=[]),s.length)throw new Error(`Unable to create the animation due to the following errors: ${s.join("\n")}`);o.forEach((t,e)=>{Object.keys(t).forEach(n=>{t[n]=this._driver.computeStyle(e,n,Dm)})});const a=Gm(r.map(t=>{const e=o.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=a,a.onDestroy(()=>this.destroy(t)),this.players.push(a),a}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error(`Unable to find the timeline player referenced by ${t}`);return e}listen(t,e,n,s){const i=Jm(e,"","","");return Zm(this._getPlayer(t),n,i,s),()=>{}}command(t,e,n,s){if("register"==n)return void this.register(t,s[0]);if("create"==n)return void this.create(t,e,s[0]||{});const i=this._getPlayer(t);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(s[0]));break;case"destroy":this.destroy(t)}}}const by="ng-animate-queued",vy="ng-animate-disabled",wy=".ng-animate-disabled",Cy=[],xy={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Sy={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Oy="__ng_removed";class Py{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=function(t){return null!=t?t:null}(n?t.value:t),n){const e=C_(t);delete e.value,this.options=e}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach(n=>{null==t[n]&&(t[n]=e[n])})}}}const ky="void",Ey=new Py(ky);class Ty{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Fy(e,this._hostClassName)}listen(t,e,n,s){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${e}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if(!function(t){return"start"==t||"done"==t}(n))throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!`);const i=Ym(this._elementListeners,t,[]),r={name:e,phase:n,callback:s};i.push(r);const o=Ym(this._engine.statesByElement,t,{});return o.hasOwnProperty(e)||(Fy(t,g_),Fy(t,g_+"-"+e),o[e]=Ey),()=>{this._engine.afterFlush(()=>{const t=i.indexOf(r);t>=0&&i.splice(t,1),this._triggers[e]||delete o[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger "${t}" has not been registered!`);return e}trigger(t,e,n,s=!0){const i=this._getTrigger(e),r=new Ay(this.id,e,t);let o=this._engine.statesByElement.get(t);o||(Fy(t,g_),Fy(t,g_+"-"+e),this._engine.statesByElement.set(t,o={}));let a=o[e];const l=new Py(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),o[e]=l,a||(a=Ey),l.value!==ky&&a.value===l.value){if(!function(t,e){const n=Object.keys(t),s=Object.keys(e);if(n.length!=s.length)return!1;for(let i=0;i{k_(t,n),P_(t,s)})}return}const c=Ym(this._engine.playersByElement,t,[]);c.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let u=i.matchTransition(a.value,l.value,t,l.params),h=!1;if(!u){if(!s)return;u=i.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:u,fromState:a,toState:l,player:r,isFallbackTransition:h}),h||(Fy(t,by),r.onStart(()=>{jy(t,by)})),r.onDone(()=>{let e=this.players.indexOf(r);e>=0&&this.players.splice(e,1);const n=this._engine.playersByElement.get(t);if(n){let t=n.indexOf(r);t>=0&&n.splice(t,1)}}),this.players.push(r),c.push(r),r}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,n)=>{delete e[t]}),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(e=>e.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const n=this._engine.driver.query(t,m_,!0);n.forEach(t=>{if(t[Oy])return;const n=this._engine.fetchNamespacesByElement(t);n.size?n.forEach(n=>n.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(t=>this.clearElementCache(t)))}triggerLeaveAnimation(t,e,n,s){const i=this._engine.statesByElement.get(t);if(i){const r=[];if(Object.keys(i).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,ky,s);n&&r.push(n)}}),r.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&Gm(r).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),n=this._engine.statesByElement.get(t);if(e&&n){const s=new Set;e.forEach(e=>{const i=e.name;if(s.has(i))return;s.add(i);const r=this._triggers[i].fallbackTransition,o=n[i]||Ey,a=new Py(ky),l=new Ay(this.id,i,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:i,transition:r,fromState:o,toState:a,player:l,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let s=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)s=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){s=!0;break}}}if(this.prepareLeaveAnimationListeners(t),s)n.markElementAsRemoved(this.id,t,!1,e);else{const s=t[Oy];(!s||s===xy)&&(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){Fy(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const s=n.player;if(s.destroyed)return;const i=n.element,r=this._elementListeners.get(i);r&&r.forEach(e=>{if(e.name==n.triggerName){const s=Jm(i,n.triggerName,n.fromState.value,n.toState.value);s._data=t,Zm(n.player,e.phase,s,e.callback)}}),s.markedForDestroy?this._engine.afterFlush(()=>{s.destroy()}):e.push(n)}),this._queue=[],e.sort((t,e)=>{const n=t.transition.ast.depCount,s=e.transition.ast.depCount;return 0==n||0==s?n-s:this._engine.driver.containsElement(t.element,e.element)?1:-1})}destroy(t){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(e=>e.element===t)||e,e}}class My{constructor(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(t,e)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(e=>{e.queued&&t.push(e)})}),t}createNamespace(t,e){const n=new Ty(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}_balanceNamespaceList(t,e){const n=this._namespaceList.length-1;if(n>=0){let s=!1;for(let i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,e)){this._namespaceList.splice(i+1,0,t),s=!0;break}s||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}registerTrigger(t,e,n){let s=this._namespaceLookup[t];s&&s.register(e,n)&&this.totalAnimations++}destroy(t,e){if(!t)return;const n=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(n);e>=0&&this._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(()=>n.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n){const t=Object.keys(n);for(let s=0;s=0&&this.collectedLeaveElements.splice(t,1)}if(t){const s=this._fetchNamespace(t);s&&s.insertNode(e,n)}s&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Fy(t,vy)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),jy(t,vy))}removeNode(t,e,n,s){if(Ry(e)){const i=t?this._fetchNamespace(t):null;if(i?i.removeNode(e,s):this.markElementAsRemoved(t,e,!1,s),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,s)}}else this._onRemovalComplete(e,s)}markElementAsRemoved(t,e,n,s){this.collectedLeaveElements.push(e),e[Oy]={namespaceId:t,setForRemoval:s,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,s,i){return Ry(e)?this._fetchNamespace(t).listen(e,n,s,i):()=>{}}_buildInstruction(t,e,n,s,i){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,s,t.fromState.options,t.toState.options,e,i)}destroyInnerAnimations(t){let e=this.driver.query(t,m_,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,y_,!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return Gm(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t[Oy];if(e&&e.setForRemoval){if(t[Oy]=xy,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,wy)&&this.markElementAsDisabled(t,!1),this.driver.query(t,wy,!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,e)=>this._balanceNamespaceList(t,e)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;nt()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?Gm(e).onDone(()=>{t.forEach(t=>t())}):t.forEach(t=>t())}}reportError(t){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${t.join("\n")}`)}_flushAnimations(t,e){const n=new Y_,s=[],i=new Map,r=[],o=new Map,a=new Map,l=new Map,c=new Set;this.disabledNodes.forEach(t=>{c.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let n=0;n{const n=p_+f++;p.set(e,n),t.forEach(t=>Fy(t,n))});const g=[],m=new Set,_=new Set;for(let M=0;Mm.add(t)):_.add(t))}const y=new Map,b=Dy(h,Array.from(m));b.forEach((t,e)=>{const n=f_+f++;y.set(e,n),t.forEach(t=>Fy(t,n))}),t.push(()=>{d.forEach((t,e)=>{const n=p.get(e);t.forEach(t=>jy(t,n))}),b.forEach((t,e)=>{const n=y.get(e);t.forEach(t=>jy(t,n))}),g.forEach(t=>{this.processLeaveNode(t)})});const v=[],w=[];for(let M=this._namespaceList.length-1;M>=0;M--)this._namespaceList[M].drainQueuedTransitions(e).forEach(t=>{const e=t.player,i=t.element;if(v.push(e),this.collectedEnterElements.length){const t=i[Oy];if(t&&t.setForMove)return void e.destroy()}const c=!u||!this.driver.containsElement(u,i),h=y.get(i),d=p.get(i),f=this._buildInstruction(t,n,d,h,c);if(f.errors&&f.errors.length)w.push(f);else{if(c)return e.onStart(()=>k_(i,f.fromStyles)),e.onDestroy(()=>P_(i,f.toStyles)),void s.push(e);if(t.isFallbackTransition)return e.onStart(()=>k_(i,f.fromStyles)),e.onDestroy(()=>P_(i,f.toStyles)),void s.push(e);f.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(i,f.timelines),r.push({instruction:f,player:e,element:i}),f.queriedElements.forEach(t=>Ym(o,t,[]).push(e)),f.preStyleProps.forEach((t,e)=>{const n=Object.keys(t);if(n.length){let t=a.get(e);t||a.set(e,t=new Set),n.forEach(e=>t.add(e))}}),f.postStyleProps.forEach((t,e)=>{const n=Object.keys(t);let s=l.get(e);s||l.set(e,s=new Set),n.forEach(t=>s.add(t))})}});if(w.length){const t=[];w.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),v.forEach(t=>t.destroy()),this.reportError(t)}const C=new Map,x=new Map;r.forEach(t=>{const e=t.element;n.has(e)&&(x.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,C))}),s.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{Ym(C,e,[]).push(t),t.destroy()})});const S=g.filter(t=>By(t,a,l)),O=new Map;Ny(O,this.driver,_,l,Dm).forEach(t=>{By(t,a,l)&&S.push(t)});const P=new Map;d.forEach((t,e)=>{Ny(P,this.driver,new Set(t),a,"!")}),S.forEach(t=>{const e=O.get(t),n=P.get(t);O.set(t,Object.assign(Object.assign({},e),n))});const k=[],E=[],T={};r.forEach(t=>{const{element:e,player:r,instruction:o}=t;if(n.has(e)){if(c.has(e))return r.onDestroy(()=>P_(e,o.toStyles)),r.disabled=!0,r.overrideTotalTime(o.totalTime),void s.push(r);let t=T;if(x.size>1){let n=e;const s=[];for(;n=n.parentNode;){const e=x.get(n);if(e){t=e;break}s.push(n)}s.forEach(e=>x.set(e,t))}const n=this._buildAnimation(r.namespaceId,o,C,i,P,O);if(r.setRealPlayer(n),t===T)k.push(r);else{const e=this.playersByElement.get(t);e&&e.length&&(r.parentPlayer=Gm(e)),s.push(r)}}else k_(e,o.fromStyles),r.onDestroy(()=>P_(e,o.toStyles)),E.push(r),c.has(e)&&s.push(r)}),E.forEach(t=>{const e=i.get(t.element);if(e&&e.length){const n=Gm(e);t.setRealPlayer(n)}}),s.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let M=0;M!t.destroyed);s.length?zy(this,t,s):this.processLeaveNode(t)}return g.length=0,k.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),k}elementContainsData(t,e){let n=!1;const s=e[Oy];return s&&s.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,s,i){let r=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(r=e)}else{const e=this.playersByElement.get(t);if(e){const t=!i||i==ky;e.forEach(e=>{e.queued||!t&&e.triggerName!=s||r.push(e)})}}return(n||s)&&(r=r.filter(t=>!(n&&n!=t.namespaceId||s&&s!=t.triggerName))),r}_beforeAnimationBuild(t,e,n){const s=e.element,i=e.isRemovalTransition?void 0:t,r=e.isRemovalTransition?void 0:e.triggerName;for(const o of e.timelines){const t=o.element,a=t!==s,l=Ym(n,t,[]);this._getPreviousPlayers(t,a,i,r,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)})}k_(s,e.fromStyles)}_buildAnimation(t,e,n,s,i,r){const o=e.triggerName,a=e.element,l=[],c=new Set,u=new Set,h=e.timelines.map(e=>{const h=e.element;c.add(h);const d=h[Oy];if(d&&d.removedBeforeQueried)return new $m(e.duration,e.delay);const p=h!==a,f=function(t){const e=[];return Hy(t,e),e}((n.get(h)||Cy).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===h),g=i.get(h),m=r.get(h),_=Km(0,this._normalizer,0,e.keyframes,g,m),y=this._buildPlayer(e,_,f);if(e.subTimeline&&s&&u.add(h),p){const e=new Ay(t,o,h);e.setRealPlayer(y),l.push(e)}return y});l.forEach(t=>{Ym(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,n){let s;if(t instanceof Map){if(s=t.get(e),s){if(s.length){const t=s.indexOf(n);s.splice(t,1)}0==s.length&&t.delete(e)}}else if(s=t[e],s){if(s.length){const t=s.indexOf(n);s.splice(t,1)}0==s.length&&delete t[e]}return s}(this.playersByQueriedElement,t.element,t))}),c.forEach(t=>Fy(t,__));const d=Gm(h);return d.onDestroy(()=>{c.forEach(t=>jy(t,__)),P_(a,e.toStyles)}),u.forEach(t=>{Ym(s,t,[]).push(d)}),d}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new $m(t.duration,t.delay)}}class Ay{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new $m,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(n=>Zm(t,e,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){Ym(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function Ry(t){return t&&1===t.nodeType}function Iy(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function Ny(t,e,n,s,i){const r=[];n.forEach(t=>r.push(Iy(t)));const o=[];s.forEach((n,s)=>{const r={};n.forEach(t=>{const n=r[t]=e.computeStyle(s,t,i);(!n||0==n.length)&&(s[Oy]=Sy,o.push(s))}),t.set(s,r)});let a=0;return n.forEach(t=>Iy(t,r[a++])),o}function Dy(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const s=new Set(e),i=new Map;function r(t){if(!t)return 1;let e=i.get(t);if(e)return e;const o=t.parentNode;return e=n.has(o)?o:s.has(o)?1:r(o),i.set(t,e),e}return e.forEach(t=>{const e=r(t);1!==e&&n.get(e).push(t)}),n}const Ly="$$classes";function Fy(t,e){if(t.classList)t.classList.add(e);else{let n=t[Ly];n||(n=t[Ly]={}),n[e]=!0}}function jy(t,e){if(t.classList)t.classList.remove(e);else{let n=t[Ly];n&&delete n[e]}}function zy(t,e,n){Gm(n).onDone(()=>t.processLeaveNode(e))}function Hy(t,e){for(let n=0;ni.add(t)):e.set(t,s),n.delete(t),!0}class Uy{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new My(t,e,n),this._timelineEngine=new yy(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,s,i){const r=t+"-"+s;let o=this._triggerCache[r];if(!o){const t=[],e=q_(this._driver,i,t);if(t.length)throw new Error(`The animation trigger "${s}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);o=function(t,e,n){return new gy(t,e,n)}(s,e,this._normalizer),this._triggerCache[r]=o}this._transitionEngine.registerTrigger(e,s,o)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,s){this._transitionEngine.insertNode(t,e,n,s)}onRemove(t,e,n,s){this._transitionEngine.removeNode(t,e,s||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,s){if("@"==n.charAt(0)){const[t,i]=Xm(n);this._timelineEngine.command(t,e,i,s)}else this._transitionEngine.trigger(t,e,n,s)}listen(t,e,n,s,i){if("@"==n.charAt(0)){const[t,s]=Xm(n);return this._timelineEngine.listen(t,e,s,i)}return this._transitionEngine.listen(t,e,n,s,i)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function $y(t,e){let n=null,s=null;return Array.isArray(e)&&e.length?(n=qy(e[0]),e.length>1&&(s=qy(e[e.length-1]))):e&&(n=qy(e)),n||s?new Vy(t,n,s):null}let Vy=(()=>{class t{constructor(e,n,s){this._element=e,this._startStyles=n,this._endStyles=s,this._state=0;let i=t.initialStylesByElement.get(e);i||t.initialStylesByElement.set(e,i={}),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&P_(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(P_(this._element,this._initialStyles),this._endStyles&&(P_(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(k_(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(k_(this._element,this._endStyles),this._endStyles=null),P_(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function qy(t){let e=null;const n=Object.keys(t);for(let s=0;sthis._handleCallback(t)}apply(){(function(t,e){const n=eb(t,"").trim();let s=0;n.length&&(function(t,e){let n=0;for(let s=0;s=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),Xy(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const n=eb(t,"").split(","),s=Yy(n,e);s>=0&&(n.splice(s,1),tb(t,"",n.join(",")))}(this._element,this._name))}}function Qy(t,e,n){tb(t,"PlayState",n,Jy(t,e))}function Jy(t,e){const n=eb(t,"");return n.indexOf(",")>0?Yy(n.split(","),e):Yy([n],e)}function Yy(t,e){for(let n=0;n=0)return n;return-1}function Xy(t,e,n){n?t.removeEventListener(Ky,e):t.addEventListener(Ky,e)}function tb(t,e,n,s){const i=Gy+e;if(null!=s){const e=t.style[i];if(e.length){const t=e.split(",");t[s]=n,n=t.join(",")}}t.style[i]=n}function eb(t,e){return t.style[Gy+e]||""}class nb{constructor(t,e,n,s,i,r,o,a){this.element=t,this.keyframes=e,this.animationName=n,this._duration=s,this._delay=i,this._finalStyles=o,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=r||"linear",this.totalTime=s+i,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),!(this._state>=4)&&(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}finish(){this.init(),!(this._state>=3)&&(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new Zy(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(t[n]=e?this._finalStyles[n]:z_(this.element,n))})}this.currentSnapshot=t}}class sb extends $m{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=u_(e)}init(){this.__initialized||!this._startingStyles||(this.__initialized=!0,Object.keys(this._styles).forEach(t=>{this._startingStyles[t]=this.element.style[t]}),super.init())}play(){!this._startingStyles||(this.init(),Object.keys(this._styles).forEach(t=>this.element.style.setProperty(t,this._styles[t])),super.play())}destroy(){!this._startingStyles||(Object.keys(this._startingStyles).forEach(t=>{const e=this._startingStyles[t];e?this.element.style.setProperty(t,e):this.element.style.removeProperty(t)}),this._startingStyles=null,super.destroy())}}class ib{constructor(){this._count=0}validateStyleProperty(t){return o_(t)}matchesElement(t,e){return a_(t,e)}containsElement(t,e){return l_(t,e)}query(t,e,n){return c_(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,n){n=n.map(t=>u_(t));let s=`@keyframes ${e} {\n`,i="";n.forEach(t=>{i=" ";const e=parseFloat(t.offset);s+=`${i}${100*e}% {\n`,i+=" ",Object.keys(t).forEach(e=>{const n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(s+=`${i}animation-timing-function: ${n};\n`));default:return void(s+=`${i}${e}: ${n};\n`)}}),s+=`${i}}\n`}),s+="}\n";const r=document.createElement("style");return r.textContent=s,r}animate(t,e,n,s,i,r=[],o){const a=r.filter(t=>t instanceof nb),l={};L_(n,s)&&a.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const c=function(t){let e={};return t&&(Array.isArray(t)?t:[t]).forEach(t=>{Object.keys(t).forEach(n=>{"offset"==n||"easing"==n||(e[n]=t[n])})}),e}(e=F_(t,e,l));if(0==n)return new sb(t,c);const u="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,u,e);(function(t){var e;const n=null===(e=t.getRootNode)||void 0===e?void 0:e.call(t);return"undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot?n:document.head})(t).appendChild(h);const d=$y(t,e),p=new nb(t,e,u,n,s,i,c,d);return p.onDestroy(()=>function(t){t.parentNode.removeChild(t)}(h)),p}}class rb{constructor(t,e,n,s){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=s,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,n){return t.animate(e,n)}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(e=>{"offset"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:z_(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class ob{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(ab().toString()),this._cssKeyframesDriver=new ib}validateStyleProperty(t){return o_(t)}matchesElement(t,e){return a_(t,e)}containsElement(t,e){return l_(t,e)}query(t,e,n){return c_(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,n,s,i,r=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,s,i,r);const a={duration:n,delay:s,fill:0==s?"both":"forwards"};i&&(a.easing=i);const l={},c=r.filter(t=>t instanceof rb);L_(n,s)&&c.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const u=$y(t,e=F_(t,e=e.map(t=>x_(t,!1)),l));return new rb(t,e,a,u)}}function ab(){return qm()&&Element.prototype.animate||{}}let lb=(()=>{class t extends Nm{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:Tt.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(t)?jm(t):t;return hb(this._renderer,null,e,"register",[n]),new cb(e,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(as(ca),as(xc))},t.\u0275prov=ft({token:t,factory:t.\u0275fac}),t})();class cb extends class{}{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new ub(this._id,t,e||{},this._renderer)}}class ub{constructor(t,e,n,s){this.id=t,this.element=e,this._renderer=s,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return hb(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){var t,e;return null!==(e=null===(t=this._renderer.engine.players[+this.id])||void 0===t?void 0:t.getPosition())&&void 0!==e?e:0}}function hb(t,e,n,s,i){return t.setProperty(e,`@@${n}:${s}`,i)}const db="@.disabled";let pb=(()=>{class t{constructor(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=(t,e)=>{e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}createRenderer(t,e){const n=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(n);return t||(t=new fb("",n,this.engine),this._rendererCache.set(n,t)),t}const s=e.id,i=e.id+"-"+this._currentId;this._currentId++,this.engine.register(i,t);const r=e=>{Array.isArray(e)?e.forEach(r):this.engine.registerTrigger(s,i,t,e.name,e)};return e.data.animation.forEach(r),new gb(this,i,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,n){t>=0&&te(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(t=>{const[e,n]=t;e(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return t.\u0275fac=function(e){return new(e||t)(as(ca),as(Uy),as(Vl))},t.\u0275prov=ft({token:t,factory:t.\u0275fac}),t})();class fb{constructor(t,e,n){this.namespaceId=t,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?t=>e.destroyNode(t):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,n,s=!0){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,s)}removeChild(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,s){this.delegate.setAttribute(t,e,n,s)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,s){this.delegate.setStyle(t,e,n,s)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){"@"==e.charAt(0)&&e==db?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n){return this.delegate.listen(t,e,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class gb extends fb{constructor(t,e,n,s){super(e,n,s),this.factory=t,this.namespaceId=e}setProperty(t,e,n){"@"==e.charAt(0)?"."==e.charAt(1)&&e==db?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n){if("@"==e.charAt(0)){const s=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let i=e.substr(1),r="";return"@"!=i.charAt(0)&&([i,r]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(i)),this.engine.listen(this.namespaceId,s,i,r,t=>{this.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}let mb=(()=>{class t extends Uy{constructor(t,e,n){super(t.body,e,n)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(e){return new(e||t)(as(xc),as(d_),as(ly))},t.\u0275prov=ft({token:t,factory:t.\u0275fac}),t})();const _b=new Bn("AnimationModuleType"),yb=[{provide:Nm,useClass:lb},{provide:ly,useFactory:function(){return new cy}},{provide:Uy,useClass:mb},{provide:ca,useFactory:function(t,e,n){return new pb(t,e,n)},deps:[bu,Uy,Vl]}],bb=[{provide:d_,useFactory:function(){return"function"==typeof ab()?new ob:new ib}},{provide:_b,useValue:"BrowserAnimations"},...yb],vb=[{provide:d_,useClass:h_},{provide:_b,useValue:"NoopAnimations"},...yb];let wb=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?vb:bb}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Kt({type:t}),t.\u0275inj=gt({providers:bb,imports:[Iu]}),t})();const Cb=new pa("12.2.13"),xb=new Bn("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let Sb,Ob=(()=>{class t{constructor(t,e,n){this._hasDoneGlobalChecks=!1,this._document=n,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=e,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_checkIsEnabled(t){return!(!sc()||wg())&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[t])}_checkDoctypeIsDefined(){this._checkIsEnabled("doctype")&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){if(!this._checkIsEnabled("theme")||!this._document.body||"function"!=typeof getComputedStyle)return;const t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);const e=getComputedStyle(t);e&&"none"!==e.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(t)}_checkCdkVersionMatch(){this._checkIsEnabled("version")&&Cb.full!==Im.full&&console.warn("The Angular Material version ("+Cb.full+") does not match the Angular CDK version ("+Im.full+").\nPlease ensure the versions of these two packages exactly match.")}}return t.\u0275fac=function(e){return new(e||t)(as(Rm),as(xb,8),as(xc))},t.\u0275mod=Kt({type:t}),t.\u0275inj=gt({imports:[[Sg],Sg]}),t})();function Pb(t){return class extends t{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=$f(t)}}}function kb(t,e){return class extends t{constructor(...t){super(...t),this.defaultColor=e,this.color=e}get color(){return this._color}set color(t){const e=t||this.defaultColor;e!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),e&&this._elementRef.nativeElement.classList.add(`mat-${e}`),this._color=e)}}}function Eb(t){return class extends t{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=$f(t)}}}try{Sb="undefined"!=typeof Intl}catch(d){Sb=!1}class Tb{constructor(t,e,n){this._renderer=t,this.element=e,this.config=n,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Mb={enterDuration:225,exitDuration:150},Ab=_g({passive:!0}),Rb=["mousedown","touchstart"],Ib=["mouseup","mouseleave","touchend","touchcancel"];class Nb{constructor(t,e,n,s){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,s.isBrowser&&(this._containerElement=Wf(n))}fadeInRipple(t,e,n={}){const s=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),i=Object.assign(Object.assign({},Mb),n.animation);n.centered&&(t=s.left+s.width/2,e=s.top+s.height/2);const r=n.radius||function(t,e,n){const s=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),i=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(s*s+i*i)}(t,e,s),o=t-s.left,a=e-s.top,l=i.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=o-r+"px",c.style.top=a-r+"px",c.style.height=2*r+"px",c.style.width=2*r+"px",null!=n.color&&(c.style.backgroundColor=n.color),c.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(c),function(t){window.getComputedStyle(t).getPropertyValue("opacity")}(c),c.style.transform="scale(1)";const u=new Tb(this,c,n);return u.state=0,this._activeRipples.add(u),n.persistent||(this._mostRecentTransientRipple=u),this._runTimeoutOutsideZone(()=>{const t=u===this._mostRecentTransientRipple;u.state=1,!n.persistent&&(!t||!this._isPointerDown)&&u.fadeOut()},l),u}fadeOutRipple(t){const e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const n=t.element,s=Object.assign(Object.assign({},Mb),t.config.animation);n.style.transitionDuration=`${s.exitDuration}ms`,n.style.opacity="0",t.state=2,this._runTimeoutOutsideZone(()=>{t.state=3,n.parentNode.removeChild(n)},s.exitDuration)}fadeOutAll(){this._activeRipples.forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const e=Wf(t);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(Rb))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(Ib),this._pointerUpEventsRegistered=!0)}_onMousedown(t){const e=vm(t),n=this._lastTouchStartEvent&&Date.now(){!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_runTimeoutOutsideZone(t,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(t,e))}_registerEvents(t){this._ngZone.runOutsideAngular(()=>{t.forEach(t=>{this._triggerElement.addEventListener(t,this,Ab)})})}_removeTriggerEvents(){this._triggerElement&&(Rb.forEach(t=>{this._triggerElement.removeEventListener(t,this,Ab)}),this._pointerUpEventsRegistered&&Ib.forEach(t=>{this._triggerElement.removeEventListener(t,this,Ab)}))}}const Db=new Bn("mat-ripple-global-options");let Lb=(()=>{class t{constructor(t,e,n,s,i){this._elementRef=t,this._animationMode=i,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new Nb(this,e,t,n)}get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,e=0,n){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}}return t.\u0275fac=function(e){return new(e||t)(bo(aa),bo(Vl),bo(gg),bo(Db,8),bo(_b,8))},t.\u0275dir=Qt({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,e){2&t&&Fo("mat-ripple-unbounded",e.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),t})(),Fb=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Kt({type:t}),t.\u0275inj=gt({imports:[[Ob,mg],Ob]}),t})();function jb(t,e){}class zb{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}const Hb={dialogContainer:Lm("dialogContainer",[Hm("void, exit",zm({opacity:0,transform:"scale(0.7)"})),Hm("enter",zm({transform:"none"})),Bm("* => enter",Fm("150ms cubic-bezier(0, 0, 0.2, 1)",zm({transform:"none",opacity:1}))),Bm("* => void, * => exit",Fm("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",zm({opacity:0})))])};let Bb=(()=>{class t extends Ig{constructor(t,e,n,s,i,r){super(),this._elementRef=t,this._focusTrapFactory=e,this._changeDetectorRef=n,this._config=i,this._focusMonitor=r,this._animationStateChanged=new al,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=t=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(t)),this._ariaLabelledBy=i.ariaLabelledBy||null,this._document=s}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}attachComponentPortal(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(t)}_recaptureFocus(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}_trapFocus(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}_restoreFocus(){const t=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&t&&"function"==typeof t.focus){const e=bg(),n=this._elementRef.nativeElement;(!e||e===this._document.body||e===n||n.contains(e))&&(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=bg())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const t=this._elementRef.nativeElement,e=bg();return t===e||t.contains(e)}}return t.\u0275fac=function(e){return new(e||t)(bo(aa),bo(bm),bo(Ia),bo(xc,8),bo(zb),bo(Em))},t.\u0275dir=Qt({type:t,viewQuery:function(t,e){if(1&t&&vl(Dg,7),2&t){let t;bl(t=wl())&&(e._portalOutlet=t.first)}},features:[oo]}),t})(),Ub=(()=>{class t extends Bb{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:t,totalTime:e}){"enter"===t?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})):"exit"===t&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:e}))}_onAnimationStart({toState:t,totalTime:e}){"enter"===t?this._animationStateChanged.next({state:"opening",totalTime:e}):("exit"===t||"void"===t)&&this._animationStateChanged.next({state:"closing",totalTime:e})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=function(t){return kt(()=>{const e=t.prototype.constructor,n=e[Bt]||Fn(e),s=Object.prototype;let i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==s;){const t=i[Bt]||Fn(i);if(t&&t!==n)return t;i=Object.getPrototypeOf(i)}return t=>new t})}(t)))(n||t)}}(),t.\u0275cmp=Vt({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,e){1&t&&Eo("@dialogContainer.start",function(t){return e._onAnimationStart(t)})("@dialogContainer.done",function(t){return e._onAnimationDone(t)}),2&t&&(Vo("id",e._id),_o("role",e._config.role)("aria-labelledby",e._config.ariaLabel?null:e._ariaLabelledBy)("aria-label",e._config.ariaLabel)("aria-describedby",e._config.ariaDescribedBy||null),qo("@dialogContainer",e._state))},features:[oo],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&yo(0,jb,0,0,"ng-template",0)},directives:[Dg],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[Hb.dialogContainer]}}),t})(),$b=0;class Vb{constructor(t,e,n="mat-dialog-"+$b++){this._overlayRef=t,this._containerInstance=e,this.id=n,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new S,this._afterClosed=new S,this._beforeClosed=new S,this._state=0,e._id=n,e._animationStateChanged.pipe(ch(t=>"opened"===t.state),nh(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(ch(t=>"closed"===t.state),nh(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),t.keydownEvents().pipe(ch(t=>27===t.keyCode&&!this.disableClose&&!function(t,...e){return e.length?e.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}(t))).subscribe(t=>{t.preventDefault(),qb(this,"keyboard")}),t.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():qb(this,"mouse")})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(ch(t=>"closing"===t.state),nh(1)).subscribe(e=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(t){let e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(t="",e=""){return this._overlayRef.updateSize({width:t,height:e}),this._overlayRef.updatePosition(),this}addPanelClass(t){return this._overlayRef.addPanelClass(t),this}removePanelClass(t){return this._overlayRef.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function qb(t,e,n){return void 0!==t._containerInstance&&(t._containerInstance._closeInteractionType=e),t.close(n)}const Wb=new Bn("MatDialogData"),Gb=new Bn("mat-dialog-default-options"),Kb=new Bn("mat-dialog-scroll-strategy"),Zb={provide:Kb,deps:[um],useFactory:function(t){return()=>t.scrollStrategies.block()}};let Qb=(()=>{class t{constructor(t,e,n,s,i,r,o,a,l){this._overlay=t,this._injector=e,this._defaultOptions=n,this._parentDialog=s,this._overlayContainer=i,this._dialogRefConstructor=o,this._dialogContainerType=a,this._dialogDataToken=l,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new S,this._afterOpenedAtThisLevel=new S,this._ariaHiddenElements=new Map,this.afterAllClosed=Ju(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(rh(void 0))),this._scrollStrategy=r}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(t,e){(e=function(t,e){return Object.assign(Object.assign({},e),t)}(e,this._defaultOptions||new zb)).id&&this.getDialogById(e.id);const n=this._createOverlay(e),s=this._attachDialogContainer(n,e),i=this._attachDialogContent(t,s,n,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(i),i.afterClosed().subscribe(()=>this._removeOpenDialog(i)),this.afterOpened.next(i),s._initializeWithAttachedContent(),i}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(e=>e.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(t){const e=this._getOverlayConfig(t);return this._overlay.create(e)}_getOverlayConfig(t){const e=new qg({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e}_attachDialogContainer(t,e){const n=io.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:zb,useValue:e}]}),s=new Mg(this._dialogContainerType,e.viewContainerRef,n,e.componentFactoryResolver);return t.attach(s).instance}_attachDialogContent(t,e,n,s){const i=new this._dialogRefConstructor(n,e,s.id);if(t instanceof ja)e.attachTemplatePortal(new Ag(t,null,{$implicit:s.data,dialogRef:i}));else{const n=this._createInjector(s,i,e),r=e.attachComponentPortal(new Mg(t,s.viewContainerRef,n));i.componentInstance=r.instance}return i.updateSize(s.width,s.height).updatePosition(s.position),i}_createInjector(t,e,n){const s=t&&t.viewContainerRef&&t.viewContainerRef.injector,i=[{provide:this._dialogContainerType,useValue:n},{provide:this._dialogDataToken,useValue:t.data},{provide:this._dialogRefConstructor,useValue:e}];return t.direction&&(!s||!s.get(xg,null,xt.Optional))&&i.push({provide:xg,useValue:{value:t.direction,change:zu()}}),io.create({parent:s||this._injector,providers:i})}_removeOpenDialog(t){const e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((t,e)=>{t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const t=this._overlayContainer.getContainerElement();if(t.parentElement){const e=t.parentElement.children;for(let n=e.length-1;n>-1;n--){let s=e[n];s!==t&&"SCRIPT"!==s.nodeName&&"STYLE"!==s.nodeName&&!s.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(s,s.getAttribute("aria-hidden")),s.setAttribute("aria-hidden","true"))}}}_closeDialogs(t){let e=t.length;for(;e--;)t[e].close()}}return t.\u0275fac=function(e){return new(e||t)(bo(um),bo(io),bo(void 0),bo(void 0),bo(Jg),bo(void 0),bo($n),bo($n),bo(Bn))},t.\u0275dir=Qt({type:t}),t})(),Jb=(()=>{class t extends Qb{constructor(t,e,n,s,i,r,o){super(t,e,s,r,o,i,Vb,Ub,Wb)}}return t.\u0275fac=function(e){return new(e||t)(as(um),as(io),as(jc,8),as(Gb,8),as(Kb),as(t,12),as(Jg))},t.\u0275prov=ft({token:t,factory:t.\u0275fac}),t})(),Yb=0,Xb=(()=>{class t{constructor(t,e,n){this.dialogRef=t,this._elementRef=e,this._dialog=n,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=nv(this._elementRef,this._dialog.openDialogs))}ngOnChanges(t){const e=t._matDialogClose||t._matDialogCloseResult;e&&(this.dialogResult=e.currentValue)}_onButtonClick(t){qb(this.dialogRef,0===t.screenX&&0===t.screenY?"keyboard":"mouse",this.dialogResult)}}return t.\u0275fac=function(e){return new(e||t)(bo(Vb,8),bo(aa),bo(Jb))},t.\u0275dir=Qt({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(t,e){1&t&&ko("click",function(t){return e._onButtonClick(t)}),2&t&&_o("aria-label",e.ariaLabel||null)("type",e.type)},inputs:{type:"type",dialogResult:["mat-dialog-close","dialogResult"],ariaLabel:["aria-label","ariaLabel"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[ce]}),t})(),tv=(()=>{class t{constructor(t,e,n){this._dialogRef=t,this._elementRef=e,this._dialog=n,this.id="mat-dialog-title-"+Yb++}ngOnInit(){this._dialogRef||(this._dialogRef=nv(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const t=this._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=this.id)})}}return t.\u0275fac=function(e){return new(e||t)(bo(Vb,8),bo(aa),bo(Jb))},t.\u0275dir=Qt({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(t,e){2&t&&Vo("id",e.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),t})(),ev=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Qt({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),t})();function nv(t,e){let n=t.nativeElement.parentElement;for(;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?e.find(t=>t.id===n.id):null}let sv=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Kt({type:t}),t.\u0275inj=gt({providers:[Jb,Zb],imports:[[dm,Lg,Ob],Ob]}),t})();const iv=["mat-button",""],rv=["*"],ov=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],av=kb(Pb(Eb(class{constructor(t){this._elementRef=t}})));let lv=(()=>{class t extends av{constructor(t,e,n){super(t),this._focusMonitor=e,this._animationMode=n,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const s of ov)this._hasHostAttributes(s)&&this._getHostElement().classList.add(s);t.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(t,e){t?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...t){return t.some(t=>this._getHostElement().hasAttribute(t))}}return t.\u0275fac=function(e){return new(e||t)(bo(aa),bo(Em),bo(_b,8))},t.\u0275cmp=Vt({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(t,e){if(1&t&&vl(Lb,5),2&t){let t;bl(t=wl())&&(e.ripple=t.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(t,e){2&t&&(_o("disabled",e.disabled||null),Fo("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-button-disabled",e.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[oo],attrs:iv,ngContentSelectors:rv,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(t,e){1&t&&(Io(),Co(0,"span",0),No(1),xo(),So(2,"span",1),So(3,"span",2)),2&t&&(Gi(2),Fo("mat-button-ripple-round",e.isRoundButton||e.isIconButton),vo("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e.isIconButton)("matRippleTrigger",e._getHostElement()))},directives:[Lb],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),t})(),cv=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Kt({type:t}),t.\u0275inj=gt({imports:[[Fb,Ob],Ob]}),t})();function uv(t,e){return new b(n=>{const s=t.length;if(0===s)return void n.complete();const i=new Array(s);let r=0,o=0;for(let a=0;a{c||(c=!0,o++),i[a]=t},error:t=>n.error(t),complete:()=>{r++,(r===s||!c)&&(o===s&&n.next(e?e.reduce((t,e,n)=>(t[e]=i[n],t),{}):i),n.complete())}}))}})}class hv{}class dv{}class pv{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(),i=t.slice(e+1).trim();this.maybeSetNormalizedName(n,s),this.headers.has(s)?this.headers.get(s).push(i):this.headers.set(s,[i])}})}:()=>{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 pv?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 pv;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof pv?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 i=t.value;if(i){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===i.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 fv{encodeKey(t){return _v(t)}encodeValue(t){return _v(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const gv=/%(\d[a-f0-9])/gi,mv={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function _v(t){return encodeURIComponent(t).replace(gv,(t,e)=>{var n;return null!==(n=mv[e])&&void 0!==n?n:t})}function yv(t){return`${t}`}class bv{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new fv,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.replace(/^\?/,"").split("&").forEach(t=>{const s=t.indexOf("="),[i,r]=-1==s?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,s)),e.decodeValue(t.slice(s+1))],o=n.get(i)||[];o.push(r),n.set(i,o)}),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"})}appendAll(t){const e=[];return Object.keys(t).forEach(n=>{const s=t[n];Array.isArray(s)?s.forEach(t=>{e.push({param:n,value:t,op:"a"})}):e.push({param:n,value:s,op:"a"})}),this.clone(e)}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 bv({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(yv(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(yv(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)}}class vv{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}keys(){return this.map.keys()}}function wv(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function Cv(t){return"undefined"!=typeof Blob&&t instanceof Blob}function xv(t){return"undefined"!=typeof FormData&&t instanceof FormData}class Sv{constructor(t,e,n,s){let i;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,i=s):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params)),this.headers||(this.headers=new pv),this.context||(this.context=new vv),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]),l)),t.setParams&&(c=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),c)),new Sv(n,s,r,{params:c,headers:l,context:u,reportProgress:a,responseType:i,withCredentials:o})}}var Ov=(()=>((Ov=Ov||{})[Ov.Sent=0]="Sent",Ov[Ov.UploadProgress=1]="UploadProgress",Ov[Ov.ResponseHeader=2]="ResponseHeader",Ov[Ov.DownloadProgress=3]="DownloadProgress",Ov[Ov.Response=4]="Response",Ov[Ov.User=5]="User",Ov))();class Pv{constructor(t,e=200,n="OK"){this.headers=t.headers||new pv,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 kv extends Pv{constructor(t={}){super(t),this.type=Ov.ResponseHeader}clone(t={}){return new kv({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 Ev extends Pv{constructor(t={}){super(t),this.type=Ov.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Ev({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 Tv extends Pv{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 Mv(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let Av=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let s;if(t instanceof Sv)s=t;else{let i,r;i=n.headers instanceof pv?n.headers:new pv(n.headers),n.params&&(r=n.params instanceof bv?n.params:new bv({fromObject:n.params})),s=new Sv(t,e,void 0!==n.body?n.body:null,{headers:i,context:n.context,params:r,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const i=zu(s).pipe(gh(t=>this.handler.handle(t)));if(t instanceof Sv||"events"===n.observe)return i;const r=i.pipe(ch(t=>t instanceof Ev));switch(n.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return r.pipe(k(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return r.pipe(k(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return r.pipe(k(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return r.pipe(k(t=>t.body))}case"response":return r;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 bv).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,Mv(n,e))}post(t,e,n={}){return this.request("POST",t,Mv(n,e))}put(t,e,n={}){return this.request("PUT",t,Mv(n,e))}}return t.\u0275fac=function(e){return new(e||t)(as(hv))},t.\u0275prov=ft({token:t,factory:t.\u0275fac}),t})();class Rv{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const Iv=new Bn("HTTP_INTERCEPTORS");let Nv=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ft({token:t,factory:t.\u0275fac}),t})();const Dv=/^\)\]\}',?\n/;let Lv=(()=>{class t{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new b(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 i=null;const r=()=>{if(null!==i)return i;const e=1223===n.status?204:n.status,s=n.statusText||"OK",r=new pv(n.getAllResponseHeaders()),o=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 i=new kv({headers:r,status:e,statusText:s,url:o}),i},o=()=>{let{headers:s,status:i,statusText:o,url:a}=r(),l=null;204!==i&&(l=void 0===n.response?n.responseText:n.response),0===i&&(i=l?200:0);let c=i>=200&&i<300;if("json"===t.responseType&&"string"==typeof l){const t=l;l=l.replace(Dv,"");try{l=""!==l?JSON.parse(l):null}catch(u){l=t,c&&(c=!1,l={error:u,text:l})}}c?(e.next(new Ev({body:l,headers:s,status:i,statusText:o,url:a||void 0})),e.complete()):e.error(new Tv({error:l,headers:s,status:i,statusText:o,url:a||void 0}))},a=t=>{const{url:s}=r(),i=new Tv({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:s||void 0});e.error(i)};let l=!1;const c=s=>{l||(e.next(r()),l=!0);let i={type:Ov.DownloadProgress,loaded:s.loaded};s.lengthComputable&&(i.total=s.total),"text"===t.responseType&&!!n.responseText&&(i.partialText=n.responseText),e.next(i)},u=t=>{let n={type:Ov.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener("load",o),n.addEventListener("error",a),n.addEventListener("timeout",a),n.addEventListener("abort",a),t.reportProgress&&(n.addEventListener("progress",c),null!==s&&n.upload&&n.upload.addEventListener("progress",u)),n.send(s),e.next({type:Ov.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("abort",a),n.removeEventListener("load",o),n.removeEventListener("timeout",a),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)(as(eu))},t.\u0275prov=ft({token:t,factory:t.\u0275fac}),t})();const Fv=new Bn("XSRF_COOKIE_NAME"),jv=new Bn("XSRF_HEADER_NAME");class zv{}let Hv=(()=>{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=qc(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(as(xc),as(Tl),as(Fv))},t.\u0275prov=ft({token:t,factory:t.\u0275fac}),t})(),Bv=(()=>{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)(as(zv),as(jv))},t.\u0275prov=ft({token:t,factory:t.\u0275fac}),t})(),Uv=(()=>{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(Iv,[]);this.chain=t.reduceRight((t,e)=>new Rv(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(as(dv),as(io))},t.\u0275prov=ft({token:t,factory:t.\u0275fac}),t})(),$v=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:Bv,useClass:Nv}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:Fv,useValue:e.cookieName}:[],e.headerName?{provide:jv,useValue:e.headerName}:[]]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Kt({type:t}),t.\u0275inj=gt({providers:[Bv,{provide:Iv,useExisting:Bv,multi:!0},{provide:zv,useClass:Hv},{provide:Fv,useValue:"XSRF-TOKEN"},{provide:jv,useValue:"X-XSRF-TOKEN"}]}),t})(),Vv=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Kt({type:t}),t.\u0275inj=gt({providers:[Av,{provide:hv,useClass:Uv},Lv,{provide:dv,useExisting:Lv}],imports:[[$v.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})();const qv=["*"];function Wv(t){return Error(`Unable to find icon with the name "${t}"`)}function Gv(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function Kv(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}class Zv{constructor(t,e,n){this.url=t,this.svgText=e,this.options=n}}let Qv=(()=>{class t{constructor(t,e,n,s){this._httpClient=t,this._sanitizer=e,this._errorHandler=s,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=n}addSvgIcon(t,e,n){return this.addSvgIconInNamespace("",t,e,n)}addSvgIconLiteral(t,e,n){return this.addSvgIconLiteralInNamespace("",t,e,n)}addSvgIconInNamespace(t,e,n,s){return this._addSvgIconConfig(t,e,new Zv(n,null,s))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,e,n,s){const i=this._sanitizer.sanitize(Qs.HTML,n);if(!i)throw Kv(n);return this._addSvgIconConfig(t,e,new Zv("",i,s))}addSvgIconSet(t,e){return this.addSvgIconSetInNamespace("",t,e)}addSvgIconSetLiteral(t,e){return this.addSvgIconSetLiteralInNamespace("",t,e)}addSvgIconSetInNamespace(t,e,n){return this._addSvgIconSetConfig(t,new Zv(e,null,n))}addSvgIconSetLiteralInNamespace(t,e,n){const s=this._sanitizer.sanitize(Qs.HTML,e);if(!s)throw Kv(e);return this._addSvgIconSetConfig(t,new Zv("",s,n))}registerFontClassAlias(t,e=t){return this._fontCssClassesByAlias.set(t,e),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){const e=this._sanitizer.sanitize(Qs.RESOURCE_URL,t);if(!e)throw Gv(t);const n=this._cachedIconsByUrl.get(e);return n?zu(Jv(n)):this._loadSvgIconFromConfig(new Zv(t,null)).pipe(Eh(t=>this._cachedIconsByUrl.set(e,t)),k(t=>Jv(t)))}getNamedSvgIcon(t,e=""){const n=Yv(e,t);let s=this._svgIconConfigs.get(n);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(e,t),s)return this._svgIconConfigs.set(n,s),this._getSvgFromConfig(s);const i=this._iconSetConfigs.get(e);return i?this._getSvgFromIconSetConfigs(t,i):lg(Wv(n))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?zu(Jv(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(k(t=>Jv(t)))}_getSvgFromIconSetConfigs(t,e){const n=this._extractIconWithNameFromAnySet(t,e);return n?zu(n):function(...t){if(1===t.length){const e=t[0];if(l(e))return uv(e,null);if(c(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return uv(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return uv(t=1===t.length&&l(t[0])?t[0]:t,null).pipe(k(t=>e(...t)))}return uv(t,null)}(e.filter(t=>!t.svgText).map(t=>this._loadSvgIconSetFromConfig(t).pipe(dh(e=>{const n=`Loading icon set URL: ${this._sanitizer.sanitize(Qs.RESOURCE_URL,t.url)} failed: ${e.message}`;return this._errorHandler.handleError(new Error(n)),zu(null)})))).pipe(k(()=>{const n=this._extractIconWithNameFromAnySet(t,e);if(!n)throw Wv(t);return n}))}_extractIconWithNameFromAnySet(t,e){for(let n=e.length-1;n>=0;n--){const s=e[n];if(s.svgText&&s.svgText.indexOf(t)>-1){const e=this._svgElementFromConfig(s),n=this._extractSvgIconFromSet(e,t,s.options);if(n)return n}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe(Eh(e=>t.svgText=e),k(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?zu(null):this._fetchIcon(t).pipe(Eh(e=>t.svgText=e))}_extractSvgIconFromSet(t,e,n){const s=t.querySelector(`[id="${e}"]`);if(!s)return null;const i=s.cloneNode(!0);if(i.removeAttribute("id"),"svg"===i.nodeName.toLowerCase())return this._setSvgAttributes(i,n);if("symbol"===i.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(i),n);const r=this._svgElementFromString("");return r.appendChild(i),this._setSvgAttributes(r,n)}_svgElementFromString(t){const e=this._document.createElement("DIV");e.innerHTML=t;const n=e.querySelector("svg");if(!n)throw Error(" tag not found");return n}_toSvgElement(t){const e=this._svgElementFromString(""),n=t.attributes;for(let s=0;sthis._inProgressUrlFetches.delete(r)),tt());return this._inProgressUrlFetches.set(r,a),a}_addSvgIconConfig(t,e,n){return this._svgIconConfigs.set(Yv(t,e),n),this}_addSvgIconSetConfig(t,e){const n=this._iconSetConfigs.get(t);return n?n.push(e):this._iconSetConfigs.set(t,[e]),this}_svgElementFromConfig(t){if(!t.svgElement){const e=this._svgElementFromString(t.svgText);this._setSvgAttributes(e,t.options),t.svgElement=e}return t.svgElement}_getIconConfigFromResolvers(t,e){for(let n=0;ne?e.pathname+e.search:""}}}),nw=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],sw=nw.map(t=>`[${t}]`).join(", "),iw=/^url\(['"]?#(.*?)['"]?\)$/;let rw=(()=>{class t extends tw{constructor(t,e,n,s,i){super(t),this._iconRegistry=e,this._location=s,this._errorHandler=i,this._inline=!1,this._currentIconFetch=h.EMPTY,n||t.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(t){this._inline=$f(t)}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){const e=this._cleanupFontValue(t);e!==this._fontSet&&(this._fontSet=e,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){const e=this._cleanupFontValue(t);e!==this._fontIcon&&(this._fontIcon=e,this._updateFontIconClasses())}_splitIconName(t){if(!t)return["",""];const e=t.split(":");switch(e.length){case 1:return["",e[0]];case 2:return e;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&t.size){const t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();const e=t.querySelectorAll("style");for(let s=0;s{e.forEach(e=>{n.setAttribute(e.name,`url('${t}#${e.value}')`)})})}_cacheChildrenWithExternalReferences(t){const e=t.querySelectorAll(sw),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let s=0;s{const i=e[s],r=i.getAttribute(t),o=r?r.match(iw):null;if(o){let e=n.get(i);e||(e=[],n.set(i,e)),e.push({name:t,value:o[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){const[e,n]=this._splitIconName(t);e&&(this._svgNamespace=e),n&&(this._svgName=n),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(n,e).pipe(nh(1)).subscribe(t=>this._setSvgElement(t),t=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${e}:${n}! ${t.message}`))})}}}return t.\u0275fac=function(e){return new(e||t)(bo(aa),bo(Qv),jn("aria-hidden"),bo(ew),bo(si))},t.\u0275cmp=Vt({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(t,e){2&t&&(_o("data-mat-icon-type",e._usingFontIcon()?"font":"svg")("data-mat-icon-name",e._svgName||e.fontIcon)("data-mat-icon-namespace",e._svgNamespace||e.fontSet),Fo("mat-icon-inline",e.inline)("mat-icon-no-color","primary"!==e.color&&"accent"!==e.color&&"warn"!==e.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[oo],ngContentSelectors:qv,decls:1,vars:0,template:function(t,e){1&t&&(Io(),No(0))},styles:[".mat-icon{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),t})(),ow=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Kt({type:t}),t.\u0275inj=gt({imports:[[Ob],Ob]}),t})(),aw=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Vt({type:t,selectors:[["app-dialog-call"]],decls:9,vars:0,consts:[[2,"position","relative","height","10px"],["type","text",2,"width","1px","height","1px","opacity","0.01"],["type","button","mat-icon-button","","mat-dialog-close","",1,"_btnClose",2,"position","absolute","right","-20px","top","-14px"],[1,"call-box","mx-auto","text-center","fs-1","py-4","px-5"],["href","tel:0800-070-127"]],template:function(t,e){1&t&&(Co(0,"mat-dialog-content"),Co(1,"div",0),So(2,"input",1),Co(3,"button",2),Co(4,"mat-icon"),Uo(5,"close"),xo(),xo(),xo(),Co(6,"div",3),Co(7,"a",4),Uo(8,"0800-070-127"),xo(),xo(),xo())},directives:[ev,lv,Xb,rw],styles:["h2[_ngcontent-%COMP%]{background:#588eec;border-radius:15px;font-family:NotoSansCJKtc-Regular;font-size:18px;color:#fff;letter-spacing:0;text-align:center;line-height:30px;position:relative}h2[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{position:absolute;right:-25px;top:-35px;color:#000}a[_ngcontent-%COMP%]{text-decoration:none;color:#1046a9}"]}),t})(),lw=(()=>{class t{constructor({nativeElement:t}){const e="loading"in HTMLImageElement.prototype,n=t.getAttribute("src")||"";/\.jpg$|\.png$/.test(n),e&&(/no-lazy/.test(t.className)||t.setAttribute("loading","lazy"))}}return t.\u0275fac=function(e){return new(e||t)(bo(aa))},t.\u0275dir=Qt({type:t,selectors:[["img"]]}),t})(),cw=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Vt({type:t,selectors:[["app-dialog-01"]],decls:13,vars:0,consts:[["mat-dialog-title","",1,"px-4","position-relative"],["type","button","mat-icon-button","","mat-dialog-close","",1,"_btnClose",2,"position","absolute","top","-5px","right","-15px"],[1,"mx-auto","text-center","px-4"],[1,"d-none","d-lg-block"],["src","/sites/default/files/230224product01-d-content.png","alt","",1,"img-fluid"],[1,"d-lg-none"],["src","/sites/default/files/230224product01-m-content.png","alt","",1,"img-fluid"]],template:function(t,e){1&t&&(Co(0,"h3",0),Uo(1,"\u96c0\u5de2\u7acb\u651d\u9069\u7a69\u512a\u96d9\u91cd\u7a69\u5b9a\u914d\u65b9 - \u539f\u5473\u98a8\u5473 "),Co(2,"button",1),Co(3,"mat-icon"),Uo(4,"close"),xo(),xo(),xo(),Co(5,"mat-dialog-content"),Co(6,"div",2),Co(7,"h4"),Uo(8,"\u71df\u990a\u6a19\u793a"),xo(),Co(9,"div",3),So(10,"img",4),xo(),Co(11,"div",5),So(12,"img",6),xo(),xo(),xo())},directives:[tv,lv,Xb,rw,ev,lw],styles:["h2[_ngcontent-%COMP%]{background:#588eec;border-radius:15px;font-family:NotoSansCJKtc-Regular;font-size:18px;color:#fff;letter-spacing:0;text-align:center;line-height:30px;position:relative}h2[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{position:absolute;right:-30px;top:-25px;color:#000}h3[_ngcontent-%COMP%]{font-family:NotoSansCJKtc-Medium;font-size:18px;color:#000;letter-spacing:0;text-align:center;line-height:30px}@media (max-width: 992px){h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%]{font-size:16px}}"]}),t})(),uw=(()=>{class t{constructor(){}goTo(t){$("html").animate({scrollTop:$(t).offset().top-40},"slow")}GA(t,e,n){gtag("event",t,{event_category:e,event_label:n,value:1})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ft({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),hw=(()=>{class t{constructor(t){this.share=t}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)(bo(uw))},t.\u0275cmp=Vt({type:t,selectors:[["app-header"]],decls:21,vars:0,consts:[[1,"navbar","navbar-expand-lg","navbar-light","fixed-top","bg-white",2,"z-index","900"],[1,"container-fluid"],["routerLink","/portal",1,"navbar-brand","ms-lg-5",3,"click"],["src","/sites/default/files/230224product01-logo.png","alt","",1,"img-logo"],["type","button","data-bs-toggle","collapse","data-bs-target","#navbarSupportedContent","aria-controls","navbarSupportedContent","aria-expanded","false","aria-label","Toggle navigation",1,"navbar-toggler","btn-nav-open"],[1,"navbar-toggler-icon"],["type","button","data-bs-toggle","collapse","data-bs-target","#navbarSupportedContent","aria-controls","navbarSupportedContent","aria-expanded","false","aria-label","Toggle navigation",1,"navbar-toggler","btn-nav-close","btn-close"],["id","navbarSupportedContent",1,"collapse","navbar-collapse"],[1,"navbar-nav","ms-auto","mb-2","mb-lg-0"],[1,"nav-item","active"],["routerLink","/food-master","data-category","\u9078\u55ae","data-label","\u7522\u54c1\u4ecb\u7d39","onclick","$('body').width() <= 992 ? $('.container-fluid > button').trigger('click') : '';",1,"nav-link",3,"click"],["routerLink","/router","data-category","\u9078\u55ae","data-label","\u8ca9\u8ce3\u901a\u8def","onclick","$('body').width() <= 992 ? $('.container-fluid > button').trigger('click') : '';",1,"nav-link",3,"click"],[1,"nav-item","d-lg-none","py-5"],["href","https://www.nestlehealthscience.com.tw/","target","_blank",1,"navbar-brand",3,"click"],["src","/sites/default/files/230224product01-nestle_logo.png","alt","",1,"img-logo"],["href","https://www.nestlehealthscience.com.tw/","target","_blank",1,"navbar-brand","d-none","d-lg-inline-block","ms-3","me-lg-5",3,"click"],[1,"nav-space"]],template:function(t,e){1&t&&(Co(0,"nav",0),Co(1,"div",1),Co(2,"a",2),ko("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3fheader","\u7acb\u651d\u9069\u7a69\u512aLOGO"),e.share.goTo("body")}),So(3,"img",3),xo(),Co(4,"button",4),So(5,"span",5),xo(),So(6,"button",6),Co(7,"div",7),Co(8,"ul",8),Co(9,"li",9),Co(10,"a",10),ko("click",function(){return e.share.goTo("body"),e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3fheader","\u7522\u54c1\u4ecb\u7d39")}),Uo(11,"\u7522\u54c1\u4ecb\u7d39"),xo(),xo(),Co(12,"li",9),Co(13,"a",11),ko("click",function(){return e.share.goTo("body"),e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3fheader","\u901a\u8def\u8207\u670d\u52d9")}),Uo(14,"\u901a\u8def\u8207\u670d\u52d9"),xo(),xo(),Co(15,"li",12),Co(16,"a",13),ko("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3fheader","\u96c0\u5de2Logo")}),So(17,"img",14),xo(),xo(),xo(),xo(),Co(18,"a",15),ko("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3fheader","\u96c0\u5de2\u5065\u5eb7\u79d1\u5b78LOGO")}),So(19,"img",14),xo(),xo(),xo(),So(20,"div",16))},directives:[ff,lw],styles:['a[_ngcontent-%COMP%]{color:#00205c;text-decoration:none}a[_ngcontent-%COMP%]:link, a[_ngcontent-%COMP%]:visited, a[_ngcontent-%COMP%]:hover, a[_ngcontent-%COMP%]:active{color:#00205c}#banner[_ngcontent-%COMP%], .official-box[_ngcontent-%COMP%]{background-position-x:50%;background-position-y:0;background-repeat:no-repeat;background-size:100%;background-color:#fff}.privacy-policy[_ngcontent-%COMP%], .cookie-policy[_ngcontent-%COMP%]{cursor:pointer;color:unset;text-decoration:none}a.dropdown-item[_ngcontent-%COMP%]{font-family:"NotoSansCJKtc-Medium";font-size:15px;color:#00205c;letter-spacing:0;line-height:35px}a.dropdown-item[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-family:"NotoSansCJKtc-Regular"}.official-box[_ngcontent-%COMP%]{padding-top:80px}.official-box[_ngcontent-%COMP%] .welcome[_ngcontent-%COMP%]{font-size:36px;color:#006a9e;text-align:center}.official-box[_ngcontent-%COMP%] .icon-box[_ngcontent-%COMP%]{max-width:600px}.official-box[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{letter-spacing:0;text-align:center;font-family:"NotoSansCJKtc-Medium";font-size:18px}.official-box[_ngcontent-%COMP%] .fb[_ngcontent-%COMP%]{cursor:pointer}.official-box[_ngcontent-%COMP%] .fb[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{color:#1877f2}.official-box[_ngcontent-%COMP%] .line[_ngcontent-%COMP%]{cursor:pointer}.official-box[_ngcontent-%COMP%] .line[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{color:#06c755}@media (max-width: 992px){.official-box[_ngcontent-%COMP%]{padding-top:80px}.official-box[_ngcontent-%COMP%] .welcome[_ngcontent-%COMP%]{font-size:28px}}nav[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%]{padding:15px 5px;position:relative}nav[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{font-size:15px;color:#588eec}nav[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%]{box-shadow:0 10px 15px rgba(0,0,0,.15);border-radius:0 0 10px 10px;background:#ffffff;font-family:"NotoSansCJKtc-Medium";font-size:15px;color:#00205c;letter-spacing:0;line-height:35px}nav[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%]:nth-last-child(1){left:-40px}nav[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#00205c}nav[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover a.dropdown-item[_ngcontent-%COMP%], nav[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:focus a.dropdown-item[_ngcontent-%COMP%]{background-color:#faf8d6!important}nav[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#9b77b6;font-size:12px}nav[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a.dropdown-item[_ngcontent-%COMP%]{padding:5px 27px}nav[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a.dropdown-item.dropdown-item-01[_ngcontent-%COMP%]{color:#588eec}nav[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a.dropdown-item.dropdown-item-02[_ngcontent-%COMP%]{color:#e60042}nav[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a.dropdown-item.dropdown-item-03[_ngcontent-%COMP%]{color:#007133}nav[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a.nav-link[_ngcontent-%COMP%]{color:#006a9e;font-size:15px}nav[_ngcontent-%COMP%] img.img-logo[_ngcontent-%COMP%]{height:40px}.navbar-nav[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]:hover, .navbar-nav[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]:focus{color:#588eec!important}.nav-space[_ngcontent-%COMP%]{margin-top:73px}@media (max-width: 992px){.nav-space[_ngcontent-%COMP%]{margin-top:42px}nav[_ngcontent-%COMP%] .btn-nav-open[aria-expanded=false][_ngcontent-%COMP%], nav[_ngcontent-%COMP%] .btn-nav-close[aria-expanded=true][_ngcontent-%COMP%]{display:inline-block}nav[_ngcontent-%COMP%] .btn-nav-open[aria-expanded=true][_ngcontent-%COMP%], nav[_ngcontent-%COMP%] .btn-nav-close[aria-expanded=false][_ngcontent-%COMP%]{display:none}nav[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%]{padding:10px 5px;text-align:center}nav[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%]{background-color:#f8f9fa;box-shadow:0 10px 15px -5px rgba(0,0,0,.15);border-radius:0;border-left:0;border-top:0;border-right:0}nav[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{text-align:center}nav[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .dropdown-toggle.show[_ngcontent-%COMP%]:after{border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}nav[_ngcontent-%COMP%] img.img-logo[_ngcontent-%COMP%]{height:26px}}']}),t})();const dw=[[["","outside",""]],[["","inside",""]]],pw=["[outside]","[inside]"];let fw=(()=>{class t{constructor(t,e,n){this.title=t,this.meta=e,this.share=n,this.basePath="/sites/default/files/",this.gaEventName="\u5165\u53e3\u7db2"}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)(bo(ju),bo(Du),bo(uw))},t.\u0275cmp=Vt({type:t,selectors:[["app-route-nav"]],ngContentSelectors:pw,decls:43,vars:3,consts:[[1,"footer-nav-box","container","py-5"],[1,"row","gy-5","mb-5"],[1,"item","col-lg-4","p-3"],["src","/sites/default/files/220711diabetic-footer_nestle_logo.png","alt","",1,"logo",2,"max-width","280px"],[1,"item","col-lg-4","p-3","d-none","d-lg-block"],[1,"title"],[1,"content","mt-3"],["href","tel:0800-070-127","target","_blank",1,"unsetLink"],[1,"content","mt-5"],[1,"route","mt-3"],["href","https://www.facebook.com/TW.NHS.ifamily2016/","target","_blank",1,"btnicon",3,"click"],[2,"width","30px",3,"src"],["href","https://page.line.me/ycv7155b","target","_blank",1,"btnicon",3,"click"],["href","https://www.nestlehealthscience.com.tw/","target","_blank",1,"btnicon",3,"click"],[1,"item","col-lg-4","p-3","d-lg-none"],["href","tel:0800-070-127","target","_blank",1,"unsetLink",3,"click"]],template:function(t,e){1&t&&(Io(dw),No(0),Co(1,"div",0),No(2,1),Co(3,"div",1),Co(4,"div",2),So(5,"img",3),xo(),Co(6,"div",4),Co(7,"div",5),Uo(8,"\u53f0\u7063\u96c0\u5de2\u80a1\u4efd\u6709\u9650\u516c\u53f8 \u96c0\u5de2\u5065\u5eb7\u79d1\u5b78\u4e8b\u696d\u90e8"),xo(),Co(9,"address",6),Uo(10," \u53f0\u5317\u5e02\u5167\u6e56\u5340\u745e\u5149\u8def399\u865f8\u6a13\u53ca8\u6a13\u4e4b1 "),So(11,"br"),Uo(12," \u514d\u8cbb\u8aee\u8a62\u96fb\u8a71\uff1a"),Co(13,"a",7),Uo(14,"0800-070-127"),xo(),xo(),Co(15,"div",8),Uo(16," \xa9 Nestl\xe9 Health Science 2022 - All rights reserved "),xo(),xo(),Co(17,"div",2),Co(18,"div",5),Uo(19,"\u53f0\u7063\u96c0\u5de2\u53f0\u7063"),xo(),Co(20,"div",9),Co(21,"a",10),ko("click",function(){return e.share.GA("click",e.gaEventName,"Footer_\u96c0\u5de2\u5065\u5eb7\u611b\u5bb6\u65cfFB")}),So(22,"img",11),Uo(23," \u96c0\u5de2\u5065\u5eb7\u611b\u5bb6\u65cfFB"),xo(),xo(),Co(24,"div",9),Co(25,"a",12),ko("click",function(){return e.share.GA("click",e.gaEventName,"Footer_\u96c0\u5de2\u5065\u5eb7\u79d1\u5b78LINE\u5b98\u65b9\u5e33\u865f")}),So(26,"img",11),Uo(27," \u96c0\u5de2\u5065\u5eb7\u79d1\u5b78LINE "),xo(),xo(),Co(28,"div",9),Co(29,"a",13),ko("click",function(){return e.share.GA("click",e.gaEventName,"Footer_\u96c0\u5de2\u5065\u5eb7\u79d1\u5b78\u5b98\u7db2")}),So(30,"img",11),Uo(31," \u96c0\u5de2\u5065\u5eb7\u79d1\u5b78\u5b98\u7db2 "),xo(),xo(),xo(),Co(32,"div",14),Co(33,"div",5),Uo(34,"\u53f0\u7063\u96c0\u5de2\u80a1\u4efd\u6709\u9650\u516c\u53f8 \u96c0\u5de2\u5065\u5eb7\u79d1\u5b78\u4e8b\u696d\u90e8"),xo(),Co(35,"address",6),Uo(36," \u53f0\u5317\u5e02\u5167\u6e56\u5340\u745e\u5149\u8def399\u865f8\u6a13\u53ca8\u6a13\u4e4b1 "),So(37,"br"),Uo(38," \u514d\u8cbb\u8aee\u8a62\u96fb\u8a71\uff1a"),Co(39,"a",15),ko("click",function(){return e.share.GA("click",e.gaEventName,"Footer_\u514d\u8cbb\u8aee\u8a62\u96fb\u8a71")}),Uo(40,"0800-070-127"),xo(),xo(),Co(41,"div",8),Uo(42," \xa9 Nestl\xe9 Health Science 2022 - All rights reserved "),xo(),xo(),xo(),xo()),2&t&&(Gi(22),vo("src",e.basePath+"230224product01-route-fb.png",Js),Gi(4),vo("src",e.basePath+"230224product01-route-line.png",Js),Gi(4),vo("src",e.basePath+"230224product01-route-web.png",Js))},directives:[lw],styles:['a[_ngcontent-%COMP%]{color:#00205c;text-decoration:none}a[_ngcontent-%COMP%]:link, a[_ngcontent-%COMP%]:visited, a[_ngcontent-%COMP%]:hover, a[_ngcontent-%COMP%]:active{color:#00205c}#banner[_ngcontent-%COMP%], .official-box[_ngcontent-%COMP%]{background-position-x:50%;background-position-y:0;background-repeat:no-repeat;background-size:100%;background-color:#fff}.privacy-policy[_ngcontent-%COMP%], .cookie-policy[_ngcontent-%COMP%]{cursor:pointer;color:unset;text-decoration:none}a.dropdown-item[_ngcontent-%COMP%]{font-family:"NotoSansCJKtc-Medium";font-size:15px;color:#00205c;letter-spacing:0;line-height:35px}a.dropdown-item[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-family:"NotoSansCJKtc-Regular"}.official-box[_ngcontent-%COMP%]{padding-top:80px}.official-box[_ngcontent-%COMP%] .welcome[_ngcontent-%COMP%]{font-size:36px;color:#006a9e;text-align:center}.official-box[_ngcontent-%COMP%] .icon-box[_ngcontent-%COMP%]{max-width:600px}.official-box[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{letter-spacing:0;text-align:center;font-family:"NotoSansCJKtc-Medium";font-size:18px}.official-box[_ngcontent-%COMP%] .fb[_ngcontent-%COMP%]{cursor:pointer}.official-box[_ngcontent-%COMP%] .fb[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{color:#1877f2}.official-box[_ngcontent-%COMP%] .line[_ngcontent-%COMP%]{cursor:pointer}.official-box[_ngcontent-%COMP%] .line[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{color:#06c755}@media (max-width: 992px){.official-box[_ngcontent-%COMP%]{padding-top:80px}.official-box[_ngcontent-%COMP%] .welcome[_ngcontent-%COMP%]{font-size:28px}}.footer-nav-box[_ngcontent-%COMP%]{max-width:1440px}.footer-nav-box[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{width:100%}.footer-nav-box[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{text-align:center}.footer-nav-box[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:282px}.footer-nav-box[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:16px;color:#00205c;letter-spacing:1px;font-family:"NotoSansCJKtc-Bold";font-weight:900}.footer-nav-box[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{font-family:"NotoSansCJKtc-Regular";font-size:16px;color:#00205c;letter-spacing:1px;text-align:center;line-height:28px}.footer-nav-box[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .route[_ngcontent-%COMP%]{font-family:"NotoSansCJKtc-Medium";font-size:14px;letter-spacing:0}']}),t})();function gw(t,e){1&t&&So(0,"br")}const mw=["*"];let _w=(()=>{class t{constructor(t,e){this.share=t,this.platformId=e,this.toTopTheme="",this.footerWarning="",this.topImagePath="/sites/default/files/220711diabetic-top.png"}ngOnInit(){Jc(this.platformId)||$(".go-top").click(function(t){t.preventDefault(),$("html,body").animate({scrollTop:0},600)})}}return t.\u0275fac=function(e){return new(e||t)(bo(uw),bo(Tl))},t.\u0275cmp=Vt({type:t,selectors:[["app-footer"]],inputs:{toTopTheme:"toTopTheme",footerWarning:"footerWarning",topImagePath:"topImagePath"},ngContentSelectors:mw,decls:19,vars:4,consts:[[1,"mt-3"],[1,"main-footer"],[1,"px-2","d-none","d-lg-block","fbg"],["href","https://www.nestlehealthscience.com.tw/privacy-policy","target","_blank",1,"privacy-policy",3,"click"],["href","#",1,"cookie-policy",3,"click"],[1,"px-2","d-lg-none","fbg"],[4,"ngIf"],[1,"go-top",3,"click"],[2,"width","100px",3,"src"]],template:function(t,e){1&t&&(Io(),Co(0,"footer",0),Co(1,"div",1),Co(2,"p",2),Co(3,"span"),Uo(4),xo(),Co(5,"a",3),ko("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3fFooter","\u96b1\u79c1\u6b0a\u653f\u7b56")}),Uo(6,"\u96b1\u79c1\u6b0a\u653f\u7b56"),xo(),Co(7,"a",4),ko("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3fFooter","Cookie\u653f\u7b56\u53ca\u689d\u6b3e")}),Uo(8," Cookie\u653f\u7b56\u53ca\u689d\u6b3e"),xo(),xo(),Co(9,"p",5),Uo(10),yo(11,gw,1,0,"br",6),Co(12,"a",3),ko("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3fFooter","\u96b1\u79c1\u6b0a\u653f\u7b56")}),Uo(13,"\u96b1\u79c1\u6b0a\u653f\u7b56"),xo(),Co(14,"a",4),ko("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3fFooter","Cookie\u653f\u7b56\u53ca\u689d\u6b3e")}),Uo(15," Cookie\u653f\u7b56\u53ca\u689d\u6b3e"),xo(),xo(),No(16),xo(),Co(17,"div",7),ko("click",function(){return e.share.GA("click",e.toTopTheme,"Top")}),So(18,"img",8),xo(),xo()),2&t&&(Gi(4),$o(" ",e.footerWarning,""),Gi(6),$o(" ",e.footerWarning,""),Gi(1),vo("ngIf",e.footerWarning),Gi(7),vo("src",e.topImagePath,Js))},directives:[Wc,lw],styles:['a[_ngcontent-%COMP%]{color:#00205c;text-decoration:none}a[_ngcontent-%COMP%]:link, a[_ngcontent-%COMP%]:visited, a[_ngcontent-%COMP%]:hover, a[_ngcontent-%COMP%]:active{color:#00205c}#banner[_ngcontent-%COMP%], .official-box[_ngcontent-%COMP%]{background-position-x:50%;background-position-y:0;background-repeat:no-repeat;background-size:100%;background-color:#fff}.privacy-policy[_ngcontent-%COMP%], .cookie-policy[_ngcontent-%COMP%]{cursor:pointer;color:unset;text-decoration:none}a.dropdown-item[_ngcontent-%COMP%]{font-family:"NotoSansCJKtc-Medium";font-size:15px;color:#00205c;letter-spacing:0;line-height:35px}a.dropdown-item[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-family:"NotoSansCJKtc-Regular"}.official-box[_ngcontent-%COMP%]{padding-top:80px}.official-box[_ngcontent-%COMP%] .welcome[_ngcontent-%COMP%]{font-size:36px;color:#006a9e;text-align:center}.official-box[_ngcontent-%COMP%] .icon-box[_ngcontent-%COMP%]{max-width:600px}.official-box[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{letter-spacing:0;text-align:center;font-family:"NotoSansCJKtc-Medium";font-size:18px}.official-box[_ngcontent-%COMP%] .fb[_ngcontent-%COMP%]{cursor:pointer}.official-box[_ngcontent-%COMP%] .fb[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{color:#1877f2}.official-box[_ngcontent-%COMP%] .line[_ngcontent-%COMP%]{cursor:pointer}.official-box[_ngcontent-%COMP%] .line[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{color:#06c755}@media (max-width: 992px){.official-box[_ngcontent-%COMP%]{padding-top:80px}.official-box[_ngcontent-%COMP%] .welcome[_ngcontent-%COMP%]{font-size:28px}}footer[_ngcontent-%COMP%]{padding-bottom:60px}footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%]{position:fixed;bottom:0;width:100%;z-index:11;background-color:#1146a9}footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:link, footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited, footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover, footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:active{color:#fff}footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-family:"NotoSansCJKtc-Medium";text-align:center;color:#fff;letter-spacing:0;font-size:16px;padding:10px 0;margin:0;position:relative;z-index:1;background-color:#1146a9}footer[_ngcontent-%COMP%] .go-top[_ngcontent-%COMP%]{position:fixed;bottom:125px;right:15px;cursor:pointer;z-index:999}@media (max-width: 992px){footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{padding:10px 0}footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%] p.fbg[_ngcontent-%COMP%]{background-color:#1146a9}footer[_ngcontent-%COMP%] .go-top[_ngcontent-%COMP%]{bottom:55px;right:0px}}',".route-nav-box[_ngcontent-%COMP%]{background-image:url(/assets/image/product01/d-footer-bg.png);background-size:cover;background-position:50% 0;background-repeat:no-repeat;padding-top:5%}.fix-box[_ngcontent-%COMP%]{position:absolute;top:-40px;right:0}.fix-box[_ngcontent-%COMP%] .btn-box[_ngcontent-%COMP%]{width:calc(100% / 2);max-width:200px;position:relative;box-shadow:0 5px 8px rgba(0,0,0,.4);border-radius:10px 10px 0 0;font-family:NotoSansCJKtc-Medium;font-size:16px;color:#fff;letter-spacing:0;text-align:center;padding:10px 0;margin:0 2px}.fix-box[_ngcontent-%COMP%] .btn-box[_ngcontent-%COMP%]:hover{top:-5px}.fix-box[_ngcontent-%COMP%] .btn-box.btn-take[_ngcontent-%COMP%]{background-image:linear-gradient(180deg,#9ebede 0%,#658aba 100%)}.fix-box[_ngcontent-%COMP%] .btn-box.btn-buy[_ngcontent-%COMP%]{background-image:linear-gradient(180deg,#9fe3f6 0%,#66c3ea 100%)}.fix-box[_ngcontent-%COMP%] .btn-box.btn-call[_ngcontent-%COMP%]{background-image:linear-gradient(180deg,#3364a6 0%,#17346d 100%)}.fix-box[_ngcontent-%COMP%] .btn-box[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:#fff}.fix-box[_ngcontent-%COMP%] .btn-box[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:30px}.fix-box[_ngcontent-%COMP%] .btn-box[_ngcontent-%COMP%] img.call[_ngcontent-%COMP%]{width:24px}@media (max-width: 992px){.route-nav-box[_ngcontent-%COMP%]{background-image:url(/assets/image/product01/m-footer-bg.png);padding-top:20%}}"]}),t})(),yw=(()=>{class t{constructor(t,e,n,s,i){this.title=t,this.meta=e,this.share=n,this.dialog=s,this.platformId=i;const r="\u96c0\u5de2\u7acb\u651d\u9069\u7a69\u512a\u96d9\u91cd\u7a69\u5b9a\u914d\u65b9 - \u539f\u5473\u98a8\u5473\uff5c\u7acb\u651d\u9069\u7a69\u512a \u4e00\u822c\u98df\u54c1\u9928\uff5cNestle Health Science";this.title.setTitle(r),this.meta.updateTag({content:r},'property="og:title"'),this.meta.updateTag({content:r},'property="og:site_name"'),this.meta.updateTag({content:"\u7a69\u512a\u96d9\u91cd\u7a69\u5b9a\u539f\u5473\u98a8\u5473\uff0c\u96c0\u5de2\u745e\u58eb\u7e3d\u90e8\u5c08\u696d\u5718\u968a\u7814\u767c\uff0c\u539f\u5473\u914d\u65b9\uff0c\u9069\u7528\u65bc\u4e0d\u611b\u751c\u81a9\u3001\u559c\u6b61\u539f\u5473\u98a8\u5473\u7684\u6c11\u773e\uff01\u63a1\u7528\u91d1\u947d\u5b89\u5fc3\u74f6\u7121\u83cc\u5305\u88dd\uff0c\u9802\u7d1a\u5de5\u85dd\u3001\u96d9\u5c64\u9632\u8b77\u3002\u7522\u54c1\u542b\u4e73\u6e05\u86cb\u767d\u5360\u6bd4\u9ad8\u905450%\u3001\u927b100mg\u3001\u7570\u9ea5\u82bd\u916e\u7cd6\u3001100%\u6c34\u6eb6\u6027\u7e96\u7dad\u3001\u9382\u7b49\u3002"},'property="description"'),this.meta.updateTag({content:"\u7a69\u512a\u96d9\u91cd\u7a69\u5b9a\u539f\u5473\u98a8\u5473\uff0c\u96c0\u5de2\u745e\u58eb\u7e3d\u90e8\u5c08\u696d\u5718\u968a\u7814\u767c\uff0c\u539f\u5473\u914d\u65b9\uff0c\u9069\u7528\u65bc\u4e0d\u611b\u751c\u81a9\u3001\u559c\u6b61\u539f\u5473\u98a8\u5473\u7684\u6c11\u773e\uff01\u63a1\u7528\u91d1\u947d\u5b89\u5fc3\u74f6\u7121\u83cc\u5305\u88dd\uff0c\u9802\u7d1a\u5de5\u85dd\u3001\u96d9\u5c64\u9632\u8b77\u3002\u7522\u54c1\u542b\u4e73\u6e05\u86cb\u767d\u5360\u6bd4\u9ad8\u905450%\u3001\u927b100mg\u3001\u7570\u9ea5\u82bd\u916e\u7cd6\u3001100%\u6c34\u6eb6\u6027\u7e96\u7dad\u3001\u9382\u7b49\u3002"},'property="og:description"'),this.meta.updateTag({content:"\u7acb\u651d\u9069\u7a69\u512a, \u4e00\u822c\u98df\u54c1\u9928, \u7a69\u512a\u96d9\u91cd\u7a69\u5b9a\u914d\u65b9, \u539f\u5473\u98a8\u5473, \u96c0\u5de2\u745e\u58eb\u7e3d\u90e8\u5c08\u696d\u5718\u968a\u7814\u767c, \u947d\u77f3\u5b89\u5fc3\u74f6\u5373\u958b\u5373\u98f2, \u6bcf\u65e5\u71df\u990a\u88dc\u5145, \u539f\u5473\u4e0d\u751c, 50%\u4e73\u6e05\u86cb\u767d, \u927b100\u96d9\u91cd\u7a69\u7cd6"},'property="keyword"'),this.meta.updateTag({content:"\u7acb\u651d\u9069\u7a69\u512a, \u4e00\u822c\u98df\u54c1\u9928, \u7a69\u512a\u96d9\u91cd\u7a69\u5b9a\u914d\u65b9, \u539f\u5473\u98a8\u5473, \u96c0\u5de2\u745e\u58eb\u7e3d\u90e8\u5c08\u696d\u5718\u968a\u7814\u767c, \u947d\u77f3\u5b89\u5fc3\u74f6\u5373\u958b\u5373\u98f2, \u6bcf\u65e5\u71df\u990a\u88dc\u5145, \u539f\u5473\u4e0d\u751c, 50%\u4e73\u6e05\u86cb\u767d, \u927b100\u96d9\u91cd\u7a69\u7cd6"},'property="og:keyword"')}ngOnInit(){Jc(this.platformId)||["/sites/default/files/230224product01-d-content.png","/sites/default/files/230224product01-m-content.png"].forEach(t=>(new Image).src=t)}ngAfterViewInit(){Jc(this.platformId)||Bf(200).subscribe(()=>AOS.init())}openDialog(){this.dialog.open(cw,{width:"650px",maxWidth:"95vw"})}openCallDialog(){this.dialog.open(aw)}}return t.\u0275fac=function(e){return new(e||t)(bo(ju),bo(Du),bo(uw),bo(Jb),bo(Tl))},t.\u0275cmp=Vt({type:t,selectors:[["app-food-master"]],decls:170,vars:0,consts:[[1,"d-none"],[1,"banner-box"],[1,"d-none","d-lg-block"],["src","/sites/default/files/230224product01-d-banner.jpg","alt","\u96c0\u5de2\u7acb\u651d\u9069\u7a69\u512a\u96d9\u91cd\u7a69\u5b9a\u539f\u5473\u98a8\u5473\uff0c\u96c0\u5de2\u745e\u58eb\u7e3d\u90e8\u5c08\u696d\u5718\u968a\u7814\u767c\uff0c\u947d\u77f3\u5b89\u5fc3\u74f6\u5373\u958b\u5373\u98f2",1,"img-fluid","no-lazy"],[1,"d-lg-none"],["src","/sites/default/files/230224product01-m-banner.jpg","alt","\u96c0\u5de2\u7acb\u651d\u9069\u7a69\u512a\u96d9\u91cd\u7a69\u5b9a\u539f\u5473\u98a8\u5473\uff0c\u96c0\u5de2\u745e\u58eb\u7e3d\u90e8\u5c08\u696d\u5718\u968a\u7814\u767c\uff0c\u947d\u77f3\u5b89\u5fc3\u74f6\u5373\u958b\u5373\u98f2",1,"img-fluid","w-100","no-lazy"],[1,"info-box","py-5"],[1,"container","mx-auto"],[1,"info-header","py-5"],["src","/sites/default/files/230224product01-d-info-title.png","alt","\u96c0\u5de2\u745e\u58eb\u7e3d\u90e8\u5c08\u696d\u71df\u990a\u5718\u968a\u7814\u767c\uff0c\u539f\u5473\u914d\u65b9\uff0c\u9069\u7528\u65bc\u4e0d\u611b\u751c\u81a9\u559c\u6b61\u539f\u5473\u98a8\u5473\u7684\u6c11\u773e\uff01",1,"img-fluid"],["src","/sites/default/files/230224product01-m-info-title.png","alt","\u96c0\u5de2\u745e\u58eb\u7e3d\u90e8\u5c08\u696d\u71df\u990a\u5718\u968a\u7814\u767c\uff0c\u539f\u5473\u914d\u65b9\uff0c\u9069\u7528\u65bc\u4e0d\u611b\u751c\u81a9\u559c\u6b61\u539f\u5473\u98a8\u5473\u7684\u6c11\u773e\uff01",1,"img-fluid"],[1,"info-body","row"],[1,"col-12","col-lg-4"],[1,"ps-lg-5"],["data-aos","fade-right"],["src","/sites/default/files/230224product01-item-1.png","alt","\u8102\u80aa\u7d44\u7e54\uff1a\u98fd\u548c\u8102\u80aa\u4f54\u7e3d\u71b1\u91cf\u6bd4\u4f8b\u50c5\u70ba3.6%\uff0c\u7b26\u5408\u4e16\u754c\u885b\u751f\u7d44\u7e54WHO\u4e4b\u5efa\u8b70\uff0c\u98fd\u548c\u8102\u80aa\u9178\u6bd4\u4f8b\u5c0f\u65bc\u7e3d\u71b1\u91cf10%1\u3002",1,"img-fluid"],[1,"pe-lg-5"],["src","/sites/default/files/230224product01-item-2.png","alt","\u927b\uff1a\u6bcf\u4efd\u6dfb\u52a0\u927b100mg\uff0c\u53ef\u5e6b\u52a9\u91a3\u985e\u6b63\u5e38\u4ee3\u8b1d\u3002",1,"img-fluid"],[1,"ps-lg-3"],["src","/sites/default/files/230224product01-item-3.png","alt","\u4e73\u6e05\u86cb\u767d\uff1a\u4f54\u6bd4\u9ad8\u905450%\u3002",1,"img-fluid"],[1,"col-12","col-lg-4","ps-5"],[1,"ps-lg-5","pe-lg-2"],["src","/sites/default/files/230224product01-d-info-product.png","alt","banner",1,"img-fluid"],[1,"px-5","py-3"],[1,"px-5","pt-5"],["src","/sites/default/files/230224product01-m-info-product.png","alt","banner",1,"img-fluid"],["type","button",1,"btn","py-3","my-5",3,"click"],["data-aos","fade-left"],["src","/sites/default/files/230224product01-item-4.png","alt","\u7570\u9ea5\u82bd\u916e\u7cd6\uff1a\u5929\u7136\u690d\u7269\u7cd6\uff0c\u6162\u901f\u91cb\u653e\u80fd\u91cf\u3001\u4f4e\u71b1\u91cf\u3002",1,"img-fluid"],["src","/sites/default/files/230224product01-item-5.png","alt","100%\u6c34\u6eb6\u6027\u7e96\u7dad\uff1a\u6bcf\u4efd\u542b\u67094.5g\u9ad8\u90544\u7a2e100%\u6c34\u6eb6\u6027\u81b3\u98df\u7e96\u7dad\uff0c\u589e\u52a0\u98fd\u8db3\u611f\u3001\u6392\u4fbf\u9806\u66a2\u3002",1,"img-fluid"],[1,""],["src","/sites/default/files/230224product01-item-6.png","alt","\u9382\uff1a\u6709\u52a9\u65bc\u7dad\u6301\u91a3\u985e\u6b63\u5e38\u4ee3\u8b1d\uff0c\u4e14\u52a9\u65bc\u5fc3\u81df\u6b63\u5e38\u529f\u80fd\u3002",1,"img-fluid"],[1,"text-center","ingredient-box"],[1,"ingredient-text"],[1,"pd-area","py-5"],[1,"pd-box","container"],["data-aos","fade-up",1,"title-box","mx-auto","text-center","px-5"],["src","/sites/default/files/230224product01-d-pd-title.png","alt","\u91d1\u947d\u5b89\u5fc3\u74f6\u7121\u83cc\u5305\u88dd\uff0c\u9802\u7d1a\u5de5\u85dd\uff0c\u96d9\u5c64\u9632\u8b77",1,"img-fluid"],["src","/sites/default/files/230224product01-m-pd-title.png","alt","\u91d1\u947d\u5b89\u5fc3\u74f6\u7121\u83cc\u5305\u88dd\uff0c\u9802\u7d1a\u5de5\u85dd\uff0c\u96d9\u5c64\u9632\u8b77",1,"img-fluid"],[1,"content-box","p-5"],[1,"d-none","d-lg-flex","justify-content-center","p-5"],["data-aos","fade-up-right","data-aos-duration","300",1,"image-01"],["src","/sites/default/files/230224product01-d-pd-01.png","alt","\u74f6\u8eab\u92c1\u7b94\u5c01\u819c\uff1a\u958b\u84cb\u4e00\u6b65\u5230\u4f4d\uff0c\u5b89\u5168\u9632\u8b77\u6a5f\u5236\uff0c\u92c1\u7b94\u4fdd\u9bae\u5c01\u819c\u4e0d\u6703\u6389\u5165\u74f6\u8eab\u5167\u3002",1,"img-fluid"],["data-aos","fade-up","data-aos-duration","450",1,"h-line"],["data-aos","fade-up-left","data-aos-duration","300",1,"image-02"],["src","/sites/default/files/230224product01-d-pd-02.png","alt","\u7cbe\u5bc6\u74f6\u84cb\uff1a\u9023\u52d5\u5f0f\u92f8\u9f52\u5207\u53e3\u3001\u74f6\u8eab\u63a5\u5408\u5e95\u5ea7\u3001\u7701\u529b\u65cb\u84cb\u3001\u7834\u58de\u5f0f\u9632\u76dc\u74b0\u3001\u9632\u6ea2\u6f0f\u74f6\u53e3\u3002",1,"img-fluid"],[1,"d-lg-none","p-5"],["src","/sites/default/files/230224product01-m-pd-01.png","alt","\u74f6\u8eab\u92c1\u7b94\u5c01\u819c\uff1a\u958b\u84cb\u4e00\u6b65\u5230\u4f4d\uff0c\u5b89\u5168\u9632\u8b77\u6a5f\u5236\uff0c\u92c1\u7b94\u4fdd\u9bae\u5c01\u819c\u4e0d\u6703\u6389\u5165\u74f6\u8eab\u5167\u3002","data-aos","fade-up",1,"img-fluid"],["data-aos","fade-up","data-aos-duration","300"],["src","/sites/default/files/230224product01-m-pd-02.png","alt","\u7cbe\u5bc6\u74f6\u84cb\uff1a\u9023\u52d5\u5f0f\u92f8\u9f52\u5207\u53e3\u3001\u74f6\u8eab\u63a5\u5408\u5e95\u5ea7\u3001\u7701\u529b\u65cb\u84cb\u3001\u7834\u58de\u5f0f\u9632\u76dc\u74b0\u3001\u9632\u6ea2\u6f0f\u74f6\u53e3\u3002","data-aos","fade-up","data-aos-duration","600",1,"img-fluid"],[1,"py-5","my-5","space-box"],[1,"banner-bottom-box"],[1,"audience-box"],[1,"text-center","p-2","title"],[1,"container"],[1,"audience-img-box","mx-auto","py-5"],[1,"d-node","text-center"],["src","/sites/default/files/230224product01-d-audience.png","alt","\u9700\u8981\u7a69\u5b9a\u80fd\u91cf\u7684\u4e00\u822c\u71df\u990a\u88dc\u5145\u8005",1,"img-fluid"],["src","/sites/default/files/230224product01-m-audience.png","alt","\u9700\u8981\u7a69\u5b9a\u80fd\u91cf\u7684\u4e00\u822c\u71df\u990a\u88dc\u5145\u8005",1,"img-fluid"],[1,"usage-scenarios-box"],[1,"container-lg","py-5","usage-scenarios-image"],[1,"px-5","px-lg-0","d-inline-block","usage-scenarios-image-left"],["src","/sites/default/files/230224product01-usage-scenarios-01.png","alt","\u4e00\u5929\u7684\u6d3b\u529b\u5c31\u5f9e\u65e9\u9910\u958b\u59cb\uff01",1,"img-fluid"],[1,"d-none","d-lg-inline-block","usage-scenarios-image-right"],["src","/sites/default/files/230224product01-usage-scenarios-d-02.png","alt","\u4e00\u5929\u7684\u6d3b\u529b\u5c31\u5f9e\u65e9\u9910\u958b\u59cb\uff01\u5916\u98df\u65cf\u4e5f\u80fd\u5403\u5f97\u5065\u5eb7\u53c8\u71df\u990a\uff0c\u559a\u9192\u5168\u8eab\u7684\u6d3b\u529b\uff0c\u65e9\u5b89\u98df\u523b\u9019\u6a23\u5403\uff01",1,"img-fluid"],[1,"d-lg-none","py-4","usage-scenarios-image-right"],["src","/sites/default/files/230224product01-usage-scenarios-m-02.png","alt","\u4e00\u5929\u7684\u6d3b\u529b\u5c31\u5f9e\u65e9\u9910\u958b\u59cb\uff01\u5916\u98df\u65cf\u4e5f\u80fd\u5403\u5f97\u5065\u5eb7\u53c8\u71df\u990a\uff0c\u559a\u9192\u5168\u8eab\u7684\u6d3b\u529b\uff0c\u65e9\u5b89\u98df\u523b\u9019\u6a23\u5403\uff01",1,"img-fluid"],[1,"container-lg","mx-auto","row","py-5","items-box"],[1,"col-12","col-lg-4","px-0"],["data-aos","fade-up-right",1,"d-none","d-lg-block"],["src","/sites/default/files/230224product01-d-usage-scenarios-item-01.png","alt","\u4fbf\u5229\u5546\u5e97\uff1a\u860b\u679c\u8336\u8449\u86cb\u8f15\u98df\u65e9\u9910\uff0c\u5c0f\u9ce5\u80c3\u66f4\u8981\u71df\u990a\u6eff\u5206\u7684\u8f15\u76c8\u611f\u65e9\u9910\u3002\u96d9\u5229\u5546\u5e97\u8336\u8449\u86cb1\u9846+\u860b\u679c1\u9846+\u96d9\u91cd\u7a69\u5b9a\u914d\u65b9\u71df\u990a\u88dc\u5145\u54c1(237ml)1\u7f50\u3002",1,"img-fluid"],["data-aos","fade-up",1,"d-lg-none"],["src","/sites/default/files/230224product01-m-usage-scenarios-item-01.png","alt","\u4fbf\u5229\u5546\u5e97\uff1a\u860b\u679c\u8336\u8449\u86cb\u8f15\u98df\u65e9\u9910\uff0c\u5c0f\u9ce5\u80c3\u66f4\u8981\u71df\u990a\u6eff\u5206\u7684\u8f15\u76c8\u611f\u65e9\u9910\u3002\u96d9\u5229\u5546\u5e97\u8336\u8449\u86cb1\u9846+\u860b\u679c1\u9846+\u96d9\u91cd\u7a69\u5b9a\u914d\u65b9\u71df\u990a\u88dc\u5145\u54c1(237ml)1\u7f50\u3002",1,"img-fluid"],["data-aos","fade-up",1,"d-none","d-lg-block"],["src","/sites/default/files/230224product01-d-usage-scenarios-item-02.png","alt","\u9023\u9396\u65e9\u9910\u5e97\uff1a\u71df\u990a\u8d77\u53f8\u86cb\u65e9\u9910\uff0c\u7f8e\u5473\u71df\u990a\u517c\u5099\uff0c\u7d93\u6fdf\u53c8\u5be6\u60e0\u3002\u8d77\u53f8\u86cb\u4e09\u660e\u6cbb1\u500b+\u96d9\u91cd\u7a69\u5b9a\u914d\u65b9\u71df\u990a\u88dc\u5145\u54c1(237ml)1\u7f50\u3002",1,"img-fluid"],["src","/sites/default/files/230224product01-m-usage-scenarios-item-02.png","alt","\u9023\u9396\u65e9\u9910\u5e97\uff1a\u71df\u990a\u8d77\u53f8\u86cb\u65e9\u9910\uff0c\u7f8e\u5473\u71df\u990a\u517c\u5099\uff0c\u7d93\u6fdf\u53c8\u5be6\u60e0\u3002\u8d77\u53f8\u86cb\u4e09\u660e\u6cbb1\u500b+\u96d9\u91cd\u7a69\u5b9a\u914d\u65b9\u71df\u990a\u88dc\u5145\u54c1(237ml)1\u7f50\u3002",1,"img-fluid"],["data-aos","fade-up-left",1,"d-none","d-lg-block"],["src","/sites/default/files/230224product01-d-usage-scenarios-item-03.png","alt","\u901f\u98df\u5e97\uff1a\u6d3b\u529b\u6eff\u798f\u5821\u65e9\u9910\uff0c\u901f\u98df\u65e9\u9910\u4e5f\u80fd\u5927\u53e3\u5b89\u5fc3\u5403\u3002\u6d3b\u529b\u6eff\u798f\u58211\u4efd+\u96d9\u91cd\u7a69\u5b9a\u914d\u65b9\u71df\u990a\u88dc\u5145\u54c1(237ml)1\u7f50\u3002",1,"img-fluid"],["src","/sites/default/files/230224product01-m-usage-scenarios-item-03.png","alt","\u901f\u98df\u5e97\uff1a\u6d3b\u529b\u6eff\u798f\u5821\u65e9\u9910\uff0c\u901f\u98df\u65e9\u9910\u4e5f\u80fd\u5927\u53e3\u5b89\u5fc3\u5403\u3002\u6d3b\u529b\u6eff\u798f\u58211\u4efd+\u96d9\u91cd\u7a69\u5b9a\u914d\u65b9\u71df\u990a\u88dc\u5145\u54c1(237ml)1\u7f50\u3002",1,"img-fluid"],[1,"warning-box","container","py-5"],[1,"text-center","px-2","py-5","title"],[1,"pb-5"],[1,"text-start","mx-auto","pt-3","pb-5","px-5","warning-items"],[1,"route-nav-box"],["gaEventName","\u4e00\u822c\u98df\u54c1\u9928"],["toTopTheme","\u4e00\u822c\u98df\u54c1\u9928_\u7a69\u512a\u539f\u5473"],[1,"fix-box","w-100","d-flex","justify-content-between","justify-content-sm-end","pe-lg-5"],[1,"btn-box","btn-buy","px-lg-2"],["href","https://bmai.cc/4hfq8a","target","_blank",3,"click"],["src","/sites/default/files/230224product01-icon-buy.png","alt","buy",1,"img-fluid","no-lazy"],[1,"btn-box","btn-call","px-lg-2","d-none","d-lg-block",3,"click"],[3,"click"],["src","/sites/default/files/230224product01-icon-call.png","alt","buy",1,"call","img-fluid","no-lazy"],[1,"btn-box","btn-call","px-lg-2","d-lg-none"],["href","tel:0800-070-127",3,"click"]],template:function(t,e){1&t&&(So(0,"app-header"),Co(1,"h1",0),Uo(2,"\u96c0\u5de2\u7acb\u651d\u9069\u7a69\u512a\u96d9\u91cd\u7a69\u5b9a\u539f\u5473\u98a8\u5473\uff0c\u96c0\u5de2\u745e\u58eb\u7e3d\u90e8\u5c08\u696d\u5718\u968a\u7814\u767c\uff0c\u947d\u77f3\u5b89\u5fc3\u74f6\u5373\u958b\u5373\u98f2"),xo(),Co(3,"div",1),Co(4,"div",2),So(5,"img",3),Co(6,"h2",0),Uo(7,"\u96c0\u5de2\u745e\u58eb\u7e3d\u90e8\u5c08\u696d\u71df\u990a\u5718\u968a\u7814\u767c\uff0c\u539f\u5473\u914d\u65b9\uff0c\u9069\u7528\u65bc\u4e0d\u611b\u751c\u81a9\u559c\u6b61\u539f\u5473\u98a8\u5473\u7684\u6c11\u773e\uff01"),xo(),xo(),Co(8,"div",4),So(9,"img",5),Co(10,"h2",0),Uo(11,"\u96c0\u5de2\u745e\u58eb\u7e3d\u90e8\u5c08\u696d\u71df\u990a\u5718\u968a\u7814\u767c\uff0c\u539f\u5473\u914d\u65b9\uff0c\u9069\u7528\u65bc\u4e0d\u611b\u751c\u81a9\u559c\u6b61\u539f\u5473\u98a8\u5473\u7684\u6c11\u773e\uff01"),xo(),xo(),xo(),Co(12,"div",6),Co(13,"div",7),Co(14,"div",8),Co(15,"div",2),So(16,"img",9),xo(),Co(17,"div",4),So(18,"img",10),xo(),xo(),Co(19,"div",11),Co(20,"div",12),Co(21,"div",13),Co(22,"div",14),So(23,"img",15),Co(24,"h3",0),Uo(25,"\u8102\u80aa\u7d44\u7e54"),xo(),xo(),xo(),Co(26,"div",16),Co(27,"div",14),So(28,"img",17),Co(29,"h3",0),Uo(30,"\u927b"),xo(),xo(),xo(),Co(31,"div",18),Co(32,"div",14),So(33,"img",19),Co(34,"h3",0),Uo(35,"\u4e73\u6e05\u86cb\u767d"),xo(),xo(),xo(),xo(),Co(36,"div",20),Co(37,"div",21),Co(38,"div",2),So(39,"img",22),xo(),Co(40,"div",4),Co(41,"div",23),Co(42,"div",24),So(43,"img",25),xo(),Co(44,"button",26),ko("click",function(){return e.openDialog(),e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3f\u7a69\u512a\u539f\u5473","\u7522\u54c1\u4ecb\u7d39\uff3f\u7a69\u512a\u539f\u5473\uff3f\u6210\u5206\u5167\u5bb9(Popup)")}),Uo(45,"\u6210\u5206\u5167\u5bb9"),xo(),xo(),xo(),xo(),xo(),Co(46,"div",12),Co(47,"div",18),Co(48,"div",27),So(49,"img",28),Co(50,"h3",0),Uo(51,"\u7570\u9ea5\u82bd\u916e\u7cd6"),xo(),xo(),xo(),Co(52,"div",13),Co(53,"div",27),So(54,"img",29),Co(55,"h3",0),Uo(56,"100%\u6c34\u6eb6\u6027\u7e96\u7dad"),xo(),xo(),xo(),Co(57,"div",30),Co(58,"div",27),So(59,"img",31),Co(60,"h3",0),Uo(61,"\u9382"),xo(),xo(),xo(),xo(),xo(),Co(62,"div",32),Co(63,"div",2),Co(64,"button",26),ko("click",function(){return e.openDialog(),e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3f\u7a69\u512a\u539f\u5473","\u7522\u54c1\u4ecb\u7d39\uff3f\u7a69\u512a\u539f\u5473\uff3f\u6210\u5206\u5167\u5bb9(Popup)")}),Uo(65,"\u6210\u5206\u5167\u5bb9"),xo(),xo(),Co(66,"p",33),Uo(67,"1. Guidelines: Saturated fatty acid and trans-fatty acid intake for adults and children. Geneva: World Health Organization; 2018"),xo(),xo(),xo(),xo(),Co(68,"div",34),Co(69,"div",35),Co(70,"div",36),Co(71,"div",2),So(72,"img",37),Co(73,"h2",0),Uo(74,"\u91d1\u947d\u5b89\u5fc3\u74f6\u7121\u83cc\u5305\u88dd\uff0c\u9802\u7d1a\u5de5\u85dd\uff0c\u96d9\u5c64\u9632\u8b77"),xo(),xo(),Co(75,"div",4),So(76,"img",38),Co(77,"h2",0),Uo(78,"\u91d1\u947d\u5b89\u5fc3\u74f6\u7121\u83cc\u5305\u88dd\uff0c\u9802\u7d1a\u5de5\u85dd\uff0c\u96d9\u5c64\u9632\u8b77"),xo(),xo(),xo(),Co(79,"div",39),Co(80,"div",40),Co(81,"div",41),So(82,"img",42),Co(83,"h3",0),Uo(84,"\u74f6\u8eab\u92c1\u7b94\u5c01\u819c"),xo(),xo(),So(85,"div",43),Co(86,"div",44),So(87,"img",45),Co(88,"h3",0),Uo(89,"\u7cbe\u5bc6\u74f6\u84cb"),xo(),xo(),xo(),Co(90,"div",46),So(91,"img",47),So(92,"hr",48),So(93,"img",49),xo(),xo(),xo(),xo(),So(94,"div",50),So(95,"div",50),Co(96,"div",51),Co(97,"div",52),Co(98,"h2",53),Uo(99,"\u9069\u7528\u5c0d\u8c61"),xo(),Co(100,"div",54),Co(101,"div",55),Co(102,"h3",56),Uo(103,"\u9700\u8981\u7a69\u5b9a\u80fd\u91cf\u7684\u4e00\u822c\u71df\u990a\u88dc\u5145\u8005"),xo(),Co(104,"div",2),So(105,"img",57),xo(),Co(106,"div",4),So(107,"img",58),xo(),xo(),xo(),xo(),Co(108,"div",59),Co(109,"h2",53),Uo(110,"\u4f7f\u7528\u60c5\u5883"),xo(),Co(111,"div",60),Co(112,"div",61),So(113,"img",62),Co(114,"h3",0),Uo(115,"\u4e00\u5929\u7684\u6d3b\u529b\u5c31\u5f9e\u65e9\u9910\u958b\u59cb\uff01"),xo(),xo(),Co(116,"div",63),So(117,"img",64),xo(),Co(118,"div",65),So(119,"img",66),xo(),xo(),Co(120,"div",67),Co(121,"div",68),Co(122,"h4",0),Uo(123,"\u4fbf\u5229\u5546\u5e97\uff1a\u860b\u679c\u8336\u8449\u86cb\u8f15\u98df\u65e9\u9910"),xo(),Co(124,"div",69),So(125,"img",70),xo(),Co(126,"div",71),So(127,"img",72),xo(),xo(),Co(128,"div",68),Co(129,"h4",0),Uo(130,"\u9023\u9396\u65e9\u9910\u5e97\uff1a\u71df\u990a\u8d77\u53f8\u86cb\u65e9\u9910"),xo(),Co(131,"div",73),So(132,"img",74),xo(),Co(133,"div",71),So(134,"img",75),xo(),xo(),Co(135,"div",68),Co(136,"h4",0),Uo(137,"\u901f\u98df\u5e97\uff1a\u6d3b\u529b\u6eff\u798f\u5821\u65e9\u9910"),xo(),Co(138,"div",76),So(139,"img",77),xo(),Co(140,"div",71),So(141,"img",78),xo(),xo(),xo(),xo(),Co(142,"div",79),Co(143,"h2",80),Uo(144,"\u6ce8\u610f\u4e8b\u9805"),xo(),So(145,"hr"),Co(146,"div",81),Co(147,"div",82),Co(148,"div"),Uo(149,"\u96c0\u5de2\u7acb\u651d\u9069\u7a69\u512a\u96d9\u91cd\u7a69\u5b9a\u914d\u65b9\u539f\u5473\u98a8\u5473\u70ba\u4e00\u822c\u98df\u54c1\u3002"),xo(),Co(150,"div"),Uo(151,"\u958b\u5c01\u524d\u8acb\u5132\u5b58\u5728\u5ba4\u6eab\u9670\u6dbc\u4e7e\u71e5\u8655\uff0c\u958b\u5c01\u5f8c\u672a\u7528\u5b8c\u90e8\u5206\u52a0\u84cb\u51b7\u85cf\uff0c\u4e26\u572824\u5c0f\u6642\u5167\u98f2\u7528\u5b8c\u7562\uff0c\u4f7f\u7528\u524d\u8acb\u6416\u52fb\uff0c\u51b7\u85cf\u98a8\u5473\u66f4\u4f73\u3002"),xo(),Co(152,"div"),Uo(153,"\u672c\u7522\u54c1\u542b\u904e\u654f\u539f\uff1a\u725b\u5976\u3001\u5927\u8c46 ( \u5927\u8c46\u5375\u78f7\u8102 )"),xo(),xo(),xo(),xo(),Co(154,"div",83),So(155,"app-route-nav",84),xo(),xo(),Co(156,"app-footer",85),Co(157,"div",86),Co(158,"div",87),Co(159,"a",88),ko("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3f\u7522\u54c1\u4ecb\u7d39","\u7a69\u512a\u539f\u5473\uff3f\u7acb\u5373\u8cfc\u8cb7(\u61f8\u6d6e\u6309\u9215)")}),So(160,"img",89),Uo(161," \u7acb\u5373\u8cfc\u8cb7 "),xo(),xo(),Co(162,"div",90),ko("click",function(){return e.openCallDialog()}),Co(163,"a",91),ko("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3f\u7522\u54c1\u4ecb\u7d39","\u7a69\u512a\u539f\u5473\uff3f\u71df\u990a\u8aee\u8a62(\u61f8\u6d6e\u6309\u9215)")}),So(164,"img",92),Uo(165," \u71df\u990a\u8aee\u8a62 "),xo(),xo(),Co(166,"div",93),Co(167,"a",94),ko("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3f\u7522\u54c1\u4ecb\u7d39","\u7a69\u512a\u539f\u5473\uff3f\u71df\u990a\u8aee\u8a62(\u61f8\u6d6e\u6309\u9215)")}),So(168,"img",92),Uo(169," \u71df\u990a\u8aee\u8a62 "),xo(),xo(),xo(),xo())},directives:[hw,lw,fw,_w],styles:['@charset "UTF-8";.title[_ngcontent-%COMP%]{font-family:NotoSansCJKtc-Bold,Noto Sans CJK TC;font-size:3.6rem;color:#588eec;letter-spacing:0}.info-box[_ngcontent-%COMP%]{background-image:url(/sites/default/files/230224product01-d-middle-bg.jpg);background-size:cover;background-position:50% 0;background-repeat:no-repeat}.info-box[_ngcontent-%COMP%] .info-body[_ngcontent-%COMP%]{max-width:100vw;overflow:hidden}.pd-area[_ngcontent-%COMP%] .pd-box[_ngcontent-%COMP%] .title-box[_ngcontent-%COMP%]{max-width:380px}.pd-area[_ngcontent-%COMP%] .pd-box[_ngcontent-%COMP%] .content-box[_ngcontent-%COMP%]{background-image:linear-gradient(180deg,#f9fbff 0%,#e8f0fd 99%);border-radius:25px}.pd-area[_ngcontent-%COMP%] .pd-box[_ngcontent-%COMP%] .content-box[_ngcontent-%COMP%] .image-01[_ngcontent-%COMP%]{max-width:300px}.pd-area[_ngcontent-%COMP%] .pd-box[_ngcontent-%COMP%] .content-box[_ngcontent-%COMP%] .image-02[_ngcontent-%COMP%]{max-width:500px}.pd-area[_ngcontent-%COMP%] .pd-box[_ngcontent-%COMP%] .content-box[_ngcontent-%COMP%] .h-line[_ngcontent-%COMP%]{margin:0 80px;width:1px;background-color:#588eec}.pd-area[_ngcontent-%COMP%] .pd-box[_ngcontent-%COMP%] hr[_ngcontent-%COMP%]{border:1px solid #588eec;margin:60px 0}.banner-bottom-box[_ngcontent-%COMP%]{background-image:url(/sites/default/files/230224product01-d-bottom-bg.png);background-size:cover;background-position:50% 0;background-repeat:no-repeat}.banner-bottom-box[_ngcontent-%COMP%] .usage-scenarios-box[_ngcontent-%COMP%] .usage-scenarios-image[_ngcontent-%COMP%]{padding:0 8%}.banner-bottom-box[_ngcontent-%COMP%] .usage-scenarios-box[_ngcontent-%COMP%] .usage-scenarios-image[_ngcontent-%COMP%] .usage-scenarios-image-left[_ngcontent-%COMP%]{width:calc(100% * (320 / (320 + 476)) - 40px);margin-right:40px}.banner-bottom-box[_ngcontent-%COMP%] .usage-scenarios-box[_ngcontent-%COMP%] .usage-scenarios-image[_ngcontent-%COMP%] .usage-scenarios-image-right[_ngcontent-%COMP%]{width:calc(100% * (476 / (320 + 476)) - 40px)}.banner-bottom-box[_ngcontent-%COMP%] .audience-box[_ngcontent-%COMP%]{position:relative;top:-140px}.banner-bottom-box[_ngcontent-%COMP%] .audience-box[_ngcontent-%COMP%] .audience-img-box[_ngcontent-%COMP%]{max-width:720px}.banner-bottom-box[_ngcontent-%COMP%] .warning-box[_ngcontent-%COMP%] .warning-items[_ngcontent-%COMP%]{font-family:NotoSansCJKtc-Regular;font-size:1.6rem;line-height:3rem;color:#000;letter-spacing:0;max-width:866px}.banner-bottom-box[_ngcontent-%COMP%] .warning-box[_ngcontent-%COMP%] .warning-items[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{position:relative}.banner-bottom-box[_ngcontent-%COMP%] .warning-box[_ngcontent-%COMP%] .warning-items[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:before{content:"\\ff0e";position:absolute;left:-17px}.ingredient-box[_ngcontent-%COMP%] .ingredient-text[_ngcontent-%COMP%]{font-family:NotoSansCJKtc-Medium;font-size:12px;color:#7b868c;letter-spacing:0}button.btn[_ngcontent-%COMP%]{width:260px;background-image:linear-gradient(180deg,#91c1f7 0%,#588eec 100%);box-shadow:0 5px 10px rgba(0,0,0,.2);border-radius:10px;font-family:NotoSansCJKtc-Medium;font-size:16px;color:#fff;letter-spacing:0;text-align:center}hr[_ngcontent-%COMP%]{color:#fff;background-color:#fff;opacity:1}@media (max-width: 992px){.title[_ngcontent-%COMP%]{font-size:2.8rem}.info-box[_ngcontent-%COMP%]{background-image:url(/sites/default/files/230224product01-m-middle-bg.jpg)}.banner-bottom-box[_ngcontent-%COMP%]{background-image:url(/sites/default/files/230224product01-m-bottom-bg.png)}.banner-bottom-box[_ngcontent-%COMP%] .usage-scenarios-box[_ngcontent-%COMP%] .usage-scenarios-image[_ngcontent-%COMP%]{padding:0}.banner-bottom-box[_ngcontent-%COMP%] .usage-scenarios-box[_ngcontent-%COMP%] .usage-scenarios-image[_ngcontent-%COMP%] .usage-scenarios-image-left[_ngcontent-%COMP%]{width:100%;margin-right:0}.banner-bottom-box[_ngcontent-%COMP%] .usage-scenarios-box[_ngcontent-%COMP%] .usage-scenarios-image[_ngcontent-%COMP%] .usage-scenarios-image-right[_ngcontent-%COMP%]{width:100%}button.btn[_ngcontent-%COMP%]{width:225px}.route-nav-box[_ngcontent-%COMP%]{background-image:url(/sites/default/files/230224product01-m-footer-bg.png);padding-top:20%}}',".route-nav-box[_ngcontent-%COMP%]{background-image:url(/assets/image/product01/d-footer-bg.png);background-size:cover;background-position:50% 0;background-repeat:no-repeat;padding-top:5%}.fix-box[_ngcontent-%COMP%]{position:absolute;top:-40px;right:0}.fix-box[_ngcontent-%COMP%] .btn-box[_ngcontent-%COMP%]{width:calc(100% / 2);max-width:200px;position:relative;box-shadow:0 5px 8px rgba(0,0,0,.4);border-radius:10px 10px 0 0;font-family:NotoSansCJKtc-Medium;font-size:16px;color:#fff;letter-spacing:0;text-align:center;padding:10px 0;margin:0 2px}.fix-box[_ngcontent-%COMP%] .btn-box[_ngcontent-%COMP%]:hover{top:-5px}.fix-box[_ngcontent-%COMP%] .btn-box.btn-take[_ngcontent-%COMP%]{background-image:linear-gradient(180deg,#9ebede 0%,#658aba 100%)}.fix-box[_ngcontent-%COMP%] .btn-box.btn-buy[_ngcontent-%COMP%]{background-image:linear-gradient(180deg,#9fe3f6 0%,#66c3ea 100%)}.fix-box[_ngcontent-%COMP%] .btn-box.btn-call[_ngcontent-%COMP%]{background-image:linear-gradient(180deg,#3364a6 0%,#17346d 100%)}.fix-box[_ngcontent-%COMP%] .btn-box[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:#fff}.fix-box[_ngcontent-%COMP%] .btn-box[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:30px}.fix-box[_ngcontent-%COMP%] .btn-box[_ngcontent-%COMP%] img.call[_ngcontent-%COMP%]{width:24px}@media (max-width: 992px){.route-nav-box[_ngcontent-%COMP%]{background-image:url(/assets/image/product01/m-footer-bg.png);padding-top:20%}}"]}),t})();const bw=[[["","outside",""]],[["","inside",""]]],vw=["[outside]","[inside]"];let ww=(()=>{class t{constructor(t){this.share=t,this.basePath="/sites/default/files/",this.gaEventName="\u5165\u53e3\u7db2"}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)(bo(uw))},t.\u0275cmp=Vt({type:t,selectors:[["app-portal-route-nav"]],ngContentSelectors:vw,decls:43,vars:3,consts:[[1,"footer-nav-box","container","py-5"],[1,"row","gy-5","mb-5"],[1,"item","col-lg-4","p-3"],["src","/sites/default/files/220711diabetic-footer_nestle_logo.png","alt","",1,"logo",2,"max-width","280px"],[1,"item","col-lg-4","p-3","d-none","d-lg-block"],[1,"title"],[1,"content","mt-3"],["href","tel:0800-070-127","target","_blank",1,"unsetLink"],[1,"content","mt-5"],[1,"route","mt-3"],["href","https://www.facebook.com/TW.NHS.ifamily2016/","target","_blank",1,"btnicon",3,"click"],[2,"width","30px",3,"src"],["href","https://page.line.me/ycv7155b","target","_blank",1,"btnicon",3,"click"],["href","https://www.nestlehealthscience.com.tw/","target","_blank",1,"btnicon",3,"click"],[1,"item","col-lg-4","p-3","d-lg-none"],["href","tel:0800-070-127","target","_blank",1,"unsetLink",3,"click"]],template:function(t,e){1&t&&(Io(bw),No(0),Co(1,"div",0),No(2,1),Co(3,"div",1),Co(4,"div",2),So(5,"img",3),xo(),Co(6,"div",4),Co(7,"div",5),Uo(8,"\u53f0\u7063\u96c0\u5de2\u80a1\u4efd\u6709\u9650\u516c\u53f8 \u96c0\u5de2\u5065\u5eb7\u79d1\u5b78\u4e8b\u696d\u90e8"),xo(),Co(9,"address",6),Uo(10," \u53f0\u5317\u5e02\u5167\u6e56\u5340\u745e\u5149\u8def399\u865f8\u6a13\u53ca8\u6a13\u4e4b1 "),So(11,"br"),Uo(12," \u514d\u8cbb\u8aee\u8a62\u96fb\u8a71\uff1a"),Co(13,"a",7),Uo(14,"0800-070-127"),xo(),xo(),Co(15,"div",8),Uo(16," \xa9 Nestl\xe9 Health Science 2022 - All rights reserved "),xo(),xo(),Co(17,"div",2),Co(18,"div",5),Uo(19,"\u53f0\u7063\u96c0\u5de2\u53f0\u7063"),xo(),Co(20,"div",9),Co(21,"a",10),ko("click",function(){return e.share.GA("click",e.gaEventName,"Footer_\u96c0\u5de2\u5065\u5eb7\u611b\u5bb6\u65cfFB")}),So(22,"img",11),Uo(23," \u96c0\u5de2\u5065\u5eb7\u611b\u5bb6\u65cfFB"),xo(),xo(),Co(24,"div",9),Co(25,"a",12),ko("click",function(){return e.share.GA("click",e.gaEventName,"Footer_\u96c0\u5de2\u5065\u5eb7\u79d1\u5b78LINE\u5b98\u65b9\u5e33\u865f")}),So(26,"img",11),Uo(27," \u96c0\u5de2\u5065\u5eb7\u79d1\u5b78LINE "),xo(),xo(),Co(28,"div",9),Co(29,"a",13),ko("click",function(){return e.share.GA("click",e.gaEventName,"Footer_\u96c0\u5de2\u5065\u5eb7\u79d1\u5b78\u5b98\u7db2")}),So(30,"img",11),Uo(31," \u96c0\u5de2\u5065\u5eb7\u79d1\u5b78\u5b98\u7db2 "),xo(),xo(),xo(),Co(32,"div",14),Co(33,"div",5),Uo(34,"\u53f0\u7063\u96c0\u5de2\u80a1\u4efd\u6709\u9650\u516c\u53f8 \u96c0\u5de2\u5065\u5eb7\u79d1\u5b78\u4e8b\u696d\u90e8"),xo(),Co(35,"address",6),Uo(36," \u53f0\u5317\u5e02\u5167\u6e56\u5340\u745e\u5149\u8def399\u865f8\u6a13\u53ca8\u6a13\u4e4b1 "),So(37,"br"),Uo(38," \u514d\u8cbb\u8aee\u8a62\u96fb\u8a71\uff1a"),Co(39,"a",15),ko("click",function(){return e.share.GA("click",e.gaEventName,"Footer_\u514d\u8cbb\u8aee\u8a62\u96fb\u8a71")}),Uo(40,"0800-070-127"),xo(),xo(),Co(41,"div",8),Uo(42," \xa9 Nestl\xe9 Health Science 2022 - All rights reserved "),xo(),xo(),xo(),xo()),2&t&&(Gi(22),vo("src",e.basePath+"230224product01-route-fb.png",Js),Gi(4),vo("src",e.basePath+"230224product01-route-line.png",Js),Gi(4),vo("src",e.basePath+"230224product01-route-web.png",Js))},directives:[lw],styles:['a[_ngcontent-%COMP%]{color:#00205c;text-decoration:none}a[_ngcontent-%COMP%]:link, a[_ngcontent-%COMP%]:visited, a[_ngcontent-%COMP%]:hover, a[_ngcontent-%COMP%]:active{color:#00205c}#banner[_ngcontent-%COMP%], .official-box[_ngcontent-%COMP%]{background-position-x:50%;background-position-y:0;background-repeat:no-repeat;background-size:100%;background-color:#fff}.privacy-policy[_ngcontent-%COMP%], .cookie-policy[_ngcontent-%COMP%]{cursor:pointer;color:unset;text-decoration:none}a.dropdown-item[_ngcontent-%COMP%]{font-family:"NotoSansCJKtc-Medium";font-size:15px;color:#00205c;letter-spacing:0;line-height:35px}a.dropdown-item[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-family:"NotoSansCJKtc-Regular"}.official-box[_ngcontent-%COMP%]{padding-top:80px}.official-box[_ngcontent-%COMP%] .welcome[_ngcontent-%COMP%]{font-size:36px;color:#006a9e;text-align:center}.official-box[_ngcontent-%COMP%] .icon-box[_ngcontent-%COMP%]{max-width:600px}.official-box[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{letter-spacing:0;text-align:center;font-family:"NotoSansCJKtc-Medium";font-size:18px}.official-box[_ngcontent-%COMP%] .fb[_ngcontent-%COMP%]{cursor:pointer}.official-box[_ngcontent-%COMP%] .fb[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{color:#1877f2}.official-box[_ngcontent-%COMP%] .line[_ngcontent-%COMP%]{cursor:pointer}.official-box[_ngcontent-%COMP%] .line[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{color:#06c755}@media (max-width: 992px){.official-box[_ngcontent-%COMP%]{padding-top:80px}.official-box[_ngcontent-%COMP%] .welcome[_ngcontent-%COMP%]{font-size:28px}}.footer-nav-box[_ngcontent-%COMP%]{max-width:1440px}.footer-nav-box[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{width:100%}.footer-nav-box[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{text-align:center}.footer-nav-box[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:282px}.footer-nav-box[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:16px;color:#00205c;letter-spacing:1px;font-family:"NotoSansCJKtc-Bold";font-weight:900}.footer-nav-box[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{font-family:"NotoSansCJKtc-Regular";font-size:16px;color:#00205c;letter-spacing:1px;text-align:center;line-height:28px}.footer-nav-box[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .route[_ngcontent-%COMP%]{font-family:"NotoSansCJKtc-Medium";font-size:14px;letter-spacing:0}',".footer-nav-box[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#7a499e;text-decoration:none}.footer-nav-box[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:link, .footer-nav-box[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited, .footer-nav-box[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover, .footer-nav-box[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:active{color:#7a499e}.footer-nav-box[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{color:#7a499e}"]}),t})();function Cw(t,e){1&t&&So(0,"br")}const xw=["*"];let Sw=(()=>{class t{constructor(t,e){this.share=t,this.platformId=e,this.toTopTheme="\u5165\u53e3\u7db2",this.footerWarning="\u90e8\u5206\u7522\u54c1\u5c6c\u7279\u6b8a\u75be\u75c5\u914d\u65b9\u4e0d\u9069\u5408\u4e00\u822c\u4eba\u4f7f\u7528\uff0c\u9808\u7d93\u91ab\u751f\u6216\u71df\u990a\u5e2b\u6307\u5c0e\u4f7f\u7528\u3002",this.topImagePath="/sites/default/files/220711diabetic-portal-top.png"}ngOnInit(){Jc(this.platformId)||$(".go-top").click(function(t){t.preventDefault(),$("html,body").animate({scrollTop:0},600)})}}return t.\u0275fac=function(e){return new(e||t)(bo(uw),bo(Tl))},t.\u0275cmp=Vt({type:t,selectors:[["app-portal-footer"]],inputs:{toTopTheme:"toTopTheme",footerWarning:"footerWarning",topImagePath:"topImagePath"},ngContentSelectors:xw,decls:19,vars:4,consts:[[1,"mt-3"],[1,"main-footer"],[1,"px-2","d-none","d-lg-block","fbg"],["href","https://www.nestlehealthscience.com.tw/privacy-policy","target","_blank",1,"privacy-policy",3,"click"],["href","#",1,"cookie-policy",3,"click"],[1,"px-2","d-lg-none","fbg"],[4,"ngIf"],[1,"go-top",3,"click"],[2,"width","100px",3,"src"]],template:function(t,e){1&t&&(Io(),Co(0,"footer",0),Co(1,"div",1),Co(2,"p",2),Co(3,"span"),Uo(4),xo(),Co(5,"a",3),ko("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3fFooter","\u96b1\u79c1\u6b0a\u653f\u7b56")}),Uo(6,"\u96b1\u79c1\u6b0a\u653f\u7b56"),xo(),Co(7,"a",4),ko("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3fFooter","Cookie\u653f\u7b56\u53ca\u689d\u6b3e")}),Uo(8," Cookie\u653f\u7b56\u53ca\u689d\u6b3e"),xo(),xo(),Co(9,"p",5),Uo(10),yo(11,Cw,1,0,"br",6),Co(12,"a",3),ko("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3fFooter","\u96b1\u79c1\u6b0a\u653f\u7b56")}),Uo(13,"\u96b1\u79c1\u6b0a\u653f\u7b56"),xo(),Co(14,"a",4),ko("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3fFooter","Cookie\u653f\u7b56\u53ca\u689d\u6b3e")}),Uo(15," Cookie\u653f\u7b56\u53ca\u689d\u6b3e"),xo(),xo(),No(16),xo(),Co(17,"div",7),ko("click",function(){return e.share.GA("click",e.toTopTheme,"Top")}),So(18,"img",8),xo(),xo()),2&t&&(Gi(4),$o(" ",e.footerWarning,""),Gi(6),$o(" ",e.footerWarning,""),Gi(1),vo("ngIf",e.footerWarning),Gi(7),vo("src",e.topImagePath,Js))},directives:[Wc,lw],styles:['a[_ngcontent-%COMP%]{color:#00205c;text-decoration:none}a[_ngcontent-%COMP%]:link, a[_ngcontent-%COMP%]:visited, a[_ngcontent-%COMP%]:hover, a[_ngcontent-%COMP%]:active{color:#00205c}#banner[_ngcontent-%COMP%], .official-box[_ngcontent-%COMP%]{background-position-x:50%;background-position-y:0;background-repeat:no-repeat;background-size:100%;background-color:#fff}.privacy-policy[_ngcontent-%COMP%], .cookie-policy[_ngcontent-%COMP%]{cursor:pointer;color:unset;text-decoration:none}a.dropdown-item[_ngcontent-%COMP%]{font-family:"NotoSansCJKtc-Medium";font-size:15px;color:#00205c;letter-spacing:0;line-height:35px}a.dropdown-item[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-family:"NotoSansCJKtc-Regular"}.official-box[_ngcontent-%COMP%]{padding-top:80px}.official-box[_ngcontent-%COMP%] .welcome[_ngcontent-%COMP%]{font-size:36px;color:#006a9e;text-align:center}.official-box[_ngcontent-%COMP%] .icon-box[_ngcontent-%COMP%]{max-width:600px}.official-box[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{letter-spacing:0;text-align:center;font-family:"NotoSansCJKtc-Medium";font-size:18px}.official-box[_ngcontent-%COMP%] .fb[_ngcontent-%COMP%]{cursor:pointer}.official-box[_ngcontent-%COMP%] .fb[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{color:#1877f2}.official-box[_ngcontent-%COMP%] .line[_ngcontent-%COMP%]{cursor:pointer}.official-box[_ngcontent-%COMP%] .line[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{color:#06c755}@media (max-width: 992px){.official-box[_ngcontent-%COMP%]{padding-top:80px}.official-box[_ngcontent-%COMP%] .welcome[_ngcontent-%COMP%]{font-size:28px}}footer[_ngcontent-%COMP%]{padding-bottom:60px}footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%]{position:fixed;bottom:0;width:100%;z-index:11;background-color:#1146a9}footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:link, footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited, footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover, footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:active{color:#fff}footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-family:"NotoSansCJKtc-Medium";text-align:center;color:#fff;letter-spacing:0;font-size:16px;padding:10px 0;margin:0;position:relative;z-index:1;background-color:#1146a9}footer[_ngcontent-%COMP%] .go-top[_ngcontent-%COMP%]{position:fixed;bottom:125px;right:15px;cursor:pointer;z-index:999}@media (max-width: 992px){footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{padding:10px 0}footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%] p.fbg[_ngcontent-%COMP%]{background-color:#1146a9}footer[_ngcontent-%COMP%] .go-top[_ngcontent-%COMP%]{bottom:55px;right:0px}}',"footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%]{background-color:#591c86}footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{background-color:#591c86}footer[_ngcontent-%COMP%] .go-top[_ngcontent-%COMP%]{bottom:45px}@media (max-width: 992px){footer[_ngcontent-%COMP%] .main-footer[_ngcontent-%COMP%] p.fbg[_ngcontent-%COMP%]{background-color:#591c86}}"]}),t})(),Ow=(()=>{class t{constructor(t,e,n,s,i){this.title=t,this.meta=e,this.share=n,this.dialog=s,this.platformId=i;const r="\u7acb\u651d\u9069\u7a69\u512a \u6709\u7a69\u512a\u5c31\u7121\u6182\uff5cNestle Health Science";this.title.setTitle(r),this.meta.updateTag({content:r},'property="og:title"'),this.meta.updateTag({content:r},'property="og:site_name"'),this.meta.updateTag({content:"\u7acb\u651d\u9069\u7a69\u512a\uff0c\u6709\u7a69\u512a\u5c31\u7121\u6182\uff0c\u5e6b\u52a9\u4f60\u505a\u500b\u8070\u660e\u7684\u98df\u5ba2\uff0c\u638c\u63e1\u6bcf\u5929\u95dc\u9375\u98df\u523b\uff01\u5f9e\u5fd9\u788c\u8d95\u5834\u7684\u65e9\u5b89\u98df\u523b\uff0c\u5230\u5634\u5df4\u60f3\u5403\u7684\u9ede\u5fc3\u98df\u523b\uff0c\u518d\u5230\u809a\u5b50\u5f88\u9913\u7684\u6b63\u9910\u98df\u523b\uff0c\u8b93\u98df\u9593\u7ba1\u7406\u5927\u5e2b\u966a\u4f34\u4f60\u6bcf\u500b\u7f8e\u597d\u98df\u523b\u3002\u6b63\u78ba\u8070\u660e\u98f2\u98df\uff0c\u71df\u990a\u98fd\u8179\uff0c\u4e00\u7a69\u7121\u6182\uff01"},'property="description"'),this.meta.updateTag({content:"\u7acb\u651d\u9069\u7a69\u512a\uff0c\u6709\u7a69\u512a\u5c31\u7121\u6182\uff0c\u5e6b\u52a9\u4f60\u505a\u500b\u8070\u660e\u7684\u98df\u5ba2\uff0c\u638c\u63e1\u6bcf\u5929\u95dc\u9375\u98df\u523b\uff01\u5f9e\u5fd9\u788c\u8d95\u5834\u7684\u65e9\u5b89\u98df\u523b\uff0c\u5230\u5634\u5df4\u60f3\u5403\u7684\u9ede\u5fc3\u98df\u523b\uff0c\u518d\u5230\u809a\u5b50\u5f88\u9913\u7684\u6b63\u9910\u98df\u523b\uff0c\u8b93\u98df\u9593\u7ba1\u7406\u5927\u5e2b\u966a\u4f34\u4f60\u6bcf\u500b\u7f8e\u597d\u98df\u523b\u3002\u6b63\u78ba\u8070\u660e\u98f2\u98df\uff0c\u71df\u990a\u98fd\u8179\uff0c\u4e00\u7a69\u7121\u6182\uff01"},'property="og:description"'),this.meta.updateTag({content:"\u7acb\u651d\u9069\u7a69\u512a, \u4e00\u822c\u98df\u54c1\u9928, \u7a69\u512a\u96d9\u91cd\u7a69\u5b9a\u539f\u5473\u98a8\u5473, \u7a69\u512a\u86cb\u767d\u7e96\u7a40\u68d2, \u5927\u8c46\u86cb\u767d\u8cea, \u6851\u8449\u6c34\u6dec\u9910\u62cc\u7c89, DNJ, \u7279\u6b8a\u71df\u990a\u54c1\u9928, \u91a3\u7ba1\u7406, \u7a69\u512a\u9999\u8349\u53e3\u5473\u7cd6\u5c3f\u75c5\u914d\u65b9, \u7a69\u512a\u8349\u8393\u53e3\u5473\u7cd6\u5c3f\u75c5\u914d\u65b9, \u7a69\u512a\u91d1\u947d\u7cd6\u5c3f\u75c5\u914d\u65b9, \u7a69\u5b9a6\u95dc\u9375\u914d\u65b9, \u4e73\u6e05\u86cb\u767d, \u6c34\u6eb6\u6027\u81b3\u98df\u7e96\u7dad, \u927b, \u9382. \u8102\u80aa\u7d44\u614b, \u7570\u9ea5\u82bd\u916e\u7cd6, \u4f4e\u5347\u91a3\u6307\u6578, \u5229\u6a02\u5305\u96a8\u8eab\u651c\u5e36, \u6fb3\u6d32\u539f\u88dd\u9032\u53e3, \u5976\u7d20\u53ef\u7528"},'property="keyword"'),this.meta.updateTag({content:"\u7acb\u651d\u9069\u7a69\u512a, \u4e00\u822c\u98df\u54c1\u9928, \u7a69\u512a\u96d9\u91cd\u7a69\u5b9a\u539f\u5473\u98a8\u5473, \u7a69\u512a\u86cb\u767d\u7e96\u7a40\u68d2, \u5927\u8c46\u86cb\u767d\u8cea, \u6851\u8449\u6c34\u6dec\u9910\u62cc\u7c89, DNJ, \u7279\u6b8a\u71df\u990a\u54c1\u9928, \u91a3\u7ba1\u7406, \u7a69\u512a\u9999\u8349\u53e3\u5473\u7cd6\u5c3f\u75c5\u914d\u65b9, \u7a69\u512a\u8349\u8393\u53e3\u5473\u7cd6\u5c3f\u75c5\u914d\u65b9, \u7a69\u512a\u91d1\u947d\u7cd6\u5c3f\u75c5\u914d\u65b9, \u7a69\u5b9a6\u95dc\u9375\u914d\u65b9, \u4e73\u6e05\u86cb\u767d, \u6c34\u6eb6\u6027\u81b3\u98df\u7e96\u7dad, \u927b, \u9382. \u8102\u80aa\u7d44\u614b, \u7570\u9ea5\u82bd\u916e\u7cd6, \u4f4e\u5347\u91a3\u6307\u6578, \u5229\u6a02\u5305\u96a8\u8eab\u651c\u5e36, \u6fb3\u6d32\u539f\u88dd\u9032\u53e3, \u5976\u7d20\u53ef\u7528"},'property="og:keyword"')}ngOnInit(){Jc(this.platformId)}ngAfterViewInit(){Jc(this.platformId)||AOS.init()}}return t.\u0275fac=function(e){return new(e||t)(bo(ju),bo(Du),bo(uw),bo(Jb),bo(Tl))},t.\u0275cmp=Vt({type:t,selectors:[["app-portal"]],decls:48,vars:0,consts:[[1,"px-4","navbar","navbar-expand-lg","navbar-light","fixed-top","bg-white","d-flex","justify-content-between",2,"z-index","900"],["routerLink","/",1,"cursor-pointer","logo-left",3,"click"],["src","/sites/default/files/220711diabetic-portal-logo-left.png","alt","banner",1,"img-fluid","no-lazy"],[1,"nav-button"],[1,"d-none","d-lg-inline-block","cursor-pointer",3,"click"],["href","https://www.nestlehealthscience.com.tw/zh/siteassets/diabetic/index","target","_blank"],["src","/sites/default/files/220711diabetic-portal-d-nav-01.png","alt","banner",1,"img-fluid","no-lazy"],[1,"d-inline-block","d-lg-none","cursor-pointer",3,"click"],["src","/sites/default/files/220711diabetic-portal-m-nav-01.png","alt","banner",1,"img-fluid","no-lazy"],[1,"d-none","d-lg-inline-block","cursor-pointer"],["routerLink","/food-master",3,"click"],["src","/sites/default/files/220711diabetic-portal-d-nav-02.png","alt","banner",1,"img-fluid","no-lazy"],[1,"d-inline-block","d-lg-none","cursor-pointer"],["src","/sites/default/files/220711diabetic-portal-m-nav-02.png","alt","banner",1,"img-fluid","no-lazy"],[1,"d-none","d-lg-block","logo-right"],["href","https://www.nestlehealthscience.com.tw/","target","_blank",3,"click"],["src","/sites/default/files/220711diabetic-portal-logo-right.png","alt","banner",1,"img-fluid","no-lazy"],[1,"d-none"],[1,"space"],[1,"banner-box"],[1,"d-none","d-lg-block"],["src","/sites/default/files/230224portal-portal-d-banner.jpg?v=0","alt","\u7acb\u651d\u9069\u7a69\u512a \u6709\u7a69\u512a\u5c31\u7121\u6182\uff0c\u505a\u81ea\u5df1\u7684\u300c\u98df\u300d\u9593\u7ba1\u7406\u5927\u5e2b",1,"img-fluid","no-lazy"],[1,"d-lg-none"],["src","/sites/default/files/230224portal-portal-m-banner.jpg?v=0","alt","\u7acb\u651d\u9069\u7a69\u512a \u6709\u7a69\u512a\u5c31\u7121\u6182\uff0c\u505a\u81ea\u5df1\u7684\u300c\u98df\u300d\u9593\u7ba1\u7406\u5927\u5e2b",1,"img-fluid","w-100","no-lazy"],[1,"info-area"],[1,"container","pt-5","product-bottom-box"],[1,"row"],[1,"col-12","col-lg-6"],["href","https://www.nestlehealthscience.com.tw/zh/siteassets/diabetic/index","target","_blank",3,"click"],["src","/sites/default/files/230224portal-portal-next-01.png","alt","\u524d\u5f80\u7279\u6b8a\u71df\u990a\u54c1\u9928",1,"img-fluid"],["routerLink","/food-master",1,"col-12","col-lg-6","cursor-pointer",3,"click"],["src","/sites/default/files/230224portal-portal-next-02.png","alt","\u524d\u5f80\u4e00\u822c\u98df\u54c1\u9928",1,"img-fluid"],[1,"py-5","my-5"],["outside",""],[1,"shadow-area"],[1,"d-none","d-lg-block","shadow-box"],["src","/sites/default/files/230224portal-d-footer-shadow.png","alt","banner",1,"img-fluid"],[1,"d-lg-none","shadow-box"],["src","/sites/default/files/230224portal-m-footer-shadow.png","alt","banner",1,"img-fluid"]],template:function(t,e){1&t&&(Co(0,"nav",0),Co(1,"div",1),ko("click",function(){return e.share.GA("click","\u5165\u53e3\u7db2","header\uff3f\u7acb\u651d\u9069\u7a69\u512aLOGO")}),So(2,"img",2),xo(),Co(3,"div",3),Co(4,"div",4),ko("click",function(){return e.share.GA("click","\u5165\u53e3\u7db2","header\uff3f\u7279\u6b8a\u71df\u990a\u54c1\u9928")}),Co(5,"a",5),So(6,"img",6),xo(),xo(),Co(7,"div",7),ko("click",function(){return e.share.GA("click","\u5165\u53e3\u7db2","header\uff3f\u7279\u6b8a\u71df\u990a\u54c1\u9928")}),Co(8,"a",5),So(9,"img",8),xo(),xo(),Co(10,"div",9),Co(11,"div",10),ko("click",function(){return e.share.GA("click","\u5165\u53e3\u7db2","header\uff3f\u4e00\u822c\u98df\u54c1\u9928")}),So(12,"img",11),xo(),xo(),Co(13,"div",12),Co(14,"div",10),ko("click",function(){return e.share.GA("click","\u5165\u53e3\u7db2","header\uff3f\u4e00\u822c\u98df\u54c1\u9928")}),So(15,"img",13),xo(),xo(),xo(),Co(16,"div",14),Co(17,"a",15),ko("click",function(){return e.share.GA("click","\u5165\u53e3\u7db2","header\uff3f\u96c0\u5de2\u5065\u5eb7\u79d1\u5b78LOGO")}),So(18,"img",16),xo(),xo(),xo(),Co(19,"h1",17),Uo(20,"\u7acb\u651d\u9069\u7a69\u512a \u6709\u7a69\u512a\u5c31\u7121\u6182\uff0c\u505a\u81ea\u5df1\u7684\u300c\u98df\u300d\u9593\u7ba1\u7406\u5927\u5e2b"),xo(),So(21,"div",18),Co(22,"div",19),Co(23,"div",20),So(24,"img",21),xo(),Co(25,"div",22),So(26,"img",23),xo(),xo(),Co(27,"div",24),Co(28,"div",25),Co(29,"div",26),Co(30,"div",27),Co(31,"a",28),ko("click",function(){return e.share.GA("click","\u5165\u53e3\u7db2","\u524d\u5f80\u7279\u6b8a\u71df\u990a\u54c1\u9928"),e.share.goTo("body")}),So(32,"img",29),Co(33,"h2",17),Uo(34,"\u524d\u5f80\u7279\u6b8a\u71df\u990a\u54c1\u9928"),xo(),xo(),xo(),Co(35,"div",30),ko("click",function(){return e.share.GA("click","\u5165\u53e3\u7db2","\u524d\u5f80\u4e00\u822c\u98df\u54c1\u9928"),e.share.goTo("body")}),So(36,"img",31),Co(37,"h2",17),Uo(38,"\u524d\u5f80\u4e00\u822c\u98df\u54c1\u9928"),xo(),xo(),xo(),xo(),So(39,"div",32),xo(),Co(40,"app-portal-route-nav"),Co(41,"div",33),Co(42,"div",34),Co(43,"div",35),So(44,"img",36),xo(),Co(45,"div",37),So(46,"img",38),xo(),xo(),xo(),xo(),So(47,"app-portal-footer"))},directives:[pf,lw,ww,Sw],styles:[".title[_ngcontent-%COMP%]{font-family:NotoSansCJKtc-Bold,Noto Sans CJK TC;font-size:3.6rem;color:#588eec;letter-spacing:0}nav[_ngcontent-%COMP%] .logo-left[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:207px}nav[_ngcontent-%COMP%] .logo-right[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:194px}nav[_ngcontent-%COMP%] .nav-button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:220px}.space[_ngcontent-%COMP%]{height:90px}.info-area[_ngcontent-%COMP%]{background-image:url(/sites/default/files/230224portal-d-bg.jpg);background-size:cover;background-position:50% 0;background-repeat:no-repeat}.info-area[_ngcontent-%COMP%] .title-box[_ngcontent-%COMP%]{max-width:680px}.shadow-area[_ngcontent-%COMP%]{position:relative}.shadow-area[_ngcontent-%COMP%] .shadow-box[_ngcontent-%COMP%]{position:absolute;top:-200px}@media (max-width: 2000px){.shadow-area[_ngcontent-%COMP%] .shadow-box[_ngcontent-%COMP%]{top:-170px}}@media (max-width: 1600px){.shadow-area[_ngcontent-%COMP%] .shadow-box[_ngcontent-%COMP%]{top:-140px}}@media (max-width: 1600px){.shadow-area[_ngcontent-%COMP%] .shadow-box[_ngcontent-%COMP%]{top:-110px}}@media (max-width: 1200px){.shadow-area[_ngcontent-%COMP%] .shadow-box[_ngcontent-%COMP%]{top:-90px}}@media (max-width: 992px){.space[_ngcontent-%COMP%]{height:70px}.title[_ngcontent-%COMP%]{font-size:2.8rem}nav[_ngcontent-%COMP%] .logo-left[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:calc(100vw * (135 / 375))}nav[_ngcontent-%COMP%] .nav-button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:calc(100vw * (100 / 375))}.info-area[_ngcontent-%COMP%]{background-image:url(/sites/default/files/230224portal-m-bg.jpg)}}"]}),t})(),Pw=(()=>{class t{constructor(t,e,n,s){this.title=t,this.meta=e,this.share=n,this.platformId=s}ngOnInit(){const t="\u98df\u9593\u7ba1\u7406\u7955\u8a23\uff5c\u7acb\u651d\u9069\u7a69\u512a \u4e00\u822c\u98df\u54c1\u9928\uff5cNestle Health Science";this.title.setTitle(t),this.meta.updateTag({content:t},'property="og:title"'),this.meta.updateTag({content:t},'property="og:site_name"'),this.meta.updateTag({content:"\u7acb\u651d\u9069\u7a69\u512aGlucoSmart\u4ee5\u79d1\u5b78\u5be6\u8b49\u3001\u8c50\u5bcc\u71df\u990a\u3001\u8070\u660e\u98f2\u98df\u3001\u65b9\u4fbf\u98df\u7528\u3001\u6b61\u6a02\u805a\u9910\u7b49\u70ba\u7406\u5ff5\uff0c\u5b55\u80b2\u7cfb\u5217\u7522\u54c1\uff0c\u5305\u542b\u7a69\u512a\u96d9\u91cd\u7a69\u5b9a\u539f\u5473\u98a8\u5473\u3001\u7a69\u512aGlucoSmart\u86cb\u767d\u7e96\u7a40\u68d2\u3001\u7a69\u512aGlucoSmart\u6851\u8449\u6c34\u6dec\u9910\u62cc\u7c89\u7b49\uff0c\u8b93\u4f60\u76e1\u60c5\u4eab\u7528\u7f8e\u597d\u98df\u523b\uff0c\u505a\u81ea\u5df1\u7684\u98df\u9593\u7ba1\u7406\u5927\u5e2b\uff01"},'property="description"'),this.meta.updateTag({content:"\u7acb\u651d\u9069\u7a69\u512aGlucoSmart\u4ee5\u79d1\u5b78\u5be6\u8b49\u3001\u8c50\u5bcc\u71df\u990a\u3001\u8070\u660e\u98f2\u98df\u3001\u65b9\u4fbf\u98df\u7528\u3001\u6b61\u6a02\u805a\u9910\u7b49\u70ba\u7406\u5ff5\uff0c\u5b55\u80b2\u7cfb\u5217\u7522\u54c1\uff0c\u5305\u542b\u7a69\u512a\u96d9\u91cd\u7a69\u5b9a\u539f\u5473\u98a8\u5473\u3001\u7a69\u512aGlucoSmart\u86cb\u767d\u7e96\u7a40\u68d2\u3001\u7a69\u512aGlucoSmart\u6851\u8449\u6c34\u6dec\u9910\u62cc\u7c89\u7b49\uff0c\u8b93\u4f60\u76e1\u60c5\u4eab\u7528\u7f8e\u597d\u98df\u523b\uff0c\u505a\u81ea\u5df1\u7684\u98df\u9593\u7ba1\u7406\u5927\u5e2b\uff01"},'property="og:description"'),this.meta.updateTag({content:"\u7acb\u651d\u9069\u7a69\u512a, \u4e00\u822c\u98df\u54c1\u9928, \u7a69\u512a\u96d9\u91cd\u7a69\u5b9a\u539f\u5473\u98a8\u5473, \u7a69\u512a\u86cb\u767d\u7e96\u7a40\u68d2, \u6851\u8449\u6c34\u6dec\u9910\u62cc\u7c89, \u5927\u8c46\u86cb\u767d\u8cea, DNJ, \u79d1\u5b78\u5be6\u8b49, \u8c50\u5bcc\u71df\u990a, \u8070\u660e\u98f2\u98df, \u65b9\u4fbf\u98df\u7528, \u6b61\u6a02\u805a\u9910"},'property="keyword"'),this.meta.updateTag({content:"\u7acb\u651d\u9069\u7a69\u512a, \u4e00\u822c\u98df\u54c1\u9928, \u7a69\u512a\u96d9\u91cd\u7a69\u5b9a\u539f\u5473\u98a8\u5473, \u7a69\u512a\u86cb\u767d\u7e96\u7a40\u68d2, \u6851\u8449\u6c34\u6dec\u9910\u62cc\u7c89, \u5927\u8c46\u86cb\u767d\u8cea, DNJ, \u79d1\u5b78\u5be6\u8b49, \u8c50\u5bcc\u71df\u990a, \u8070\u660e\u98f2\u98df, \u65b9\u4fbf\u98df\u7528, \u6b61\u6a02\u805a\u9910"},'property="og:keyword"')}ngAfterViewInit(){Jc(this.platformId)||(Bf(200).subscribe(()=>AOS.init()),Bf(0,5e3).subscribe(t=>{t%2==0?($("#clock-01").fadeOut(1500),$("#clock-02").fadeIn(1500)):($("#clock-02").fadeOut(1500),$("#clock-01").fadeIn(1500))}))}}return t.\u0275fac=function(e){return new(e||t)(bo(ju),bo(Du),bo(uw),bo(Tl))},t.\u0275cmp=Vt({type:t,selectors:[["app-food-master"]],decls:88,vars:0,consts:[[1,"d-none"],[1,"banner-box"],[1,"d-none","d-lg-block","position-relative"],["src","/assets/image/food-master/d-banner.jpg","alt","\u7a69\u512aGluccoSmart \u505a\u81ea\u5df1\u7684\u98df\u9593\u7ba1\u7406\u5927\u5e2b",1,"img-fluid","no-lazy"],[1,"position-absolute","clock-box"],["id","clock-01","src","/assets/image/food-master/d-banner-clock-01.png","alt","banner",1,"img-fluid","no-lazy"],["id","clock-02","src","/assets/image/food-master/d-banner-clock-02.png","alt","banner",1,"img-fluid","no-lazy",2,"display","none"],[1,"d-lg-none"],["src","/assets/image/food-master/m-banner.jpg","alt","\u7a69\u512aGluccoSmart \u505a\u81ea\u5df1\u7684\u98df\u9593\u7ba1\u7406\u5927\u5e2b",1,"img-fluid","w-100","no-lazy"],[1,"main-box"],[1,"p1-box"],[1,"d-none","d-lg-block"],["src","/assets/image/food-master/d-p1-box.jpg","alt","",1,"img-fluid"],["src","/assets/image/food-master/m-p1-box.jpg","alt","",1,"img-fluid","w-100"],[1,"feature-area"],[1,"feature-box","container","mx-auto"],[1,"d-none","d-lg-flex","justify-content-between"],["data-aos","fade-up",1,"item","mt-5"],["src","/assets/image/food-master/feature-01.png","alt","\u79d1\u5b78\u5be6\u8b49",1,"img-fluid"],["data-aos","fade-down",1,"item","mb-5"],["src","/assets/image/food-master/feature-02.png","alt","\u8c50\u5bcc\u71df\u990a",1,"img-fluid"],["src","/assets/image/food-master/feature-03.png","alt","\u8070\u660e\u98f2\u98df",1,"img-fluid"],["src","/assets/image/food-master/feature-04.png","alt","\u65b9\u4fbf\u98df\u7528",1,"img-fluid"],["src","/assets/image/food-master/feature-05.png","alt","\u6b61\u6a02\u805a\u9910",1,"img-fluid"],[1,"d-lg-none","row"],[1,"col-6","px-0","left-box"],["data-aos","fade-right",1,"item","px-0"],["src","/assets/image/food-master/feature-01.png","alt","\u79d1\u5b78\u5be6\u8b49",1,"img-fluid","no-lazy"],["src","/assets/image/food-master/feature-03.png","alt","\u8070\u660e\u98f2\u98df",1,"img-fluid","no-lazy"],["src","/assets/image/food-master/feature-05.png","alt","\u6b61\u6a02\u805a\u9910",1,"img-fluid","no-lazy"],[1,"col-6","px-0","d-flex","align-items-center","justify-content-center","flex-column","right-box"],["data-aos","fade-left",1,"item","px-0"],["src","/assets/image/food-master/feature-02.png","alt","\u8c50\u5bcc\u71df\u990a",1,"img-fluid","no-lazy"],["src","/assets/image/food-master/feature-04.png","alt","\u65b9\u4fbf\u98df\u7528",1,"img-fluid","no-lazy"],[1,"p2-box"],[1,"container","mx-auto","row","product-box"],[1,"col-12","col-lg-4","pb-5"],["data-aos","fade-up","data-aos-duration","200"],["routerLink","/product01",3,"click"],["src","/assets/image/food-master/product-01.png","alt","\u7a69\u512a\u96d9\u91cd\u7a69\u5b9a\u539f\u5473\u98a8\u5473\uff0c\u96c0\u5de2\u745e\u58eb\u7e3d\u90e8\u5c08\u696d\u5718\u968a\u7814\u767c\uff0c\u539f\u5473\u914d\u65b9\uff0c\u9069\u7528\u65bc\u4e0d\u611b\u751c\u81a9\u3001\u559c\u6b61\u539f\u5473\u98a8\u5473\u7684\u6c11\u773e\uff01\u63a1\u7528\u91d1\u947d\u5b89\u5fc3\u74f6\u7121\u83cc\u5305\u88dd\uff0c\u9802\u7d1a\u5de5\u85dd\u3001\u96d9\u5c64\u9632\u8b77\u3002\u7522\u54c1\u542b\u4e73\u6e05\u86cb\u767d\u5360\u6bd4\u9ad8\u905450%\u3001\u927b100mg\u3001\u7570\u9ea5\u82bd\u916e\u7cd6\u3001100%\u6c34\u6eb6\u6027\u7e96\u7dad\u3001\u9382\u7b49\u3002",1,"img-fluid"],["data-aos","fade-up","data-aos-duration","400"],["routerLink","/product02",3,"click"],["src","/assets/image/food-master/product-02.png","alt","\u7a69\u512aGlucoSmart\u86cb\u767d\u7e96\u7a40\u68d2\uff0c\u6bcf\u4efd\u542b\u670919.2\u516c\u514b\u5927\u8c46\u86cb\u767d\uff0c\u53ef\u7528\u65bc\u808c\u8089\u751f\u9577\u30025.9\u516c\u514b\u5929\u7136\u81b3\u98df\u7e96\u7dad\uff0c\u4f86\u81ea\u5929\u7136\u5927\u8c46\u3001\u71d5\u9ea5\u3001\u8513\u8d8a\u8393\u3002\u7576\u4f60\u4eab\u7528\u65e9\u9910\u6642\u3001\u4e0b\u5348\u8336\u6642\u3001\u9910\u524d\u6709\u9ede\u9913\u6642\uff0c\u6216\u662f\u6236\u5916\u904b\u52d5\u6642\uff0c\u4e00\u4efd\u8f15\u5de7\u7121\u8ca0\u64d4\u7684\u71df\u990a\u68d2\uff0c\u65b9\u4fbf\u651d\u53d6\u5feb\u901f\u6eff\u8db3\uff01\u662f\u517c\u5177\u6a5f\u80fd\u6027\u8207\u98fd\u8db3\u611f\u6700\u4f73\u9078\u64c7\uff0c\u5373\u523b\u98fd\u8db3\uff0c\u8f15\u9b06\u7a69\u512a\uff01",1,"img-fluid"],["data-aos","fade-up","data-aos-duration","600"],["routerLink","/product03",3,"click"],["src","/assets/image/food-master/product-03.png","alt","\u7a69\u512aGlucoSmart\u6851\u8449\u6c34\u6dec\u9910\u62cc\u7c89\uff0c\u5e36\u60a8\u54c1\u5473\u5168\u65b0\u9957\u98df\u9ad4\u9a57\u3002\u900f\u904e\u6c34\u6dec\u6280\u8853\u53d6\u5f97DNJ\u6210\u5206\uff08\u7cd6\u82f7\u9176\u6291\u5236\u5291\uff09\uff0c\u542b\u91cf\u90545%\u4ee5\u4e0a\uff0c\u628a\u95dcDNJ\u6700\u4f73\u7d14\u5ea6\uff0c\u4ee5\u8349\u672c\u529b\u91cf\u5e6b\u52a9\u98f2\u98df\u7ba1\u7406\u3002\u805a\u6703\u6642\u3001\u61c9\u916c\u6642\u3001\u5927\u9910\u6642\uff0c\u96a8\u8eab\u651c\u5e36\u4e00\u5305\u8f15\u5de7\u55ae\u5305\uff0c\u7c21\u55ae\u6495\u958b\u3001\u6df7\u62cc\u5169\u6b65\u9a5f\uff0c\u4e0d\u5f71\u97ff\u98df\u7269\u53e3\u611f\u98a8\u5473\u3002\u4f34\u9910\u4e00\u5305\uff0c\u7f8e\u597d\u98df\u523b\uff01",1,"img-fluid"],[1,"py-5"],[1,"route-nav-box"],["toTopTheme","\u6642\u9593\u7ba1\u79d8\u8a23"]],template:function(t,e){1&t&&(So(0,"app-header"),Co(1,"h1",0),Uo(2,"\u7acb\u651d\u9069\u7a69\u512a \u7a69\u512aGluccoSmart \u505a\u81ea\u5df1\u7684\u98df\u9593\u7ba1\u7406\u5927\u5e2b"),xo(),Co(3,"div",1),Co(4,"div",2),So(5,"img",3),Co(6,"div",4),So(7,"img",5),So(8,"img",6),xo(),xo(),Co(9,"div",7),So(10,"img",8),xo(),xo(),Co(11,"div",9),Co(12,"div",10),Co(13,"div",11),So(14,"img",12),xo(),Co(15,"div",7),So(16,"img",13),xo(),Co(17,"div",14),Co(18,"div",15),Co(19,"div",16),Co(20,"div",17),So(21,"img",18),Co(22,"h2",0),Uo(23,"\u79d1\u5b78\u5be6\u8b49"),xo(),xo(),Co(24,"div",19),So(25,"img",20),Co(26,"h2",0),Uo(27,"\u8c50\u5bcc\u71df\u990a"),xo(),xo(),Co(28,"div",17),So(29,"img",21),Co(30,"h2",0),Uo(31,"\u8070\u660e\u98f2\u98df"),xo(),xo(),Co(32,"div",19),So(33,"img",22),Co(34,"h2",0),Uo(35,"\u65b9\u4fbf\u98df\u7528"),xo(),xo(),Co(36,"div",17),So(37,"img",23),Co(38,"h2",0),Uo(39,"\u6b61\u6a02\u805a\u9910"),xo(),xo(),xo(),Co(40,"div",24),Co(41,"div",25),Co(42,"div",26),So(43,"img",27),Co(44,"h2",0),Uo(45,"\u79d1\u5b78\u5be6\u8b49"),xo(),xo(),Co(46,"div",26),So(47,"img",28),Co(48,"h2",0),Uo(49,"\u8070\u660e\u98f2\u98df"),xo(),xo(),Co(50,"div",26),So(51,"img",29),Co(52,"h2",0),Uo(53,"\u6b61\u6a02\u805a\u9910"),xo(),xo(),xo(),Co(54,"div",30),Co(55,"div",31),So(56,"img",32),Co(57,"h2",0),Uo(58,"\u8c50\u5bcc\u71df\u990a"),xo(),xo(),Co(59,"div",31),So(60,"img",33),Co(61,"h2",0),Uo(62,"\u65b9\u4fbf\u98df\u7528"),xo(),xo(),xo(),xo(),xo(),xo(),xo(),Co(63,"div",34),Co(64,"div",35),Co(65,"div",36),Co(66,"div",37),Co(67,"a",38),ko("click",function(){return e.share.GA("click","\u98df\u9593\u7ba1\u7406\u79d8\u8a23","\u7a69\u512a\u96d9\u91cd\u7a69\u5b9a\u539f\u5473\u98a8\u5473"),e.share.goTo("body")}),So(68,"img",39),Co(69,"h2",0),Uo(70,"\u7a69\u512a\u96d9\u91cd\u7a69\u5b9a\u539f\u5473\u98a8\u5473"),xo(),xo(),xo(),xo(),Co(71,"div",36),Co(72,"div",40),Co(73,"a",41),ko("click",function(){return e.share.GA("click","\u98df\u9593\u7ba1\u7406\u79d8\u8a23","\u7a69\u512aGlucoSmart\u86cb\u767d\u7e96\u7a40\u68d2"),e.share.goTo("body")}),So(74,"img",42),Co(75,"h2",0),Uo(76,"\u7a69\u512aGlucoSmart\u86cb\u767d\u7e96\u7a40\u68d2"),xo(),xo(),xo(),xo(),Co(77,"div",36),Co(78,"div",43),Co(79,"a",44),ko("click",function(){return e.share.GA("click","\u98df\u9593\u7ba1\u7406\u79d8\u8a23","\u6851\u8449\u6c34\u6dec\u9910\u62cc\u7c89"),e.share.goTo("body")}),So(80,"img",45),Co(81,"h2",0),Uo(82,"\u7a69\u512aGlucoSmart\u6851\u8449\u6c34\u6dec\u9910\u62cc\u7c89"),xo(),xo(),xo(),xo(),xo(),So(83,"div",46),So(84,"div",46),xo(),xo(),Co(85,"div",47),So(86,"app-route-nav"),xo(),So(87,"app-footer",48))},directives:[hw,lw,ff,fw,_w],styles:[".title[_ngcontent-%COMP%]{font-family:NotoSansCJKtc-Bold,Noto Sans CJK TC;font-size:3.6rem;color:#588eec;letter-spacing:0}.banner-box[_ngcontent-%COMP%] .clock-box[_ngcontent-%COMP%]{width:calc(100% * (990 / 1920));right:8%;top:5.5%}.banner-box[_ngcontent-%COMP%] .clock-box[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{position:absolute;top:0}.main-box[_ngcontent-%COMP%] .p1-box[_ngcontent-%COMP%]{position:relative}.main-box[_ngcontent-%COMP%] .p1-box[_ngcontent-%COMP%] .feature-area[_ngcontent-%COMP%]{position:absolute;overflow:hidden;width:100%;top:-93px}.main-box[_ngcontent-%COMP%] .p1-box[_ngcontent-%COMP%] .feature-area[_ngcontent-%COMP%] .feature-box[_ngcontent-%COMP%]{padding:0 100px}.main-box[_ngcontent-%COMP%] .p2-box[_ngcontent-%COMP%]{overflow:hidden;background-image:url(/assets/image/food-master/d-p2-bg.jpg);background-size:cover;background-position:50% 0;background-repeat:no-repeat}.main-box[_ngcontent-%COMP%] .p2-box[_ngcontent-%COMP%] .product-box[_ngcontent-%COMP%]{max-width:1320px;padding:0 100px}div.route-nav-box[_ngcontent-%COMP%]{margin-top:-5%}@media (max-width: 1500px){div.route-nav-box[_ngcontent-%COMP%]{margin-top:-8%}}@media (max-width: 992px){.title[_ngcontent-%COMP%]{font-size:2.8rem}.main-box[_ngcontent-%COMP%] .p1-box[_ngcontent-%COMP%] .feature-area[_ngcontent-%COMP%]{top:-87px}.main-box[_ngcontent-%COMP%] .p1-box[_ngcontent-%COMP%] .feature-area[_ngcontent-%COMP%] .feature-box[_ngcontent-%COMP%]{padding:0 2%}.main-box[_ngcontent-%COMP%] .p1-box[_ngcontent-%COMP%] .feature-area[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{margin:0 -15px}.main-box[_ngcontent-%COMP%] .p2-box[_ngcontent-%COMP%]{background-image:url(/assets/image/food-master/m-p2-bg.jpg)}.main-box[_ngcontent-%COMP%] .p2-box[_ngcontent-%COMP%] .product-box[_ngcontent-%COMP%]{padding:0 10px}div.route-nav-box[_ngcontent-%COMP%]{padding-top:0;margin-top:-105px}}",".route-nav-box[_ngcontent-%COMP%]{background-image:url(/assets/image/product01/d-footer-bg.png);background-size:cover;background-position:50% 0;background-repeat:no-repeat;padding-top:5%}.fix-box[_ngcontent-%COMP%]{position:absolute;top:-40px;right:0}.fix-box[_ngcontent-%COMP%] .btn-box[_ngcontent-%COMP%]{width:calc(100% / 2);max-width:200px;position:relative;box-shadow:0 5px 8px rgba(0,0,0,.4);border-radius:10px 10px 0 0;font-family:NotoSansCJKtc-Medium;font-size:16px;color:#fff;letter-spacing:0;text-align:center;padding:10px 0;margin:0 2px}.fix-box[_ngcontent-%COMP%] .btn-box[_ngcontent-%COMP%]:hover{top:-5px}.fix-box[_ngcontent-%COMP%] .btn-box.btn-take[_ngcontent-%COMP%]{background-image:linear-gradient(180deg,#9ebede 0%,#658aba 100%)}.fix-box[_ngcontent-%COMP%] .btn-box.btn-buy[_ngcontent-%COMP%]{background-image:linear-gradient(180deg,#9fe3f6 0%,#66c3ea 100%)}.fix-box[_ngcontent-%COMP%] .btn-box.btn-call[_ngcontent-%COMP%]{background-image:linear-gradient(180deg,#3364a6 0%,#17346d 100%)}.fix-box[_ngcontent-%COMP%] .btn-box[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:#fff}.fix-box[_ngcontent-%COMP%] .btn-box[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:30px}.fix-box[_ngcontent-%COMP%] .btn-box[_ngcontent-%COMP%] img.call[_ngcontent-%COMP%]{width:24px}@media (max-width: 992px){.route-nav-box[_ngcontent-%COMP%]{background-image:url(/assets/image/product01/m-footer-bg.png);padding-top:20%}}"]}),t})(),kw=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Vt({type:t,selectors:[["app-dialog-02"]],decls:5,vars:0,consts:[["mat-dialog-title","",1,"px-4","position-relative"],[1,"mx-auto","text-center","px-4"]],template:function(t,e){1&t&&(Co(0,"h3",0),Uo(1," \u96c0\u5de2\u5065\u5eb7\u79d1\u5b78\u8aee\u8a62\u8a02\u8cfc\u5c08\u7dda\n"),xo(),Co(2,"mat-dialog-content"),Co(3,"div",1),Uo(4," 0800-070-127 "),xo(),xo())},directives:[tv,ev],styles:["h2[_ngcontent-%COMP%]{background:#588eec;border-radius:15px;font-family:NotoSansCJKtc-Regular;font-size:18px;color:#fff;letter-spacing:0;text-align:center;line-height:30px;position:relative}h2[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{position:absolute;right:-30px;top:-25px;color:#000}h3[_ngcontent-%COMP%]{font-family:NotoSansCJKtc-Medium;font-size:18px;color:#000;letter-spacing:0;text-align:center;line-height:30px}@media (max-width: 992px){h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%]{font-size:16px}}"]}),t})();const Ew=[{path:"product01",component:Pw},{path:"food-master",component:yw},{path:"router",component:(()=>{class t{constructor(t,e,n,s,i){this.title=t,this.meta=e,this.share=n,this.dialog=s,this.platformId=i;const r="\u901a\u8def\u8207\u670d\u52d9\uff5c\u7acb\u651d\u9069\u7a69\u512a \u4e00\u822c\u98df\u54c1\u9928\uff5cNestle Health Science";this.title.setTitle(r),this.meta.updateTag({content:r},'property="og:title"'),this.meta.updateTag({content:r},'property="og:site_name"')}ngOnInit(){}ngAfterViewInit(){Jc(this.platformId)||AOS.init()}openDialog(){this.dialog.open(kw,{width:"650px",maxWidth:"95vw"})}}return t.\u0275fac=function(e){return new(e||t)(bo(ju),bo(Du),bo(uw),bo(Jb),bo(Tl))},t.\u0275cmp=Vt({type:t,selectors:[["app-router"]],decls:65,vars:0,consts:[[1,"router-area","pt-5","pb-5"],[1,"fix-bg"],[1,"row","container","mx-auto","router-box"],[1,"col-12","title","text-center","py-5"],[1,"col-12","col-lg-6","d-flex","justify-content-center","justify-content-lg-end","py-4"],[1,"image-box"],["href","https://www.nutrition-support.com.tw/v2/official/SalePageCategory/427553?sortMode=Curator","target","_blank",3,"click"],["src","/sites/default/files/220711diabetic-router-router-01.png","alt","\u96c0\u5de2\u5065\u5eb7\u79d1\u5b78\u65d7\u8266\u5546\u57ce",1,"img-fluid"],[1,"col-12","col-lg-6","d-flex","justify-content-center","justify-content-lg-start","py-4"],["href","#","onclick","return false;",3,"click"],["src","/sites/default/files/230224product01-router-02.png","alt","\u96c0\u5de2\u5065\u5eb7\u79d1\u5b78\u8aee\u8a62\u8a02\u8cfc\u5c08\u7dda0800-070-127",1,"img-fluid"],[1,"my-5","mx-auto"],["href","https://www.momoshop.com.tw/category/DgrpCategory.jsp?d_code=1205300027&p_orderType=6&showType=chessboardType","target","_blank",3,"click"],["src","/sites/default/files/230224product01-router-03.png","alt","\u524d\u5f80MOMO\u8cfc\u7269\u7db2\u8ce3\u5834\uff0c\u8cfc\u8cb7\u96c0\u5de2\u7a69\u512a",1,"img-fluid"],["href","https://24h.pchome.com.tw/store/DBBA12","target","_blank",3,"click"],["src","/sites/default/files/230224product01-router-04.png","alt","\u524d\u5f80Pchome\u7dda\u4e0a\u8cfc\u7269\u8ce3\u5834\uff0c\u8cfc\u8cb7\u96c0\u5de2\u7a69\u512a",1,"img-fluid"],[1,"py-5","my-5"],[1,"route-nav-box"],["inside",""],[1,"store-box","py-5"],[1,"title","text-center","pb-5"],[1,"text-center","mx-auto","btn-box","py-5"],["href","https://www.nestlehealthscience.com.tw/siteassets/nestle-storelocation/index","target","_blank",3,"click"],[1,"d-none","d-lg-block","mx-auto"],["src","/sites/default/files/230224product01-d-button.png","alt","\u524d\u5f80\u67e5\u8a62\u5168\u53f0\u5920\u5927\u5be6\u9ad4\u901a\u8def",1,"img-fluid"],[1,"d-lg-none","mx-auto"],["src","/sites/default/files/230224product01-m-button.png","alt","\u524d\u5f80\u67e5\u8a62\u5168\u53f0\u5920\u5927\u5be6\u9ad4\u901a\u8def",1,"img-fluid"],[1,"py-5","my-3"],[1,"title","text-center","py-5"],[1,"d-none","d-lg-block"],[1,"d-lg-none"],[1,"row","container","mx-auto","py-5","icon-box"],[1,"col-6","d-flex","justify-content-lg-end"],["href","https://www.facebook.com/TW.NHS.ifamily2016/","target","_blank",3,"click"],["src","/sites/default/files/230224product01-fb.png","alt","\u6b61\u8fce\u52a0\u5165\u96c0\u5de2\u5065\u5eb7\u611b\u5bb6\u65cfFacebook",1,"img-fluid"],[1,"col-6","d-flex","justify-content-lg-start"],["href","https://page.line.me/ycv7155b","target","_blank",3,"click"],["src","/sites/default/files/230224product01-line.png","alt","\u6b61\u8fce\u52a0\u5165\u96c0\u5de2\u5065\u5eb7\u611b\u5bb6\u65cfLINE\u5b98\u65b9\u5e33\u865f",1,"img-fluid"],["toTopTheme","\u4e00\u822c\u98df\u54c1\u9928_\u901a\u8def\u8207\u670d\u52d9"]],template:function(t,e){1&t&&(So(0,"app-header"),Co(1,"div",0),So(2,"div",1),Co(3,"div",2),Co(4,"div",3),Uo(5,"\u8ca9\u552e\u901a\u8def"),xo(),Co(6,"div",4),Co(7,"div",5),Co(8,"a",6),ko("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3f\u901a\u8def\u8207\u670d\u52d9","\u65d7\u8266\u5546\u57ce")}),So(9,"img",7),xo(),xo(),xo(),Co(10,"div",8),Co(11,"div",5),Co(12,"a",9),ko("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3f\u901a\u8def\u8207\u670d\u52d9","\u8aee\u8a62\u8a02\u8cfc\u5c08\u7dda"),e.openDialog()}),So(13,"img",10),xo(),xo(),xo(),xo(),So(14,"hr",11),Co(15,"div",2),Co(16,"div",3),Uo(17,"\u7db2\u8def\u8a02\u8cfc"),xo(),Co(18,"div",4),Co(19,"div",5),Co(20,"a",12),ko("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3f\u901a\u8def\u8207\u670d\u52d9","Momo\u8cfc\u7269\u7db2")}),So(21,"img",13),xo(),xo(),xo(),Co(22,"div",8),Co(23,"div",5),Co(24,"a",14),ko("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3f\u901a\u8def\u8207\u670d\u52d9","PChome\u7dda\u4e0a\u8cfc\u7269")}),So(25,"img",15),xo(),xo(),xo(),xo(),So(26,"div",16),So(27,"div",16),xo(),Co(28,"div",17),Co(29,"app-route-nav"),Co(30,"div",18),Co(31,"div",19),Co(32,"div",20),Uo(33,"\u5be6\u9ad4\u901a\u8def"),xo(),Co(34,"div",21),Co(35,"a",22),ko("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3f\u901a\u8def\u8207\u670d\u52d9","\u5be6\u9ad4\u901a\u8def\u524d\u5f80\u67e5\u8a62")}),Co(36,"div",23),So(37,"img",24),xo(),Co(38,"div",25),So(39,"img",26),xo(),xo(),xo(),So(40,"div",27),Co(41,"div",28),Co(42,"div",29),Uo(43," \u6b61\u8fce\u52a0\u5165\u96c0\u5de2\u5065\u5eb7\u79d1\u5b78 Facebook \u53ca LINE"),So(44,"br"),Uo(45," \u7372\u5f97\u6700\u65b0\u6d3b\u52d5\u8a0a\u606f\u53ca\u885b\u6559\u8cc7\u8a0a\uff01 "),xo(),Co(46,"div",30),Uo(47," \u6b61\u8fce\u52a0\u5165\u96c0\u5de2\u5065\u5eb7\u79d1\u5b78"),So(48,"br"),Uo(49," Facebook \u53ca LINE"),So(50,"br"),Uo(51," \u7372\u5f97\u6700\u65b0\u6d3b\u52d5\u8a0a\u606f\u53ca"),So(52,"br"),Uo(53," \u885b\u6559\u8cc7\u8a0a\uff01 "),xo(),xo(),Co(54,"div",31),Co(55,"div",32),Co(56,"div",5),Co(57,"a",33),ko("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3f\u901a\u8def\u8207\u670d\u52d9","\u96c0\u5de2\u5065\u5eb7\u611b\u5bb6\u65cfFacebook")}),So(58,"img",34),xo(),xo(),xo(),Co(59,"div",35),Co(60,"div",5),Co(61,"a",36),ko("click",function(){return e.share.GA("click","\u4e00\u822c\u98df\u54c1\u9928\uff3f\u901a\u8def\u8207\u670d\u52d9","\u96c0\u5de2\u5065\u5eb7\u540c\u5b78\u6703LINE\u6703\u54e1")}),So(62,"img",37),xo(),xo(),xo(),xo(),xo(),So(63,"div",16),xo(),xo(),xo(),So(64,"app-footer",38))},directives:[hw,lw,fw,_w],styles:[".title[_ngcontent-%COMP%]{font-family:NotoSansCJKtc-Bold,Noto Sans CJK TC;font-size:3.6rem;line-height:5rem;color:#1146a9;letter-spacing:0}.router-area[_ngcontent-%COMP%]{position:relative;background-image:url(/sites/default/files/230224product01-d-router-bg.png);background-size:100%;background-position:50% 100%;background-repeat:no-repeat}.router-area[_ngcontent-%COMP%] .fix-bg[_ngcontent-%COMP%]{position:absolute;top:0;left:0;background-color:#b4e2f5;height:50%;z-index:-1;width:100%}.router-area[_ngcontent-%COMP%] .image-box[_ngcontent-%COMP%]{max-width:350px}hr[_ngcontent-%COMP%]{max-width:1200px;background-color:#40b4e5;height:2px}.store-box[_ngcontent-%COMP%] .btn-box[_ngcontent-%COMP%]{max-width:800px}.store-box[_ngcontent-%COMP%] .icon-box[_ngcontent-%COMP%] .image-box[_ngcontent-%COMP%]{max-width:300px}div.route-nav-box[_ngcontent-%COMP%]{padding-top:0}@media (max-width: 992px){.title[_ngcontent-%COMP%]{font-size:2.8rem}.router-area[_ngcontent-%COMP%]{background-image:url(/sites/default/files/230224product01-m-router-bg.png)}}",".route-nav-box[_ngcontent-%COMP%]{background-image:url(/assets/image/product01/d-footer-bg.png);background-size:cover;background-position:50% 0;background-repeat:no-repeat;padding-top:5%}.fix-box[_ngcontent-%COMP%]{position:absolute;top:-40px;right:0}.fix-box[_ngcontent-%COMP%] .btn-box[_ngcontent-%COMP%]{width:calc(100% / 2);max-width:200px;position:relative;box-shadow:0 5px 8px rgba(0,0,0,.4);border-radius:10px 10px 0 0;font-family:NotoSansCJKtc-Medium;font-size:16px;color:#fff;letter-spacing:0;text-align:center;padding:10px 0;margin:0 2px}.fix-box[_ngcontent-%COMP%] .btn-box[_ngcontent-%COMP%]:hover{top:-5px}.fix-box[_ngcontent-%COMP%] .btn-box.btn-take[_ngcontent-%COMP%]{background-image:linear-gradient(180deg,#9ebede 0%,#658aba 100%)}.fix-box[_ngcontent-%COMP%] .btn-box.btn-buy[_ngcontent-%COMP%]{background-image:linear-gradient(180deg,#9fe3f6 0%,#66c3ea 100%)}.fix-box[_ngcontent-%COMP%] .btn-box.btn-call[_ngcontent-%COMP%]{background-image:linear-gradient(180deg,#3364a6 0%,#17346d 100%)}.fix-box[_ngcontent-%COMP%] .btn-box[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:#fff}.fix-box[_ngcontent-%COMP%] .btn-box[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:30px}.fix-box[_ngcontent-%COMP%] .btn-box[_ngcontent-%COMP%] img.call[_ngcontent-%COMP%]{width:24px}@media (max-width: 992px){.route-nav-box[_ngcontent-%COMP%]{background-image:url(/assets/image/product01/m-footer-bg.png);padding-top:20%}}"]}),t})()},{path:"portal",component:Ow}],Tw=[...Ew,{path:"**",component:(()=>{if(null==globalThis?void 0:globalThis.window){const t=globalThis.window.location.pathname.split("/").pop(),e=Ew.find(e=>e.path===t);if(e&&e.component)return e.component}return Ow})()}];let Mw=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Kt({type:t}),t.\u0275inj=gt({imports:[[Pf.forRoot(Tw,{initialNavigation:"enabled",useHash:!0})],Pf]}),t})();const Aw=["/sites/default/files/btn-buy.png","/sites/default/files/btn-call.png","/sites/default/files/btn-take.png","/sites/default/files/food-master/d-banner-clock-01.png","/sites/default/files/food-master/d-banner-clock-02.png","/sites/default/files/food-master/d-banner.jpg","/sites/default/files/food-master/d-p1-box.jpg","/sites/default/files/food-master/d-p2-bg.jpg","/sites/default/files/food-master/feature-01.png","/sites/default/files/food-master/feature-02.png","/sites/default/files/food-master/feature-03.png","/sites/default/files/food-master/feature-04.png","/sites/default/files/food-master/feature-05.png","/sites/default/files/food-master/m-banner.jpg","/sites/default/files/food-master/m-p1-box.jpg","/sites/default/files/food-master/m-p2-bg.jpg","/sites/default/files/food-master/product-01.png","/sites/default/files/food-master/product-02.png","/sites/default/files/footer_nestle_logo.png","/sites/default/files/230224product01-icon-buy.png","/sites/default/files/icon-call.png","/sites/default/files/icon-take.png","/sites/default/files/logo.png","/sites/default/files/nestle_logo.png","/sites/default/files/portal/d-banner.jpg","/sites/default/files/portal/d-bg.jpg","/sites/default/files/portal/d-footer-shadow.png","/sites/default/files/portal/d-mid.png","/sites/default/files/portal/d-nav-01.png","/sites/default/files/portal/d-nav-02.png","/sites/default/files/portal/d-title.png","/sites/default/files/portal/logo-left.png","/sites/default/files/portal/logo-right.png","/sites/default/files/portal/m-banner.jpg","/sites/default/files/portal/m-bg.jpg","/sites/default/files/portal/m-footer-shadow.png","/sites/default/files/portal/m-mid.png","/sites/default/files/portal/m-nav-01.png","/sites/default/files/portal/m-nav-02.png","/sites/default/files/portal/m-title.png","/sites/default/files/portal/next-01.png","/sites/default/files/portal/next-02.png","/sites/default/files/portal/product-01.png","/sites/default/files/portal/product-02.png","/sites/default/files/portal/product-03.png","/sites/default/files/portal/route-fb.png","/sites/default/files/portal/route-line.png","/sites/default/files/portal/route-web.png","/sites/default/files/portal/top.png","/sites/default/files/product01/btn.png","/sites/default/files/product01/d-audience.png","/sites/default/files/product01/d-banner.jpg","/sites/default/files/product01/d-bottom-bg.png","/sites/default/files/product01/d-content.png","/sites/default/files/product01/d-footer-bg.png","/sites/default/files/product01/d-info-product.png","/sites/default/files/product01/d-info-title.png","/sites/default/files/product01/d-middle-bg.jpg","/sites/default/files/product01/d-middle-bg.png","/sites/default/files/product01/d-usage-scenarios-item-01.png","/sites/default/files/product01/d-usage-scenarios-item-02.png","/sites/default/files/product01/d-usage-scenarios-item-03.png","/sites/default/files/product01/info.png","/sites/default/files/product01/item-1.png","/sites/default/files/product01/item-2.png","/sites/default/files/product01/item-3.png","/sites/default/files/product01/item-4.png","/sites/default/files/product01/item-5.png","/sites/default/files/product01/item-6.png","/sites/default/files/product01/m-audience.png","/sites/default/files/product01/m-banner.jpg","/sites/default/files/product01/m-bottom-bg.png","/sites/default/files/product01/m-content.png","/sites/default/files/product01/m-footer-bg.png","/sites/default/files/product01/m-info-product.png","/sites/default/files/product01/m-info-title.png","/sites/default/files/product01/m-middle-bg.jpg","/sites/default/files/product01/m-usage-scenarios-item-01.png","/sites/default/files/product01/m-usage-scenarios-item-02.png","/sites/default/files/product01/m-usage-scenarios-item-03.png","/sites/default/files/product01/usage-scenarios-01.png","/sites/default/files/product01/usage-scenarios-d-02.png","/sites/default/files/product01/usage-scenarios-m-02.png","/sites/default/files/product02/bg-img-1.png","/sites/default/files/product02/bg-img-2.png","/sites/default/files/product02/bg-img-3.png","/sites/default/files/product02/bg-img-4.png","/sites/default/files/product02/bg-img-5.png","/sites/default/files/product02/bg-img-6.png","/sites/default/files/product02/d-banner.jpg","/sites/default/files/product02/d-bg.jpg","/sites/default/files/product02/d-content.png","/sites/default/files/product02/d-icon.png","/sites/default/files/product02/d-p1-bg.png","/sites/default/files/product02/d-p1-content.png","/sites/default/files/product02/d-p1-icon.png","/sites/default/files/product02/d-p1-item-01.png","/sites/default/files/product02/d-p1-item-02.png","/sites/default/files/product02/d-p1-item-03.png","/sites/default/files/product02/d-p1-item-04.png","/sites/default/files/product02/d-p1-item-05.png","/sites/default/files/product02/d-p1-title-image-box.png","/sites/default/files/product02/d-p1-title.png","/sites/default/files/product02/d-p1.png","/sites/default/files/product02/d-p2-title.png","/sites/default/files/product02/d-p3-content.png","/sites/default/files/product02/d-p4-content-center.png","/sites/default/files/product02/d-p4-content-item-01.png","/sites/default/files/product02/d-p4-content-item-02.png","/sites/default/files/product02/d-p4-content-item-03.png","/sites/default/files/product02/d-p4-content-item-04.png","/sites/default/files/product02/d-p4-content.png","/sites/default/files/product02/d-p4-subtitle.png","/sites/default/files/product02/d-p4-title.png","/sites/default/files/product02/d-p5-bg-test.png","/sites/default/files/product02/d-p5-bg.png","/sites/default/files/product02/d-p5-item-01.png","/sites/default/files/product02/d-p5-item-02.png","/sites/default/files/product02/d-p5-item-03.png","/sites/default/files/product02/d-p5-item-04.png","/sites/default/files/product02/d-p5-title.png","/sites/default/files/product02/m-banner.jpg","/sites/default/files/product02/m-bg.jpg","/sites/default/files/product02/m-content.png","/sites/default/files/product02/m-icon.png","/sites/default/files/product02/m-p1-bg.png","/sites/default/files/product02/m-p1-content.png","/sites/default/files/product02/m-p1-item-01.png","/sites/default/files/product02/m-p1-item-02.png","/sites/default/files/product02/m-p1-item-03.png","/sites/default/files/product02/m-p1-item-04.png","/sites/default/files/product02/m-p1-item-05.png","/sites/default/files/product02/m-p1-title-image-box.png","/sites/default/files/product02/m-p1-title.png","/sites/default/files/product02/m-p1.png","/sites/default/files/product02/m-p2-title.png","/sites/default/files/product02/m-p3-content.png","/sites/default/files/product02/m-p4-content.png","/sites/default/files/product02/m-p4-subtitle.png","/sites/default/files/product02/m-p4-title.png","/sites/default/files/product02/m-p5-bg.png","/sites/default/files/product02/m-p5-item-01.png","/sites/default/files/product02/m-p5-item-02.png","/sites/default/files/product02/m-p5-item-03.png","/sites/default/files/product02/m-p5-item-04.png","/sites/default/files/product02/m-p5-title.png","/sites/default/files/product02/p2-product-item-01.png","/sites/default/files/product02/p2-product-item-02.png","/sites/default/files/product02/p2-product-item-03.png","/sites/default/files/product02/p2-product.png","/sites/default/files/product02/p2-subtitle.png","/sites/default/files/product03/arrow_down.png","/sites/default/files/product03/arrow_up.png","/sites/default/files/product03/d-banner.jpg","/sites/default/files/product03/d-bg-item-01.png","/sites/default/files/product03/d-bg-item-02.png","/sites/default/files/product03/d-bg-item-03.png","/sites/default/files/product03/d-bg-item-04.png","/sites/default/files/product03/d-bg-item-05.png","/sites/default/files/product03/d-bg-item-06.png","/sites/default/files/product03/d-bg.jpg","/sites/default/files/product03/d-bottom-bg.png","/sites/default/files/product03/d-content.png","/sites/default/files/product03/d-p1-banner.png","/sites/default/files/product03/d-p1-item-01.png","/sites/default/files/product03/d-p1-item-02.png","/sites/default/files/product03/d-p1-item-03.png","/sites/default/files/product03/d-p1-title.png","/sites/default/files/product03/d-p2-item-01.png","/sites/default/files/product03/d-p2-item-02.png","/sites/default/files/product03/d-p2-item-03.png","/sites/default/files/product03/d-p2-product.png","/sites/default/files/product03/d-p2-title.png","/sites/default/files/product03/d-p3-title.png","/sites/default/files/product03/d-p4-title.png","/sites/default/files/product03/d-p5-banner.png","/sites/default/files/product03/d-p7-banner.png","/sites/default/files/product03/d-p7-item-01.png","/sites/default/files/product03/d-p7-item-02.png","/sites/default/files/product03/d-p7-item-03.png","/sites/default/files/product03/d-p7-item-04.png","/sites/default/files/product03/m-banner.jpg","/sites/default/files/product03/m-bg.jpg","/sites/default/files/product03/m-bottom-bg.png","/sites/default/files/product03/m-content.png","/sites/default/files/product03/m-p1-banner.png","/sites/default/files/product03/m-p1-item-01.png","/sites/default/files/product03/m-p1-item-02.png","/sites/default/files/product03/m-p1-item-03.png","/sites/default/files/product03/m-p2-item-01.png","/sites/default/files/product03/m-p2-item-02.png","/sites/default/files/product03/m-p2-item-03.png","/sites/default/files/product03/m-p2-product.png","/sites/default/files/product03/m-p2-title.png","/sites/default/files/product03/m-p3-title.png","/sites/default/files/product03/m-p4-title.png","/sites/default/files/product03/m-p5-banner.png","/sites/default/files/product03/m-p7-banner.png","/sites/default/files/product03/m-p7-item-01.png","/sites/default/files/product03/m-p7-item-02.png","/sites/default/files/product03/m-p7-item-03.png","/sites/default/files/product03/m-p7-item-04.png","/sites/default/files/product03/p3-item-01.png","/sites/default/files/product03/p3-item-02.png","/sites/default/files/product03/p3-item-03.png","/sites/default/files/product03/p4-item-01.png","/sites/default/files/product03/p4-item-02.png","/sites/default/files/product03/p4-item-03.png","/sites/default/files/product03/p4-item-04.png","/sites/default/files/product03/p4-item-05.png","/sites/default/files/product03/p4-item-06.png","/sites/default/files/route-01.png","/sites/default/files/route-02.png","/sites/default/files/route-03.png","/sites/default/files/route-fb.png","/sites/default/files/route-line.png","/sites/default/files/route-m-01.png","/sites/default/files/route-m-02.png","/sites/default/files/route-m-03.png","/sites/default/files/route-web.png","/sites/default/files/router/d-button.png","/sites/default/files/router/d-router-bg.png","/sites/default/files/router/fb.png","/sites/default/files/router/line.png","/sites/default/files/router/m-button.png","/sites/default/files/router/m-router-bg.png","/sites/default/files/router/router-01.png","/sites/default/files/router/router-02.png","/sites/default/files/router/router-03.png","/sites/default/files/router/router-04.png","/sites/default/files/shoppinh.png","/sites/default/files/take.png","/sites/default/files/top.png"];let Rw=(()=>{class t{constructor(t){this.platformId=t}ngAfterViewInit(){Jc(this.platformId)||($("body").on("click","img,footer,.container, .route-nav-box",function(){$("#navbarSupportedContent").hasClass("show")&&$(".container-fluid > button").trigger("click")}),Bf(3e3).subscribe(()=>Aw.forEach(t=>(new Image).src=t)))}}return t.\u0275fac=function(e){return new(e||t)(bo(Tl))},t.\u0275cmp=Vt({type:t,selectors:[["app-root"]],decls:1,vars:0,template:function(t,e){1&t&&So(0,"router-outlet")},directives:[mf],encapsulation:2}),t})(),Iw=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Kt({type:t,bootstrap:[Rw]}),t.\u0275inj=gt({providers:[],imports:[[Iu.withServerTransition({appId:"serverApp"}),Mw,sv,ow,cv,wb,Vv]]}),t})();function Nw(){Au().bootstrapModule(Iw).catch(t=>console.error(t))}!function(){if(nc)throw new Error("Cannot enable prod mode after platform setup.");ec=!1}(),"complete"===document.readyState?Nw():document.addEventListener("DOMContentLoaded",Nw)}},function(t){t(t.s=5418)}]);