PageSourceSearch

https://demo.mkup.orbo.ai/main.069486373b2ff9ed109a.js

js orbo.ai collected 2026-09-24 09:42:08 UTC 380,381 bytes, 1 lines download raw bytes

1(self.webpackChunksupertouch_webapp=self.webpackChunksupertouch_webapp||[]).push([[179],{255:t=>{function e(t){return Promise.resolve().then(()=>{var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}e.keys=()=>[],e.resolve=e,e.id=255,t.exports=e},152:(t,e,n)=>{"use strict";function r(t){return"function"==typeof t}let s=!1;const i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else s&&console.log("RxJS: Back to a better error behavior. Thank you. <3");s=t},get useDeprecatedSynchronousErrorHandling(){return s}};function o(t){setTimeout(()=>{throw t},0)}const a={closed:!0,next(t){},error(t){if(i.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:s,_subscriptions:i}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,e instanceof h)e.remove(this);else if(null!==e)for(let r=0;r<e.length;++r)e[r].remove(this);if(r(s)){n&&(this._unsubscribe=void 0);try{s.call(this)}catch(o){t=o instanceof u?d(o.errors):[o]}}if(l(i)){let e=-1,n=i.length;for(;++e<n;){const n=i[e];if(c(n))try{n.unsubscribe()}catch(o){t=t||[],o instanceof u?t=t.concat(d(o.errors)):t.push(o)}}}if(t)throw new u(t)}add(t){let e=t;if(!t)return h.EMPTY;switch(typeof t){case"function":e=new h(t);case"object":if(e===this||e.closed||"function"!=typeof e.unsubscribe)return e;if(this.closed)return e.unsubscribe(),e;if(!(e instanceof h)){const t=e;e=new h,e._subscriptions=[t]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:n}=e;if(null===n)e._parentOrParents=this;else if(n instanceof h){if(n===this)return e;e._parentOrParents=[n,this]}else{if(-1!==n.indexOf(this))return e;n.push(this)}const r=this._subscriptions;return null===r?this._subscriptions=[e]:r.push(e),e}remove(t){const e=this._subscriptions;if(e){const n=e.indexOf(t);-1!==n&&e.splice(n,1)}}}function d(t){return t.reduce((t,e)=>t.concat(e instanceof u?e.errors:e),[])}h.EMPTY=function(t){return t.closed=!0,t}(new h);const p="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class f extends h{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a;break;case 1:if(!t){this.destination=a;break}if("object"==typeof t){t instanceof f?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new g(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new g(this,t,e,n)}}[p](){return this}static create(t,e,n){const r=new f(t,e,n);return r.syncErrorThrowable=!1,r}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class g extends f{constructor(t,e,n,s){let i;super(),this._parentSubscriber=t;let o=this;
vendor: 12,405 bytes, line 1
1r(e)?i=e:e&&(i=e.next,n=e.error,s=e.complete,e!==a&&(o=Object.create(e),r(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=i,this._error=n,this._complete=s}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;i.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=i;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):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);i.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),i.useDeprecatedSynchronousErrorHandling)throw n;o(n)}}__tryOrSetError(t,e,n){if(!i.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(r){return i.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(o(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const m="function"==typeof Symbol&&Symbol.observable||"@@observable";function y(t){return t}let _=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:r}=this,s=function(t,e,n){if(t){if(t instanceof f)return t;if(t[p])return t[p]()}return t||e||n?new f(t,e,n):new f(a)}(t,e,n);if(s.add(r?r.call(s,this.source):this.source||i.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),i.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(t){try{return this._subscribe(t)}catch(e){i.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:r}=t;if(e||r)return!1;t=n&&n instanceof f?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=v(e))((e,n)=>{let r;r=this.subscribe(e=>{try{t(e)}catch(s){n(s),r&&r.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[m](){return this}pipe(...t){return 0===t.length?this:(0===(e=t).length?y:1===e.length?e[0]:function(t){return e.reduce((t,e)=>e(t),t)})(this);var e}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=i.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const C=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class b 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 w extends f{constructor(t){super(t),this.destination=t}}let S=(()=>{class t extends _{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[p](){return new w(this)}lift(t){const e=new k(this,this);return e.operator=t,e}next(t){if(this.closed)throw new C;if(!this.isStopped){const{observers:e}=this,n=e.length,r=e.slice();for(let s=0;s<n;s++)r[s].next(t)}}error(t){if(this.closed)throw new C;this.hasError=!0,this.thrownError=t,this.isStopped=!0;const{observers:e}=this,n=e.length,r=e.slice();for(let s=0;s<n;s++)r[s].error(t);this.observers.length=0}complete(){if(this.closed)throw new C;this.isStopped=!0;const{observers:t}=this,e=t.length,n=t.slice();for(let r=0;r<e;r++)n[r].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(t){if(this.closed)throw new C;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new C;return this.hasError?(t.error(this.thrownError),h.EMPTY):this.isStopped?(t.complete(),h.EMPTY):(this.observers.push(t),new b(this,t))}asObservable(){const t=new _;return t.source=this,t}}return t.create=(t,e)=>new k(t,e),t})();class k 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 x(t){return t&&"function"==typeof t.schedule}function E(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 T(t,e))}}class T{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new P(t,this.project,this.thisArg))}}class P extends f{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}const I=t=>e=>{for(let n=0,r=t.length;n<r&&!e.closed;n++)e.next(t[n]);e.complete()},O="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator",A=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function M(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const R=t=>{if(t&&"function"==typeof t[m])return n=t,t=>{const e=n[m]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(A(t))return I(t);if(M(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[O])return e=t,t=>{const n=e[O]();for(;;){let e;try{e=n.next()}catch(r){return t.error(r),t}if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t};{const e=c(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var e,n};function F(t,e){return new _(n=>{const r=new h;let s=0;return r.add(e.schedule(function(){s!==t.length?(n.next(t[s++]),n.closed||r.add(this.schedule())):n.complete()})),r})}function N(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[m]}(t))return function(t,e){return new _(n=>{const r=new h;return r.add(e.schedule(()=>{const s=t[m]();r.add(s.subscribe({next(t){r.add(e.schedule(()=>n.next(t)))},error(t){r.add(e.schedule(()=>n.error(t)))},complete(){r.add(e.schedule(()=>n.complete()))}}))})),r})}(t,e);if(M(t))return function(t,e){return new _(n=>{const r=new h;return r.add(e.schedule(()=>t.then(t=>{r.add(e.schedule(()=>{n.next(t),r.add(e.schedule(()=>n.complete()))}))},t=>{r.add(e.schedule(()=>n.error(t)))}))),r})}(t,e);if(A(t))return F(t,e);if(function(t){return t&&"function"==typeof t[O]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new _(n=>{const r=new h;let s;return r.add(()=>{s&&"function"==typeof s.return&&s.return()}),r.add(e.schedule(()=>{s=t[O](),r.add(e.schedule(function(){if(n.closed)return;let t,e;try{const n=s.next();t=n.value,e=n.done}catch(r){return void n.error(r)}e?n.complete():(n.next(t),this.schedule())}))})),r})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof _?t:new _(R(t))}class j extends f{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 L extends f{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function D(t,e){if(e.closed)return;if(t instanceof _)return t.subscribe(e);let n;try{n=R(t)(e)}catch(r){e.error(r)}return n}function U(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?r=>r.pipe(U((n,r)=>N(t(n,r)).pipe(E((t,s)=>e(n,t,r,s))),n)):("number"==typeof e&&(n=e),e=>e.lift(new H(t,n)))}class H{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new $(t,this.project,this.concurrent))}}class $ extends L{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.active<this.concurrent?this._tryNext(t):this.buffer.push(t)}_tryNext(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(e)}_innerSub(t){const e=new j(this),n=this.destination;n.add(e);const r=D(t,e);r!==e&&n.add(r)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(t){this.destination.next(t)}notifyComplete(){const t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function V(t=Number.POSITIVE_INFINITY){return U(y,t)}function z(t,e){return e?F(t,e):new _(I(t))}function B(){return function(t){return t.lift(new q(t))}}class q{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const r=new Z(t,n),s=e.subscribe(r);return r.closed||(r.connection=n.connect()),s}}class Z extends f{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}class K extends _{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new h,t.add(this.source.subscribe(new W(this.getSubject(),this))),t.closed&&(this._connection=null,t=h.EMPTY)),t}refCount(){return B()(this)}}const Q=(()=>{const t=K.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 W extends w{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 G(){return new S}function J(t){for(let e in t)if(t[e]===J)return e;throw Error("Could not find renamed property on target object.")}function Y(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(Y).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 X(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const tt=J({__forward_ref__:J});function et(t){return t.__forward_ref__=et,t.toString=function(){return Y(this())},t}function nt(t){return"function"==typeof(e=t)&&e.hasOwnProperty(tt)&&e.__forward_ref__===et?t():t;var e}
1class rt extends Error{constructor(t,e){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}(t,e)),this.code=t}}function st(t){return"string"==typeof t?t:null==t?"":String(t)}function it(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():st(t)}function ot(t,e){const n=e?` in ${e}`:"";throw new rt("201",`No provider for ${it(t)} found${n}`)}function at(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function lt(t){return{providers:t.providers||[],imports:t.imports||[]}}function ct(t){return ut(t,dt)||ut(t,ft)}function ut(t,e){return t.hasOwnProperty(e)?t[e]:null}function ht(t){return t&&(t.hasOwnProperty(pt)||t.hasOwnProperty(gt))?t[pt]:null}const dt=J({"\u0275prov":J}),pt=J({"\u0275inj":J}),ft=J({ngInjectableDef:J}),gt=J({ngInjectorDef:J});var mt=(()=>((mt=mt||{})[mt.Default=0]="Default",mt[mt.Host=1]="Host",mt[mt.Self=2]="Self",mt[mt.SkipSelf=4]="SkipSelf",mt[mt.Optional=8]="Optional",mt))();let yt;function _t(t){const e=yt;return yt=t,e}function vt(t,e,n){const r=ct(t);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&mt.Optional?null:void 0!==e?e:void ot(Y(t),"Injector")}function Ct(t){return{toString:t}.toString()}var bt=(()=>((bt=bt||{})[bt.OnPush=0]="OnPush",bt[bt.Default=1]="Default",bt))(),wt=(()=>((wt=wt||{})[wt.Emulated=0]="Emulated",wt[wt.None=2]="None",wt[wt.ShadowDom=3]="ShadowDom",wt))();const St="undefined"!=typeof globalThis&&globalThis,kt="undefined"!=typeof window&&window,xt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Et="undefined"!=typeof global&&global,Tt=St||Et||kt||xt,Pt={},It=[],Ot=J({"\u0275cmp":J}),At=J({"\u0275dir":J}),Mt=J({"\u0275pipe":J}),Rt=J({"\u0275mod":J}),Ft=J({"\u0275loc":J}),Nt=J({"\u0275fac":J}),jt=J({__NG_ELEMENT_ID__:J});let Lt=0;function Dt(t){return Ct(()=>{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===bt.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||It,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||wt.Emulated,id:"c",styles:t.styles||It,_:null,setInput:null,schemas:t.schemas||null,tView:null},r=t.directives,s=t.features,i=t.pipes;return n.id+=Lt++,n.inputs=zt(t.inputs,e),n.outputs=zt(t.outputs),s&&s.forEach(t=>t(n)),n.directiveDefs=r?()=>("function"==typeof r?r():r).map(Ut):null,n.pipeDefs=i?()=>("function"==typeof i?i():i).map(Ht):null,n})}function Ut(t){return qt(t)||function(t){return t[At]||null}(t)}function Ht(t){return function(t){return t[Mt]||null}(t)}const $t={};function Vt(t){return Ct(()=>{const e={type:t.type,bootstrap:t.bootstrap||It,declarations:t.declarations||It,imports:t.imports||It,exports:t.exports||It,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&($t[t.id]=t.type),e})}function zt(t,e){if(null==t)return Pt;const n={};for(const r in t)if(t.hasOwnProperty(r)){let s=t[r],i=s;Array.isArray(s)&&(i=s[1],s=s[0]),n[s]=r,e&&(e[s]=i)}return n}const Bt=Dt;function qt(t){return t[Ot]||null}function Zt(t,e){const n=t[Rt]||null;if(!n&&!0===e)throw new Error(`Type ${Y(t)} does not have '\u0275mod' property.`);return n}const Kt=20,Qt=10;function Wt(t){return Array.isArray(t)&&"object"==typeof t[1]}function Gt(t){return Array.isArray(t)&&!0===t[1]}function Jt(t){return 0!=(8&t.flags)}function Yt(t){return 2==(2&t.flags)}function Xt(t){return 1==(1&t.flags)}function te(t){return null!==t.template}function ee(t,e){return t.hasOwnProperty(Nt)?t[Nt]:null}class ne{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function re(){return se}function se(t){return t.type.prototype.ngOnChanges&&(t.setInput=oe),ie}function ie(){const t=ae(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===Pt)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function oe(t,e,n,r){const s=ae(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:Pt,current:null}),i=s.current||(s.current={}),o=s.previous,a=this.declaredInputs[n],l=o[a];i[a]=new ne(l&&l.currentValue,e,o===Pt),t[r]=e}function ae(t){return t.__ngSimpleChanges__||null}re.ngInherit=!0;const le="http://www.w3.org/2000/svg";let ce;function ue(t){return!!t.listen}const he={createRenderer:(t,e)=>void 0!==ce?ce:"undefined"!=typeof document?document:void 0};function de(t){for(;Array.isArray(t);)t=t[0];return t}function pe(t,e){return de(e[t])}function fe(t,e){return de(e[t.index])}function ge(t,e){return t.data[e]}function me(t,e){const n=e[t];return Wt(n)?n:n[0]}function ye(t){return 128==(128&t[2])}function _e(t,e){return null==e?null:t[e]}function ve(t){t[18]=0}function Ce(t,e){t[5]+=e;let n=t,r=t[3];for(;null!==r&&(1===e&&1===n[5]||-1===e&&0===n[5]);)r[5]+=e,n=r,r=r[3]}const be={lFrame:He(null),bindingsEnabled:!0,isInCheckNoChangesMo
vendor: 6,105 bytes, line 1
1de:!1};function we(){return be.bindingsEnabled}function Se(){return be.lFrame.lView}function ke(){return be.lFrame.tView}function xe(t){return be.lFrame.contextLView=t,t[8]}function Ee(){let t=Te();for(;null!==t&&64===t.type;)t=t.parent;return t}function Te(){return be.lFrame.currentTNode}function Pe(t,e){const n=be.lFrame;n.currentTNode=t,n.isParent=e}function Ie(){return be.lFrame.isParent}function Oe(){return be.isInCheckNoChangesMode}function Ae(t){be.isInCheckNoChangesMode=t}function Me(){return be.lFrame.bindingIndex++}function Re(t,e){const n=be.lFrame;n.bindingIndex=n.bindingRootIndex=t,Fe(e)}function Fe(t){be.lFrame.currentDirectiveIndex=t}function Ne(t){be.lFrame.currentQueryIndex=t}function je(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function Le(t,e,n){if(n&mt.SkipSelf){let r=e,s=t;for(;r=r.parent,!(null!==r||n&mt.Host||(r=je(s),null===r)||(s=s[15],10&r.type)););if(null===r)return!1;e=r,t=s}const r=be.lFrame=Ue();return r.currentTNode=e,r.lView=t,!0}function De(t){const e=Ue(),n=t[1];be.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function Ue(){const t=be.lFrame,e=null===t?null:t.child;return null===e?He(t):e}function He(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 $e(){const t=be.lFrame;return be.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const Ve=$e;function ze(){const t=$e();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 Be(){return be.lFrame.selectedIndex}function qe(t){be.lFrame.selectedIndex=t}function Ze(){const t=be.lFrame;return ge(t.tView,t.selectedIndex)}function Ke(){be.lFrame.currentNamespace=le}function Qe(){be.lFrame.currentNamespace=null}function We(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n<r;n++){const e=t.data[n].type.prototype,{ngAfterContentInit:r,ngAfterContentChecked:s,ngAfterViewInit:i,ngAfterViewChecked:o,ngOnDestroy:a}=e;r&&(t.contentHooks||(t.contentHooks=[])).push(-n,r),s&&((t.contentHooks||(t.contentHooks=[])).push(n,s),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,s)),i&&(t.viewHooks||(t.viewHooks=[])).push(-n,i),o&&((t.viewHooks||(t.viewHooks=[])).push(n,o),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,o)),null!=a&&(t.destroyHooks||(t.destroyHooks=[])).push(n,a)}}function Ge(t,e,n){Xe(t,e,3,n)}function Je(t,e,n,r){(3&t[2])===n&&Xe(t,e,n,r)}function Ye(t,e){let n=t[2];(3&n)===e&&(n&=2047,n+=1,t[2]=n)}function Xe(t,e,n,r){const s=null!=r?r:-1,i=e.length-1;let o=0;for(let a=void 0!==r?65535&t[18]:0;a<i;a++)if("number"==typeof e[a+1]){if(o=e[a],null!=r&&o>=r)break}else e[a]<0&&(t[18]+=65536),(o<s||-1==s)&&(tn(t,n,e,a),t[18]=(4294901760&t[18])+a+2),a++}function tn(t,e,n,r){const s=n[r]<0,i=n[r+1],o=t[s?-n[r]:n[r]];if(s){if(t[2]>>11<t[18]>>16&&(3&t[2])===e){t[2]+=2048;try{i.call(o)}finally{}}}else try{i.call(o)}finally{}}const en=-1;class nn{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function rn(t,e,n){const r=ue(t);let s=0;for(;s<n.length;){const i=n[s];if("number"==typeof i){if(0!==i)break;s++;const o=n[s++],a=n[s++],l=n[s++];r?t.setAttribute(e,a,l,o):e.setAttributeNS(o,a,l)}else{const o=i,a=n[++s];on(o)?r&&t.setProperty(e,o,a):r?t.setAttribute(e,o,a):e.setAttribute(o,a),s++}}return s}function sn(t){return 3===t||4===t||6===t}function on(t){return 64===t.charCodeAt(0)}function an(t,e){if(null===e||0===e.length);else if(null===t||0===t.length)t=e.slice();else{let n=-1;for(let r=0;r<e.length;r++){const s=e[r];"number"==typeof s?n=s:0===n||ln(t,n,s,null,-1===n||2===n?e[++r]:null)}}return t}function ln(t,e,n,r,s){let i=0,o=t.length;if(-1===e)o=-1;else for(;i<t.length;){const n=t[i++];if("number"==typeof n){if(n===e){o=-1;break}if(n>e){o=i-1;break}}}for(;i<t.length;){const e=t[i];if("number"==typeof e)break;if(e===n){if(null===r)return void(null!==s&&(t[i+1]=s));if(r===t[i+1])return void(t[i+2]=s)}i++,null!==r&&i++,null!==s&&i++}-1!==o&&(t.splice(o,0,e),i=o+1),t.splice(i++,0,n),null!==r&&t.splice(i++,0,r),null!==s&&t.splice(i++,0,s)}function cn(t){return t!==en}function un(t){return 32767&t}function hn(t,e){let n=t>>16,r=e;for(;n>0;)r=r[15],n--;return r}let dn=!0;function pn(t){const e=dn;return dn=t,e}let fn=0;function gn(t,e){const n=yn(t,e);if(-1!==n)return n;const r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,mn(r.data,t),mn(e,null),mn(r.blueprint,null));const s=_n(t,e),i=t.injectorIndex;if(cn(s)){const t=un(s),n=hn(s,e),r=n[1].data;for(let s=0;s<8;s++)e[i+s]=n[t+s]|r[t+s]}return e[i+8]=s,i}function mn(t,e){t.push(0,0,0,0,0,0,0,0,e)}function yn(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function _n(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,r=null,s=e;for(;null!==s;){const t=s[1],e=t.type;if(r=2===e?t.declTNode:1===e?s[6]:null,null===r)return en;if(n++,s=s[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return en}function vn(t,e,n){!function(t,e,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(jt)&&(r=n[jt]),null==r&&(r=n[jt]=fn++);const s=255&r;e.data[t+(s>>5)]|=1<<s}(t,e,n)}function Cn(t,e,n){if(n&mt.Optional)return t;ot(e,"NodeInjector")}function bn(t,e,n,r){if(n&mt.Optional&&void 0===r&&(r=null),0==(n&(mt.Self|mt.Host))){const s=t[9],i=_t(void 0);try{return s?s.get(e,r,n&mt.Optional):vt(e,r,n&mt.Optional)}finally{_t(i)}}return Cn(r,e,n)}function wn(t,e,n,r=mt.Default,s){if(null!==t){const i=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t.hasOwnProperty(jt)?t[jt]:void 0;return"number"==typeof e?e>=0?255&e:kn:e}(n);if("function"==typeof i){if(!Le(e,t,r))return r&mt.Host?Cn(s,n,r):bn(e,n,r,s
1);try{const t=i(r);if(null!=t||r&mt.Optional)return t;ot(n)}finally{Ve()}}else if("number"==typeof i){let s=null,o=yn(t,e),a=en,l=r&mt.Host?e[16][6]:null;for((-1===o||r&mt.SkipSelf)&&(a=-1===o?_n(t,e):e[o+8],a!==en&&Pn(r,!1)?(s=e[1],o=un(a),e=hn(a,e)):o=-1);-1!==o;){const t=e[1];if(Tn(i,o,t.data)){const t=xn(o,e,n,s,r,l);if(t!==Sn)return t}a=e[o+8],a!==en&&Pn(r,e[1].data[o+8]===l)&&Tn(i,o,e)?(s=t,o=un(a),e=hn(a,e)):o=-1}}}return bn(e,n,r,s)}const Sn={};function kn(){return new In(Ee(),Se())}function xn(t,e,n,r,s,i){const o=e[1],a=o.data[t+8],l=function(t,e,n,r,s){const i=t.providerIndexes,o=e.data,a=1048575&i,l=t.directiveStart,c=i>>20,u=s?a+c:t.directiveEnd;for(let h=r?a:a+c;h<u;h++){const t=o[h];if(h<l&&n===t||h>=l&&t.type===n)return h}if(s){const t=o[l];if(t&&te(t)&&t.type===n)return l}return null}(a,o,n,null==r?Yt(a)&&dn:r!=o&&0!=(3&a.type),s&mt.Host&&i===a);return null!==l?En(e,o,l,a):Sn}function En(t,e,n,r){let s=t[n];const i=e.data;if(s instanceof nn){const o=s;o.resolving&&function(t,e){throw new rt("200",`Circular dependency in DI detected for ${t}`)}(it(i[n]));const a=pn(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?_t(o.injectImpl):null;Le(t,r,mt.Default);try{s=t[n]=o.factory(void 0,i,t,r),e.firstCreatePass&&n>=r.directiveStart&&function(t,e,n){const{ngOnChanges:r,ngOnInit:s,ngDoCheck:i}=e.type.prototype;if(r){const r=se(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r)}s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,s),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,i))}(n,i[n],e)}finally{null!==l&&_t(l),pn(a),o.resolving=!1,Ve()}}return s}function Tn(t,e,n){return!!(n[e+(t>>5)]&1<<t)}function Pn(t,e){return!(t&mt.Self||t&mt.Host&&e)}class In{constructor(t,e){this._tNode=t,this._lView=e}get(t,e){return wn(this._tNode,this._lView,t,void 0,e)}}const On="__parameters__";function An(t,e,n){return Ct(()=>{const r=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function s(...t){if(this instanceof s)return r.apply(this,t),this;const e=new s(...t);return n.annotation=e,n;function n(t,n,r){const s=t.hasOwnProperty(On)?t[On]:Object.defineProperty(t,On,{value:[]})[On];for(;s.length<=r;)s.push(null);return(s[r]=s[r]||[]).push(e),t}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=t,s.annotationCls=s,s})}class Mn{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=at({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Rn=new Mn("AnalyzeForEntryComponents"),Fn=Function;function Nn(t,e){t.forEach(t=>Array.isArray(t)?Nn(t,e):e(t))}function jn(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Ln(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Dn(t,e,n){let r=Hn(t,e);return r>=0?t[1|r]=n:(r=~r,function(t,e,n,r){let s=t.length;if(s==e)t.push(n,r);else if(1===s)t.push(r,t[0]),t[0]=n;else{for(s--,t.push(t[s-1],t[s]);s>e;)t[s]=t[s-2],s--;t[e]=n,t[e+1]=r}}(t,r,e,n)),r}function Un(t,e){const n=Hn(t,e);if(n>=0)return t[1|n]}function Hn(t,e){return function(t,e,n){let r=0,s=t.length>>1;for(;s!==r;){const n=r+(s-r>>1),i=t[n<<1];if(e===i)return n<<1;i>e?s=n:r=n+1}return~(s<<1)}(t,e)}const $n={},Vn=/\n/gm,zn="__source",Bn=J({provide:String,useValue:J});let qn;function Zn(t){const e=qn;return qn=t,e}function Kn(t,e=mt.Default){if(void 0===qn)throw new Error("inject() must be called from an injection context");return null===qn?vt(t,void 0,e):qn.get(t,e&mt.Optional?null:void 0,e)}function Qn(t,e=mt.Default){return(yt||Kn)(nt(t),e)}function Wn(t){const e=[];for(let n=0;n<t.length;n++){const r=nt(t[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let t,n=mt.Default;for(let e=0;e<r.length;e++){const s=r[e],i=s.__NG_DI_FLAG__;"number"==typeof i?-1===i?t=s.token:n|=i:t=s}e.push(Qn(t,n))}else e.push(Qn(r))}return e}function Gn(t,e){return t.__NG_DI_FLAG__=e,t.prototype.__NG_DI_FLAG__=e,t}const Jn=Gn(An("Inject",t=>({token:t})),-1),Yn=Gn(An("Optional"),8),Xn=Gn(An("SkipSelf"),4);class tr{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}function er(t){return t instanceof tr?t.changingThisBreaksApplicationSecurity:t}const nr=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,rr=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;var sr=(()=>((sr=sr||{})[sr.NONE=0]="NONE",sr[sr.HTML=1]="HTML",sr[sr.STYLE=2]="STYLE",sr[sr.SCRIPT=3]="SCRIPT",sr[sr.URL=4]="URL",sr[sr.RESOURCE_URL=5]="RESOURCE_URL",
1sr))();function ir(t){const e=function(){const t=Se();return t&&t[12]}();return e?e.sanitize(sr.URL,t)||"":function(t,e){const n=function(t){return t instanceof tr&&t.getTypeName()||null}(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===e}(t,"URL")?er(t):(n=st(t),(n=String(n)).match(nr)||n.match(rr)?n:"unsafe:"+n);var n}function or(t,e){t.__ngContext__=e}function ar(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function lr(t){return t.ngOriginalError}function cr(t,...e){t.error(...e)}class ur{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),r=function(t){return t&&t.ngErrorLogger||cr}(t);r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?function(t){return t.ngDebugContext}(t)||this._findContext(lr(t)):null}_findOriginalError(t){let e=t&&lr(t);for(;e&&lr(e);)e=lr(e);return e||null}}const hr=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Tt))();function dr(t){return t instanceof Function?t():t}var pr=(()=>((pr=pr||{})[pr.Important=1]="Important",pr[pr.DashCase=2]="DashCase",pr))();function fr(t,e){return(void 0)(t,e)}function gr(t){const e=t[3];return Gt(e)?e[3]:e}function mr(t){return _r(t[13])}function yr(t){return _r(t[4])}function _r(t){for(;null!==t&&!Gt(t);)t=t[4];return t}function vr(t,e,n,r,s){if(null!=r){let i,o=!1;Gt(r)?i=r:Wt(r)&&(o=!0,r=r[0]);const a=de(r);0===t&&null!==n?null==s?Er(e,n,a):xr(e,n,a,s||null,!0):1===t&&null!==n?xr(e,n,a,s||null,!0):2===t?function(t,e,n){const r=Pr(t,e);r&&function(t,e,n,r){ue(t)?t.removeChild(e,n,r):e.removeChild(n)}(t,r,e,n)}(e,a,o):3===t&&e.destroyNode(a),null!=i&&function(t,e,n,r,s){const i=n[7];i!==de(n)&&vr(e,t,r,i,s);for(let o=Qt;o<n.length;o++){const s=n[o];Fr(s[1],s,t,e,r,i)}}(e,t,i,n,s)}}function Cr(t,e,n){return ue(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function br(t,e){const n=t[9],r=n.indexOf(e),s=e[3];1024&e[2]&&(e[2]&=-1025,Ce(s,-1)),n.splice(r,1)}function wr(t,e){if(t.length<=Qt)return;const n=Qt+e,r=t[n];if(r){const i=r[17];null!==i&&i!==t&&br(i,r),e>0&&(t[n-1][4]=r[4]);const o=Ln(t,Qt+e);Fr(r[1],s=r,s[11],2,null,null),s[0]=null,s[6]=null;const a=o[19];null!==a&&a.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}var s;return r}function Sr(t,e){if(!(256&e[2])){const n=e[11];ue(n)&&n.destroyNode&&Fr(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return kr(t[1],t);for(;e;){let n=null;if(Wt(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)Wt(e)&&kr(e[1],e),e=e[3];null===e&&(e=t),Wt(e)&&kr(e[1],e),n=e&&e[4]}e=n}}(e)}}function kr(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 r=0;r<n.length;r+=2){const t=e[n[r]];if(!(t instanceof nn)){const e=n[r+1];if(Array.isArray(e))for(let n=0;n<e.length;n+=2){const r=t[e[n]],s=e[n+1];try{s.call(r)}finally{}}else try{e.call(t)}finally{}}}}(t,e),function(t,e){const n=t.cleanup,r=e[7];let s=-1;if(null!==n)for(let i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){const t=n[i+1],o="function"==typeof t?t(e):de(e[t]),a=r[s=n[i+2]],l=n[i+3];"boolean"==typeof l?o.removeEventListener(n[i],a,l):l>=0?r[s=l]():r[s=-l].unsubscribe(),i+=2}else{const t=r[s=n[i+1]];n[i].call(t)}if(null!==r){for(let t=s+1;t<r.length;t++)(0,r[t])();e[7]=null}}(t,e),1===e[1].type&&ue(e[11])&&e[11].destroy();const n=e[17];if(null!==n&&Gt(e[3])){n!==e[3]&&br(n,e);const r=e[19];null!==r&&r.detachView(t)}}}function xr(t,e,n,r,s){ue(t)?t.insertBefore(e,n,r,s):e.insertBefore(n,r,s)}function Er(t,e,n){ue(t)?t.appendChild(e,n):e.appendChild(n)}function Tr(t,e,n,r,s){null!==r?xr(t,e,n,r,s):Er(t,e,n)}function Pr(t,e){return ue(t)?t.parentNode(e):e.parentNode}function Ir(t,e,n,r){const s=function(t,e,n){return function(t,e,n){let r=e;for(;null!==r&&40&r.type;)r=(e=r).parent;if(null===r)return n[0];if(2&r.flags){const e=t.data[r.directiveStart].encapsulation;if(e===wt.None||e===wt.Emulated)return null}return fe(r,n)}(t,e.parent,n)}(t,r,e),i=e[11],o=function(t,e,n){return function(t,e,n){return 40&t.type?fe(t,n):null}(t,0,n)}(r.parent||e[6],0,e);if(null!=s)if(Array.isArray(n))for(let a=0;a<n.length;a++)Tr(i,s,n[a],o,!1);else Tr(i,s,n,o,!1)}function Or(t,e){if(null!==e){const n=e.type;if(3&n)return fe(e,t);if(4&n)return Mr(-1,t[e.index]);if(8&n){const n=e.child;if(null!==n)return Or(t,n);{const n=t[e.index];return Gt(n)?Mr(-1,n):de(n)}}if(32&n)return fr(e,t)()||de(t[e.index]);{const n=Ar(t,e);return null!==n?Array.isArray(n)?n[0]:Or(gr(t[16]),n):Or(t,e.next)}}return null}function Ar(t,e){return null!==e?t[16][6].projection[e.projection]:null}function Mr(t,e){const n=Qt+t+1;
vendor: 20,284 bytes, line 1
1if(n<e.length){const t=e[n],r=t[1].firstChild;if(null!==r)return Or(t,r)}return e[7]}function Rr(t,e,n,r,s,i,o){for(;null!=n;){const a=r[n.index],l=n.type;if(o&&0===e&&(a&&or(de(a),r),n.flags|=4),64!=(64&n.flags))if(8&l)Rr(t,e,n.child,r,s,i,!1),vr(e,t,s,a,i);else if(32&l){const o=fr(n,r);let l;for(;l=o();)vr(e,t,s,l,i);vr(e,t,s,a,i)}else 16&l?Nr(t,e,r,n,s,i):vr(e,t,s,a,i);n=o?n.projectionNext:n.next}}function Fr(t,e,n,r,s,i){Rr(n,r,t.firstChild,e,s,i,!1)}function Nr(t,e,n,r,s,i){const o=n[16],a=o[6].projection[r.projection];if(Array.isArray(a))for(let l=0;l<a.length;l++)vr(e,t,s,a[l],i);else Rr(t,e,a,o[3],s,i,!0)}function jr(t,e,n){ue(t)?t.setAttribute(e,"style",n):e.style.cssText=n}function Lr(t,e,n){ue(t)?""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n):e.className=n}function Dr(t,e,n){let r=t.length;for(;;){const s=t.indexOf(e,n);if(-1===s)return s;if(0===s||t.charCodeAt(s-1)<=32){const n=e.length;if(s+n===r||t.charCodeAt(s+n)<=32)return s}n=s+1}}const Ur="ng-template";function Hr(t,e,n){let r=0;for(;r<t.length;){let s=t[r++];if(n&&"class"===s){if(s=t[r],-1!==Dr(s.toLowerCase(),e,0))return!0}else if(1===s){for(;r<t.length&&"string"==typeof(s=t[r++]);)if(s.toLowerCase()===e)return!0;return!1}}return!1}function $r(t){return 4===t.type&&t.value!==Ur}function Vr(t,e,n){return e===(4!==t.type||n?t.value:Ur)}function zr(t,e,n){let r=4;const s=t.attrs||[],i=function(t){for(let e=0;e<t.length;e++)if(sn(t[e]))return e;return t.length}(s);let o=!1;for(let a=0;a<e.length;a++){const l=e[a];if("number"!=typeof l){if(!o)if(4&r){if(r=2|1&r,""!==l&&!Vr(t,l,n)||""===l&&1===e.length){if(Br(r))return!1;o=!0}}else{const c=8&r?l:e[++a];if(8&r&&null!==t.attrs){if(!Hr(t.attrs,c,n)){if(Br(r))return!1;o=!0}continue}const u=qr(8&r?"class":l,s,$r(t),n);if(-1===u){if(Br(r))return!1;o=!0;continue}if(""!==c){let t;t=u>i?"":s[u+1].toLowerCase();const e=8&r?t:null;if(e&&-1!==Dr(e,c,0)||2&r&&c!==t){if(Br(r))return!1;o=!0}}}}else{if(!o&&!Br(r)&&!Br(l))return!1;if(o&&Br(l))continue;o=!1,r=l|1&r}}return Br(r)||o}function Br(t){return 0==(1&t)}function qr(t,e,n,r){if(null===e)return-1;let s=0;if(r||!n){let n=!1;for(;s<e.length;){const r=e[s];if(r===t)return s;if(3===r||6===r)n=!0;else{if(1===r||2===r){let t=e[++s];for(;"string"==typeof t;)t=e[++s];continue}if(4===r)break;if(0===r){s+=4;continue}}s+=n?1:2}return-1}return function(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){const r=t[n];if("number"==typeof r)return-1;if(r===e)return n;n++}return-1}(e,t)}function Zr(t,e,n=!1){for(let r=0;r<e.length;r++)if(zr(t,e[r],n))return!0;return!1}function Kr(t,e){return t?":not("+e.trim()+")":e}function Qr(t){let e=t[0],n=1,r=2,s="",i=!1;for(;n<t.length;){let o=t[n];if("string"==typeof o)if(2&r){const e=t[++n];s+="["+o+(e.length>0?'="'+e+'"':"")+"]"}else 8&r?s+="."+o:4&r&&(s+=" "+o);else""===s||Br(o)||(e+=Kr(i,s),s=""),r=o,i=i||!Br(r);n++}return""!==s&&(e+=Kr(i,s)),e}const Wr={};function Gr(t){Jr(ke(),Se(),Be()+t,Oe())}function Jr(t,e,n,r){if(!r)if(3==(3&e[2])){const r=t.preOrderCheckHooks;null!==r&&Ge(e,r,n)}else{const r=t.preOrderHooks;null!==r&&Je(e,r,0,n)}qe(n)}function Yr(t,e){return t<<17|e<<2}function Xr(t){return t>>17&32767}function ts(t){return 2|t}function es(t){return(131068&t)>>2}function ns(t,e){return-131069&t|e<<2}function rs(t){return 1|t}function ss(t,e){const n=t.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const s=n[r],i=n[r+1];if(-1!==i){const n=t.data[i];Ne(s),n.contentQueries(2,e[i],i)}}}function is(t,e,n,r,s,i,o,a,l,c){const u=e.blueprint.slice();return u[0]=s,u[2]=140|r,ve(u),u[3]=u[15]=t,u[8]=n,u[10]=o||t&&t[10],u[11]=a||t&&t[11],u[12]=l||t&&t[12]||null,u[9]=c||t&&t[9]||null,u[6]=i,u[16]=2==e.type?t[16]:u,u}function os(t,e,n,r,s){let i=t.data[e];if(null===i)i=function(t,e,n,r,s){const i=Te(),o=Ie(),a=t.data[e]=function(t,e,n,r,s,i){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:s,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,o?i:i&&i.parent,n,e,r,s);return null===t.firstChild&&(t.firstChild=a),null!==i&&(o?null==i.child&&null!==a.parent&&(i.child=a):null===i.next&&(i.next=a)),a}(t,e,n,r,s),be.lFrame.inI18n&&(i.flags|=64);else if(64&i.type){i.type=n,i.value=r,i.attrs=s;const t=function(){const t=be.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}();i.injectorIndex=null===t?-1:t.injectorIndex}return Pe(i,!0),i}function as(t,e,n,r){if(0===n)return-1;const s=e.length;for(let i=0;i<n;i++)e.push(r),t.blueprint.push(r),t.data.push(null);return s}function ls(t,e,n){De(e);try{const r=t.viewQuery;null!==r&&js(1,r,n);const s=t.template;null!==s&&hs(t,e,s,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&ss(t,e),t.staticViewQueries&&js(2,t.viewQuery,n);const i=t.components;null!==i&&function(t,e){for(let n=0;n<e.length;n++)As(t,e[n])}(e,i)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0),r}finally{e[2]&=-5,ze()}}function cs(t,e,n,r){const s=e[2];if(256==(256&s))return;De(e);const i=Oe();try{ve(e),be.lFrame.bindingIndex=t.bindingStartIndex,null!==n&&hs(t,e,n,2,r);const o=3==(3&s);if(!i)if(o){const n=t.preOrderCheckHooks;null!==n&&Ge(e,n,null)}else{const n=t.preOrderHooks;null!==n&&Je(e,n,0,null),Ye(e,0)}if(function(t){for(let e=mr(t);null!==e;e=yr(e)){if(!e[2])continue;const t=e[9];for(let e=0;e<t.length;e++){const n=t[e],r=n[3];0==(1024&n[2])&&Ce(r,1),n[2]|=1024}}}(e),function(t){for(let e=mr(t);null!==e;e=yr(e))for(let t=Qt;t<e.length;t++){const n=e[t],r=n[1];ye(n)&&cs(r,n,r.template,n[8])}}(e),null!==t.contentQueries&&ss(t,e),!i)if(o){const n=t.contentCheckHooks;null!==n&&Ge(e,n)}else{const n=t.contentHooks;null!==n&&Je(e,n,1),Ye(e,1)}!function(t,e){const n=t.hostBindingOpCodes;if(null!==n)try{for(let t=0;t<n.length;t++){const r=n[t];if(r<0)qe(~r);else{const s=r,i=n[++t],o=n[++t];Re(i,s),o(2,e[s])}}}finally{qe(-1)}}(t,e);const a=t.components;null!==a&&function(t,e){for(let n=0;n<e.length;n++)Is(t,e[n])}(e,a);const l=t.viewQuery;if(null!==l&&js(2,l,r),!i)if(o){const n=t.viewCheckHooks;null!==n&&Ge(e,n)}else{const n=t.viewHooks;null!==n&&Je(e,n,2),Ye(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),i||(e[2]&=-73),1024&e[2]&&(e[2]&=-1025,Ce(e[3],-1))}finally{ze()}}function us(t,e,n,r){const s=e[10],i=!Oe(),o=4==(4&e[2]);try{i&&!o&&s.begin&&s.begin(),o&&ls(t,e,r),cs(t,e,n,r)}finally{i&&!o&&s.end&&s.end()}}function hs(t,e,n,r,s){const i=Be(),o=2&r;try{qe(-1),o&&e.length>Kt&&Jr(t,e,Kt,Oe()),n(r,s)}finally{qe(i)}}function ds(t,e,n){we()&&(function(t,e,n,r){const s=n.directiveStart,i=n.directiveEnd;t.firstCreatePass||gn(n,e),or(r,e);const o=n.initialInputs;for(let a=s;a<i;a++){const r=t.data[a],i=te(r);i&&xs(e,n,r);const l=En(e,t,a,n);or(l,e),null!==o&&Es(0,a-s,l,r,0,o),i&&(me(n.index,e)[8]=l)}}(t,e,n,fe(n,e)),128==(128&n.flags)&&function(t,e,n){const r=n.directiveStart,s=n.directiveEnd,i=n.index,o=be.lFrame.currentDirectiveIndex;try{qe(i);for(let n=r;n<s;n++){const r=t.data[n],s=e[n];Fe(n),null===r.hostBindings&&0===r.hostVars&&null===r.hostAttrs||Cs(r,s)}}finally{qe(-1),Fe(o)}}(t,e,n))}function ps(t,e,n=fe){const r=e.localNames;if(null!==r){let s=e.index+1;for(let i=0;i<r.length;i+=2){const o=r[i+1],a=-1===o?n(e,t):t[o];t[s++]=a}}}function fs(t){const e=t.tView;return null===e||e.incompleteFirstPass?t.tView=gs(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):e}function gs(t,e,n,r,s,i,o,a,l,c){const u=Kt+r,h=u+s,d=function(t,e){const n=[];for(let r=0;r<e;r++)n.push(r<t?null:Wr);return n}(u,h),p="function"==typeof c?c():c;return d[1]={type:t,blueprint:d,template:n,queries:null,viewQuery:a,declTNode:e,data:d.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof i?i():i,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:l,consts:p,incompleteFirstPass:!1}}function ms(t,e,n){for(let r in t)if(t.hasOwnProperty(r)){const s=t[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(e,s):n[r]=[e,s]}return n}function ys(t,e,n,r,s,i,o,a){const l=fe(e,n);let c,u=e.inputs;var h;!a&&null!=u&&(c=u[r])?($s(t,n,c,r,s),Yt(e)&&function(t,e){const n=me(e,t);16&n[2]||(n[2]|=64)}(n,e.index)):3&e.type&&(r="class"===(h=r)?"className":"for"===h?"htmlFor":"formaction"===h?"formAction":"innerHtml"===h?"innerHTML":"readonly"===h?"readOnly":"tabindex"===h?"tabIndex":h,s=null!=o?o(s,e.value||"",r):s,ue(i)?i.setProperty(l,r,s):on(r)||(l.setProperty?l.setProperty(r,s):l[r]=s))}function _s(t,e,n,r){let s=!1;if(we()){const i=function(t,e,n){const r=t.directiveRegistry;let s=null;if(r)for(let i=0;i<r.length;i++){const o=r[i];Zr(n,o.selectors,!1)&&(s||(s=[]),vn(gn(n,e),t,o.type),te(o)?(bs(t,n),s.unshift(o)):s.push(o))}return s}(t,e,n),o=null===r?null:{"":-1};if(null!==i){s=!0,Ss(n,t.data.length,i.length);for(let t=0;t<i.length;t++){const e=i[t];e.providersResolver&&e.providersResolver(e)}let r=!1,a=!1,l=as(t,e,i.length,null);for(let s=0;s<i.length;s++){const c=i[s];n.mergedAttrs=an(n.mergedAttrs,c.hostAttrs),ks(t,n,e,l,c),ws(l,c,o),null!==c.contentQueries&&(n.flags|=8),null===c.hostBindings&&null===c.hostAttrs&&0===c.hostVars||(n.flags|=128);const u=c.type.prototype;!r&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index),r=!0),a||!u.ngOnChanges&&!u.ngDoCheck||((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index),a=!0),l++}!function(t,e){const n=e.directiveEnd,r=t.data,s=e.attrs,i=[];let o=null,a=null;for(let l=e.directiveStart;l<n;l++){const t=r[l],n=t.inputs,c=null===s||$r(e)?null:Ts(n,s);i.push(c),o=ms(n,l,o),a=ms(t.outputs,l,a)}null!==o&&(o.hasOwnProperty("class")&&(e.flags|=16),o.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=i,e.inputs=o,e.outputs=a}(t,n)}o&&function(t,e,n){if(e){const r=t.localNames=[];for(let t=0;t<e.length;t+=2){const s=n[e[t+1]];if(null==s)throw new rt("301",`Export of name '${e[t+1]}' not found!`);r.push(e[t],s)}}}(n,r,o)}return n.mergedAttrs=an(n.mergedAttrs,n.attrs),s}function vs(t,e,n,r,s,i){const o=i.hostBindings;if(o){let n=t.hostBindingOpCodes;null===n&&(n=t.hostBindingOpCodes=[]);const i=~e.index;(function(t){let e=t.length;for(;e>0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(n)!=i&&n.push(i),n.push(r,s,o)}}function Cs(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function bs(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function ws(t,e,n){if(n){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)n[e.exportAs[r]]=t;te(e)&&(n[""]=t)}}function Ss(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function ks(t,e,n,r,s){t.data[r]=s;const i=s.factory||(s.factory=ee(s.type)),o=new nn(i,te(s),null);t.blueprint[r]=o,n[r]=o,vs(t,e,0,r,as(t,n,s.hostVars,Wr),s)}function xs(t,e,n){const r=fe(e,t),s=fs(n),i=t[10],o=Ms(t,is(t,s,null,n.onPush?64:16,r,e,i,i.createRenderer(r,n),null,null));t[e.index]=o}function Es(t,e,n,r,s,i){const o=i[e];if(null!==o){const t=r.setInput;for(let e=0;e<o.length;){const s=o[e++],i=o[e++],a=o[e++];null!==t?r.setInput(n,a,s,i):n[i]=a}}}function Ts(t,e){let n=null,r=0;for(;r<e.length;){const s=e[r];if(0!==s)if(5!==s){if("number"==typeof s)break;t.hasOwnProperty(s)&&(null===n&&(n=[]),n.push(s,t[s],e[r+1])),r+=2}else r+=2;else r+=4}return n}function Ps(t,e,n,r){return new Array(t,!0,!1,e,null,0,r,n,null,null)}function Is(t,e){const n=me(e,t);if(ye(n)){const t=n[1];80&n[2]?cs(t,n,t.template,n[8]):n[5]>0&&Os(n)}}function Os(t){for(let n=mr(t);null!==n;n=yr(n))for(let t=Qt;t<n.length;t++){const e=n[t];if(1024&e[2]){const t=e[1];cs(t,e,t.template,e[8])}else e[5]>0&&Os(e)}const e=t[1].components;if(null!==e)for(let n=0;n<e.length;n++){const r=me(e[n],t);ye(r)&&r[5]>0&&Os(r)}}function As(t,e){const n=me(e,t),r=n[1];!function(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}(r,n),ls(r,n,n[8])}function Ms(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function Rs(t){for(;t;){t[2]|=64;const e=gr(t);if(0!=(512&t[2])&&!e)return t;t=e}return null}function Fs(t,e,n){const r=e[10];r.begin&&r.begin();try{cs(t,e,t.template,n)}catch(s){throw Hs(e,s),s}finally{r.end&&r.end()}}function Ns(t){!function(t){for(let e=0;e<t.components.length;e++){const n=t.components[e],r=ar(n),s=r[1];us(s,r,s.template,n)}}(t[8])}function js(t,e,n){Ne(0),e(t,n)}const Ls=(()=>Promise.resolve(null))();function Ds(t){return t[7]||(t[7]=[])}function Us(t){return t.cleanup||(t.cleanup=[])}function Hs(t,e){const n=t[9],r=n?n.get(ur,null):null;r&&r.handleError(e)}function $s(t,e,n,r,s){for(let i=0;i<n.length;){const o=n[i++],a=n[i++],l=e[o],c=t.data[o];null!==c.setInput?c.setInput(l,s,r,a):l[a]=s}}function Vs(t,e,n){let r=n?t.styles:null,s=n?t.classes:null,i=0;if(null!==e)for(let o=0;o<e.length;o++){const t=e[o];"number"==typeof t?i=t:1==i?s=X(s,t):2==i&&(r=X(r,t+": "+e[++o]+";"))}n?t.styles=r:t.stylesWithoutHost=r,n?t.classes=s:t.classesWithoutHost=s}const zs=new Mn("INJECTOR",-1);class Bs{get(t,e=$n){if(e===$n){const e=new Error(`NullInjectorError: No provider for ${Y(t)}!`);throw e.name="NullInjectorError",e}return e}}const qs=new Mn("Set Injector scope."),Zs={},Ks={};let Qs;function Ws(){return void 0===Qs&&(Qs=new Bs),Qs}function Gs(t,e=null,n=null,r){return new Js(t,n,e||Ws(),r)}class Js{constructor(t,e,n,r=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const s=[];e&&Nn(e,n=>this.processProvider(n,t,e)),Nn([t],t=>this.processInjectorType(t,[],s)),this.records.set(zs,Xs(void 0,this));const i=this.records.get(qs);this.scope=null!=i?i.value:null,this.source=r||("object"==typeof t?null:Y(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=$n,n=mt.Default){this.assertNotDestroyed();const r=Zn(this),s=_t(void 0);try{if(!(n&mt.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(i=t)||"object"==typeof i&&i instanceof Mn)&&ct(t);e=n&&this.injectableDefInScope(n)?Xs(Ys(t),Zs):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&mt.Self?Ws():this.parent).get(t,e=n&mt.Optional&&e===$n?null:e)}catch(o){if("NullInjectorError"===o.name){if((o.ngTempTokenPath=o.ngTempTokenPath||[]).unshift(Y(t)),r)throw o;return function(t,e,n,r){const s=t.ngTempTokenPath;throw e[zn]&&s.unshift(e[zn]),t.message=function(t,e,n,r=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let s=Y(e);if(Array.isArray(e))s=e.map(Y).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let r=e[n];t.push(n+":"+("string"==typeof r?JSON.stringify(r):Y(r)))}s=`{${t.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${t.replace(Vn,"\n  ")}`}("\n"+t.message,s,n,r),t.ngTokenPath=s,t.ngTempTokenPath=null,t}(o,t,"R3InjectorError",this.source)}throw o}finally{_t(s),Zn(r)}var i}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(Y(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=nt(t)))return!1;let r=ht(t);const s=null==r&&t.ngModule||void 0,i=void 0===s?t:s,o=-1!==n.indexOf(i);if(void 0!==s&&(r=ht(s)),null==r)return!1;if(null!=r.imports&&!o){let t;n.push(i);try{Nn(r.imports,r=>{this.processInjectorType(r,e,n)&&(void 0===t&&(t=[]),t.push(r))})}finally{}if(void 0!==t)for(let e=0;e<t.length;e++){const{ngModule:n,providers:r}=t[e];Nn(r,t=>this.processProvider(t,n,r||It))}}this.injectorDefTypes.add(i);const a=ee(i)||(()=>new i);this.records.set(i,Xs(a,Zs));const l=r.providers;if(null!=l&&!o){const e=t;Nn(l,t=>this.processProvider(t,e,l))}return void 0!==s&&void 0!==t.providers}processProvider(t,e,n){let r=ei(t=nt(t))?t:nt(t&&t.provide);const s=function(t,e,n){return ti(t)?Xs(void 0,t.useValue):Xs(function(t,e,n){let r;if(ei(t)){const e=nt(t);return ee(e)||Ys(e)}if(ti(t))r=()=>nt(t.useValue);else if((s=t)&&s.useFactory)r=()=>t.useFactory(...Wn(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))r=()=>Qn(nt(t.useExisting));else{const e=nt(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return ee(e)||Ys(e);r=()=>new e(...Wn(t.deps))}var s;return r}(t),Zs)}(t);if(ei(t)||!0!==t.multi)this.records.get(r);else{let e=this.records.get(r);e||(e=Xs(void 0,Zs,!0),e.factory=()=>Wn(e.multi),this.records.set(r,e)),r=t,e.multi.push(t)}this.records.set(r,s)}hydrate(t,e){var n;return e.value===Zs&&(e.value=Ks,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=nt(t.providedIn);return"string"==typeof e?"any"===e||e===this.scope:this.injectorDefTypes.has(e)}}function Ys(t){const e=ct(t),n=null!==e?e.factory:ee(t);if(null!==n)return n;if(t instanceof Mn)throw new Error(`Token ${Y(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=function(t,e){const n=[];for(let r=0;r<t;r++)n.push("?");return n}(e);throw new Error(`Can't resolve all parameters for ${Y(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[dt]||t[ft]);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 Xs(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function ti(t){return null!==t&&"object"==typeof t&&Bn in t}function ei(t){return"function"==typeof t}const ni=function(t,e,n){return function(t,e=null,n=null,r){const s=Gs(t,e,n,r);return s._resolveInjectorDefTypes(),s}({name:n},e,t,n)};class ri{static create(t,e){return Array.isArray(t)?ni(t,e,""):ni(t.providers,t.parent,t.name||"")}}function si(t,e){We(ar(t)[1],Ee())}ri.THROW_IF_NOT_FOUND=$n,ri.NULL=new Bs,ri.\u0275prov=at({token:ri,providedIn:"any",factory:()=>Qn(zs)}),ri.__NG_ELEMENT_ID__=-1;let ii=null;function oi(){if(!ii){const t=Tt.Symbol;if(t&&t.iterator)ii=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e<t.length;++e){const n=t[e];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(ii=n)}}}return ii}function ai(t){return!!li(t)&&(Array.isArray(t)||!(t instanceof Map)&&oi()in t)}function li(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function ci(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function ui(t,e,n,r){const s=Se();return ci(s,Me(),e)&&(ke(),function(t,e,n,r,s,i){const o=fe(t,e);!function(t,e,n,r,s,i,o){if(null==i)ue(t)?t.removeAttribute(e,s,n):e.removeAttribute(s);else{const a=null==o?st(i):o(i,r||"",s);ue(t)?t.setAttribute(e,s,a,n):n?e.setAttributeNS(n,s,a):e.setAttribute(s,a)}}(e[11],o,i,t.value,n,r,s)}(Ze(),s,t,e,n,r)),ui}function hi(t,e,n,r){return ci(t,Me(),n)?e+st(n)+r:Wr}function di(t,e,n,r,s,i,o,a){const l=Se(),c=ke(),u=t+Kt,h=c.firstCreatePass?function(t,e,n,r,s,i,o,a,l){const c=e.consts,u=os(e,t,4,o||null,_e(c,a));_s(e,n,u,_e(c,l)),We(e,u);const h=u.tViews=gs(2,u,r,s,i,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c);return null!==e.queries&&(e.queries.template(e,u),h.queries=e.queries.embeddedTView(u)),u}(u,c,l,e,n,r,s,i,o):c.data[u];Pe(h,!1);const d=l[11].createComment("");
1Ir(c,l,d,h),or(d,l),Ms(l,l[u]=Ps(d,l,d,h)),Xt(h)&&ds(c,l,h),null!=o&&ps(l,h,a)}function pi(t,e=mt.Default){const n=Se();return null===n?Qn(t,e):wn(Ee(),n,nt(t),e)}function fi(t,e,n){const r=Se();return ci(r,Me(),e)&&ys(ke(),Ze(),r,t,e,r[11],n,!1),fi}function gi(t,e,n,r,s){const i=s?"class":"style";$s(t,n,e.inputs[i],i,r)}function mi(t,e,n,r){const s=Se(),i=ke(),o=Kt+t,a=s[11],l=s[o]=Cr(a,e,be.lFrame.currentNamespace),c=i.firstCreatePass?function(t,e,n,r,s,i,o){const a=e.consts,l=os(e,t,2,s,_e(a,i));return _s(e,n,l,_e(a,o)),null!==l.attrs&&Vs(l,l.attrs,!1),null!==l.mergedAttrs&&Vs(l,l.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,l),l}(o,i,s,0,e,n,r):i.data[o];Pe(c,!0);const u=c.mergedAttrs;null!==u&&rn(a,l,u);const h=c.classes;null!==h&&Lr(a,l,h);const d=c.styles;null!==d&&jr(a,l,d),64!=(64&c.flags)&&Ir(i,s,l,c),0===be.lFrame.elementDepthCount&&or(l,s),be.lFrame.elementDepthCount++,Xt(c)&&(ds(i,s,c),function(t,e,n){if(Jt(e)){const r=e.directiveEnd;for(let s=e.directiveStart;s<r;s++){const e=t.data[s];e.contentQueries&&e.contentQueries(1,n[s],s)}}}(i,c,s)),null!==r&&ps(s,c)}function yi(){let t=Ee();Ie()?be.lFrame.isParent=!1:(t=t.parent,Pe(t,!1));const e=t;be.lFrame.elementDepthCount--;const n=ke();n.firstCreatePass&&(We(n,t),Jt(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function(t){return 0!=(16&t.flags)}(e)&&gi(n,e,Se(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return 0!=(32&t.flags)}(e)&&gi(n,e,Se(),e.stylesWithoutHost,!1)}function _i(t,e,n,r){mi(t,e,n,r),yi()}function vi(){return Se()}function Ci(t){return!!t&&"function"==typeof t.then}const bi=function(t){return!!t&&"function"==typeof t.subscribe};function wi(t,e,n,r){const s=Se(),i=ke(),o=Ee();return function(t,e,n,r,s,i,o,a){const l=Xt(r),c=t.firstCreatePass&&Us(t),u=Ds(e);let h=!0;if(3&r.type||a){const d=fe(r,e),p=a?a(d):d,f=u.length,g=a?t=>a(de(t[r.index])):r.index;if(ue(n)){let o=null;if(!a&&l&&(o=function(t,e,n,r){const s=t.cleanup;if(null!=s)for(let i=0;i<s.length-1;i+=2){const t=s[i];if(t===n&&s[i+1]===r){const t=e[7],n=s[i+2];return t.length>n?t[n]:null}"string"==typeof t&&(i+=2)}return null}(t,e,s,r.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=i,o.__ngLastListenerFn__=i,h=!1;else{i=ki(r,e,0,i,!1);const t=n.listen(p,s,i);u.push(i,t),c&&c.push(s,g,f,f+1)}}else i=ki(r,e,0,i,!0),p.addEventListener(s,i,o),u.push(i),c&&c.push(s,g,f,o)}else i=ki(r,e,0,i,!1);const d=r.outputs;let p;if(h&&null!==d&&(p=d[s])){const t=p.length;if(t)for(let n=0;n<t;n+=2){const t=e[p[n]][p[n+1]].subscribe(i),o=u.length;u.push(i,t),c&&c.push(s,r.index,o,-(o+1))}}}(i,s,s[11],o,t,e,!!n,r),wi}function Si(t,e,n,r){try{return!1!==n(r)}catch(s){return Hs(t,s),!1}}function ki(t,e,n,r,s){return function n(i){if(i===Function)return r;const o=2&t.flags?me(t.index,e):e;0==(32&e[2])&&Rs(o);let a=Si(e,0,r,i),l=n.__ngNextListenerFn__;for(;l;)a=Si(e,0,l,i)&&a,l=l.__ngNextListenerFn__;return s&&!1===a&&(i.preventDefault(),i.returnValue=!1),a}}function xi(t=1){return function(t){return(be.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,be.lFrame.contextLView))[8]}(t)}function Ei(t,e,n){return Ti(t,"",e,"",n),Ei}function Ti(t,e,n,r,s){const i=Se(),o=hi(i,e,n,r);return o!==Wr&&ys(ke(),Ze(),i,t,o,i[11],s,!1),Ti}function Pi(t,e,n,r,s){const i=t[n+1],o=null===e;let a=r?Xr(i):es(i),l=!1;for(;0!==a&&(!1===l||o);){const n=t[a+1];Ii(t[a],e)&&(l=!0,t[a+1]=r?rs(n):ts(n)),a=r?Xr(n):es(n)}l&&(t[n+1]=r?ts(i):rs(i))}function Ii(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&Hn(t,e)>=0}function Oi(t,e){return function(t,e,n,r){const s=Se(),i=ke(),o=function(t){const e=be.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+2,n}();i.firstUpdatePass&&function(t,e,n,r){const s=t.data;if(null===s[n+1]){const i=s[Be()],o=function(t,e){return e>=t.expandoStartIndex}(t,n);(function(t,e){return 0!=(16&t.flags)})(i)&&null===e&&!o&&(e=!1),e=function(t,e,n,r){const s=function(t){const e=be.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}(t);let i=e.residualClasses;if(null===s)0===e.classBindings&&(n=Mi(n=Ai(null,t,e,n,r),e.attrs,r),i=null);else{const o=e.directiveStylingLast;if(-1===o||t[o]!==s)if(n=Ai(s,t,e,n,r),null===i){let n=function(t,e,n){const r=e.classBindings;if(0!==es(r))return t[Xr(r)]}(t,e);void 0!==n&&Array.isArray(n)&&(n=Ai(null,t,e,n[1],r),n=Mi(n,e.attrs,r),function(t,e,n,r){t[Xr(e.classBindings)]=r}(t,e,0,n))}else i=function(t,e,n){let r;const s=e.directiveEnd;for(let i=1+e.directiveStylingLast;i<s;i++)r=Mi(r,t[i].hostAttrs,true);return Mi(r,e.attrs,true)}(t,e)}return void 0!==i&&(e.residualClasses=i),n}(s,i,e,r),function(t,e,n,r,s,i){let o=e.classBindings,a=Xr(o),l=es(o);t[r]=n;let c,u=!1;if(Array.isArray(n)){const t=n;c=t[1],(null===c||Hn(t,c)>0)&&(u=!0)}else c=n;
1if(s)if(0!==l){const e=Xr(t[a+1]);t[r+1]=Yr(e,a),0!==e&&(t[e+1]=ns(t[e+1],r)),t[a+1]=131071&t[a+1]|r<<17}else t[r+1]=Yr(a,0),0!==a&&(t[a+1]=ns(t[a+1],r)),a=r;else t[r+1]=Yr(l,0),0===a?a=r:t[l+1]=ns(t[l+1],r),l=r;u&&(t[r+1]=ts(t[r+1])),Pi(t,c,r,!0),Pi(t,c,r,!1),function(t,e,n,r,s){const i=t.residualClasses;null!=i&&"string"==typeof e&&Hn(i,e)>=0&&(n[r+1]=rs(n[r+1]))}(e,c,t,r),o=Yr(a,l),e.classBindings=o}(s,i,e,n,o)}}(i,t,o,true),e!==Wr&&ci(s,o,e)&&function(t,e,n,r,s,i,o,a){if(!(3&e.type))return;const l=t.data,c=l[a+1];Fi(1==(1&c)?Ri(l,e,n,s,es(c),o):void 0)||(Fi(i)||function(t){return 2==(2&t)}(c)&&(i=Ri(l,null,n,s,a,o)),function(t,e,n,r,s){const i=ue(t);s?i?t.addClass(n,r):n.classList.add(r):i?t.removeClass(n,r):n.classList.remove(r)}(r,0,pe(Be(),n),s,i))}(i,i.data[Be()],s,s[11],t,s[o+1]=function(t,e){return null==t||"object"==typeof t&&(t=Y(er(t))),t}(e),true,o)}(t,e),Oi}function Ai(t,e,n,r,s){let i=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<o&&(i=e[a],r=Mi(r,i.hostAttrs,s),i!==t);)a++;return null!==t&&(n.directiveStylingLast=a),r}function Mi(t,e,n){const r=n?1:2;let s=-1;if(null!==e)for(let i=0;i<e.length;i++){const o=e[i];"number"==typeof o?s=o:s===r&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),Dn(t,o,!!n||e[++i]))}return void 0===t?null:t}function Ri(t,e,n,r,s,i){const o=null===e;let a;for(;s>0;){const e=t[s],i=Array.isArray(e),l=i?e[1]:e,c=null===l;let u=n[s+1];u===Wr&&(u=c?It:void 0);let h=c?Un(u,r):l===r?u:void 0;if(i&&!Fi(h)&&(h=Un(e,r)),Fi(h)&&(a=h,o))return a;const d=t[s+1];s=o?Xr(d):es(d)}if(null!==e){let t=i?e.residualClasses:e.residualStyles;null!=t&&(a=Un(t,r))}return a}function Fi(t){return void 0!==t}function Ni(t,e=""){const n=Se(),r=ke(),s=t+Kt,i=r.firstCreatePass?os(r,s,1,e,null):r.data[s],o=n[s]=function(t,e){return ue(t)?t.createText(e):t.createTextNode(e)}(n[11],e);Ir(r,n,o,i),Pe(i,!1)}function ji(t){return Li("",t,""),ji}function Li(t,e,n){const r=Se(),s=hi(r,t,e,n);return s!==Wr&&function(t,e,n){const r=pe(e,t);!function(t,e,n){ue(t)?t.setValue(e,n):e.textContent=n}(t[11],r,n)}(r,Be(),s),Li}function Di(t,e,n){const r=Se();return ci(r,Me(),e)&&ys(ke(),Ze(),r,t,e,r[11],n,!0),Di}const Ui=void 0;var Hi=["en",[["a","p"],["AM","PM"],Ui],[["AM","PM"],Ui,Ui],[["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"]],Ui,[["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"]],Ui,[["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}",Ui,"{1} 'at' {0}",Ui],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let $i={};function Vi(t){return t in $i||($i[t]=Tt.ng&&Tt.ng.common&&Tt.ng.common.locales&&Tt.ng.common.locales[t]),$i[t]}var zi=(()=>((zi=zi||{})[zi.LocaleId=0]="LocaleId",zi[zi.DayPeriodsFormat=1]="DayPeriodsFormat",zi[zi.DayPeriodsStandalone=2]="DayPeriodsStandalone",zi[zi.DaysFormat=3]="DaysFormat",zi[zi.DaysStandalone=4]="DaysStandalone",zi[zi.MonthsFormat=5]="MonthsFormat",zi[zi.MonthsStandalone=6]="MonthsStandalone",zi[zi.Eras=7]="Eras",zi[zi.FirstDayOfWeek=8]="FirstDayOfWeek",zi[zi.WeekendRange=9]="WeekendRange",zi[zi.DateFormat=10]="DateFormat",zi[zi.TimeFormat=11]="TimeFormat",zi[zi.DateTimeFormat=12]="DateTimeFormat",zi[zi.NumberSymbols=13]="NumberSymbols",zi[zi.NumberFormats=14]="NumberFormats",zi[zi.CurrencyCode=15]="CurrencyCode",zi[zi.CurrencySymbol=16]="CurrencySymbol",zi[zi.CurrencyName=17]="CurrencyName",zi[zi.Currencies=18]="Currencies",zi[zi.Directionality=19]="Directionality",zi[zi.PluralCase=20]="PluralCase",zi[zi.ExtraData=21]="ExtraData",zi))();const Bi="en-US";let qi=Bi;function Zi(t){var e,n;n="Expected localeId to be defined",null==(e=t)&&function(t,e,n,r){throw new Error(`ASSERTION ERROR: ${t} [Expected=> null != ${e} <=Actual]`)}(n,e),"string"==typeof t&&(qi=t.toLowerCase().replace(/_/g,"-"))}class Ki{}
vendor: 13,764 bytes, line 1
1class Qi{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${Y(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}class Wi{}function Gi(...t){}function Ji(t,e){return new Xi(fe(t,e))}Wi.NULL=new Qi;const Yi=function(){return Ji(Ee(),Se())};let Xi=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=Yi,t})();class to{}let eo=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>no(),t})();const no=function(){const t=Se(),e=me(Ee().index,t);return function(t){return t[11]}(Wt(e)?e:t)};let ro=(()=>{class t{}return t.\u0275prov=at({token:t,providedIn:"root",factory:()=>null}),t})();class so{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const io=new so("12.1.5");class oo{constructor(){}supports(t){return ai(t)}create(t){return new lo(t)}}const ao=(t,e)=>e;class lo{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||ao}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,r=0,s=null;for(;e||n;){const i=!n||e&&e.currentIndex<po(n,r,s)?e:n,o=po(i,r,s),a=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(e=e._next,null==i.previousIndex)r++;else{s||(s=[]);const t=o-r,e=a-r;if(t!=e){for(let n=0;n<t;n++){const r=n<s.length?s[n]:s[n]=0,i=r+n;e<=i&&i<t&&(s[n]=r+1)}s[i.previousIndex]=e-t}}o!==a&&t(i,o,a)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}diff(t){if(null==t&&(t=[]),!ai(t))throw new Error(`Error trying to diff '${Y(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e,n,r,s=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let e=0;e<this.length;e++)n=t[e],r=this._trackByFn(e,n),null!==s&&Object.is(s.trackById,r)?(i&&(s=this._verifyReinsertion(s,n,r,e)),Object.is(s.item,n)||this._addIdentityChange(s,n)):(s=this._mismatch(s,n,r,e),i=!0),s=s._next}else e=0,function(t,e){if(Array.isArray(t))for(let n=0;n<t.length;n++)e(t[n]);else{const n=t[oi()]();let r;for(;!(r=n.next()).done;)e(r.value)}}(t,t=>{r=this._trackByFn(e,t),null!==s&&Object.is(s.trackById,r)?(i&&(s=this._verifyReinsertion(s,t,r,e)),Object.is(s.item,t)||this._addIdentityChange(s,t)):(s=this._mismatch(s,t,r,e),i=!0),s=s._next,e++}),this.length=e;return this._truncate(s),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,r){let s;return null===t?s=this._itTail:(s=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,s,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,s,r)):t=this._addAfter(new co(e,n),s,r),t}_verifyReinsertion(t,e,n,r){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==s?t=this._reinsertAfter(s,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),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 r=t._prevRemoved,s=t._nextRemoved;return null===r?this._removalsHead=s:r._nextRemoved=s,null===s?this._removalsTail=r:s._prevRemoved=r,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 r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new ho),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 ho),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 co{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 uo{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 ho{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new uo,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 po(t,e,n){const r=t.previousIndex;if(null===r)return r;let s=0;return n&&r<n.length&&(s=n[r]),r+e+s}class fo{constructor(){}supports(t){return t instanceof Map||li(t)}create(){return new go}}class go{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let e;for(e=this._mapHead;null!==e;e=e._next)t(e)}forEachPreviousItem(t){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}forEachChangedItem(t){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}diff(t){if(t){if(!(t instanceof Map||li(t)))throw new Error(`Error trying to diff '${Y(t)}'. Only maps and objects are allowed`)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(t,(t,n)=>{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const r=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,r)}}),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 r=n._prev,s=n._next;return r&&(r._next=s),s&&(s._prev=r),n._next=null,n._prev=null,n}const n=new mo(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 mo{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 yo(){return new _o([new oo])}let _o=(()=>{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||yo()),deps:[[t,new Xn,new Yn]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${n=t,n.name||typeof n}'`);var n}}return t.\u0275prov=at({token:t,providedIn:"root",factory:yo}),t})();function vo(){return new Co([new fo])}let Co=(()=>{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||vo()),deps:[[t,new Xn,new Yn]]}}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=at({token:t,providedIn:"root",factory:vo}),t})();function bo(t,e,n,r,s=!1){for(;null!==n;){const i=e[n.index];if(null!==i&&r.push(de(i)),Gt(i))for(let t=Qt;t<i.length;t++){const e=i[t],n=e[1].firstChild;null!==n&&bo(e[1],e,n,r)}const o=n.type;if(8&o)bo(t,e,n.child,r);else if(32&o){const t=fr(n,e);let s;for(;s=t();)r.push(s)}else if(16&o){const t=Ar(e,n);if(Array.isArray(t))r.push(...t);else{const n=gr(e[16]);bo(n[1],n,t,r,!0)}}n=s?n.projectionNext:n.next}return r}class wo{constructor(t,e){this._lView=t,this._cdRefInjectingView=e,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,e=t[1];return bo(e,t,e.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(Gt(t)){const e=t[8],n=e?e.indexOf(this):-1;n>-1&&(wr(t,n),Ln(e,n))}this._attachedToViewContainer=!1}Sr(this._lView[1],this._lView)}onDestroy(t){!function(t,e,n,r){const s=Ds(e);s.push(r)}(0,this._lView,0,t)}markForCheck(){Rs(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Fs(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){Ae(!0);try{Fs(t,e,n)}finally{Ae(!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(){var t;this._appRef=null,Fr(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a Vie
1wContainer!");this._appRef=t}}class So extends wo{constructor(t){super(t),this._view=t}detectChanges(){Ns(this._view)}checkNoChanges(){!function(t){Ae(!0);try{Ns(t)}finally{Ae(!1)}}(this._view)}get context(){return null}}const ko=function(t){return function(t,e,n){if(Yt(t)&&!n){const n=me(t.index,e);return new wo(n,n)}return 47&t.type?new wo(e[16],e):null}(Ee(),Se(),16==(16&t))};let xo=(()=>{class t{}return t.__NG_ELEMENT_ID__=ko,t})();const Eo=[new fo],To=new _o([new oo]),Po=new Co(Eo),Io=function(){return t=Ee(),e=Se(),4&t.type?new Mo(e,t,Ji(t,e)):null;var t,e};let Oo=(()=>{class t{}return t.__NG_ELEMENT_ID__=Io,t})();const Ao=Oo,Mo=class extends Ao{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=is(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const r=this._declarationLView[19];return null!==r&&(n[19]=r.createEmbeddedView(e)),ls(e,n,t),new wo(n)}};class Ro{}class Fo{}const No=function(){return function(t,e){let n;const r=e[t.index];if(Gt(r))n=r;else{let s;if(8&t.type)s=de(r);else{const n=e[11];s=n.createComment("");const r=fe(t,e);xr(n,Pr(n,r),s,function(t,e){return ue(t)?t.nextSibling(e):e.nextSibling}(n,r),!1)}e[t.index]=n=Ps(r,e,s,t),Ms(e,n)}return new Do(n,t,e)}(Ee(),Se())};let jo=(()=>{class t{}return t.__NG_ELEMENT_ID__=No,t})();const Lo=jo,Do=class extends Lo{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return Ji(this._hostTNode,this._hostLView)}get injector(){return new In(this._hostTNode,this._hostLView)}get parentInjector(){const t=_n(this._hostTNode,this._hostLView);if(cn(t)){const e=hn(t,this._hostLView),n=un(t);return new In(e[1].data[n+8],e)}return new In(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=Uo(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-Qt}createEmbeddedView(t,e,n){const r=t.createEmbeddedView(e||{});return this.insert(r,n),r}createComponent(t,e,n,r,s){const i=n||this.parentInjector;if(!s&&null==t.ngModule&&i){const t=i.get(Ro,null);t&&(s=t)}const o=t.create(i,r,void 0,s);return this.insert(o.hostView,e),o}insert(t,e){const n=t._lView,r=n[1];if(Gt(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],r=new Do(e,e[6],e[3]);r.detach(r.indexOf(t))}}const s=this._adjustIndex(e),i=this._lContainer;!function(t,e,n,r){const s=Qt+r,i=n.length;r>0&&(n[s-1][4]=e),r<i-Qt?(e[4]=n[s],jn(n,Qt+r,e)):(n.push(e),e[4]=null),e[3]=n;const o=e[17];null!==o&&n!==o&&function(t,e){const n=t[9];e[16]!==e[3][3][16]&&(t[2]=!0),null===n?t[9]=[e]:n.push(e)}(o,e);const a=e[19];null!==a&&a.insertView(t),e[2]|=128}(r,n,i,s);const o=Mr(s,i),a=n[11],l=Pr(a,i[7]);return null!==l&&function(t,e,n,r,s,i){r[0]=s,r[6]=e,Fr(t,r,n,1,s,i)}(r,i[6],a,n,l,o),t.attachToViewContainerRef(),jn(Ho(i),s,t),t}move(t,e){return this.insert(t,e)}indexOf(t){const e=Uo(this._lContainer);return null!==e?e.indexOf(t):-1}remove(t){const e=this._adjustIndex(t,-1),n=wr(this._lContainer,e);n&&(Ln(Ho(this._lContainer),e),Sr(n[1],n))}detach(t){const e=this._adjustIndex(t,-1),n=wr(this._lContainer,e);return n&&null!=Ln(Ho(this._lContainer),e)?new wo(n):null}_adjustIndex(t,e=0){return null==t?this.length+e:t}};function Uo(t){return t[8]}function Ho(t){return t[8]||(t[8]=[])}const $o={};class Vo extends Wi{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=qt(t);return new qo(e,this.ngModule)}}function zo(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const Bo=new Mn("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>hr});class qo extends Ki{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(Qr).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return zo(this.componentDef.inputs)}get outputs(){return zo(this.componentDef.outputs)}create(t,e,n,r){const s=(r=r||this.ngModule)?function(t,e){return{get:(n,r,s)=>{const i=t.get(n,$o,s);
vendor: 4,796 bytes, line 1
1return i!==$o||r===$o?i:e.get(n,r,s)}}}(t,r.injector):t,i=s.get(to,he),o=s.get(ro,null),a=i.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(t,e,n){if(ue(t))return t.selectRootElement(e,n===wt.ShadowDom);let r="string"==typeof e?t.querySelector(e):e;return r.textContent="",r}(a,n,this.componentDef.encapsulation):Cr(i.createRenderer(null,this.componentDef),l,function(t){const e=t.toLowerCase();return"svg"===e?le:"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),u=this.componentDef.onPush?576:528,h={components:[],scheduler:hr,clean:Ls,playerHandler:null,flags:0},d=gs(0,null,null,1,0,null,null,null,null,null),p=is(null,d,h,u,null,null,i,a,o,s);let f,g;De(p);try{const t=function(t,e,n,r,s,i){const o=n[1];n[20]=t;const a=os(o,20,2,"#host",null),l=a.mergedAttrs=e.hostAttrs;null!==l&&(Vs(a,l,!0),null!==t&&(rn(s,t,l),null!==a.classes&&Lr(s,t,a.classes),null!==a.styles&&jr(s,t,a.styles)));const c=r.createRenderer(t,e),u=is(n,fs(e),null,e.onPush?64:16,n[20],a,r,c,null,null);return o.firstCreatePass&&(vn(gn(a,n),o,e.type),bs(o,a),Ss(a,n.length,1)),Ms(n,u),n[20]=u}(c,this.componentDef,p,i,a);if(c)if(n)rn(a,c,["ng-version",io.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let r=1,s=2;for(;r<t.length;){let i=t[r];if("string"==typeof i)2===s?""!==i&&e.push(i,t[++r]):8===s&&n.push(i);else{if(!Br(s))break;s=i}r++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]);t&&rn(a,c,t),e&&e.length>0&&Lr(a,c,e.join(" "))}if(g=ge(d,Kt),void 0!==e){const t=g.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const r=e[n];t.push(null!=r?Array.from(r):null)}}f=function(t,e,n,r,s){const i=n[1],o=function(t,e,n){const r=Ee();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),ks(t,r,e,as(t,e,1,null),n));const s=En(e,t,r.directiveStart,r);or(s,e);const i=fe(r,e);return i&&or(i,e),s}(i,n,e);if(r.components.push(o),t[8]=o,s&&s.forEach(t=>t(o,e)),e.contentQueries){const t=Ee();e.contentQueries(1,o,t.directiveStart)}const a=Ee();return!i.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(qe(a.index),vs(n[1],a,0,a.directiveStart,a.directiveEnd,e),Cs(e,o)),o}(t,this.componentDef,p,h,[si]),ls(d,p,null)}finally{ze()}return new Zo(this.componentType,f,Ji(g,p),p,g)}}class Zo extends class{}{constructor(t,e,n,r,s){super(),this.location=n,this._rootLView=r,this._tNode=s,this.instance=e,this.hostView=this.changeDetectorRef=new So(r),this.componentType=t}get injector(){return new In(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const Ko=new Map;class Qo extends Ro{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Vo(this);const n=Zt(t),r=t[Ft]||null;r&&Zi(r),this._bootstrapComponents=dr(n.bootstrap),this._r3Injector=Gs(t,e,[{provide:Ro,useValue:this},{provide:Wi,useValue:this.componentFactoryResolver}],Y(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=ri.THROW_IF_NOT_FOUND,n=mt.Default){return t===ri||t===Ro||t===zs?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 Wo extends Fo{constructor(t){super(),this.moduleType=t,null!==Zt(t)&&function(t){const e=new Set;!function t(n){const r=Zt(n,!0),s=r.id;null!==s&&(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${Y(e)} vs ${Y(e.name)}`)}(s,Ko.get(s),n),Ko.set(s,n));const i=dr(r.imports);for(const o of i)e.has(o)||(e.add(o),t(o))}(t)}(t)}create(t){return new Qo(this.moduleType,t)}}function Go(t,e,n,r){return function(t,e,n,r,s,i){const o=e+n;return ci(t,o,s)?function(t,e,n){return t[e]=n}(t,o+1,i?r.call(i,s):r(s)):function(t,e){const n=t[e];return n===Wr?void 0:n}(t,o+1)}(Se(),function(){const t=be.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}(),t,e,n,r)}function Jo(t){return e=>{setTimeout(t,void 0,e)}}const Yo=class extends S{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){var r,s,i;let o=t,a=e||(()=>null),l=n;if(t&&"object"==typeof t){const e=t;o=null===(r=e.next)||void 0===r?void 0:r.bind(e),a=null===(s=e.error)||void 0===s?void 0:s.bind(e),l=null===(i=e.complete)||void 0===i?void 0:i.bind(e)}this.__isAsync&&(a=Jo(a),o&&(o=Jo(o)),l&&(l=Jo(l)));const c=super.subscribe({next:o,error:a,complete:l});return t instanceof h&&t.add(c),c}};Symbol;const Xo=new Mn("Application Initializer");let ta=(()=>{class t{constructor(t){this.appInits=t,this.resolve=Gi,this.reject=Gi,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}
1runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const e=this.appInits[n]();if(Ci(e))t.push(e);else if(bi(e)){const n=new Promise((t,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)(Qn(Xo,8))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();const ea=new Mn("AppId"),na={provide:ea,useFactory:function(){return`${ra()}${ra()}${ra()}`},deps:[]};function ra(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const sa=new Mn("Platform Initializer"),ia=new Mn("Platform ID"),oa=new Mn("appBootstrapListener");let aa=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();const la=new Mn("LocaleId"),ca=new Mn("DefaultCurrencyCode");class ua{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const ha=function(t){return new Wo(t)},da=ha,pa=function(t){return Promise.resolve(ha(t))},fa=function(t){const e=ha(t),n=dr(Zt(t).declarations).reduce((t,e)=>{const n=qt(e);return n&&t.push(new qo(n)),t},[]);return new ua(e,n)},ga=fa,ma=function(t){return Promise.resolve(fa(t))};let ya=(()=>{class t{constructor(){this.compileModuleSync=da,this.compileModuleAsync=pa,this.compileModuleAndAllComponentsSync=ga,this.compileModuleAndAllComponentsAsync=ma}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();const _a=(()=>Promise.resolve(0))();function va(t){"undefined"==typeof Zone?_a.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class Ca{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Yo(!1),this.onMicrotaskEmpty=new Yo(!1),this.onStable=new Yo(!1),this.onError=new Yo(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!n&&e,r.shouldCoalesceRunChangeDetection=n,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function(){let t=Tt.requestAnimationFrame,e=Tt.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=()=>{!function(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Tt,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Sa(t),t.isCheckStableRunning=!0,wa(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Sa(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,s,i,o,a)=>{try{return ka(t),n.invokeTask(s,i,o,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||t.shouldCoalesceRunChangeDetection)&&e(),xa(t)}},onInvoke:(n,r,s,i,o,a,l)=>{try{return ka(t),n.invoke(s,i,o,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),xa(t)}},onHasTask:(e,n,r,s)=>{e.hasTask(r,s),n===r&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,Sa(t),wa(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,n,r,s)=>(e.handleError(r,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(r)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ca.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Ca.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,r){const s=this._inner,i=s.scheduleEventTask("NgZoneEvent: "+r,t,ba,Gi,Gi);try{return s.runTask(i,e,n)}finally{s.cancelTask(i)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const ba={};function wa(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 Sa(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function ka(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function xa(t){t._nesting--,wa(t)}class Ea{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Yo,this.onMicrotaskEmpty=new Yo,this.onStable=new Yo,this.onError=ne
vendor: 4,944 bytes, line 1
1w Yo}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,r){return t.apply(e,n)}}let Ta=(()=>{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:()=>{Ca.assertNotInAngularZone(),va(()=>{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())va(()=>{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 r=-1;e&&e>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==r),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:r,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)(Qn(Ca))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})(),Pa=(()=>{class t{constructor(){this._applications=new Map,Aa.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 Aa.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();class Ia{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}let Oa,Aa=new Ia,Ma=!0,Ra=!1;const Fa=new Mn("AllowMultipleToken");class Na{constructor(t,e){this.name=t,this.token=e}}function ja(t,e,n=[]){const r=`Platform: ${e}`,s=new Mn(r);return(e=[])=>{let i=La();if(!i||i.injector.get(Fa,!1))if(t)t(n.concat(e).concat({provide:s,useValue:!0}));else{const t=n.concat(e).concat({provide:s,useValue:!0},{provide:qs,useValue:"platform"});!function(t){if(Oa&&!Oa.destroyed&&!Oa.injector.get(Fa,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Oa=t.get(Da);const e=t.get(sa,null);e&&e.forEach(t=>t())}(ri.create({providers:t,name:r}))}return function(t){const e=La();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}(s)}}function La(){return Oa&&!Oa.destroyed?Oa:null}let Da=(()=>{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 Ea:("zone.js"===t?void 0:t)||new Ca({enableLongStackTrace:(Ra=!0,Ma),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}),r=[{provide:Ca,useValue:n}];return n.run(()=>{const e=ri.create({providers:r,parent:this.injector,name:t.moduleType.name}),s=t.create(e),i=s.injector.get(ur,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const t=n.onError.subscribe({next:t=>{i.handleError(t)}});s.onDestroy(()=>{$a(this._modules,s),t.unsubscribe()})}),function(t,e,n){try{const r=n();return Ci(r)?r.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}(i,n,()=>{const t=s.injector.get(ta);
1return t.runInitializers(),t.donePromise.then(()=>(Zi(s.injector.get(la,Bi)||Bi),this._moduleDoBootstrap(s),s))})})}bootstrapModule(t,e=[]){const n=Ua({},e);return function(t,e,n){const r=new Wo(n);return Promise.resolve(r)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(Ha);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${Y(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)(Qn(ri))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();function Ua(t,e){return Array.isArray(e)?e.reduce(Ua,t):Object.assign(Object.assign({},t),e)}let Ha=(()=>{class t{constructor(t,e,n,r,s){this._zone=t,this._injector=e,this._exceptionHandler=n,this._componentFactoryResolver=r,this._initStatus=s,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 i=new _(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),o=new _(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{Ca.assertNotInAngularZone(),va(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Ca.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=function(...t){let e=Number.POSITIVE_INFINITY,n=null,r=t[t.length-1];return x(r)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof r&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof _?t[0]:V(e)(z(t,n))}(i,o.pipe(t=>{return B()((e=G,function(t){let n;n="function"==typeof e?e:function(){return e};const r=Object.create(t,Q);return r.source=t,r.subjectFactory=n,r})(t));var e}))}bootstrap(t,e){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=t instanceof Ki?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const r=n.isBoundToModule?void 0:this._injector.get(Ro),s=n.create(ri.NULL,[],e||n.selector,r),i=s.location.nativeElement,o=s.injector.get(Ta,null),a=o&&s.injector.get(Pa);return o&&a&&a.registerApplication(i,o),s.onDestroy(()=>{this.detachView(s.hostView),$a(this.components,s),a&&a.unregisterApplication(i)}),this._loadComponent(s),s}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;$a(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(oa,[]).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)(Qn(Ca),Qn(ri),Qn(ur),Qn(Wi),Qn(ta))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();function $a(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class Va{}class za{}const Ba={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let qa=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||Ba}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,r]=t.split("#");return void 0===r&&(r="default"),n(255)(e).then(t=>t[r]).then(t=>Za(t,e,r)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,r]=t.split("#"),s="NgFactory";return void 0===r&&(r="default",s=""),n(255)(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[r+s]).then(t=>Za(t,e,r))}}return t.\u0275fac=function(e){return new(e||t)(Qn(ya),Qn(za,8))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();function Za(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}const Ka=ja(null,"core",[{provide:ia,useValue:"unknown"},{provide:Da,deps:[ri]},{provide:Pa,deps:[]},{provide:aa,deps:[]}]),Qa=[{provide:Ha,useClass:Ha,deps:[Ca,ri,ur,Wi,ta]}
1,{provide:Bo,deps:[Ca],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:ta,useClass:ta,deps:[[new Yn,Xo]]},{provide:ya,useClass:ya,deps:[]},na,{provide:_o,useFactory:function(){return To},deps:[]},{provide:Co,useFactory:function(){return Po},deps:[]},{provide:la,useFactory:function(t){return Zi(t=t||"undefined"!=typeof $localize&&$localize.locale||Bi),t},deps:[[new Jn(la),new Yn,new Xn]]},{provide:ca,useValue:"USD"}];let Wa=(()=>{class t{constructor(t){}}return t.\u0275fac=function(e){return new(e||t)(Qn(Ha))},t.\u0275mod=Vt({type:t}),t.\u0275inj=lt({providers:Qa}),t})(),Ga=null;function Ja(){return Ga}const Ya=new Mn("DocumentToken");let Xa=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=at({factory:tl,token:t,providedIn:"platform"}),t})();function tl(){return Qn(nl)}const el=new Mn("Location Initialized");let nl=(()=>{class t extends Xa{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ja().getBaseHref(this._doc)}onPopState(t){const e=Ja().getGlobalEventTarget(this._doc,"window");return e.addEventListener("popstate",t,!1),()=>e.removeEventListener("popstate",t)}onHashChange(t){const e=Ja().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){rl()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){rl()?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)(Qn(Ya))},t.\u0275prov=at({factory:sl,token:t,providedIn:"platform"}),t})();function rl(){return!!window.history.pushState}function sl(){return new nl(Qn(Ya))}function il(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 ol(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 al(t){return t&&"?"!==t[0]?"?"+t:t}let ll=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=at({factory:cl,token:t,providedIn:"root"}),t})();function cl(t){const e=Qn(Ya).location;return new hl(Qn(Xa),e&&e.origin||"")}const ul=new Mn("appBaseHref");let hl=(()=>{class t extends ll{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 il(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+al(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,r){const s=this.prepareExternalUrl(n+al(r));this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,r){const s=this.prepareExternalUrl(n+al(r));this._platformLocation.replaceState(t,e,s)}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)(Qn(Xa),Qn(ul,8))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})(),dl=(()=>{class t extends ll{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.on
1HashChange(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=il(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,r){let s=this.prepareExternalUrl(n+al(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,r){let s=this.prepareExternalUrl(n+al(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,s)}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)(Qn(Xa),Qn(ul,8))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})(),pl=(()=>{class t{constructor(t,e){this._subject=new Yo,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=ol(gl(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+al(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,gl(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+al(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+al(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)(Qn(ll),Qn(Xa))},t.normalizeQueryParams=al,t.joinWithSlash=il,t.stripTrailingSlash=ol,t.\u0275prov=at({factory:fl,token:t,providedIn:"root"}),t})();function fl(){return new pl(Qn(ll),Qn(Xa))}function gl(t){return t.replace(/\/index.html$/,"")}var ml=(()=>((ml=ml||{})[ml.Zero=0]="Zero",ml[ml.One=1]="One",ml[ml.Two=2]="Two",ml[ml.Few=3]="Few",ml[ml.Many=4]="Many",ml[ml.Other=5]="Other",ml))();class yl{}let _l=(()=>{class t extends yl{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(function(t){return function(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=Vi(e);if(n)return n;const r=e.split("-")[0];if(n=Vi(r),n)return n;if("en"===r)return Hi;throw new Error(`Missing locale data for the locale "${t}".`)}(t)[zi.PluralCase]}(e||this.locale)(t)){case ml.Zero:return"zero";case ml.One:return"one";case ml.Two:return"two";case ml.Few:return"few";case ml.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(Qn(la))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();function vl(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[r,s]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(r.trim()===e)return decodeURIComponent(s)}return null}class Cl{constructor(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let bl=(()=>{class t{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(e){throw new Error(`Cannot find a differ supporting object '${n}' of type '${t=n,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,r)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new Cl(null,this._ngForOf,-1,-1),null===r?void 0:r),s=new wl(t,n);e.push(s)}else if(null==r)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const s=this._viewContainer.get(n);this._viewContainer.move(s,r);const i=new wl(t,s);e.push(i)}});for(let n=0;n<e.length;n++)this._perViewChange(e[n].view,e[n].record);for(let n=0,r=this._viewContainer.length;n<r;n++){const t=this._viewContainer.get(n);
1t.context.index=n,t.context.count=r,t.context.ngForOf=this._ngForOf}t.forEachIdentityChange(t=>{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(pi(jo),pi(Oo),pi(_o))},t.\u0275dir=Bt({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class wl{constructor(t,e){this.record=t,this.view=e}}let Sl=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new kl,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){xl("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){xl("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)(pi(jo),pi(Oo))},t.\u0275dir=Bt({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class kl{constructor(){this.$implicit=null,this.ngIf=null}}function xl(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${Y(e)}'.`)}let El=(()=>{class t{constructor(t,e,n){this._ngEl=t,this._differs=e,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,e){const[n,r]=t.split(".");null!=(e=null!=e&&r?`${e}${r}`:e)?this._renderer.setStyle(this._ngEl.nativeElement,n,e):this._renderer.removeStyle(this._ngEl.nativeElement,n)}_applyChanges(t){t.forEachRemovedItem(t=>this._setStyle(t.key,null)),t.forEachAddedItem(t=>this._setStyle(t.key,t.currentValue)),t.forEachChangedItem(t=>this._setStyle(t.key,t.currentValue))}}return t.\u0275fac=function(e){return new(e||t)(pi(Xi),pi(Co),pi(eo))},t.\u0275dir=Bt({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),t})(),Tl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=lt({providers:[{provide:yl,useClass:_l}]}),t})(),Pl=(()=>{class t{}return t.\u0275prov=at({token:t,providedIn:"root",factory:()=>new Il(Qn(Ya),window)}),t})();class Il{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 r=n.currentNode;for(;r;){const t=r.shadowRoot;if(t){const n=t.getElementById(e)||t.querySelector(`[name="${e}"]`);if(n)return n}r=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,r=e.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(n-s[0],r-s[1])}attemptFocus(t){return t.focus(),this.document.activeElement===t}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=Ol(this.window.history)||Ol(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 Ol(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class Al{}class Ml extends class extends class{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){var t;t=new Ml,Ga||(Ga=t)}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=(Fl=Fl||document.querySelector("base"),Fl?Fl.getAttribute("href"):null);return null==e?null:function(t){Rl=Rl||document.createElement("a"),Rl.setAttribute("href",t);const e=Rl.pathname;return"/"===e.charAt(0)?e:`/${e}`}(e)}resetBaseElement(){Fl=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return vl(document.cookie,t)}}let Rl,Fl=null;const Nl=new Mn("TRANSITION_ID"),jl=[{provide:Xo,useFactory:function(t,e,n){return()=>{n.get(ta).donePromise.then(()=>{const n=Ja();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[Nl,Ya,ri],multi:!0}];class Ll{static init(){var t;t=new Ll,Aa=t}addToWindow(t){Tt.getAngularTestability=(e,n=!0)=>{const r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},Tt.getAllAngularTestabilities=()=>t.getAllTestabilities(),Tt.getAllAngularRootElements=()=>t.getAllRootElements(),Tt.frameworkStabilizers||(Tt.frameworkStabilizers=[]),Tt.frameworkStabilizers.push(t=>{const e=Tt.getAllAngularTestabilities();let n=e.length,r=!1;const s=function(e){r=r||e,n--,0==n&&t(r)};e.forEach(function(t){t.whenStable(s)})})}findTestabilityInTree(t,e,n){if(null==e)return null;const r=t.getTestability(e);return null!=r?r:n?Ja().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}let Dl=(()=>{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();const Ul=new Mn("EventManagerPlugins");let Hl=(()=>{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 r=0;r<n.length;r++){const e=n[r];if(e.supports(t))return this._eventNameToPlugin.set(t,e),e}throw new Error(`No event manager plugin found for event ${t}`)}}return t.\u0275fac=function(e){return new(e||t)(Qn(Ul),Qn(Ca))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();class $l{constructor(t){this._doc=t}addGlobalEventListener(t,e,n){const r=Ja().getGlobalEventTarget(this._doc,t);if(!r)throw new Error(`Unsupported event target ${r} for event ${e}`);return this.addEventListener(r,e,n)}}let Vl=(()=>{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=at({token:t,factory:t.\u0275fac}),t})(),zl=(()=>{class t extends Vl{constructor(t){super(),this._doc=t,this._hostNodes=new Map,this._hostNodes.set(t.head,[])}_addStylesToHost(t,e,n){t.forEach(t=>{const r=this._doc.createElement("style");r.textContent=t,n.push(e.appendChild(r))})}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(Bl),this._hostNodes.delete(t)}
vendor: 14,503 bytes, line 1
1onStylesAdded(t){this._hostNodes.forEach((e,n)=>{this._addStylesToHost(t,n,e)})}ngOnDestroy(){this._hostNodes.forEach(t=>t.forEach(Bl))}}return t.\u0275fac=function(e){return new(e||t)(Qn(Ya))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();function Bl(t){Ja().remove(t)}const ql={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/"},Zl=/%COMP%/g;function Kl(t,e,n){for(let r=0;r<e.length;r++){let s=e[r];Array.isArray(s)?Kl(t,s,n):(s=s.replace(Zl,t),n.push(s))}return n}function Ql(t){return e=>{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let Wl=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new Gl(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case wt.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new Jl(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case 1:case wt.ShadowDom:return new Yl(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=Kl(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)(Qn(Hl),Qn(zl),Qn(ea))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();class Gl{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(ql[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,r){if(r){e=r+":"+e;const s=ql[r];s?t.setAttributeNS(s,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const r=ql[n];r?t.removeAttributeNS(r,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,r){r&(pr.DashCase|pr.Important)?t.style.setProperty(e,n,r&pr.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&pr.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,Ql(n)):this.eventManager.addEventListener(t,e,Ql(n))}}class Jl extends Gl{constructor(t,e,n,r){super(t),this.component=n;const s=Kl(r+"-"+n.id,n.styles,[]);e.addStyles(s),this.contentAttr="_ngcontent-%COMP%".replace(Zl,r+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(Zl,r+"-"+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 Yl extends Gl{constructor(t,e,n,r){super(t),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=Kl(r.id,r.styles,[]);for(let i=0;i<s.length;i++){const t=document.createElement("style");t.textContent=s[i],this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let Xl=(()=>{class t extends $l{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)(Qn(Ya))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();const tc=["alt","control","meta","shift"],ec={"\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"},nc={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"},rc={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let sc=(()=>{class t extends $l{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,r){const s=t.parseEventName(n),i=t.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ja().onAndCancel(e,s.domEventName,i))}static parseEventName(e){const n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const s=t._normalizeKey(n.pop());let i="";if(tc.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),i+=t+".")}),i+=s,0!=n.length||0===s.length)return null;const o={};return o.domEventName=r,o.fullKey=i,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&&nc.hasOwnProperty(e)&&(e=nc[e]))}return ec[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),tc.forEach(r=>{r!=n&&(0,rc[r])(t)&&(e+=r+".")}),e+=n,e}static eventCallback(e,n,r){return s=>{t.getEventFullKey(s)===e&&r.runGuarded(()=>n(s))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(Qn(Ya))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();const ic=ja(Ka,"browser",[{provide:ia,useValue:"browser"},{provide:sa,useValue:function(){Ml.makeCurrent(),Ll.init()},multi:!0},{provide:Ya,useFactory:function(){return function(t){ce=t}(document),document},deps:[]}]),oc=[[],{provide:qs,useValue:"root"},{provide:ur,useFactory:function(){return new ur},deps:[]},{provide:Ul,useClass:Xl,multi:!0,deps:[Ya,Ca,ia]},{provide:Ul,useClass:sc,multi:!0,deps:[Ya]},[],{provide:Wl,useClass:Wl,deps:[Hl,zl,ea]},{provide:to,useExisting:Wl},{provide:Vl,useExisting:zl},{provide:zl,useClass:zl,deps:[Ya]},{provide:Ta,useClass:Ta,deps:[Ca]},{provide:Hl,useClass:Hl,deps:[Ul,Ca]},{provide:Al,useClass:Dl,deps:[]},[]];let ac=(()=>{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:ea,useValue:e.appId},{provide:Nl,useExisting:ea},jl]}}}return t.\u0275fac=function(e){return new(e||t)(Qn(t,12))},t.\u0275mod=Vt({type:t}),t.\u0275inj=lt({providers:oc,imports:[Tl,Wa]}),t})();function lc(){return new cc(Qn(Ya))}let cc=(()=>{class t{constructor(t){this._doc=t,this._dom=Ja()}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 uc[t]||t}}return t.\u0275fac=function(e){return new(e||t)(Qn(Ya))},t.\u0275prov=at({factory:lc,token:t,providedIn:"root"}),t})();const uc={httpEquiv:"http-equiv"};function hc(){return new dc(Qn(Ya))}let dc=(()=>{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)(Qn(Ya))},t.\u0275prov=at({factory:hc,token:t,providedIn:"root"}),t})();function pc(...t){let e=t[t.length-1];return x(e)?(t.pop(),F(t,e)):z(t)}function fc(t,e){return U(t,e,1)}function gc(t,e){return function(n){return n.lift(new mc(t,e))}}"undefined"!=typeof window&&window;class mc{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new yc(t,this.predicate,this.thisArg))}}class yc extends f{constructor(t,e,n){super(t),this.predicate=e,this.thisArg=n,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}class _c{}class vc{}class Cc{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),r=n.toLowerCase(),s=t.slice(e+1).trim();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(s):this.headers.set(r,[s])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const r=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(r,n),this.maybeSetNormalizedName(e,r))})}: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 Cc?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 Cc;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof Cc?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 r=("a"===t.op?this.headers.get(e):void 0)||[];r.push(...n),this.headers.set(e,r);break;case"d":const s=t.value;if(s){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===s.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 bc{encodeKey(t){return wc(t)}encodeValue(t){return wc(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function wc(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}function Sc(t){return`${t}`}class kc{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new bc,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 r=t.indexOf("="),[s,i]=-1==r?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,r)),e.decodeValue(t.slice(r+1))],o=n.get(s)||[];o.push(i),n.set(s,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 r=t[n];Array.isArray(r)?r.forEach(t=>{e.push({param:n,value:t,op:"a"})}):e.push({param:n,value:r,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 kc({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(Sc(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(Sc(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 xc{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}
1keys(){return this.map.keys()}}function Ec(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function Tc(t){return"undefined"!=typeof Blob&&t instanceof Blob}function Pc(t){return"undefined"!=typeof FormData&&t instanceof FormData}class Ic{constructor(t,e,n,r){let s;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)||r?(this.body=void 0!==n?n:null,s=r):s=n,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params)),this.headers||(this.headers=new Cc),this.context||(this.context=new xc),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?");this.urlWithParams=e+(-1===n?"?":n<e.length-1?"&":"")+t}}else this.params=new kc,this.urlWithParams=e}serializeBody(){return null===this.body?null:Ec(this.body)||Tc(this.body)||Pc(this.body)||"undefined"!=typeof URLSearchParams&&this.body instanceof URLSearchParams||"string"==typeof this.body?this.body:this.body instanceof kc?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||Pc(this.body)?null:Tc(this.body)?this.body.type||null:Ec(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof kc?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(t={}){var e;const n=t.method||this.method,r=t.url||this.url,s=t.responseType||this.responseType,i=void 0!==t.body?t.body:this.body,o=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,a=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let l=t.headers||this.headers,c=t.params||this.params;const u=null!==(e=t.context)&&void 0!==e?e:this.context;return void 0!==t.setHeaders&&(l=Object.keys(t.setHeaders).reduce((e,n)=>e.set(n,t.setHeaders[n]),l)),t.setParams&&(c=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),c)),new Ic(n,r,i,{params:c,headers:l,context:u,reportProgress:a,responseType:s,withCredentials:o})}}var Oc=(()=>((Oc=Oc||{})[Oc.Sent=0]="Sent",Oc[Oc.UploadProgress=1]="UploadProgress",Oc[Oc.ResponseHeader=2]="ResponseHeader",Oc[Oc.DownloadProgress=3]="DownloadProgress",Oc[Oc.Response=4]="Response",Oc[Oc.User=5]="User",Oc))();class Ac{constructor(t,e=200,n="OK"){this.headers=t.headers||new Cc,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 Mc extends Ac{constructor(t={}){super(t),this.type=Oc.ResponseHeader}clone(t={}){return new Mc({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 Rc extends Ac{constructor(t={}){super(t),this.type=Oc.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Rc({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 Fc extends Ac{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 Nc(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 jc=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let r;if(t instanceof Ic)r=t;else{let s,i;s=n.headers instanceof Cc?n.headers:new Cc(n.headers),n.params&&(i=n.params instanceof kc?n.params:new kc({fromObject:n.params})),r=new Ic(t,e,void 0!==n.body?n.body:null,{headers:s,context:n.context,params:i,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const s=pc(r).pipe(fc(t=>this.handler.handle(t)));if(t instanceof Ic||"events"===n.observe)return s;const i=s.pipe(gc(t=>t instanceof Rc));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return i.pipe(E(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return i.pipe(E(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return i.pipe(E(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return i.pipe(E(t=>t.body))}case"response":return i;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new kc).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,Nc(n,e))}post(t,e,n={}
vendor: 5,083 bytes, line 1
1){return this.request("POST",t,Nc(n,e))}put(t,e,n={}){return this.request("PUT",t,Nc(n,e))}}return t.\u0275fac=function(e){return new(e||t)(Qn(_c))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();class Lc{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const Dc=new Mn("HTTP_INTERCEPTORS");let Uc=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();const Hc=/^\)\]\}',?\n/;let $c=(()=>{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 _(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 r=t.serializeBody();let s=null;const i=()=>{if(null!==s)return s;const e=1223===n.status?204:n.status,r=n.statusText||"OK",i=new Cc(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 s=new Mc({headers:i,status:e,statusText:r,url:o}),s},o=()=>{let{headers:r,status:s,statusText:o,url:a}=i(),l=null;204!==s&&(l=void 0===n.response?n.responseText:n.response),0===s&&(s=l?200:0);let c=s>=200&&s<300;if("json"===t.responseType&&"string"==typeof l){const t=l;l=l.replace(Hc,"");try{l=""!==l?JSON.parse(l):null}catch(u){l=t,c&&(c=!1,l={error:u,text:l})}}c?(e.next(new Rc({body:l,headers:r,status:s,statusText:o,url:a||void 0})),e.complete()):e.error(new Fc({error:l,headers:r,status:s,statusText:o,url:a||void 0}))},a=t=>{const{url:r}=i(),s=new Fc({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:r||void 0});e.error(s)};let l=!1;const c=r=>{l||(e.next(i()),l=!0);let s={type:Oc.DownloadProgress,loaded:r.loaded};r.lengthComputable&&(s.total=r.total),"text"===t.responseType&&n.responseText&&(s.partialText=n.responseText),e.next(s)},u=t=>{let n={type:Oc.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!==r&&n.upload&&n.upload.addEventListener("progress",u)),n.send(r),e.next({type:Oc.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("abort",a),n.removeEventListener("load",o),n.removeEventListener("timeout",a),t.reportProgress&&(n.removeEventListener("progress",c),null!==r&&n.upload&&n.upload.removeEventListener("progress",u)),n.readyState!==n.DONE&&n.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(Qn(Al))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();const Vc=new Mn("XSRF_COOKIE_NAME"),zc=new Mn("XSRF_HEADER_NAME");class Bc{}let qc=(()=>{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=vl(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(Qn(Ya),Qn(ia),Qn(Vc))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})(),Zc=(()=>{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 r=this.tokenService.getToken();return null===r||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,r)})),e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(Qn(Bc),Qn(zc))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})(),Kc=(()=>{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(Dc,[]);this.chain=t.reduceRight((t,e)=>new Lc(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(Qn(vc),Qn(ri))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})(),Qc=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:Zc,useClass:Uc}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:Vc,useValue:e.cookieName}:[],e.headerName?{provide:zc,useValue:e.headerName}:[]]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=lt({providers:[Zc,{provide:Dc,useExisting:Zc,multi:!0},{provide:Bc,useClass:qc},{provide:Vc,useValue:"XSRF-TOKEN"},{provide:zc,useValue:"X-XSRF-TOKEN"}
1]}),t})(),Wc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=lt({providers:[jc,{provide:_c,useClass:Kc},$c,{provide:vc,useExisting:$c}],imports:[[Qc.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})();class Gc{}const Jc="*";function Yc(t,e=null){return{type:2,steps:t,options:e}}function Xc(t){return{type:6,styles:t,offset:null}}function tu(t){Promise.resolve(null).then(t)}class eu{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(){tu(()=>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 nu{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,r=0;const s=this.players.length;0==s?tu(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==s&&this._onFinish()}),t.onDestroy(()=>{++n==s&&this._onDestroy()}),t.onStart(()=>{++r==s&&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 ru(){return"undefined"!=typeof window&&void 0!==window.document}function su(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function iu(t){switch(t.length){case 0:return new eu;case 1:return t[0];default:return new nu(t)}}function ou(t,e,n,r,s={},i={}){const o=[],a=[];let l=-1,c=null;if(r.forEach(t=>{const n=t.offset,r=n==l,u=r&&c||{};Object.keys(t).forEach(n=>{let r=n,a=t[n];if("offset"!==n)switch(r=e.normalizePropertyName(r,o),a){case"!":a=s[n];break;case Jc:a=i[n];break;default:a=e.normalizeStyleValue(n,r,a,o)}u[r]=a}),r||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 au(t,e,n,r){switch(e){case"start":t.onStart(()=>r(n&&lu(n,"start",t)));break;case"done":t.onDone(()=>r(n&&lu(n,"done",t)));break;
1case"destroy":t.onDestroy(()=>r(n&&lu(n,"destroy",t)))}}function lu(t,e,n){const r=n.totalTime,s=cu(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==r?t.totalTime:r,!!n.disabled),i=t._data;return null!=i&&(s._data=i),s}function cu(t,e,n,r,s="",i=0,o){return{element:t,triggerName:e,fromState:n,toState:r,phaseName:s,totalTime:i,disabled:!!o}}function uu(t,e,n){let r;return t instanceof Map?(r=t.get(e),r||t.set(e,r=n)):(r=t[e],r||(r=t[e]=n)),r}function hu(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let du=(t,e)=>!1,pu=(t,e)=>!1,fu=(t,e,n)=>[];const gu=su();(gu||"undefined"!=typeof Element)&&(du=ru()?(t,e)=>{for(;e&&e!==document.documentElement;){if(e===t)return!0;e=e.parentNode||e.host}return!1}:(t,e)=>t.contains(e),pu=(()=>{if(gu||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]):pu}})(),fu=(t,e,n)=>{let r=[];if(n){const n=t.querySelectorAll(e);for(let t=0;t<n.length;t++)r.push(n[t])}else{const n=t.querySelector(e);n&&r.push(n)}return r});let mu=null,yu=!1;function _u(t){mu||(mu=("undefined"!=typeof document?document.body:null)||{},yu=!!mu.style&&"WebkitAppearance"in mu.style);let e=!0;return mu.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&(e=t in mu.style,!e&&yu)&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in mu.style),e}const vu=pu,Cu=du,bu=fu;function wu(t){const e={};return Object.keys(t).forEach(n=>{const r=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[r]=t[n]}),e}let Su=(()=>{class t{validateStyleProperty(t){return _u(t)}matchesElement(t,e){return vu(t,e)}containsElement(t,e){return Cu(t,e)}query(t,e,n){return bu(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,r,s,i=[],o){return new eu(n,r)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();class ku{}ku.NOOP=new Su;const xu="ng-enter",Eu="ng-leave",Tu="ng-trigger",Pu=".ng-trigger",Iu="ng-animating",Ou=".ng-animating";function Au(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Mu(parseFloat(e[1]),e[2])}function Mu(t,e){switch(e){case"s":return 1e3*t;default:return t}}function Ru(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){let r,s=0,i="";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:""};r=Mu(parseFloat(n[1]),n[2]);const o=n[3];null!=o&&(s=Mu(parseFloat(o),n[4]));const a=n[5];a&&(i=a)}else r=t;if(!n){let n=!1,i=e.length;r<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),s<0&&(e.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&e.splice(i,0,`The provided timing value "${t}" is invalid.`)}return{duration:r,delay:s,easing:i}}(t,e,n)}function Fu(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function Nu(t,e,n={}){if(e)for(let r in t)n[r]=t[r];else Fu(t,n);return n}function ju(t,e,n){return n?e+":"+n+";":""}function Lu(t){let e="";for(let n=0;n<t.style.length;n++){const r=t.style.item(n);e+=ju(0,r,t.style.getPropertyValue(r))}for(const n in t.style)t.style.hasOwnProperty(n)&&!n.startsWith("_")&&(e+=ju(0,n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.style[n]));t.setAttribute("style",e)}function Du(t,e,n){t.style&&(Object.keys(e).forEach(r=>{const s=Zu(r);n&&!n.hasOwnProperty(r)&&(n[r]=t.style[s]),t.style[s]=e[r]}),su()&&Lu(t))}function Uu(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=Zu(e);t.style[n]=""}),su()&&Lu(t))}function Hu(t){return Array.isArray(t)?1==t.length?t[0]:Yc(t):t}const $u=new RegExp("{{\\s*(.+?)\\s*}}","g");function Vu(t){let e=[];
1if("string"==typeof t){let n;for(;n=$u.exec(t);)e.push(n[1]);$u.lastIndex=0}return e}function zu(t,e,n){const r=t.toString(),s=r.replace($u,(t,r)=>{let s=e[r];return e.hasOwnProperty(r)||(n.push(`Please provide a value for the animation param ${r}`),s=""),s.toString()});return s==r?t:s}function Bu(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const qu=/-+([a-z0-9])/g;function Zu(t){return t.replace(qu,(...t)=>t[1].toUpperCase())}function Ku(t,e){return 0===t||0===e}function Qu(t,e,n){const r=Object.keys(n);if(r.length&&e.length){let i=e[0],o=[];if(r.forEach(t=>{i.hasOwnProperty(t)||o.push(t),i[t]=n[t]}),o.length)for(var s=1;s<e.length;s++){let n=e[s];o.forEach(function(e){n[e]=Gu(t,e)})}}return e}function Wu(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw new Error(`Unable to resolve animation metadata node #${e.type}`)}}function Gu(t,e){return window.getComputedStyle(t)[e]}const Ju="*";function Yu(t,e){const n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(t=>function(t,e,n){if(":"==t[0]){const r=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)<parseFloat(t);default:return e.push(`The transition alias value "${t}" is not supported`),"* => *"}}(t,n);if("function"==typeof r)return void e.push(r);t=r}const r=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push(`The provided transition expression "${t}" is not supported`),e;const s=r[1],i=r[2],o=r[3];e.push(eh(s,o)),"<"!=i[0]||s==Ju&&o==Ju||e.push(eh(o,s))}(t,n,e)):n.push(t),n}const Xu=new Set(["true","1"]),th=new Set(["false","0"]);function eh(t,e){const n=Xu.has(t)||th.has(t),r=Xu.has(e)||th.has(e);return(s,i)=>{let o=t==Ju||t==s,a=e==Ju||e==i;return!o&&n&&"boolean"==typeof s&&(o=s?Xu.has(t):th.has(t)),!a&&r&&"boolean"==typeof i&&(a=i?Xu.has(e):th.has(e)),o&&a}}const nh=new RegExp("s*:selfs*,?","g");function rh(t,e,n){return new sh(t).build(e,n)}class sh{constructor(t){this._driver=t}build(t,e){const n=new ih(e);return this._resetContextStyleTimingState(n),Wu(this,Hu(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,r=e.depCount=0;const s=[],i=[];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,r=n.name;r.toString().split(/\s*,\s*/).forEach(t=>{n.name=t,s.push(this.visitState(n,e))}),n.name=r}else if(1==t.type){const s=this.visitTransition(t,e);n+=s.queryCount,r+=s.depCount,i.push(s)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:s,transitions:i,queryCount:n,depCount:r,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(n.containsDynamicStyles){const s=new Set,i=r||{};if(n.styles.forEach(t=>{if(oh(t)){const e=t;Object.keys(e).forEach(t=>{Vu(e[t]).forEach(t=>{i.hasOwnProperty(t)||s.add(t)})})}}),s.size){const n=Bu(s.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:r?{params:r}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=Wu(this,Hu(t.animation),e);return{type:1,matchers:Yu(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:ah(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>Wu(this,t,e)),options:ah(t.options)}}visitGroup(t,e){const n=e.currentTime;let r=0;const s=t.steps.map(t=>{e.currentTime=n;const s=Wu(this,t,e);return r=Math.max(r,e.currentTime),s});return e.currentTime=r,{type:3,steps:s,options:ah(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 lh(Ru(t,e).duration,0,"");const r=t;if(r.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=lh(0,0,"");return t.dynamic=!0,t.strValue=r,t}return n=n||Ru(r,e),lh(n.duration,n.delay,n.easing)}(t.timings,e.errors);let r;e.currentAnimateTimings=n;let s=t.styles?t.styles:Xc({});if(5==s.type)r=this.visitKeyframes(s,e);else{let s=t.styles,i=!1;if(!s){i=!0;const t={};n.easing&&(t.easing=n.easing),s=Xc(t)}e.currentTime+=n.duration+n.delay;const o=this.visitStyle(s,e);o.isEmptyStep=i,r=o}return e.currentAnimateTimings=null,{type:4,timings:n,style:r,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);
1return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?t==Jc?n.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):n.push(t)}):n.push(t.styles);let r=!1,s=null;return n.forEach(t=>{if(oh(t)){const e=t,n=e.easing;if(n&&(s=n,delete e.easing),!r)for(let t in e)if(e[t].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:n,easing:s,offset:t.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let r=e.currentTime,s=e.currentTime;n&&s>0&&(s-=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 i=e.collectedStyles[e.currentQuerySelector],o=i[n];let a=!0;o&&(s!=r&&s>=o.startTime&&r<=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 "${s}ms" and "${r}ms"`),a=!1),s=o.startTime),a&&(i[n]={startTime:s,endTime:r}),e.options&&function(t,e,n){const r=e.params||{},s=Vu(t);s.length&&s.forEach(t=>{r.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 r=0;const s=[];let i=!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(oh(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(oh(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),c=0;return null!=l&&(r++,c=n.offset=l),o=o||c<0||c>1,i=i||c<a,a=c,s.push(c),n});o&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),i&&e.errors.push("Please ensure that all keyframe offsets are in order");const c=t.steps.length;let u=0;r>0&&r<c?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==r&&(u=1/(c-1));const h=c-1,d=e.currentTime,p=e.currentAnimateTimings,f=p.duration;return l.forEach((t,r)=>{const i=u>0?r==h?1:u*r:s[r],o=i*f;e.currentTime=d+p.delay+o,p.duration=o,this._validateStyleAst(t,e),t.offset=i,n.styles.push(t)}),n}visitReference(t,e){return{type:8,animation:Wu(this,Hu(t.animation),e),options:ah(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:ah(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:ah(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;const[s,i]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(nh,"")),[t=t.replace(/@\*/g,Pu).replace(/@\w+/g,t=>".ng-trigger-"+t.substr(1)).replace(/:animating/g,Ou),e]}(t.selector);e.currentQuerySelector=n.length?n+" "+s:s,uu(e.collectedStyles,e.currentQuerySelector,{});const o=Wu(this,Hu(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:s,limit:r.limit||0,optional:!!r.optional,includeSelf:i,animation:o,originalSelector:t.selector,options:ah(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"}:Ru(t.timings,e.errors,!0);return{type:12,animation:Wu(this,Hu(t.animation),e),timings:n,options:null}}}class ih{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 oh(t){return!Array.isArray(t)&&"object"==typeof t}function ah(t){var e;return t?(t=Fu(t)).params&&(t.params=(e=t.params)?Fu(e):null):t={},t}function lh(t,e,n){return{duration:t,delay:e,easing:n}}function ch(t,e,n,r,s,i,o=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:s,delay:i,totalTime:s+i,easing:o,subTimeline:a}}class uh{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 hh=new RegExp(":enter","g"),dh=new RegExp(":leave","g");function ph(t,e,n,r,s,i={},o={},a,l,c=[]){return(new fh).buildKeyframes(t,e,n,r,s,i,o,a,l,c)}class fh{buildKeyframes(t,e,n,r,s,i,o,a,l,c=[]){l=l||new uh;const u=new mh(t,e,l,r,s,c,[]);u.options=a,u.currentTimeline.setStyles([i],null,u.errors,a),Wu(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()):[ch(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}
1visitAnimateChild(t,e){const n=e.subInstructions.consume(e.element);if(n){const r=e.createSubContext(t.options),s=e.currentTimeline.currentTime,i=this._visitSubInstructions(n,r,r.options);s!=i&&e.transformIntoNewTimeline(i)}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 r=e.currentTimeline.currentTime;const s=null!=n.duration?Au(n.duration):null,i=null!=n.delay?Au(n.delay):null;return 0!==s&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,s,i);r=Math.max(r,n.duration+n.delay)}),r}visitReference(t,e){e.updateOptions(t.options,!0),Wu(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let r=e;const s=t.options;if(s&&(s.params||s.delay)&&(r=e.createSubContext(s),r.transformIntoNewTimeline(),null!=s.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=gh);const t=Au(s.delay);r.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>Wu(this,t,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let r=e.currentTimeline.currentTime;const s=t.options&&t.options.delay?Au(t.options.delay):0;t.steps.forEach(i=>{const o=e.createSubContext(t.options);s&&o.delayNextStep(s),Wu(this,i,o),r=Math.max(r,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(r),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return Ru(e.params?zu(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),r=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),r.snapshotCurrentStyles());const s=t.style;5==s.type?this.visitKeyframes(s,e):(e.incrementTime(n.duration),this.visitStyle(s,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,r=e.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();const s=r&&r.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(s):n.setStyles(t.styles,s,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,r=e.currentTimeline.duration,s=n.duration,i=e.createSubContext().currentTimeline;i.easing=n.easing,t.styles.forEach(t=>{i.forwardTime((t.offset||0)*s),i.setStyles(t.styles,t.easing,e.errors,e.options),i.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(i),e.transformIntoNewTimeline(r+s),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,r=t.options||{},s=r.delay?Au(r.delay):0;s&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=gh);let i=n;const o=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=o.length;let a=null;o.forEach((n,r)=>{e.currentQueryIndex=r;const o=e.createSubContext(t.options,n);s&&o.delayNextStep(s),n===e.element&&(a=o.currentTimeline),Wu(this,t.animation,o),o.currentTimeline.applyStylesToKeyframe(),i=Math.max(i,o.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(i),a&&(e.currentTimeline.mergeTimelineCollectedStyles(a),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,r=e.currentTimeline,s=t.timings,i=Math.abs(s.duration),o=i*(e.currentQueryTotal-1);let a=i*e.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":a=o-a;break;case"full":a=n.currentStaggerTime}const l=e.currentTimeline;a&&l.delayNextStep(a);const c=l.currentTime;Wu(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=r.currentTime-c+(r.startTime-n.currentTimeline.startTime)}}const gh={};class mh{constructor(t,e,n,r,s,i,o,a){this._driver=t,this.element=e,this.subInstru
1ctions=n,this._enterClassName=r,this._leaveClassName=s,this.errors=i,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=gh,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new yh(this._driver,e,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let r=this.options;null!=n.duration&&(r.duration=Au(n.duration)),null!=n.delay&&(r.delay=Au(n.delay));const s=n.params;if(s){let t=r.params;t||(t=this.options.params={}),Object.keys(s).forEach(n=>{e&&t.hasOwnProperty(n)||(t[n]=zu(s[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 r=e||this.element,s=new mh(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(t),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(t){return this.previousNode=gh,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const r={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},s=new _h(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(s),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,r,s,i){let o=[];if(r&&o.push(this.element),t.length>0){t=(t=t.replace(hh,"."+this._enterClassName)).replace(dh,"."+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 s||0!=o.length||i.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),o}}class yh{constructor(t,e,n,r){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=r,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 yh(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).forEac
1h(t=>{this._backFill[t]=this._globalTimelineStyles[t]||Jc,this._currentKeyframe[t]=Jc}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,r){e&&(this._previousKeyframe.easing=e);const s=r&&r.params||{},i=function(t,e){const n={};let r;return t.forEach(t=>{"*"===t?(r=r||Object.keys(e),r.forEach(t=>{n[t]=Jc})):Nu(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(i).forEach(t=>{const e=zu(i[t],s,n);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:Jc),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],r=t._styleSummary[e];(!n||r.time>n.time)&&this._updateStyle(e,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((s,i)=>{const o=Nu(s,!0);Object.keys(o).forEach(n=>{const r=o[n];"!"==r?t.add(n):r==Jc&&e.add(n)}),n||(o.offset=i/this.duration),r.push(o)});const s=t.size?Bu(t.values()):[],i=e.size?Bu(e.values()):[];if(n){const t=r[0],e=Fu(t);t.offset=0,e.offset=1,r=[t,e]}return ch(this.element,r,s,i,this.duration,this.startTime,this.easing,!1)}}class _h extends yh{constructor(t,e,n,r,s,i,o=!1){super(t,e,i.delay),this.keyframes=n,this.preStyleProps=r,this.postStyleProps=s,this._stretchStartingKeyframe=o,this.timings={duration:i.duration,delay:i.delay,easing:i.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const s=[],i=n+e,o=e/i,a=Nu(t[0],!1);a.offset=0,s.push(a);const l=Nu(t[0],!1);l.offset=vh(o),s.push(l);const c=t.length-1;for(let r=1;r<=c;r++){let o=Nu(t[r],!1);o.offset=vh((e+o.offset*n)/i),s.push(o)}n=i,e=0,r="",t=s}return ch(this.element,t,this.preStyleProps,this.postStyleProps,n,e,r,!0)}}function vh(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class Ch{}class bh extends Ch{normalizePropertyName(t,e){return Zu(t)}normalizeStyleValue(t,e,n,r){let s="";const i=n.toString().trim();if(wh[e]&&0!==n&&"0"!==n)if("number"==typeof n)s="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&r.push(`Please provide a CSS unit value for ${t}:${n}`)}return i+s}}const wh=(()=>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 Sh(t,e,n,r,s,i,o,a,l,c,u,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:s,fromState:n,fromStyles:i,toState:r,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:h,errors:d}}const kh={};class xh{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,r){return function(t,e,n,r,s){return t.some(t=>t(e,n,r,s))}(this.ast.matchers,t,e,n,r)}buildStyles(t,e,n){const r=this._stateStyles["*"],s=this._stateStyles[t],i=r?r.buildStyles(e,n):{};return s?s.buildStyles(e,n):i}build(t,e,n,r,s,i,o,a,l,c){const u=[],h=this.ast.options&&this.ast.options.params||kh,d=this.buildStyles(n,o&&o.params||kh,u),p=a&&a.params||kh,f=this.buildStyles(r,p,u),g=new Set,m=new Map,y=new Map,_="void"===r,v={params:Object.assign(Object.assign({},h),p)},C=c?[]:ph(t,e,this.ast.animation,s,i,d,f,v,l,u);let b=0;if(C.forEach(t=>{b=Math.max(t.duration+t.delay,b)}),u.length)return Sh(e,this._triggerName,n,r,_,d,f,[],[],m,y,b,u);
1C.forEach(t=>{const n=t.element,r=uu(m,n,{});t.preStyleProps.forEach(t=>r[t]=!0);const s=uu(y,n,{});t.postStyleProps.forEach(t=>s[t]=!0),n!==e&&g.add(n)});const w=Bu(g.values());return Sh(e,this._triggerName,n,r,_,d,f,C,w,m,y,b)}}class Eh{constructor(t,e,n){this.styles=t,this.defaultParams=e,this.normalizer=n}buildStyles(t,e){const n={},r=Fu(this.defaultParams);return Object.keys(t).forEach(e=>{const n=t[e];null!=n&&(r[e]=n)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const s=t;Object.keys(s).forEach(t=>{let i=s[t];i.length>1&&(i=zu(i,r,e));const o=this.normalizer.normalizePropertyName(t,e);i=this.normalizer.normalizeStyleValue(t,o,i,e),n[o]=i})}}),n}}class Th{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 Eh(t.style,t.options&&t.options.params||{},n)}),Ph(this.states,"true","1"),Ph(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new xh(t,e,this.states))}),this.fallbackTransition=new xh(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,r){return this.transitionFactories.find(s=>s.match(t,e,n,r))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function Ph(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const Ih=new uh;class Oh{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],r=rh(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]=r}_buildPlayer(t,e,n){const r=t.element,s=ou(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(r,s,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const r=[],s=this._animations[t];let i;const o=new Map;if(s?(i=ph(this._driver,e,s,xu,Eu,{},{},n,Ih,r),i.forEach(t=>{const e=uu(o,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(r.push("The requested animation doesn't exist or has already been destroyed"),i=[]),r.length)throw new Error(`Unable to create the animation due to the following errors: ${r.join("\n")}`);o.forEach((t,e)=>{Object.keys(t).forEach(n=>{t[n]=this._driver.computeStyle(e,n,Jc)})});const a=iu(i.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,r){const s=cu(e,"","","");return au(this._getPlayer(t),n,s,r),()=>{}}command(t,e,n,r){if("register"==n)return void this.register(t,r[0]);if("create"==n)return void this.create(t,e,r[0]||{});const s=this._getPlayer(t);switch(n){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}}const Ah="ng-animate-queued",Mh="ng-animate-disabled",Rh=".ng-animate-disabled",Fh=[],Nh={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},jh={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class Lh{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=null!=(r=n?t.value:t)?r:null,n){const e=Fu(t);delete e.value,this.options=e}else this.options={};var r;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 Dh="void",Uh=new Lh(Dh);class Hh{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-"
1+t,Kh(e,this._hostClassName)}listen(t,e,n,r){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("start"!=(s=n)&&"done"!=s)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!`);var s;const i=uu(this._elementListeners,t,[]),o={name:e,phase:n,callback:r};i.push(o);const a=uu(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(Kh(t,Tu),Kh(t,"ng-trigger-"+e),a[e]=Uh),()=>{this._engine.afterFlush(()=>{const t=i.indexOf(o);t>=0&&i.splice(t,1),this._triggers[e]||delete a[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,r=!0){const s=this._getTrigger(e),i=new Vh(this.id,e,t);let o=this._engine.statesByElement.get(t);o||(Kh(t,Tu),Kh(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,o={}));let a=o[e];const l=new Lh(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),o[e]=l,a||(a=Uh),l.value!==Dh&&a.value===l.value){if(!function(t,e){const n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(let s=0;s<n.length;s++){const r=n[s];if(!e.hasOwnProperty(r)||t[r]!==e[r])return!1}return!0}(a.params,l.params)){const e=[],n=s.matchStyles(a.value,a.params,e),r=s.matchStyles(l.value,l.params,e);e.length?this._engine.reportError(e):this._engine.afterFlush(()=>{Uu(t,n),Du(t,r)})}return}const c=uu(this._engine.playersByElement,t,[]);c.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let u=s.matchTransition(a.value,l.value,t,l.params),h=!1;if(!u){if(!r)return;u=s.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:u,fromState:a,toState:l,player:i,isFallbackTransition:h}),h||(Kh(t,Ah),i.onStart(()=>{Qh(t,Ah)})),i.onDone(()=>{let e=this.players.indexOf(i);e>=0&&this.players.splice(e,1);const n=this._engine.playersByElement.get(t);if(n){let t=n.indexOf(i);t>=0&&n.splice(t,1)}}),this.players.push(i),c.push(i),i}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,Pu,!0);n.forEach(t=>{if(t.__ng_removed)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,r){const s=this._engine.statesByElement.get(t);if(s){const i=[];if(Object.keys(s).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,Dh,r);n&&i.push(n)}}),i.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&iu(i).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 r=new Set;e.forEach(e=>{const s=e.name;if(r.has(s))return;r.add(s);const i=this._triggers[s].fallbackTransition,o=n[s]||Uh,a=new Lh(Dh),l=new Vh(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:i,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 r=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)r=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(t),r)n.markElementAsRemoved(this.id,t,!1,e);else{const r=t.__ng_removed;r&&r!==Nh||(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){Kh(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const r=n.player;if(r.destroyed)return;const s=n.element,i=this._elementListeners.get(s);
1i&&i.forEach(e=>{if(e.name==n.triggerName){const r=cu(s,n.triggerName,n.fromState.value,n.toState.value);r._data=t,au(n.player,e.phase,r,e.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(n)}),this._queue=[],e.sort((t,e)=>{const n=t.transition.ast.depCount,r=e.transition.ast.depCount;return 0==n||0==r?n-r: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 $h{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 Hh(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 r=!1;for(let s=n;s>=0;s--)if(this.driver.containsElement(this._namespaceList[s].hostElement,e)){this._namespaceList.splice(s+1,0,t),r=!0;break}r||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 r=this._namespaceLookup[t];r&&r.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 r=0;r<t.length;r++){const s=n[t[r]].namespaceId;if(s){const t=this._fetchNamespace(s);t&&e.add(t)}}}return e}trigger(t,e,n,r){if(zh(e)){const s=this._fetchNamespace(t);if(s)return s.trigger(e,n,r),!0}return!1}insertNode(t,e,n,r){if(!zh(e))return;const s=e.__ng_removed;if(s&&s.setForRemoval){s.setForRemoval=!1,s.setForMove=!0;const t=this.collectedLeaveElements.indexOf(e);t>=0&&this.collectedLeaveElements.splice(t,1)}if(t){const r=this._fetchNamespace(t);r&&r.insertNode(e,n)}r&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Kh(t,Mh)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Qh(t,Mh))}removeNode(t,e,n,r){if(zh(e)){const s=t?this._fetchNamespace(t):null;if(s?s.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,r)}}else this._onRemovalComplete(e,r)}markElementAsRemoved(t,e,n,r){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,r,s){return zh(e)?this._fetchNamespace(t).listen(e,n,r,s):()=>{}}_buildInstruction(t,e,n,r,s){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,r,t.fromState.options,t.toState.options,e,s)}destroyInnerAnimations(t){let e=this.driver.query(t,Pu,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,Ou,!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 iu(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t.__ng_removed;if(e&&e.setForRemoval){if(t.__ng_removed=Nh,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,Rh)&&this.markElementAsDisabled(t,!1),this.driver.query(t,Rh,!0).forEac
1h(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;n<this.collectedEnterElements.length;n++)Kh(this.collectedEnterElements[n],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{e=this._flushAnimations(n,t)}finally{for(let t=0;t<n.length;t++)n[t]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++)this.processLeaveNode(this.collectedLeaveElements[n]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(t=>t()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?iu(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 uh,r=[],s=new Map,i=[],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<e.length;n++)c.add(e[n])});const u=this.bodyNode,h=Array.from(this.statesByElement.keys()),d=Zh(h,this.collectedEnterElements),p=new Map;let f=0;d.forEach((t,e)=>{const n=xu+f++;p.set(e,n),t.forEach(t=>Kh(t,n))});const g=[],m=new Set,y=new Set;for(let O=0;O<this.collectedLeaveElements.length;O++){const t=this.collectedLeaveElements[O],e=t.__ng_removed;e&&e.setForRemoval&&(g.push(t),m.add(t),e.hasAnimation?this.driver.query(t,".ng-star-inserted",!0).forEach(t=>m.add(t)):y.add(t))}const _=new Map,v=Zh(h,Array.from(m));v.forEach((t,e)=>{const n=Eu+f++;_.set(e,n),t.forEach(t=>Kh(t,n))}),t.push(()=>{d.forEach((t,e)=>{const n=p.get(e);t.forEach(t=>Qh(t,n))}),v.forEach((t,e)=>{const n=_.get(e);t.forEach(t=>Qh(t,n))}),g.forEach(t=>{this.processLeaveNode(t)})});const C=[],b=[];for(let O=this._namespaceList.length-1;O>=0;O--)this._namespaceList[O].drainQueuedTransitions(e).forEach(t=>{const e=t.player,s=t.element;if(C.push(e),this.collectedEnterElements.length){const t=s.__ng_removed;if(t&&t.setForMove)return void e.destroy()}const c=!u||!this.driver.containsElement(u,s),h=_.get(s),d=p.get(s),f=this._buildInstruction(t,n,d,h,c);if(f.errors&&f.errors.length)b.push(f);else{if(c)return e.onStart(()=>Uu(s,f.fromStyles)),e.onDestroy(()=>Du(s,f.toStyles)),void r.push(e);if(t.isFallbackTransition)return e.onStart(()=>Uu(s,f.fromStyles)),e.onDestroy(()=>Du(s,f.toStyles)),void r.push(e);f.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(s,f.timelines),i.push({instruction:f,player:e,element:s}),f.queriedElements.forEach(t=>uu(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 r=l.get(e);r||l.set(e,r=new Set),n.forEach(t=>r.add(t))})}});if(b.length){const t=[];b.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),C.forEach(t=>t.destroy()),this.reportError(t)}const w=new Map,S=new Map;i.forEach(t=>{const e=t.element;n.has(e)&&(S.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,w))}),r.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{uu(w,e,[]).push(t),t.destroy()})});const k=g.filter(t=>Jh(t,a,l)),x=new Map;qh(x,this.driver,y,l,Jc).forEach(t=>{Jh(t,a,l)&&k.push(t)});const E=new Map;d.forEach((t,e)=>{qh(E,this.driver,new Set(t),a,"!")}),k.forEach(t=>{const e=x.get(t),n=E.get(t);x.set(t,Object.assign(Object.assign({},e),n))});const T=[],P=[],I={};i.forEach(t=>{const{element:e,player:i,instruction:o}=t;if(n.has(e)){if(c.has(e))return i.onDestroy(()=>Du(e,o.toStyles)),i.disabled=!0,i.overrideTotalTime(o.totalTime),void r.push(i);let t=I;if(S.size>1){let n=e;const r=[];for(;n=n.parentNode;){const e=S.get(n);if(e){t=e;break}r.push(n)}
1r.forEach(e=>S.set(e,t))}const n=this._buildAnimation(i.namespaceId,o,w,s,E,x);if(i.setRealPlayer(n),t===I)T.push(i);else{const e=this.playersByElement.get(t);e&&e.length&&(i.parentPlayer=iu(e)),r.push(i)}}else Uu(e,o.fromStyles),i.onDestroy(()=>Du(e,o.toStyles)),P.push(i),c.has(e)&&r.push(i)}),P.forEach(t=>{const e=s.get(t.element);if(e&&e.length){const n=iu(e);t.setRealPlayer(n)}}),r.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let O=0;O<g.length;O++){const t=g[O],e=t.__ng_removed;if(Qh(t,Eu),e&&e.hasAnimation)continue;let n=[];if(o.size){let e=o.get(t);e&&e.length&&n.push(...e);let r=this.driver.query(t,Ou,!0);for(let t=0;t<r.length;t++){let e=o.get(r[t]);e&&e.length&&n.push(...e)}}const r=n.filter(t=>!t.destroyed);r.length?Wh(this,t,r):this.processLeaveNode(t)}return g.length=0,T.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),T}elementContainsData(t,e){let n=!1;const r=e.__ng_removed;return r&&r.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,r,s){let i=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(i=e)}else{const e=this.playersByElement.get(t);if(e){const t=!s||s==Dh;e.forEach(e=>{e.queued||(t||e.triggerName==r)&&i.push(e)})}}return(n||r)&&(i=i.filter(t=>!(n&&n!=t.namespaceId||r&&r!=t.triggerName))),i}_beforeAnimationBuild(t,e,n){const r=e.element,s=e.isRemovalTransition?void 0:t,i=e.isRemovalTransition?void 0:e.triggerName;for(const o of e.timelines){const t=o.element,a=t!==r,l=uu(n,t,[]);this._getPreviousPlayers(t,a,s,i,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)})}Uu(r,e.fromStyles)}_buildAnimation(t,e,n,r,s,i){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.__ng_removed;if(d&&d.removedBeforeQueried)return new eu(e.duration,e.delay);const p=h!==a,f=function(t){const e=[];return Gh(t,e),e}((n.get(h)||Fh).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===h),g=s.get(h),m=i.get(h),y=ou(0,this._normalizer,0,e.keyframes,g,m),_=this._buildPlayer(e,y,f);if(e.subTimeline&&r&&u.add(h),p){const e=new Vh(t,o,h);e.setRealPlayer(_),l.push(e)}return _});l.forEach(t=>{uu(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,n){let r;if(t instanceof Map){if(r=t.get(e),r){if(r.length){const t=r.indexOf(n);r.splice(t,1)}0==r.length&&t.delete(e)}}else if(r=t[e],r){if(r.length){const t=r.indexOf(n);r.splice(t,1)}0==r.length&&delete t[e]}return r}(this.playersByQueriedElement,t.element,t))}),c.forEach(t=>Kh(t,Iu));const d=iu(h);return d.onDestroy(()=>{c.forEach(t=>Qh(t,Iu)),Du(a,e.toStyles)}),u.forEach(t=>{uu(r,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 eu(t.duration,t.delay)}}class Vh{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new eu,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).forEac
1h(e=>{this._queuedCallbacks[e].forEach(n=>au(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){uu(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 zh(t){return t&&1===t.nodeType}function Bh(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function qh(t,e,n,r,s){const i=[];n.forEach(t=>i.push(Bh(t)));const o=[];r.forEach((n,r)=>{const i={};n.forEach(t=>{const n=i[t]=e.computeStyle(r,t,s);n&&0!=n.length||(r.__ng_removed=jh,o.push(r))}),t.set(r,i)});let a=0;return n.forEach(t=>Bh(t,i[a++])),o}function Zh(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const r=new Set(e),s=new Map;function i(t){if(!t)return 1;let e=s.get(t);if(e)return e;const o=t.parentNode;return e=n.has(o)?o:r.has(o)?1:i(o),s.set(t,e),e}return e.forEach(t=>{const e=i(t);1!==e&&n.get(e).push(t)}),n}function Kh(t,e){if(t.classList)t.classList.add(e);else{let n=t.$$classes;n||(n=t.$$classes={}),n[e]=!0}}function Qh(t,e){if(t.classList)t.classList.remove(e);else{let n=t.$$classes;n&&delete n[e]}}function Wh(t,e,n){iu(n).onDone(()=>t.processLeaveNode(e))}function Gh(t,e){for(let n=0;n<t.length;n++){const r=t[n];r instanceof nu?Gh(r.players,e):e.push(r)}}function Jh(t,e,n){const r=n.get(t);if(!r)return!1;let s=e.get(t);return s?r.forEach(t=>s.add(t)):e.set(t,r),n.delete(t),!0}class Yh{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new $h(t,e,n),this._timelineEngine=new Oh(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,r,s){const i=t+"-"+r;let o=this._triggerCache[i];if(!o){const t=[],e=rh(this._driver,s,t);if(t.length)throw new Error(`The animation trigger "${r}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);o=function(t,e,n){return new Th(t,e,n)}(r,e,this._normalizer),this._triggerCache[i]=o}this._transitionEngine.registerTrigger(e,r,o)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,r){this._transitionEngine.insertNode(t,e,n,r)}onRemove(t,e,n,r){this._transitionEngine.removeNode(t,e,r||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,r){if("@"==n.charAt(0)){const[t,s]=hu(n);this._timelineEngine.command(t,e,s,r)}else this._transitionEngine.trigger(t,e,n,r)}listen(t,e,n,r,s){if("@"==n.charAt(0)){const[t,r]=hu(n);return this._timelineEngine.listen(t,e,r,s)}return this._transitionEngine.listen(t,e,n,r,s)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function Xh(t,e){let n=null,r=null;return Array.isArray(e)&&e.length?(n=ed(e[0]),e.length>1&&(r=ed(e[e.length-1]))):e&&(n=ed(e)),n||r?new td(t,n,r):null}class td{constructor(t,e,n){this._element=t,this._startStyles=e,this._endStyles=n,this._state=0;let r=td.initialStylesByElement.get(t);r||td.initialStylesByElement.set(t,r={}),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&Du(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Du(this._element,this._initialStyles),this._endStyles&&(Du(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(td.initialStylesByElement.delete(this._element),this._startStyles&&(Uu(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Uu(this._element,this._endStyles),this._endStyles=null),Du(this._element,this._initialStyles),this._state=3)}}function ed(t){let e=null;const n=Object.keys(t);for(let r=0;r<n.length;r++){const s=n[r];
1nd(s)&&(e=e||{},e[s]=t[s])}return e}function nd(t){return"display"===t||"position"===t}td.initialStylesByElement=new WeakMap;const rd="animation",sd="animationend";class id{constructor(t,e,n,r,s,i,o){this._element=t,this._name=e,this._duration=n,this._delay=r,this._easing=s,this._fillMode=i,this._onDoneFn=o,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=t=>this._handleCallback(t)}apply(){!function(t,e){const n=hd(t,"").trim();n.length&&(function(t,e){let n=0;for(let r=0;r<t.length;r++)","===t.charAt(r)&&n++}(n),e=`${n}, ${e}`),ud(t,"",e)}(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),cd(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){od(this._element,this._name,"paused")}resume(){od(this._element,this._name,"running")}setPosition(t){const e=ad(this._element,this._name);this._position=t*this._duration,ud(this._element,"Delay",`-${this._position}ms`,e)}getPosition(){return this._position}_handleCallback(t){const e=t._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(t.elapsedTime.toFixed(3));t.animationName==this._name&&Math.max(e-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),cd(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const n=hd(t,"").split(","),r=ld(n,e);r>=0&&(n.splice(r,1),ud(t,"",n.join(",")))}(this._element,this._name))}}function od(t,e,n){ud(t,"PlayState",n,ad(t,e))}function ad(t,e){const n=hd(t,"");return n.indexOf(",")>0?ld(n.split(","),e):ld([n],e)}function ld(t,e){for(let n=0;n<t.length;n++)if(t[n].indexOf(e)>=0)return n;return-1}function cd(t,e,n){n?t.removeEventListener(sd,e):t.addEventListener(sd,e)}function ud(t,e,n,r){const s=rd+e;if(null!=r){const e=t.style[s];if(e.length){const t=e.split(",");t[r]=n,n=t.join(",")}}t.style[s]=n}function hd(t,e){return t.style[rd+e]||""}class dd{constructor(t,e,n,r,s,i,o,a){this.element=t,this.keyframes=e,this.animationName=n,this._duration=r,this._delay=s,this._finalStyles=o,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=i||"linear",this.totalTime=r+s,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 id(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]:Gu(this.element,n))})}this.currentSnapshot=t}}class pd extends eu{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=wu(e)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEac
1h(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 fd{constructor(){this._count=0}validateStyleProperty(t){return _u(t)}matchesElement(t,e){return vu(t,e)}containsElement(t,e){return Cu(t,e)}query(t,e,n){return bu(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,n){n=n.map(t=>wu(t));let r=`@keyframes ${e} {\n`,s="";n.forEach(t=>{s=" ";const e=parseFloat(t.offset);r+=`${s}${100*e}% {\n`,s+=" ",Object.keys(t).forEach(e=>{const n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(r+=`${s}animation-timing-function: ${n};\n`));default:return void(r+=`${s}${e}: ${n};\n`)}}),r+=`${s}}\n`}),r+="}\n";const i=document.createElement("style");return i.textContent=r,i}animate(t,e,n,r,s,i=[],o){const a=i.filter(t=>t instanceof dd),l={};Ku(n,r)&&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=Qu(t,e,l));if(0==n)return new pd(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=Xh(t,e),p=new dd(t,e,u,n,r,s,c,d);return p.onDestroy(()=>{var t;(t=h).parentNode.removeChild(t)}),p}}class gd{constructor(t,e,n,r){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=r,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]:Gu(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class md{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(yd().toString()),this._cssKeyframesDriver=new fd}validateStyleProperty(t){return _u(t)}matchesElement(t,e){return vu(t,e)}containsElement(t,e){return Cu(t,e)}query(t,e,n){return bu(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,n,r,s,i=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,r,s,i);const a={duration:n,delay:r,fill:0==r?"both":"forwards"};s&&(a.easing=s);const l={},c=i.filter(t=>t instanceof gd);
1Ku(n,r)&&c.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const u=Xh(t,e=Qu(t,e=e.map(t=>Nu(t,!1)),l));return new gd(t,e,a,u)}}function yd(){return ru()&&Element.prototype.animate||{}}let _d=(()=>{class t extends Gc{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:wt.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(t)?Yc(t):t;return bd(this._renderer,null,e,"register",[n]),new vd(e,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(Qn(to),Qn(Ya))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();class vd extends class{}{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new Cd(this._id,t,e||{},this._renderer)}}class Cd{constructor(t,e,n,r){this.id=t,this.element=e,this._renderer=r,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 bd(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 bd(t,e,n,r,s){return t.setProperty(e,`@@${n}:${r}`,s)}const wd="@",Sd="@.disabled";let kd=(()=>{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 xd("",n,this.engine),this._rendererCache.set(n,t)),t}const r=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,t);const i=e=>{Array.isArray(e)?e.forEach(i):this.engine.registerTrigger(r,s,t,e.name,e)};return e.data.animation.forEach(i),new Ed(this,s,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,n){t>=0&&t<this._microtaskId?this._zone.run(()=>e(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)(Qn(to),Qn(Yh),Qn(Ca))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();class xd{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,r=!0){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,r)}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,r){this.delegate.setAttribute(t,e,n,r)}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,r){this.delegate.setStyle(t,e,n,r)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){e.charAt(0)==wd&&e==Sd?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 Ed extends xd{constructor(t,e,n,r){super(e,n,r),this.factory=t,this.namespaceId=e}setProperty(t,e,n){e.charAt(0)==wd?"."==e.charAt(1)&&e==Sd?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)==wd){const r=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let s=e.substr(1),i="";return s.charAt(0)!=wd&&([s,i]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(s)),this.engine.listen(this.namespaceId,r,s,i,t=>{this.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}let Td=(()=>{class t extends Yh{constructor(t,e,n){super(t.body,e,n)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(e){return new(e||t)(Qn(Ya),Qn(ku),Qn(Ch))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();const Pd=new Mn("AnimationModuleType"),Id=[{provide:Gc,useClass:_d},{provide:Ch,useFactory:function(){return new bh}},{provide:Yh,useClass:Td},{provide:to,useFactory:function(t,e,n){return new kd(t,e,n)},deps:[Wl,Yh,Ca]}],Od=[{provide:ku,useFactory:function(){return"function"==typeof yd()?new md:new fd}},{provide:Pd,useValue:"BrowserAnimations"},...Id],Ad=[{provide:ku,useClass:Su},{provide:Pd,useValue:"NoopAnimations"},...Id];let Md=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?Ad:Od}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=lt({providers:Od,imports:[ac]}),t})();class Rd 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 C;return this._value}next(t){super.next(this._value=t)}}class Fd extends f{notifyNext(t,e,n,r,s){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}class Nd extends f{constructor(t,e,n){super(),this.parent=t,this.outerValue=e,this.outerIndex=n,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}
1function jd(t,e,n,r,s=new Nd(t,n,r)){if(!s.closed)return e instanceof _?e.subscribe(s):R(e)(s)}const Ld={};class Dd{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new Ud(t,this.resultSelector))}}class Ud extends Fd{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(Ld),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<e;n++)this.add(jd(this,t[n],void 0,n))}}notifyComplete(t){0==(this.active-=1)&&this.destination.complete()}notifyNext(t,e,n){const r=this.values,s=this.toRespond?r[n]===Ld?--this.toRespond:this.toRespond:0;r[n]=e,0===s&&(this.resultSelector?this._tryResultSelector(r):this.destination.next(r.slice()))}_tryResultSelector(t){let e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}const Hd=(()=>{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 $d(...t){return V(1)(pc(...t))}const Vd=new _(t=>t.complete());function zd(t){return t?function(t){return new _(e=>t.schedule(()=>e.complete()))}(t):Vd}function Bd(t){return new _(e=>{let n;try{n=t()}catch(r){return void e.error(r)}return(n?N(n):zd()).subscribe(e)})}function qd(t,e){return"function"==typeof e?n=>n.pipe(qd((n,r)=>N(t(n,r)).pipe(E((t,s)=>e(n,t,r,s))))):e=>e.lift(new Zd(t))}class Zd{constructor(t){this.project=t}call(t,e){return e.subscribe(new Kd(t,this.project))}}class Kd extends L{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(r){return void this.destination.error(r)}this._innerSub(e)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const n=new j(this),r=this.destination;r.add(n),this.innerSubscription=D(t,n),this.innerSubscription!==n&&r.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 Qd=(()=>{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 Wd(t){return e=>0===t?zd():e.lift(new Gd(t))}class Gd{constructor(t){if(this.total=t,this.total<0)throw new Qd}call(t,e){return e.subscribe(new Jd(t,this.total))}}class Jd extends f{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}function Yd(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new Xd(t,e,n))}}class Xd{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new tp(t,this.accumulator,this.seed,this.hasSeed))}}class tp extends f{constructor(t,e,n,r){super(t),this.accumulator=e,this._seed=n,this.hasSeed=r,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(r){this.destination.error(r)}this.seed=n,this.destination.next(n)}}function ep(t){return function(e){const n=new np(t),r=e.lift(n);return n.caught=r}}class np{constructor(t){this.selector=t}call(t,e){return e.subscribe(new rp(t,this.selector,this.caught))}}class rp extends L{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 r=new j(this);this.add(r);const s=D(n,r);s!==r&&this.add(s)}}}function sp(t){return function(e){return 0===t?zd():e.lift(new ip(t))}}class ip{constructor(t){if(this.total=t,this.total<0)throw new Qd}call(t,e){return e.subscribe(new op(t,this.total))}}class op extends f{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,n=this.total,r=this.count++;e.length<n?e.push(t):e[r%n]=t}_complete(){const t=this.destination;let e=this.count;if(e>0){const n=this.count>=this.total?this.total:this.count,r=this.ring;for(let s=0;s<n;s++){const s=e++%n;t.next(r[s])}}t.complete()}}function ap(t=up){return e=>e.lift(new lp(t))}class lp{constructor(t){this.errorFactory=t}
1call(t,e){return e.subscribe(new cp(t,this.errorFactory))}}class cp extends f{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 up(){return new Hd}function hp(t=null){return e=>e.lift(new dp(t))}class dp{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new pp(t,this.defaultValue))}}class pp extends f{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 fp(t,e){const n=arguments.length>=2;return r=>r.pipe(t?gc((e,n)=>t(e,n,r)):y,Wd(1),n?hp(e):ap(()=>new Hd))}function gp(){}function mp(t,e,n){return function(r){return r.lift(new yp(t,e,n))}}class yp{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new _p(t,this.nextOrObserver,this.error,this.complete))}}class _p extends f{constructor(t,e,n,s){super(t),this._tapNext=gp,this._tapError=gp,this._tapComplete=gp,this._tapError=n||gp,this._tapComplete=s||gp,r(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||gp,this._tapError=e.error||gp,this._tapComplete=e.complete||gp)}_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(t){return void this.destination.error(t)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}class vp{constructor(t){this.callback=t}call(t,e){return e.subscribe(new Cp(t,this.callback))}}class Cp extends f{constructor(t,e){super(t),this.add(new h(e))}}class bp{constructor(t,e){this.id=t,this.url=e}}class wp extends bp{constructor(t,e,n="imperative",r=null){super(t,e),this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Sp extends bp{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class kp extends bp{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class xp extends bp{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ep extends bp{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Tp extends bp{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Pp extends bp{constructor(t,e,n,r,s){super(t,e),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Ip extends bp{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Op extends bp{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ap{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Mp{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Rp{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Fp{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Np{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class jp{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Lp{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 Dp="primary";class Up{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 Hp(t){return new Up(t)}function $p(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function Vp(t,e,n){const r=n.path.split("/");if(r.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.length<t.length))return null;const s={};for(let i=0;i<r.length;i++){const e=r[i],n=t[i];if(e.startsWith(":"))s[e.substring(1)]=n;else if(e!==n.path)return null}return{consumed:t.slice(0,r.length),posParams:s}}function zp(t,e){const n=t?Object.keys(t):void 0,r=e?Object.keys(e):void 0;if(!n||!r||n.length!=r.length)return!1;let s;for(let i=0;i<n.length;i++)if(s=n[i],!Bp(t[s],e[s]))return!1;return!0}function Bp(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;const n=[...t].sort(),r=[...e].sort();return n.every((t,e)=>r[e]===t)}return t===e}function qp(t){return Array.prototype.concat.apply([],t)}function Zp(t){return t.length>0?t[t.length-1]:null}function Kp(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Qp(t){return bi(t)?t:Ci(t)?N(Promise.resolve(t)):pc(t)}const Wp={exact:function t(e,n,r){if(!sf(e.segments,n.segments))return!1;if(!tf(e.segments,n.segments,r))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(const s in n.children){if(!e.children[s])return!1;if(!t(e.children[s],n.children[s],r))return!1}return!0},subset:Yp},Gp={exact:function(t,e){return zp(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>Bp(t[n],e[n]))},ignored:()=>!0};function Jp(t,e,n){return Wp[n.paths](t.root,e.root,n.matrixParams)&&Gp[n.queryParams](t.queryParams,e.queryParams)&&!("exact"===n.fragment&&t.fragment!==e.fragment)}function Yp(t,e,n){return Xp(t,e,e.segments,n)}function Xp(t,e,n,r){if(t.segments.length>n.length){const s=t.segments.slice(0,n.length);return!!sf(s,n)&&!e.hasChildren()&&!!tf(s,n,r)}if(t.segments.length===n.length){if(!sf(t.segments,n))return!1;
1if(!tf(t.segments,n,r))return!1;for(const n in e.children){if(!t.children[n])return!1;if(!Yp(t.children[n],e.children[n],r))return!1}return!0}{const s=n.slice(0,t.segments.length),i=n.slice(t.segments.length);return!!sf(t.segments,s)&&!!tf(t.segments,s,r)&&!!t.children.primary&&Xp(t.children.primary,e,i,r)}}function tf(t,e,n){return e.every((e,r)=>Gp[n](t[r].parameters,e.parameters))}class ef{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Hp(this.queryParams)),this._queryParamMap}toString(){return lf.serialize(this)}}class nf{constructor(t,e){this.segments=t,this.children=e,this.parent=null,Kp(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return cf(this)}}class rf{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Hp(this.parameters)),this._parameterMap}toString(){return mf(this)}}function sf(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}class of{}class af{parse(t){const e=new bf(t);return new ef(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){var e;return`/${uf(t.root,!0)}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${df(e)}=${df(t)}`).join("&"):`${df(e)}=${df(n)}`}).filter(t=>!!t);return e.length?`?${e.join("&")}`:""}(t.queryParams)}${"string"==typeof t.fragment?`#${e=t.fragment,encodeURI(e)}`:""}`}}const lf=new af;function cf(t){return t.segments.map(t=>mf(t)).join("/")}function uf(t,e){if(!t.hasChildren())return cf(t);if(e){const e=t.children.primary?uf(t.children.primary,!1):"",n=[];return Kp(t.children,(t,e)=>{e!==Dp&&n.push(`${e}:${uf(t,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}{const e=function(t,e){let n=[];return Kp(t.children,(t,r)=>{r===Dp&&(n=n.concat(e(t,r)))}),Kp(t.children,(t,r)=>{r!==Dp&&(n=n.concat(e(t,r)))}),n}(t,(e,n)=>n===Dp?[uf(t.children.primary,!1)]:[`${n}:${uf(e,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children.primary?`${cf(t)}/${e[0]}`:`${cf(t)}/(${e.join("//")})`}}function hf(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function df(t){return hf(t).replace(/%3B/gi,";")}function pf(t){return hf(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ff(t){return decodeURIComponent(t)}function gf(t){return ff(t.replace(/\+/g,"%20"))}function mf(t){return`${pf(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${pf(t)}=${pf(e[t])}`).join("")}`;var e}const yf=/^[^\/()?;=#]+/;function _f(t){const e=t.match(yf);return e?e[0]:""}const vf=/^[^=?&#]+/,Cf=/^[^?&#]+/;class bf{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new nf([],{}):new nf([],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.primary=new nf(t,e)),n}parseSegment(){const t=_f(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new rf(ff(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=_f(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=_f(this.remaining);t&&(n=t,this.capture(n))}t[ff(e)]=ff(n)}parseQueryParam(t){const e=function(t){const e=t.match(vf);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(Cf);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const r=gf(e),s=gf(n);if(t.hasOwnProperty(r)){let e=t[r];Array.isArray(e)||(e=[e],t[r]=e),e.push(s)}else t[r]=s}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=_f(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error(`Cannot parse url '${this.url}'`);let s;n.indexOf(":")>-1?(s=n.substr(0,n.indexOf(":")),this.capture(s),this.capture(":")):t&&(s=Dp);const i=this.parseChildren();e[s]=1===Object.keys(i).length?i.primary:new nf([],i),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 wf{constructor(t){this._root=t}get root(){return this._root.value}
1parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=Sf(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=Sf(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=kf(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return kf(t,this._root).map(t=>t.value)}}function Sf(t,e){if(t===e.value)return e;for(const n of e.children){const e=Sf(t,n);if(e)return e}return null}function kf(t,e){if(t===e.value)return[e];for(const n of e.children){const r=kf(t,n);if(r.length)return r.unshift(e),r}return[]}class xf{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Ef(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class Tf extends wf{constructor(t,e){super(t),this.snapshot=e,Rf(this,t)}toString(){return this.snapshot.toString()}}function Pf(t,e){const n=function(t,e){const n=new Af([],{},{},"",{},Dp,e,null,t.root,-1,{});return new Mf("",new xf(n,[]))}(t,e),r=new Rd([new rf("",{})]),s=new Rd({}),i=new Rd({}),o=new Rd({}),a=new Rd(""),l=new If(r,s,o,a,i,Dp,e,n.root);return l.snapshot=n.root,new Tf(new xf(l,[]),n)}class If{constructor(t,e,n,r,s,i,o,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=i,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(E(t=>Hp(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(E(t=>Hp(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Of(t,e="emptyOnly"){const n=t.pathFromRoot;let r=0;if("always"!==e)for(r=n.length-1;r>=1;){const t=n[r],e=n[r-1];if(t.routeConfig&&""===t.routeConfig.path)r--;else{if(e.component)break;r--}}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(r))}class Af{constructor(t,e,n,r,s,i,o,a,l,c,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=i,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=Hp(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Hp(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Mf extends wf{constructor(t,e){super(e),this.url=t,Rf(this,e)}toString(){return Ff(this._root)}}function Rf(t,e){e.value._routerState=t,e.children.forEach(e=>Rf(t,e))}function Ff(t){const e=t.children.length>0?` { ${t.children.map(Ff).join(", ")} } `:"";return`${t.value}${e}`}function Nf(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,zp(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),zp(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;++n)if(!zp(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),zp(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function jf(t,e){var n,r;return zp(t.params,e.params)&&sf(n=t.url,r=e.url)&&n.every((t,e)=>zp(t.parameters,r[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||jf(t.parent,e.parent))}function Lf(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=e.value;const s=function(t,e,n){return e.children.map(e=>{for(const r of n.children)if(t.shouldReuseRoute(e.value,r.value.snapshot))return Lf(t,e,r);return Lf(t,e)})}(t,e,n);return new xf(r,s)}{if(t.shouldAttach(e.value)){const n=t.retrieve(e.value);if(null!==n){const t=n.route;return Df(e,t),t}}const n=new If(new Rd((r=e.value).url),new Rd(r.params),new Rd(r.queryParams),new Rd(r.fragment),new Rd(r.data),r.outlet,r.component,r),s=e.children.map(e=>Lf(t,e));return new xf(n,s)}var r}function Df(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");
1if(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<t.children.length;++n)Df(t.children[n],e.children[n])}function Uf(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function Hf(t){return"object"==typeof t&&null!=t&&t.outlets}function $f(t,e,n,r,s){let i={};return r&&Kp(r,(t,e)=>{i[e]=Array.isArray(t)?t.map(t=>`${t}`):`${t}`}),new ef(n.root===t?e:Vf(n.root,t,e),i,s)}function Vf(t,e,n){const r={};return Kp(t.children,(t,s)=>{r[s]=t===e?n:Vf(t,e,n)}),new nf(t.segments,r)}class zf{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&Uf(n[0]))throw new Error("Root segment cannot have matrix parameters");const r=n.find(Hf);if(r&&r!==Zp(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Bf{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function qf(t,e,n){if(t||(t=new nf([],{})),0===t.segments.length&&t.hasChildren())return Zf(t,e,n);const r=function(t,e,n){let r=0,s=e;const i={match:!1,pathIndex:0,commandIndex:0};for(;s<t.segments.length;){if(r>=n.length)return i;const e=t.segments[s],o=n[r];if(Hf(o))break;const a=`${o}`,l=r<n.length-1?n[r+1]:null;if(s>0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!Gf(a,l,e))return i;r+=2}else{if(!Gf(a,{},e))return i;r++}s++}return{match:!0,pathIndex:s,commandIndex:r}}(t,e,n),s=n.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){const e=new nf(t.segments.slice(0,r.pathIndex),{});return e.children.primary=new nf(t.segments.slice(r.pathIndex),t.children),Zf(e,0,s)}return r.match&&0===s.length?new nf(t.segments,{}):r.match&&!t.hasChildren()?Kf(t,e,n):r.match?Zf(t,0,s):Kf(t,e,n)}function Zf(t,e,n){if(0===n.length)return new nf(t.segments,{});{const r=function(t){return Hf(t[0])?t[0].outlets:{[Dp]:t}}(n),s={};return Kp(r,(n,r)=>{"string"==typeof n&&(n=[n]),null!==n&&(s[r]=qf(t.children[r],e,n))}),Kp(t.children,(t,e)=>{void 0===r[e]&&(s[e]=t)}),new nf(t.segments,s)}}function Kf(t,e,n){const r=t.segments.slice(0,e);let s=0;for(;s<n.length;){const i=n[s];if(Hf(i)){const t=Qf(i.outlets);return new nf(r,t)}if(0===s&&Uf(n[0])){r.push(new rf(t.segments[e].path,Wf(n[0]))),s++;continue}const o=Hf(i)?i.outlets.primary:`${i}`,a=s<n.length-1?n[s+1]:null;o&&a&&Uf(a)?(r.push(new rf(o,Wf(a))),s+=2):(r.push(new rf(o,{})),s++)}return new nf(r,{})}function Qf(t){const e={};return Kp(t,(t,n)=>{"string"==typeof t&&(t=[t]),null!==t&&(e[n]=Kf(new nf([],{}),0,t))}),e}function Wf(t){const e={};return Kp(t,(t,n)=>e[n]=`${t}`),e}function Gf(t,e,n){return t==n.path&&zp(e,n.parameters)}class Jf{constructor(t,e,n,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=r}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),Nf(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const r=Ef(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,r[e],n),delete r[e]}),Kp(r,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const r=t.value,s=e?e.value:null;if(r===s)if(r.component){const s=n.getContext(r.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,n);else s&&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(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:r})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet),r=n&&t.value.component?n.children:e,s=Ef(t);for(const i of Object.keys(s))this.deactivateRouteAndItsChildren(s[i],r);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated(),n.attachRef=null,n.resolver=null,n.route=null)}activateChildRoutes(t,e,n){const r=Ef(e);
1t.children.forEach(t=>{this.activateRoutes(t,r[t.value.outlet],n),this.forwardEvent(new jp(t.value.snapshot))}),t.children.length&&this.forwardEvent(new Fp(t.value.snapshot))}activateRoutes(t,e,n){const r=t.value,s=e?e.value:null;if(Nf(r),r===s)if(r.component){const s=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,s.children)}else this.activateChildRoutes(t,e,n);else if(r.component){const e=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const t=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.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),Yf(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}(r.snapshot),s=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=r,e.resolver=s,e.outlet&&e.outlet.activateWith(r,s),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function Yf(t){Nf(t.value),t.children.forEach(Yf)}class Xf{constructor(t,e){this.routes=t,this.module=e}}function tg(t){return"function"==typeof t}function eg(t){return t instanceof ef}const ng=Symbol("INITIAL_VALUE");function rg(){return qd(t=>function(...t){let e,n;return x(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]),z(t,n).lift(new Dd(e))}(t.map(t=>t.pipe(Wd(1),function(...t){const e=t[t.length-1];return x(e)?(t.pop(),n=>$d(t,n,e)):e=>$d(t,e)}(ng)))).pipe(Yd((t,e)=>{let n=!1;return e.reduce((t,r,s)=>{if(t!==ng)return t;if(r===ng&&(n=!0),!n){if(!1===r)return r;if(s===e.length-1||eg(r))return r}return t},t)},ng),gc(t=>t!==ng),E(t=>eg(t)?t:!0===t),Wd(1)))}let sg=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Dt({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&_i(0,"router-outlet")},directives:function(){return[tm]},encapsulation:2}),t})();function ig(t,e=""){for(let n=0;n<t.length;n++){const r=t[n];og(r,ag(e,r))}}function og(t,e){t.children&&ig(t.children,e)}function ag(t,e){return e?t||e.path?t&&!e.path?`${t}/`:!t&&e.path?e.path:`${t}/${e.path}`:"":t}function lg(t){const e=t.children&&t.children.map(lg),n=e?Object.assign(Object.assign({},t),{children:e}):Object.assign({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&n.outlet!==Dp&&(n.component=sg),n}function cg(t){return t.outlet||Dp}function ug(t,e){const n=t.filter(t=>cg(t)===e);return n.push(...t.filter(t=>cg(t)!==e)),n}const hg={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function dg(t,e,n){var r;if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?Object.assign({},hg):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const s=(e.matcher||Vp)(n,t,e);if(!s)return Object.assign({},hg);const i={};Kp(s.posParams,(t,e)=>{i[e]=t.path});const o=s.consumed.length>0?Object.assign(Object.assign({},i),s.consumed[s.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:s.consumed,lastChild:s.consumed.length,parameters:o,positionalParamSegments:null!==(r=s.posParams)&&void 0!==r?r:{}}}function pg(t,e,n,r,s="corrected"){if(n.length>0&&function(t,e,n){return n.some(n=>fg(t,e,n)&&cg(n)!==Dp)}(t,n,r)){const s=new nf(e,function(t,e,n,r){const s={};s.primary=r,r._sourceSegment=t,r._segmentIndexShift=e.length;for(const i of n)if(""===i.path&&cg(i)!==Dp){const n=new nf([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,s[cg(i)]=n}return s}(t,e,r,new nf(n,t.children)));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>fg(t,e,n))}(t,n,r)){const i=new nf(t.segments,function(t,e,n,r,s,i){const o={};for(const a of r)if(fg(t,n,a)&&!s[cg(a)]){const n=new nf([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===i?t.segments.length:e.length,o[cg(a)]=n}return Object.assign(Object.assign({},s),o)}(t,e,n,r,t.children,s));return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:n}}const i=new nf(t.segments,t.children);return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:n}}function fg(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}function gg(t,e,n,r){return!!(cg(t)===r||r!==Dp&&fg(e,n,t))&&("**"===t.path||dg(e,t,n).matched)}function mg(t,e,n){return 0===e.length&&!t.children[n]}class yg{constructor(t){this.segmentGroup=t||null}}class _g{constructor(t){this.urlTree=t}}function vg(t){return new _(e=>e.error(new yg(t)))}function Cg(t){return new _(e=>e.error(new _g(t)))}function bg(t){return new _(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class wg{constructor(t,e,n,r,s){this.configLoader=e,this.urlSerializer
1=n,this.urlTree=r,this.config=s,this.allowRedirects=!0,this.ngModule=t.get(Ro)}apply(){const t=pg(this.urlTree.root,[],[],this.config).segmentGroup,e=new nf(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,e,Dp).pipe(E(t=>this.createUrlTree(Sg(t),this.urlTree.queryParams,this.urlTree.fragment))).pipe(ep(t=>{if(t instanceof _g)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof yg)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,Dp).pipe(E(e=>this.createUrlTree(Sg(e),t.queryParams,t.fragment))).pipe(ep(t=>{if(t instanceof yg)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const r=t.segments.length>0?new nf([],{[Dp]:t}):t;return new ef(r,e,n)}expandSegmentGroup(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(E(t=>new nf([],t))):this.expandSegment(t,n,e,n.segments,r,!0)}expandChildren(t,e,n){const r=[];for(const s of Object.keys(n.children))"primary"===s?r.unshift(s):r.push(s);return N(r).pipe(fc(r=>{const s=n.children[r],i=ug(e,r);return this.expandSegmentGroup(t,i,s,r).pipe(E(t=>({segment:t,outlet:r})))}),Yd((t,e)=>(t[e.outlet]=e.segment,t),{}),function(t,e){const n=arguments.length>=2;return r=>r.pipe(t?gc((e,n)=>t(e,n,r)):y,sp(1),n?hp(e):ap(()=>new Hd))}())}expandSegment(t,e,n,r,s,i){return N(n).pipe(fc(o=>this.expandSegmentAgainstRoute(t,e,n,o,r,s,i).pipe(ep(t=>{if(t instanceof yg)return pc(null);throw t}))),fp(t=>!!t),ep((t,n)=>{if(t instanceof Hd||"EmptyError"===t.name){if(mg(e,r,s))return pc(new nf([],{}));throw new yg(e)}throw t}))}expandSegmentAgainstRoute(t,e,n,r,s,i,o){return gg(r,e,s,i)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,s,i):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i):vg(e):vg(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,r){const s=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Cg(s):this.lineralizeSegments(n,s).pipe(U(n=>{const s=new nf(n,{});return this.expandSegment(t,s,e,n,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i){const{matched:o,consumedSegments:a,lastChild:l,positionalParamSegments:c}=dg(e,r,s);if(!o)return vg(e);const u=this.applyRedirectCommands(a,r.redirectTo,c);return r.redirectTo.startsWith("/")?Cg(u):this.lineralizeSegments(r,u).pipe(U(r=>this.expandSegment(t,e,n,r.concat(s.slice(l)),i,!1)))}matchSegmentAgainstRoute(t,e,n,r,s){if("**"===n.path)return n.loadChildren?(n._loadedConfig?pc(n._loadedConfig):this.configLoader.load(t.injector,n)).pipe(E(t=>(n._loadedConfig=t,new nf(r,{})))):pc(new nf(r,{}));const{matched:i,consumedSegments:o,lastChild:a}=dg(e,n,r);if(!i)return vg(e);const l=r.slice(a);return this.getChildConfig(t,n,r).pipe(U(t=>{const r=t.module,i=t.routes,{segmentGroup:a,slicedSegments:c}=pg(e,o,l,i),u=new nf(a.segments,a.children);if(0===c.length&&u.hasChildren())return this.expandChildren(r,i,u).pipe(E(t=>new nf(o,t)));if(0===i.length&&0===c.length)return pc(new nf(o,{}));const h=cg(n)===s;return this.expandSegment(r,u,i,c,h?Dp:s,!0).pipe(E(t=>new nf(o.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?pc(new Xf(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?pc(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe(U(n=>n?this.configLoader.load(t.injector,e).pipe(E(t=>(e._loadedConfig=t,t))):function(t){return new _(e=>e.error($p(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):pc(new Xf([],t))}runCanLoadGuards(t,e,n){const r=e.canLoad;return r&&0!==r.length?pc(r.map(r=>{const s=t.get(r);let i;if(function(t){return t&&tg(t.canLoad)}(s))i=s.canLoad(e,n);else{if(!tg(s))throw new Error("Invalid CanLoad guard");i=s(e,n)}return Qp(i)})).pipe(rg(),mp(t=>{if(!eg(t))return;const e=$p(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),E(t=>!0===t)):pc(!0)}lineralizeSegments(t,e){let n=[],r=e.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return pc(n);if(r.numberOfChildren>1||!r.children.primary)return bg(t.redirectTo);r=r.children.primary}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,r){const s=this.createSegmentGroup(t,e.root,n,r);return new ef(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return Kp(t,(t,r)=>{if("string"==typeof t&&t.startsWith(":")){const s=t.substring(1);n[r]=e[s]}else n[r]=t}),n}createSegmentGroup(t,e,n,r){const s=this.createSegments(t,e.segments,n,r);let i={};return Kp(e.children,(e,s)=>{i[s]=this.createSegmentGroup(t,e,n,r)}),new nf(s,i)}createSegments(t,e,n,r){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,r):this.findOrReturn(e,n))}findPosParam(t,e,n){const r=n[e.path.substring(1)];if(!r)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return r}findOrReturn(t,e){let n=0;for(const r of e){if(r.path===t.path)return e.splice(n),r;n++}return t}}function Sg(t){const e={};for(const n of Object.keys(t.children)){const r=Sg(t.children[n]);(r.segments.length>0||r.hasChildren())&&(e[n]=r)}return function(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new nf(t.segments.concat(e.segments),e.children)}return t}(new nf(t.segments,e))}class kg{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class xg{constructor(t,e){this.component=t,this.route=e}}function Eg(t,e,n){const r=t._root;return Pg(r,e?e._root:null,n,[r.value])}function Tg(t,e,n){const r=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(r?r.module.injector:n).get(t)}function Pg(t,e,n,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const i=Ef(e);
1return t.children.forEach(t=>{!function(t,e,n,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const i=t.value,o=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(o&&i.routeConfig===o.routeConfig){const l=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!sf(t.url,e.url);case"pathParamsOrQueryParamsChange":return!sf(t.url,e.url)||!zp(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!jf(t,e)||!zp(t.queryParams,e.queryParams);case"paramsChange":default:return!jf(t,e)}}(o,i,i.routeConfig.runGuardsAndResolvers);l?s.canActivateChecks.push(new kg(r)):(i.data=o.data,i._resolvedData=o._resolvedData),Pg(t,e,i.component?a?a.children:null:n,r,s),l&&a&&a.outlet&&a.outlet.isActivated&&s.canDeactivateChecks.push(new xg(a.outlet.component,o))}else o&&Ig(e,a,s),s.canActivateChecks.push(new kg(r)),Pg(t,null,i.component?a?a.children:null:n,r,s)}(t,i[t.value.outlet],n,r.concat([t.value]),s),delete i[t.value.outlet]}),Kp(i,(t,e)=>Ig(t,n.getContext(e),s)),s}function Ig(t,e,n){const r=Ef(t),s=t.value;Kp(r,(t,r)=>{Ig(t,s.component?e?e.children.getContext(r):null:e,n)}),n.canDeactivateChecks.push(new xg(s.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,s))}class Og{}function Ag(t){return new _(e=>e.error(t))}class Mg{constructor(t,e,n,r,s,i){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=i}recognize(){const t=pg(this.urlTree.root,[],[],this.config.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,Dp);if(null===e)return null;const n=new Af([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},Dp,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new xf(n,e),s=new Mf(this.url,r);return this.inheritParamsAndData(s._root),s}inheritParamsAndData(t){const e=t.value,n=Of(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 s of Object.keys(e.children)){const r=e.children[s],i=ug(t,s),o=this.processSegmentGroup(i,r,s);if(null===o)return null;n.push(...o)}const r=Fg(n);return r.sort((t,e)=>t.value.outlet===Dp?-1:e.value.outlet===Dp?1:t.value.outlet.localeCompare(e.value.outlet)),r}processSegment(t,e,n,r){for(const s of t){const t=this.processSegmentAgainstRoute(s,e,n,r);if(null!==t)return t}return mg(e,n,r)?[]:null}processSegmentAgainstRoute(t,e,n,r){if(t.redirectTo||!gg(t,e,n,r))return null;let s,i=[],o=[];if("**"===t.path){const r=n.length>0?Zp(n).parameters:{};s=new Af(n,r,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Lg(t),cg(t),t.component,t,Ng(e),jg(e)+n.length,Dg(t))}else{const r=dg(e,t,n);if(!r.matched)return null;i=r.consumedSegments,o=n.slice(r.lastChild),s=new Af(i,r.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Lg(t),cg(t),t.component,t,Ng(e),jg(e)+i.length,Dg(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:l,slicedSegments:c}=pg(e,i,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 xf(s,t)]}if(0===a.length&&0===c.length)return[new xf(s,[])];const u=cg(t)===r,h=this.processSegment(a,l,c,u?Dp:r);return null===h?null:[new xf(s,h)]}}function Rg(t){const e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function Fg(t){const e=[],n=new Set;for(const r of t){if(!Rg(r)){e.push(r);continue}const t=e.find(t=>r.value.routeConfig===t.value.routeConfig);void 0!==t?(t.children.push(...r.children),n.add(t)):e.push(r)}for(const r of n){const t=Fg(r.children);e.push(new xf(r.value,t))}return e.filter(t=>!n.has(t))}function Ng(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function jg(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 Lg(t){return t.data||{}}function Dg(t){return t.resolve||{}}function Ug(t){return qd(e=>{const n=t(e);return n?N(n).pipe(E(()=>e)):pc(e)})}class Hg 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 $g=new Mn("ROUTES");class Vg{constructor(t,e,n,r){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=r}load(t,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const n=this.loadModuleFactory(e.loadChildren).pipe(E(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const r=n.create(t);return new Xf(qp(r.injector.get($g,void 0,mt.Self|mt.Optional)).map(lg),r)}),ep(t=>{throw e._loader$=void 0,t}));return e._loader$=new K(n,()=>new S).pipe(B()),e._loader$}loadModuleFactory(t){return"string"==typeof t?N(this.loader.load(t)):Qp(t()).pipe(U(t=>t instanceof Fo?pc(t):N(this.compiler.compileModuleAsync(t))))}}class zg{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Bg,this.attachRef=null}}class Bg{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)}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 zg,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class qg{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function Zg(t){throw t}function Kg(t,e,n){return e.parse("/")}function Qg(t,e){return pc(null)}const Wg={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Gg={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Jg=(()=>{class t{constructor(t,e,n,r,s,i,o,a){this.rootComponentType=t,this.urlSerializer
1=e,this.rootContexts=n,this.location=r,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=Zg,this.malformedUriErrorHandler=Kg,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Qg,afterPreactivation:Qg},this.urlHandlingStrategy=new qg,this.routeReuseStrategy=new Hg,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=s.get(Ro),this.console=s.get(aa);const l=s.get(Ca);this.isNgZoneEnabled=l instanceof Ca&&Ca.isInAngularZone(),this.resetConfig(a),this.currentUrlTree=new ef(new nf([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Vg(i,o,t=>this.triggerEvent(new Ap(t)),t=>this.triggerEvent(new Mp(t))),this.routerState=Pf(this.currentUrlTree,this.rootComponentType),this.transitions=new Rd({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(gc(t=>0!==t.id),E(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),qd(t=>{let n=!1,r=!1;return pc(t).pipe(mp(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}}),qd(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return pc(t).pipe(qd(t=>{const n=this.transitions.getValue();return e.next(new wp(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?Vd:Promise.resolve(t)}),function(t,e,n,r){return qd(s=>function(t,e,n,r,s){return new wg(t,e,n,r,s).apply()}(t,e,n,s.extractedUrl,r).pipe(E(t=>Object.assign(Object.assign({},s),{urlAfterRedirects:t}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),mp(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,n,r,s){return U(i=>function(t,e,n,r,s="emptyOnly",i="legacy"){try{const o=new Mg(t,e,n,r,s,i).recognize();return null===o?Ag(new Og):pc(o)}catch(o){return Ag(o)}}(t,e,i.urlAfterRedirects,n(i.urlAfterRedirects),r,s).pipe(E(t=>Object.assign(Object.assign({},i),{targetSnapshot:t}))))}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),mp(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,t),this.browserUrlTree=t.urlAfterRedirects);const n=new Ep(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:r,source:s,restoredState:i,extras:o}=t,a=new wp(n,this.serializeUrl(r),s,i);e.next(a);const l=Pf(r,this.rootComponentType).snapshot;return pc(Object.assign(Object.assign({},t),{targetSnapshot:l,urlAfterRedirects:r,extras:Object.assign(Object.assign({},o),{skipLocationChange:!1,replaceUrl:!1})}
1))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),Vd}),Ug(t=>{const{targetSnapshot:e,id:n,extractedUrl:r,rawUrl:s,extras:{skipLocationChange:i,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:r,rawUrlTree:s,skipLocationChange:!!i,replaceUrl:!!o})}),mp(t=>{const e=new Tp(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),E(t=>Object.assign(Object.assign({},t),{guards:Eg(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return U(n=>{const{targetSnapshot:r,currentSnapshot:s,guards:{canActivateChecks:i,canDeactivateChecks:o}}=n;return 0===o.length&&0===i.length?pc(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,r){return N(t).pipe(U(t=>function(t,e,n,r,s){const i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return i&&0!==i.length?pc(i.map(i=>{const o=Tg(i,e,s);let a;if(function(t){return t&&tg(t.canDeactivate)}(o))a=Qp(o.canDeactivate(t,e,n,r));else{if(!tg(o))throw new Error("Invalid CanDeactivate guard");a=Qp(o(t,e,n,r))}return a.pipe(fp())})).pipe(rg()):pc(!0)}(t.component,t.route,n,e,r)),fp(t=>!0!==t,!0))}(o,r,s,t).pipe(U(n=>n&&"boolean"==typeof n?function(t,e,n,r){return N(e).pipe(fc(e=>$d(function(t,e){return null!==t&&e&&e(new Rp(t)),pc(!0)}(e.route.parent,r),function(t,e){return null!==t&&e&&e(new Np(t)),pc(!0)}(e.route,r),function(t,e,n){const r=e[e.length-1],s=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=>Bd(()=>pc(e.guards.map(s=>{const i=Tg(s,e.node,n);let o;if(function(t){return t&&tg(t.canActivateChild)}(i))o=Qp(i.canActivateChild(r,t));else{if(!tg(i))throw new Error("Invalid CanActivateChild guard");o=Qp(i(r,t))}return o.pipe(fp())})).pipe(rg())));return pc(s).pipe(rg())}(t,e.path,n),function(t,e,n){const r=e.routeConfig?e.routeConfig.canActivate:null;return r&&0!==r.length?pc(r.map(r=>Bd(()=>{const s=Tg(r,e,n);let i;if(function(t){return t&&tg(t.canActivate)}(s))i=Qp(s.canActivate(e,t));else{if(!tg(s))throw new Error("Invalid CanActivate guard");i=Qp(s(e,t))}return i.pipe(fp())}))).pipe(rg()):pc(!0)}(t,e.route,n))),fp(t=>!0!==t,!0))}(r,i,t,e):pc(n)),E(t=>Object.assign(Object.assign({},n),{guardsResult:t})))})}(this.ngModule.injector,t=>this.triggerEvent(t)),mp(t=>{if(eg(t.guardsResult)){const e=$p(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}const e=new Pp(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),gc(t=>!!t.guardsResult||(this.restoreHistory(t),this.cancelNavigationTransition(t,""),!1)),Ug(t=>{if(t.guards.canActivateChecks.length)return pc(t).pipe(mp(t=>{const e=new Ip(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),qd(t=>{let e=!1;return pc(t).pipe((n=this.paramsInheritanceStrategy,r=this.ngModule.injector,U(t=>{const{targetSnapshot:e,guards:{canActivateChecks:s}}=t;if(!s.length)return pc(t);let i=0;return N(s).pipe(fc(t=>function(t,e,n,r){return function(t,e,n,r){const s=Object.keys(t);if(0===s.length)return pc({});const i={};return N(s).pipe(U(s=>function(t,e,n,r){const s=Tg(t,e,r);return Qp(s.resolve?s.resolve(e,n):s(e,n))}(t[s],e,n,r).pipe(mp(t=>{i[s]=t}))),sp(1),U(()=>Object.keys(i).length===s.length?pc(i):Vd))}(t._resolve,t,e,r).pipe(E(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),Of(t,n).resolve),null)))}(t.route,e,n,r)),mp(()=>i++),sp(1),U(e=>i===s.length?pc(t):Vd))})),mp({next:()=>e=!0,complete:()=>{e||(this.restoreHistory(t),this.cancelNavigationTransition(t,"At least one route resolver didn't emit any value."))}}));var n,r}),mp(t=>{const e=new Op(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),Ug(t=>{const{targetSnapshot:e,id:n,extractedUrl:r,rawUrl:s,extras:{skipLocationChange:i,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:r,rawUrlTree:s,skipLocationChange:!!i,replaceUrl:!!o})}),E(t=>{const e=function(t,e,n){const r=Lf(t,e._root,n?n._root:void 0);return new Tf(r,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),mp(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,t),this.browserUrlTree=t.urlAfterRedirects)}),(i=this.rootContexts,o=this.routeReuseStrategy,a=t=>this.triggerEvent(t),E(t=>(new Jf(o,t.targetRouterState,t.currentRouterState,a).activate(i),t))),mp({next(){
1n=!0},complete(){n=!0}}),(s=()=>{if(!n&&!r){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)}this.currentNavigation=null},t=>t.lift(new vp(s))),ep(n=>{if(r=!0,(s=n)&&s.ngNavigationCancelingError){const r=eg(n.url);r||(this.navigated=!0,this.restoreHistory(t,!0));const s=new kp(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(s),r?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);this.scheduleNavigation(e,"imperative",null,{skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{this.restoreHistory(t,!0);const r=new xp(t.id,this.serializeUrl(t.extractedUrl),n);e.next(r);try{t.resolve(this.errorHandler(n))}catch(i){t.reject(i)}}var s;return Vd}));var s,i,o,a}))}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:r}=e,s={replaceUrl:!0};if(n){const t=Object.assign({},n);delete t.navigationId,delete t.\u0275routerPageId,0!==Object.keys(t).length&&(s.state=t)}this.scheduleNavigation(r,t,n,s)},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){ig(t),this.config=t.map(lg),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:r,fragment:s,queryParamsHandling:i,preserveFragment:o}=e,a=n||this.routerState.root,l=o?this.currentUrlTree.fragment:s;let c=null;switch(i){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=r||null}return null!==c&&(c=this.removeEmptyProps(c)),function(t,e,n,r,s){if(0===n.length)return $f(e.root,e.root,e,r,s);const i=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new zf(!0,0,t);let e=0,n=!1;const r=t.reduce((t,r,s)=>{if("object"==typeof r&&null!=r){if(r.outlets){const e={};return Kp(r.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(r.segmentPath)return[...t,r.segmentPath]}return"string"!=typeof r?[...t,r]:0===s?(r.split("/").forEach((r,s)=>{0==s&&"."===r||(0==s&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))}),t):[...t,r]},[]);return new zf(n,e,r)}(n);if(i.toRoot())return $f(e.root,new nf([],{}),e,r,s);const o=function(t,e,n){if(t.isAbsolute)return new Bf(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){const t=n.snapshot._urlSegment;return new Bf(t,t===e.root,0)}const r=Uf(t.commands[0])?0:1;return function(t,e,n){let r=t,s=e,i=n;for(;i>s;){if(i-=s,r=r.parent,!r)throw new Error("Invalid number of '../'");s=r.segments.length}return new Bf(r,!1,s-i)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(i,e,t),a=o.processChildren?Zf(o.segmentGroup,o.index,i.commands):qf(o.segmentGroup,o.index,i.commands);return $f(o.segmentGroup,a,e,r,s)}(a,this.currentUrlTree,t,c,null!=l?l:null)}navigateByUrl(t,e={skipLocationChange:!1}){const n=eg(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e<t.length;e++){const n=t[e];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${e}`)}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){let e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e}isActive(t,e){let n;if(n=!0===e?Object.assign({},Wg):!1===e?Object.assign({},Gg):e,eg(t))return Jp(this.currentUrlTree,t,n);const r=this.parseUrl(t);return Jp(this.currentUrlTree,r,n)}removeEmptyProps(t){return Object.keys(t).reduce((e,n)=>{const r=t[n];
1return null!=r&&(e[n]=r),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.currentPageId=t.targetPageId,this.events.next(new Sp(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,n,r,s){var i,o;if(this.disposed)return Promise.resolve(!1);const a=this.getTransition(),l="imperative"!==e&&"imperative"===(null==a?void 0: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;s?(u=s.resolve,h=s.reject,d=s.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:r.replaceUrl||r.skipLocationChange?null!==(i=this.browserPageId)&&void 0!==i?i: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:r,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),r=Object.assign(Object.assign({},e.extras.state),this.generateNgRouterState(e.id,e.targetPageId));this.location.isCurrentPathEqualTo(n)||e.extras.replaceUrl?this.location.replaceState(n,"",r):this.location.go(n,"",r)}restoreHistory(t,e=!1){var n,r;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===(r=this.currentNavigation)||void 0===r?void 0:r.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 kp(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)(Qn(Fn),Qn(of),Qn(Bg),Qn(pl),Qn(ri),Qn(Va),Qn(ya),Qn(void 0))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})(),Yg=(()=>{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 Sp&&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,r,s){if(0!==t||e||n||r||s)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const i={skipLocationChange:Xg(this.skipLocationChange),replaceUrl:Xg(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,i),!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:Xg(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(pi(Jg),pi(If),pi(ll))},t.\u0275dir=Bt({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&wi("click",function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)}),2&t&&(Di("href",e.href,ir),ui("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:[re]}),t})();function Xg(t){return""===t||!!t}let tm=(()=>{class t{constructor(t,e,n,r,s){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new Yo,this.deactivateEvents=new Yo,this.name=r||Dp,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;
1const n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,s=new em(t,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,s),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(pi(Bg),pi(jo),pi(Wi),("name",function(t,e){const n=t.attrs;if(n){const t=n.length;let r=0;for(;r<t;){const s=n[r];if(sn(s))break;if(0===s)r+=2;else if("number"==typeof s)for(r++;r<t&&"string"==typeof n[r];)r++;else{if(s===e)return n[r+1];r+=2}}}return null}(Ee(),"name")),pi(xo))},t.\u0275dir=Bt({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class em{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===If?this.route:t===Bg?this.childContexts:this.parent.get(t,e)}}class nm{}class rm{preload(t,e){return pc(null)}}let sm=(()=>{class t{constructor(t,e,n,r,s){this.router=t,this.injector=r,this.preloadingStrategy=s,this.loader=new Vg(e,n,e=>t.triggerEvent(new Ap(e)),e=>t.triggerEvent(new Mp(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(gc(t=>t instanceof Sp),fc(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(Ro);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const r of e)if(r.loadChildren&&!r.canLoad&&r._loadedConfig){const t=r._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else r.loadChildren&&!r.canLoad?n.push(this.preloadConfig(t,r)):r.children&&n.push(this.processRoutes(t,r.children));return N(n).pipe(V(),E(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>(e._loadedConfig?pc(e._loadedConfig):this.loader.load(t.injector,e)).pipe(U(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(Qn(Jg),Qn(Va),Qn(ya),Qn(ri),Qn(nm))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})(),im=(()=>{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 wp?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Sp&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof Lp&&(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 Lp(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)(Qn(Jg),Qn(Pl),Qn(void 0))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();const om=new Mn("ROUTER_CONFIGURATION"),am=new Mn("ROUTER_FORROOT_GUARD"),lm=[pl,{provide:of,useClass:af},{provide:Jg,useFactory:function(t,e,n,r,s,i,o,a={},l,c){const u=new Jg(null,t,e,n,r,s,i,qp(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)}
1),u},deps:[of,Bg,pl,ri,Va,ya,$g,om,[class{},new Yn],[class{},new Yn]]},Bg,{provide:If,useFactory:function(t){return t.routerState.root},deps:[Jg]},{provide:Va,useClass:qa},sm,rm,class{preload(t,e){return e().pipe(ep(()=>pc(null)))}},{provide:om,useValue:{enableTracing:!1}}];function cm(){return new Na("Router",Jg)}let um=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[lm,fm(e),{provide:am,useFactory:pm,deps:[[Jg,new Yn,new Xn]]},{provide:om,useValue:n||{}},{provide:ll,useFactory:dm,deps:[Xa,[new Jn(ul),new Yn],om]},{provide:im,useFactory:hm,deps:[Jg,Pl,om]},{provide:nm,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:rm},{provide:Na,multi:!0,useFactory:cm},[gm,{provide:Xo,multi:!0,useFactory:mm,deps:[gm]},{provide:_m,useFactory:ym,deps:[gm]},{provide:oa,multi:!0,useExisting:_m}]]}}static forChild(e){return{ngModule:t,providers:[fm(e)]}}}return t.\u0275fac=function(e){return new(e||t)(Qn(am,8),Qn(Jg,8))},t.\u0275mod=Vt({type:t}),t.\u0275inj=lt({}),t})();function hm(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new im(t,e,n)}function dm(t,e,n={}){return n.useHash?new dl(t,e):new hl(t,e)}function pm(t){return"guarded"}function fm(t){return[{provide:Rn,multi:!0,useValue:t},{provide:$g,multi:!0,useValue:t}]}let gm=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new S}appInitializer(){return this.injector.get(el,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(Jg),r=this.injector.get(om);return"disabled"===r.initialNavigation?(n.setUpLocationChangeListener(),t(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?pc(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()):t(!0),e})}bootstrapListener(t){const e=this.injector.get(om),n=this.injector.get(sm),r=this.injector.get(im),s=this.injector.get(Jg),i=this.injector.get(Ha);t===i.components[0]&&("enabledNonBlocking"!==e.initialNavigation&&void 0!==e.initialNavigation||s.initialNavigation(),n.setUpPreloading(),r.init(),s.resetRootComponentType(i.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return t.\u0275fac=function(e){return new(e||t)(Qn(ri))},t.\u0275prov=at({token:t,factory:t.\u0275fac}),t})();function mm(t){return t.appInitializer.bind(t)}function ym(t){return t.bootstrapListener.bind(t)}const _m=new Mn("Router Initializer"),vm={lsColors:[{id:0,maskIntensity:1,maskId:0,color:[255,255,255]},{id:1,maskIntensity:.9,maskId:0,color:[118,6,67]},{id:2,maskIntensity:.9,maskId:0,color:[106,0,4]},{id:3,maskIntensity:.8,maskId:0,color:[206,3,110]},{id:4,maskIntensity:1,maskId:0,color:[184,81,64]},{id:5,maskIntensity:1,maskId:0,color:[162,79,105]},{id:6,maskIntensity:1,maskId:0,color:[191,57,108]},{id:7,maskIntensity:1,maskId:0,color:[172,24,46]}],lsDualColors:[],lsFinishes:[{id:0,name:"Matte"}],lsPatterns:[{id:0,name:"Single"}],esColors:[{id:0,maskIntensity:.9,color:[255,255,255]},{id:1,maskIntensity:.9,color:[105,25,24]},{id:2,maskIntensity:.9,color:[190,12,54]},{id:3,maskIntensity:.9,color:[14,155,129]},{id:4,maskIntensity:.9,color:[33,111,149]},{id:5,maskIntensity:.9,color:[7,109,105]},{id:6,maskIntensity:.9,color:[24,65,151]},{id:7,maskIntensity:.9,color:[142,21,127]},{id:8,maskIntensity:.9,color:[248,77,125]}],esDualColors:[{id:0,maskIntensity:[.6,.6],color:[[255,255,255],[255,255,255]],finishIntensity:[.4,.5]},{id:1,maskIntensity:[.25,.35],color:[[255,228,219],[255,210,181]],finishIntensity:[.1,.05]},{id:2,maskIntensity:[.4,.5],color:[[214,115,120],[226,104,109]],finishIntensity:[.1,.1]},{id:3,maskIntensity:[.5,.4],color:[[190,102,117],[196,59,94]],finishIntensity:[.1,.15]},{id:4,maskIntensity:[.6,.3],color:[[175,101,76],[161,98,88]],finishIntensity:[.15,.2]},{id:5,maskIntensity:[.4,.6],color:[[208,119,63],[94,61,56]],finishIntensity:[.1,.4]},{id:6,maskIntensity:[.3,.5],color:[[97,173,194],[60,64,77]],finishIntensity:[.1,.4]},{id:7,maskIntensity:[.3,.5],color:[[247,195,240],[171,103,161]],finishIntensity:[.1,.15]},{id:8,maskIntensity:[.3,.6],color:[[230,177,82],[163,90,102]],finishIntensity:[.1,.15]},{id:9,maskIntensity:[.5,.6],color:[[125,141,107],[145,90,83]],finishIntensity:[.15,.2]}
1,{id:10,maskIntensity:[.4,.5],color:[[143,138,138],[61,59,59]],finishIntensity:[.15,.4]}],esTripleColors:[],esQuadrupleColors:[{id:0,maskIntensity:[.6,.6,.6,.6],color:[[255,255,255],[255,255,255],[255,255,255],[255,255,255]]},{id:1,maskIntensity:[.4,.6,.3,.35],color:[[253,202,255],[51,0,102],[153,255,51],[255,51,51]]},{id:2,maskIntensity:[.6,.5,.3,.5],color:[[134,44,20],[242,81,73],[178,57,77],[105,25,24]]},{id:3,maskIntensity:[.4,.6,.4,.4],color:[[255,210,48],[243,97,69],[205,40,67],[221,114,166]]},{id:4,maskIntensity:[.4,.6,.4,.2],color:[[205,40,67],[147,79,169],[108,69,199],[142,21,147]]},{id:5,maskIntensity:[.4,.45,.3,.25],color:[[211,226,153],[133,221,155],[26,14,140],[0,206,253]]}],esFinishes:[{id:0,name:"Matte"},{id:1,name:"Glitter"}],esPatterns:[{id:0,maskId:0,image:"assets/images/makeup/eyeshadow-patterns/eyeshadow_1_single.png"},{id:1,maskId:1,image:"assets/images/makeup/eyeshadow-patterns/eyeshadow_6_single.png"},{id:2,maskId:2,image:"assets/images/makeup/eyeshadow-patterns/eyeshadow_1_dual.png"},{id:3,maskId:3,image:"assets/images/makeup/eyeshadow-patterns/eyeshadow_2_dual.png"},{id:4,maskId:4,image:"assets/images/makeup/eyeshadow-patterns/eyeshadow_2_quadruple.png"},{id:5,maskId:5,image:"assets/images/makeup/eyeshadow-patterns/eyeshadow_1_quadruple.png"}],elineColors:[{id:0,maskIntensity:1,color:[255,255,255]},{id:1,maskIntensity:.8,color:[8,8,8]},{id:2,maskIntensity:.8,color:[41,97,167]},{id:3,maskIntensity:.8,color:[17,102,77]},{id:4,maskIntensity:.8,color:[7,53,122]}],elinePatterns:[{id:0,maskId:0,image:"assets/images/makeup/eyeline-patterns/eyeline_3_single.png"},{id:1,maskId:1,image:"assets/images/makeup/eyeline-patterns/eyeline_6_single.png"}],kajalColors:[{id:0,maskIntensity:1,color:[255,255,255]},{id:1,maskIntensity:1,color:[0,0,0]},{id:2,maskIntensity:1,color:[25,25,112]},{id:3,maskIntensity:1,color:[47,79,79]},{id:4,maskIntensity:1,color:[1,45,18]},{id:5,maskIntensity:1,color:[63,42,20]}],kajalPatterns:[{id:0,maskId:0,image:"assets/images/makeup/kajal-patterns/kajal_v3_1.png"}],eyebrowPencilColors:[{id:0,maskIntensity:1,color:[255,255,255]},{id:1,maskIntensity:.5,color:[0,0,0]},{id:2,maskIntensity:.5,color:[25,25,112]},{id:3,maskIntensity:.7,color:[63,42,20]}],eyebrowPencilPatterns:[{id:0,maskId:0,image:"assets/images/makeup/eyebrow-pencil-patterns/eye_brow_double_layer.png"}],elashColors:[{id:0,maskIntensity:.65,color:[255,255,255]},{id:1,maskIntensity:.8,color:[8,8,8]}],elashPatterns:[{id:0,maskId:0,image:"assets/images/makeup/eyelash-patterns/eyelash_1.png"},{id:1,maskId:1,image:"assets/images/makeup/eyelash-patterns/eyelash_6.png"},{id:2,maskId:2,image:"assets/images/makeup/eyelash-patterns/eyelash_8.png"},{id:3,maskId:3,image:"assets/images/makeup/eyelash-patterns/eyelash_9.png"}],fColors:[{id:0,maskIntensity:.3,maskId:0,color:[255,255,255]},{id:1,maskIntensity:.3,maskId:0,color:[255,242,230]},{id:2,maskIntensity:.3,maskId:0,color:[255,229,204]},{id:3,maskIntensity:.3,maskId:0,color:[255,215,179]},{id:4,maskIntensity:.3,maskId:0,color:[255,187,128]},{id:5,maskIntensity:.3,maskId:0,color:[255,173,102]},{id:6,maskIntensity:.3,maskId:0,color:[241,137,46]}],bColors:[{id:0,maskIntensity:.6,color:[255,255,255]},{id:1,maskIntensity:.9,color:[204,75,91]},{id:2,maskIntensity:.7,color:[188,39,116]},{id:3,maskIntensity:.7,color:[198,30,74]},{id:4,maskIntensity:.9,color:[182,104,92]},{id:5,maskIntensity:.9,color:[216,112,112]},{id:6,maskIntensity:.9,color:[216,119,140]},{id:7,maskIntensity:.9,color:[226,93,93]},{id:8,maskIntensity:.9,color:[192,121,90]}],bPatterns:[{id:0,maskId:0,image:"assets/images/makeup/blush-patterns/blush_1_single.png"}],concealerColors:[{id:0,maskIntensity:.5,maskId:0,color:[255,255,255]},{id:1,maskIntensity:.5,maskId:0,color:[255,207,190]},{id:2,maskIntensity:.5,maskId:0,color:[255,200,170]},{id:3,maskIntensity:.5,maskId:0,color:[255,194,162]},{id:4,maskIntensity:.5,maskId:0,color:[255,179,140]}],highlighterColors:[{id:0,maskIntensity:1,maskId:0,color:[255,255,255]},{id:1,maskIntensity:.1,maskId:0,color:[255,242,230]},{id:2,maskIntensity:.2,maskId:0,color:[212,176,149]},{id:3,maskIntensity:.2,maskId:0,color:[239,191,129]},{id:4,maskIntensity:.2,maskId:0,color:[231,170,116]}],hairColors:[{id:0,intensity:0,color:[255,255,255]},{id:1,intensity:.5,color:[69,50,28]},{id:2,intensity:.5,color:[4,4,4]},{id:3,intensity:.5,color:[90,45,60]},{id:4,intensity:.5,color:[94,46,44]},{id:5,intensity:.5,color:[87,42,57]},{id:6,intensity:.5,color:[89,57,21]},{id:7,intensity:.5,color:[29,64,60]},{id:8,intensity:.5,color:[198,68,120]},{id:9,intensity:.5,color:[89,86,89]},{id:10,intensity:.5,color:[182,191,190]},{id:11,intensity:.5,color:[109,88,171]}]};function Cm(t,e){1&t&&_i(0,"img",16)}const bm=function(t){return{"background-color":t}};function wm(t,e){if(1&t){const t=vi();mi(0,"button",14),wi("click",function(){const e=xe(t).$implicit;return xi().setActive(e.id)}),di(1,Cm,1,0,"img",15),yi()}if(2&t){const t=e.$implicit;Oi("active",xi().isActive(t.id)),fi("ngStyle",Go(4,bm,"rgb("+t.color+")")),Gr(1),fi("ngIf",0==t.id)}}let Sm=(()=>{class t{constructor(){this.videoWidth=320,this.videoHeight=480,this.activeHairColor=0,this.initHairColor=window.orboHair.default.initHairColor,this.updateHairColor=window.orboHair.default.updateHairColor,this.stopHairColor=window.orboHair.default.stopHairColor}ngOnInit(){const t=window.matchMedia("(max-width: 768px)");this.videoWidth=t.matches?480:320,this.videoHeight=t.matches?320:480,this.hairColors=vm.hairColors;const e=setTimeout(()=>{if(this.inputVideo=document.getElementById("video"),this.inputVideo.style.display="none",!this.inputVideo.srcObject){document.getElementById("output").style.display="none";const t=document.getElementById("prompt");t&&(t.style.display="block")}},3e4);navigator.mediaDevices.getUserMedia({video:{facingMode:"user",width:this.videoWidth,height:this.videoHeight}}).then(t=>{this.frontCamMediaStream=t,this.inputVideo=document.getElementById("video"),this.inputVideo.style.display="block",this.inputVideo.srcObject=t,this.inputVideo.play(),this.inputVideo.style.display="none",this.outputCanvas=document.getElementById("output"),this.inputVideo.addEventListener("loadeddata",()=>{this.initHairColor(this.inputVideo,this.outputCanvas)})}).catch(t=>{if(clearTimeout(e),this.inputVideo=document.getElementById("video"),this.inputVideo.style.display="none",!this.inputVideo.srcObject){document.getElementById("output").style.display="none";const t=document.getElementById("prompt");t&&(t.style.display="block")}})}closeMediaStream(){var t;null===(t=this.frontCamMediaStream)||void 0===t||t.getTracks().forEac
1h(t=>t.stop())}ngOnDestroy(){this.stopHairColor(),this.closeMediaStream()}setActive(t){this.activeHairColor=t,this.changeMakeup(t)}isActive(t){return this.activeHairColor===t}changeMakeup(t){this.color=this.hairColors[t].color,this.intensity=this.hairColors[t].intensity,this.update()}update(){this.updateHairColor(this.color,this.intensity)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Dt({type:t,selectors:[["app-hair-color"]],decls:18,vars:1,consts:[[1,"container"],[1,"row"],[1,"col-sm-12","text-center"],["id","video","playsinline","",2,"display","none"],["id","output"],["id","prompt",2,"display","none"],[2,"color","#FF365B"],[1,"col-sm-12"],["id","pills-tabContent",1,"tab-content"],["id","pills-lipstick","role","tabpanel","aria-labelledby","pills-lipstick-tab",1,"tab-pane","fade","show","active"],[1,"color-group","p-2",2,"text-align","center"],[1,"color-row"],["type","button","class","btn btn-color m-2",3,"ngStyle","active","click",4,"ngFor","ngForOf"],["id","hair-color-wasm-cnv",2,"display","none"],["type","button",1,"btn","btn-color","m-2",3,"ngStyle","click"],["src","assets/images/hair-color/none.png",4,"ngIf"],["src","assets/images/hair-color/none.png"]],template:function(t,e){1&t&&(mi(0,"div",0),mi(1,"div",1),mi(2,"div",2),_i(3,"video",3),_i(4,"canvas",4),mi(5,"div",5),Ni(6,"Sorry, but it seems like there was an issue opening the camera. Please make sure that your device has a working camera and have the necessary permissions to access your device's camera."),yi(),_i(7,"br"),mi(8,"span",6),mi(9,"i"),Ni(10,"Click on the color circle to apply hair color"),yi(),yi(),yi(),mi(11,"div",7),mi(12,"div",8),mi(13,"div",9),mi(14,"div",10),mi(15,"div",11),di(16,wm,2,6,"button",12),yi(),yi(),yi(),yi(),yi(),yi(),yi(),_i(17,"canvas",13)),2&t&&(Gr(16),fi("ngForOf",e.hairColors))},directives:[bl,El,Sl],styles:["#output[_ngcontent-%COMP%]{border-radius:24px;background:url(loader.0f481273fecd744ae4c8.gif) no-repeat 50%;width:320px}#prompt[_ngcontent-%COMP%]{width:100%;height:auto;text-align:center;font-size:16px;color:#000;padding:0 110px}.form-bg[_ngcontent-%COMP%]{width:100%;height:-moz-fit-content;height:fit-content;background:#f4f4f4;box-shadow:inset 30px 24px 34px #d1d9e657,inset 30px 28px 38px #d1d9e666,inset 30px 35px 45px #d1d9e67a,inset 30px 54px 61px #d1d9e6ab,inset -20px -63px 65px #ffffffbf,inset -20px -36.8341px 42.6719px hsla(0,0%,100%,.539),inset -20px -31.3638px 35.026px hsla(0,0%,100%,.447),inset -20px -28.4185px 30.1667px hsla(0,0%,100%,.375);border-radius:144px;padding:20px}.tabbable[_ngcontent-%COMP%]{overflow-x:auto;overflow-y:hidden}.tabbable[_ngcontent-%COMP%]   .nav-tabs[_ngcontent-%COMP%]{flex-wrap:nowrap;width:-moz-fit-content;width:fit-content}.tabbable[_ngcontent-%COMP%]   .nav-tabs[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{white-space:nowrap}.nav-link[_ngcontent-%COMP%]{background:#fff!important;text-align:center;margin:0 8px;box-shadow:12.5715px 22.6287px 28.0763px #d1d9e6ab,12.5715px 10.0572px 14.2477px #d1d9e657,12.5715px 11.7334px 15.9239px #d1d9e666,12.5715px 14.6667px 18.8572px #d1d9e67a,-8.38099px -13.143px 14.6776px hsla(0,0%,100%,.447),-8.38099px -11.9087px 12.6413px hsla(0,0%,100%,.375);border-radius:50%;width:70px;height:70px;padding:20px;transition:background-color .2s ease-out}.title-txt[_ngcontent-%COMP%]{color:#5c4f51}svg[_ngcontent-%COMP%]{fill:#5c4f51}.nav-link.active[_ngcontent-%COMP%], .nav-link[_ngcontent-%COMP%]:hover{background:#ff365b!important}.nav-link.active[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%], .nav-link[_ngcontent-%COMP%]:hover   svg[_ngcontent-%COMP%]{fill:#fff}.nav-link.active[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   stop[_ngcontent-%COMP%], .nav-link[_ngcontent-%COMP%]:hover   svg[_ngcontent-%COMP%]   stop[_ngcontent-%COMP%]{stop-color:#fff}.btn-finish[_ngcontent-%COMP%]{width:100px;padding:10px 20px;background:#fff;border-radius:50px;color:#ff365b;border:2px solid #ff365b}.feature-name[_ngcontent-%COMP%]{color:#ff365b;font-size:18px}.btn-patterns[_ngcontent-%COMP%]{width:100px;background:#fff;border-radius:50px;border:1px solid #ff365b80;margin:2px}
1.btn-patterns[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:45px}.btn-finish.active[_ngcontent-%COMP%], .btn-finish[_ngcontent-%COMP%]:focus{color:#fff;border:2px solid #ff365b;outline:none;box-shadow:none;background:linear-gradient(90deg,#ff365b -.63%,#ff365b80);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.btn-patterns.active[_ngcontent-%COMP%], .btn-patterns.focus[_ngcontent-%COMP%]{outline:none;box-shadow:none;background:linear-gradient(90deg,#ff365b80 -.63%,#ff365b00)}.btn-color[_ngcontent-%COMP%]{border:none;color:#fff;padding:30px;text-decoration:none;margin:10px;border-radius:50%}.btn-color.active[_ngcontent-%COMP%], .btn-color[_ngcontent-%COMP%]:focus, .btn-color[_ngcontent-%COMP%]:hover{outline:3px solid #04aa6d;box-shadow:0 0 15px 1px #04aa6d}.btn-color[_ngcontent-%COMP%]:first-child{width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content;padding:10px}@media only screen and (max-width: 768px){.form-bg[_ngcontent-%COMP%], .nav-link[_ngcontent-%COMP%]{padding:10px}.nav-link[_ngcontent-%COMP%]{width:50px;height:50px}.btn-finish[_ngcontent-%COMP%]{width:80px;padding:5px 0}.btn-patterns[_ngcontent-%COMP%]{width:80px}.btn-patterns[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:30px}.btn-color[_ngcontent-%COMP%]{padding:25px}.btn-color[_ngcontent-%COMP%]:first-child{width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content;padding:5px}.color-group[_ngcontent-%COMP%] > .color-row[_ngcontent-%COMP%], .pattern-group[_ngcontent-%COMP%] > .pattern-row[_ngcontent-%COMP%]{overflow-x:auto;white-space:nowrap}.color-group[_ngcontent-%COMP%] > .color-row[_ngcontent-%COMP%] > .btn[_ngcontent-%COMP%], .pattern-group[_ngcontent-%COMP%] > .pattern-row[_ngcontent-%COMP%] > .btn[_ngcontent-%COMP%]{display:inline-block;float:none}#prompt[_ngcontent-%COMP%]{padding:0}}"]}),t})();const km=[{title:"Virtual Makeup",desc:"We are consistent in building disruptive technologies using our research and development capabilities"},{title:"Hair Color",desc:"We are consistent in building disruptive technologies using our research and development capabilities"}];function xm(t,e){if(1&t){const t=vi();mi(0,"button",70),wi("click",function(){const e=xe(t).$implicit;return xi().setActive("lipFinish",e.id)}),Ni(1),yi()}if(2&t){const t=e.$implicit;Oi("active",xi().isActive("lipFinish",t.id)),Gr(1),Li(" ",t.name," ")}}function Em(t,e){if(1&t){const t=vi();mi(0,"button",70),wi("click",function(){const e=xe(t).$implicit;return xi().setActive("lipPattern",e.id)}),Ni(1),yi()}if(2&t){const t=e.$implicit;Oi("active",xi().isActive("lipPattern",t.id)),Gr(1),Li(" ",t.name," ")}}function Tm(t,e){1&t&&_i(0,"img",73)}const Pm=function(t){return{"background-color":t}};function Im(t,e){if(1&t){const t=vi();mi(0,"button",71),wi("click",function(){const e=xe(t).$implicit;return xi(2).setActive("lipColor",e.id)}),di(1,Tm,1,0,"img",72),yi()}if(2&t){const t=e.$implicit;Oi("active",xi(2).isActive("lipColor",t.id)),fi("ngStyle",Go(4,Pm,"rgb("+t.color+")")),Gr(1),fi("ngIf",0==t.id)}}function Om(t,e){if(1&t&&(mi(0,"div",61),di(1,Im,2,6,"button",62),yi()),2&t){const t=xi();Gr(1),fi("ngForOf",t.lsColors)}}function Am(t,e){1&t&&_i(0,"img",73)}const Mm=function(t){return{background:t}};function Rm(t,e){if(1&t){const t=vi();mi(0,"button",71),wi("click",function(){const e=xe(t).$implicit;return xi(2).setActive("lipColor",e.id)}),di(1,Am,1,0,"img",72),yi()}if(2&t){const t=e.$implicit;Oi("active",xi(2).isActive("lipColor",t.id)),fi("ngStyle",Go(4,Mm,"linear-gradient(-90deg, rgb("+t.color[0]+"), rgb("+t.color[0]+") 49%, rgb("+t.color[1]+") 51%)")),Gr(1),fi("ngIf",0==t.id)}}function Fm(t,e){if(1&t&&(mi(0,"div",61),di(1,Rm,2,6,"button",62),yi()),2&t){const t=xi();Gr(1),fi("ngForOf",t.lsDualColors)}}function Nm(t,e){if(1&t){const t=vi();mi(0,"button",70),wi("click",function(){const e=xe(t).index;return xi().toggleESPatternActive(e)}),Ni(1),yi()}if(2&t){const t=e.index;Oi("active",xi().isESPatternActive(t)),Gr(1),Li(" ",t+1," ")}}function jm(t,e){if(1&t){const t=vi();mi(0,"button",74),wi("click",function(){const e=xe(t).$implicit;return xi().setActive("esPattern",e.id)}),_i(1,"img",75),yi()}if(2&t){const t=e.$implicit;Oi("active",xi().isActive("esPattern",t.id)),Gr(1),Ei("src",t.image,ir)}}function Lm(t,e){1&t&&_i(0,"img",73)}function Dm(t,e){if(1&t){const t=vi();mi(0,"button",71),wi("click",function(){const e=xe(t).$implicit;return xi(2).setActive("esColor",e.id)}),di(1,Lm,1,0,"img",72),yi()}if(2&t){const t=e.$implicit;Oi("active",xi(2).isActive("esColor",t.id)),fi("ngStyle",Go(4,Pm,"rgb("+t.color+")")),Gr(1),fi("ngIf",0==t.id)}}function Um(t,e){if(1&t&&(mi(0,"div",61),di(1,Dm,2,6,"button",62),yi()),2&t){const t=xi();Gr(1),fi("ngForOf",t.esColors)}}function Hm(t,e){1&t&&_i(0,"img",73)}function $m(t,e){if(1&t){const t=vi();mi(0,"button",71),wi("click",function(){const e=xe(t).$implicit;return xi(2).setActive("esColor",e.id)}),di(1,Hm,1,0,"img",72),yi()}if(2&t){const t=e.$implicit;Oi("active",xi(2).isActive("esColor",t.id)),fi("ngStyle",Go(4,Mm,"linear-gradient(-90deg, rgb("+t.color[1]+"), rgb("+t.color[1]+") 49%, rgb("+t.color[0]+") 51%)")),Gr(1),fi("ngIf",0==t.id)}}function Vm(t,e){if(1&t&&(mi(0,"div",61),di(1,$m,2,6,"button",62),yi()),2&t){const t=xi();Gr(1),fi("ngForOf",t.esDualColors)}}function zm(t,e){1&t&&_i(0,"img",73)}function Bm(t,e){if(1&t){const t=vi();mi(0,"button",71),wi("click",function(){const e=xe(t).$implicit;return xi(2).setActive("esColor",e.id)}),di(1,zm,1,0,"img",72),yi()}if(2&t){const t=e.$implicit;Oi("active",xi(2).isActive("esColor",t.id)),fi("ngStyle",Go(4,Mm,"conic-gradient(rgb("+t.color[0]+") 25%, rgb("+t.color[1]+") 0 50%, rgb("+t.color[2]+") 0 75%, rgb("+t.color[3]+") 0)")),Gr(1),fi("ngIf",0==t.id)}}function qm(t,e){if(1&t&&(mi(0,"div",61),di(1,Bm,2,6,"button",62),yi()),2&t){const t=xi();Gr(1),fi("ngForOf",t.esQuadrupleColors)}}function Zm(t,e){if(1&t){const t=vi();mi(0,"button",74),wi("click",function(){const e=xe(t).$implicit;return xi().setActive("elinePattern",e.id)}),_i(1,"img",75),yi()}if(2&t){const t=e.$implicit;Oi("active",xi().isActive("elinePattern",t.id)),Gr(1),Ei("src",t.image,ir)}}function Km(t,e){1&t&&_i(0,"img",73)}function Qm(t,e){if(1&t){const t=vi();mi(0,"button",71),wi("click",function(){const e=xe(t).$implicit;return xi().setActive("elineColor",e.id)}),di(1,Km,1,0,"img",72),yi()}if(2&t){const t=e.$implicit;Oi("active",xi().isActive("elineColor",t.id)),fi("ngStyle",Go(4,Pm,"rgb("+t.color+")")),Gr(1),fi("ngIf",0==t.id)}}function Wm(t,e){1&t&&_i(0,"img",73)}function Gm(t,e){if(1&t){const t=vi();mi(0,"button",71),wi("click",function(){const e=xe(t).$implicit;return xi().setActive("kajalColor",e.id)}),di(1,Wm,1,0,"img",72),yi()}if(2&t){const t=e.$implicit;Oi("active",xi().isActive("kajalColor",t.id)),fi("ngStyle",Go(4,Pm,"rgb("+t.color+")")),Gr(1),fi("ngIf",0==t.id)}}function Jm(t,e){1&t&&_i(0,"img",73)}function Ym(t,e){if(1&t){const t=vi();mi(0,"button",71),wi("click",function(){const e=xe(t).$implicit;return xi().setActive("eyebrowPencilColor",e.id)}),di(1,Jm,1,0,"img",72),yi()}if(2&t){const t=e.$implicit;Oi("active",xi().isActive("eyebrowPencilColor",t.id)),fi("ngStyle",Go(4,Pm,"rgb("+t.color+")")),Gr(1),fi("ngIf",0==t.id)}}function Xm(t,e){if(1&t){const t=vi();mi(0,"button",74),wi("click",function(){const e=xe(t).$implicit;return xi().setActive("elashPattern",e.id)}),_i(1,"img",75),yi()}if(2&t){const t=e.$implicit;Oi("active",xi().isActive("elashPattern",t.id)),Gr(1),Ei("src",t.image,ir)}}function ty(t,e){1&t&&_i(0,"img",73)}function ey(t,e){if(1&t){const t=vi();mi(0,"button",71),wi("click",function(){const e=xe(t).$implicit;return xi().setActive("elashColor",e.id)}),di(1,ty,1,0,"img",72),yi()}if(2&t){const t=e.$implicit;Oi("active",xi().isActive("elashColor",t.id)),fi("ngStyle",Go(4,Pm,"rgb("+t.color+")")),Gr(1),fi("ngIf",0==t.id)}}function ny(t,e){1&t&&_i(0,"img",73)}function ry(t,e){if(1&t){const t=vi();mi(0,"button",71),wi("click",function(){const e=xe(t).$implicit;return xi().setActive("fColor",e.id)}),di(1,ny,1,0,"img",72),yi()}if(2&t){const t=e.$implicit;Oi("active",xi().isActive("fColor",t.id)),fi("ngStyle",Go(4,Pm,"rgb("+t.color+")")),Gr(1),fi("ngIf",0==t.id)}}function sy(t,e){1&t&&_i(0,"img",73)}function iy(t,e){if(1&t){const t=vi();mi(0,"button",71),wi("click",function(){const e=xe(t).$implicit;return xi().setActive("bColor",e.id)}),di(1,sy,1,0,"img",72),yi()}if(2&t){const t=e.$implicit;Oi("active",xi().isActive("bColor",t.id)),fi("ngStyle",Go(4,Pm,"rgb("+t.color+")")),Gr(1),fi("ngIf",0==t.id)}}function oy(t,e){1&t&&_i(0,"img",73)}function ay(t,e){if(1&t){const t=vi();mi(0,"button",71),wi("click",function(){const e=xe(t).$implicit;return xi().setActive("concealerColor",e.id)}),di(1,oy,1,0,"img",72),yi()}if(2&t){const t=e.$implicit;Oi("active",xi().isActive("concealerColor",t.id)),fi("ngStyle",Go(4,Pm,"rgb("+t.color+")")),Gr(1),fi("ngIf",0==t.id)}}function ly(t,e){1&t&&_i(0,"img",73)}function cy(t,e){if(1&t){const t=vi();mi(0,"button",71),wi("click",function(){const e=xe(t).$implicit;return xi().setActive("highlighterColor",e.id)}),di(1,ly,1,0,"img",72),yi()}if(2&t){const t=e.$implicit;Oi("active",xi().isActive("highlighterColor",t.id)),fi("ngStyle",Go(4,Pm,"rgb("+t.color+")")),Gr(1),fi("ngIf",0==t.id)}}const uy=[{path:"",redirectTo:"/home",pathMatch:"full"},{path:"home",component:(()=>{class t{constructor(){this.title=km[0].title}ngOnInit(){}changeTitle(t){this.title=km[t].title}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Dt({type:t,selectors:[["app-home"]],decls:22,vars:1,consts:[["data-aos","fade-
1down",1,"center"],[1,"form-bg"],[1,"text-center"],[1,"row"],["routerLink","/makeup","data-toggle","tooltip","data-placement","top","title","Virtual Makeup",1,"btn","btn-home",3,"mouseenter"],["width","40","height","40","viewBox","0 0 40 40","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M20.3925 40H18.8888C18.8387 40 18.7814 39.9928 18.7313 39.9857L18.6096 39.9571C18.5881 39.9499 18.5594 39.9428 18.5379 39.9356C16.0319 39.771 13.6833 39.1556 11.5495 38.1108C5.40601 35.1053 1.63254 30.182 0.322213 23.4983C0.214809 22.9688 0.157527 22.4321 0.0930843 21.9169C0.0644432 21.6879 0.0358029 21.4589 0.0071618 21.2299C1.52976e-06 21.2013 0 21.1655 0 21.1369V18.8756C0 18.8326 0.0071606 18.7825 0.0143209 18.7396L0.0358008 18.6394C0.0501214 18.5679 0.0644429 18.4892 0.0787634 18.4104C0.121725 18.1242 0.157528 17.8451 0.186169 17.5589C0.257771 16.9435 0.336533 16.2994 0.486899 15.6697C2.14092 8.86437 6.25092 4.06271 12.7023 1.40785C16.0533 0.0267461 19.7266 -0.338208 23.6289 0.312986C28.7055 1.16455 32.8442 3.44014 35.9374 7.08253C39.1595 10.8752 40.477 15.1187 39.8469 19.6914C39.4603 22.4965 38.0712 24.8794 35.7154 26.7829C33.6461 28.4503 31.1472 29.3018 28.3046 29.3018C28.2974 29.3018 28.2831 29.3018 28.2759 29.3018L27.3451 29.2947C26.493 29.2875 25.6123 29.2804 24.7602 29.309C23.9368 29.3376 23.2064 29.7097 22.7553 30.3394C22.3186 30.9549 22.1969 31.7563 22.4403 32.522C22.5549 32.9013 22.8413 33.2949 23.1205 33.6813L23.1993 33.7958C24.1659 35.1411 24.1373 37.1448 23.1277 38.4472C22.5191 39.2415 21.667 39.7424 20.5285 39.9857C20.4927 39.9928 20.4426 40 20.3925 40ZM18.9747 38.5688H20.3137C21.0798 38.3899 21.6169 38.075 22.0107 37.567C22.6336 36.7584 22.6551 35.4631 22.0536 34.6259L21.9749 34.5185C21.6455 34.0605 21.2732 33.5453 21.087 32.9442C20.7147 31.742 20.9008 30.4897 21.6025 29.5022C22.3114 28.5075 23.4499 27.9136 24.7244 27.8706C25.6123 27.842 26.5073 27.8492 27.3666 27.8563L28.2902 27.8635C28.2974 27.8635 28.3046 27.8635 28.3189 27.8635C30.8608 27.8635 32.9945 27.1407 34.8276 25.6594C36.8897 23.9993 38.0998 21.924 38.4363 19.491C39.0092 15.3405 37.8062 11.4763 34.8562 8.00566C31.9921 4.62804 28.1399 2.51702 23.3998 1.72271C19.7624 1.11445 16.3541 1.45078 13.2537 2.72455C7.25336 5.19336 3.42261 9.66584 1.88315 15.9989C1.74711 16.5499 1.68266 17.1152 1.61106 17.7163C1.57526 18.0169 1.53946 18.3103 1.4965 18.6036C1.48218 18.7038 1.4607 18.804 1.43922 18.9042L1.43205 18.9328V21.0725C1.4607 21.2943 1.48934 21.5161 1.51082 21.738C1.5681 22.246 1.62538 22.7326 1.71847 23.2049C2.93571 29.4306 6.45141 34.0105 12.1725 36.8084C14.1344 37.7673 16.3039 38.3327 18.631 38.4901C18.7528 38.5116 18.8602 38.533 18.9747 38.5688Z"],["d","M13.7119 17.666C12.688 17.666 11.7214 17.2653 10.9767 16.5354C10.2249 15.7912 9.80242 14.8036 9.79526 13.7589C9.7881 12.7141 10.1891 11.7337 10.9337 10.9823C11.6713 10.2381 12.6594 9.82307 13.7048 9.81592C13.7119 9.81592 13.7262 9.81592 13.7334 9.81592C14.7716 9.81592 15.7454 10.2167 16.483 10.9466C17.2276 11.6836 17.6429 12.664 17.6429 13.7159C17.6572 15.8699 15.903 17.6445 13.7406 17.6589C13.7334 17.666 13.7191 17.666 13.7119 17.666ZM13.7119 11.2543C13.046 11.2614 12.4231 11.519 11.9505 11.9985C11.4779 12.4708 11.2273 13.0934 11.2273 13.7517C11.2345 14.4172 11.4994 15.0398 11.9791 15.5192C12.4517 15.9844 13.0603 16.2348 13.7048 16.2348C13.7119 16.2348 13.7191 16.2348 13.7263 16.2348C15.101 16.2205 16.218 15.097 16.2037 13.7302C16.1965 13.0647 15.9388 12.4422 15.4662 11.9699C15.0008 11.5047 14.3922 11.2543 13.7119 11.2543Z"],["d","M26.3426 17.6661C26.3068 17.6661 26.271 17.6661 26.2281 17.6661C24.0657 17.6017 22.3401 15.8127 22.383 13.673C22.4045 12.614 22.8341 11.6336 23.5931 10.9037C24.3449 10.1809 25.3044 9.80166 26.3713 9.82313C28.5409 9.87322 30.2736 11.6622 30.2235 13.809C30.202 14.8681 29.7581 15.8556 28.9848 16.5927C28.2616 17.2868 27.3236 17.6661 26.3426 17.6661ZM26.2854 11.2543C25.6481 11.2543 25.0466 11.4976 24.5884 11.9413C24.1015 12.4064 23.8294 13.029 23.8151 13.7017C23.7864 15.0613 24.8891 16.1919 26.271 16.2349C26.9155 16.2635 27.5241 16.013 28.0038 15.5551C28.4979 15.0828 28.7843 14.453 28.7986 13.7732C28.8273 12.4136 27.7246 11.2829 26.3426 11.2472C26.357 11.2543 26.3068 11.2543 26.2854 11.2543Z"],["routerLink","/hair-color","data-toggle","tooltip","data-
1placement","top","title","Hair Color",1,"btn","btn-home",3,"mouseenter"],["width","29","height","40","viewBox","0 0 29 40","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M27.9393 38.662H22.4313C21.8727 36.7718 21.8727 34.0503 21.8857 33.3163C24.3799 31.03 26.1076 27.1003 26.3739 22.5666C27.9133 20.7155 28.7252 18.5201 28.7252 16.2077C28.7252 13.2394 27.3612 10.5438 25.1528 8.59526C25.6205 7.73139 25.7569 6.89349 25.536 6.10756C25.2502 5.08131 24.4383 4.44477 23.9577 4.13949C23.9512 3.80173 23.9252 3.45099 23.8602 3.06127C23.5874 1.43095 22.5742 0.716469 21.7752 0.398199C20.4307 -0.127919 18.7874 0.131893 18.0015 0.573573C17.6767 0.41119 17.326 0.268293 16.9428 0.170864C14.8448 -0.355255 12.5 0.365723 11.3698 1.89212C10.7332 2.75599 10.4345 3.60038 10.3305 4.36682C9.88237 4.45776 9.29779 4.6786 8.8756 5.2307C8.34948 5.9192 8.24555 6.887 8.55083 8.10811C6.68019 9.56306 5.30319 11.5246 4.71861 13.8175C4.62767 14.1617 4.84202 14.519 5.18627 14.6099C5.53702 14.7008 5.88776 14.4865 5.9787 14.1422C7.0764 9.85535 11.5387 6.7506 16.579 6.7506C18.3457 6.7506 20.015 7.12732 21.496 7.78984C21.6194 7.95222 21.8077 8.04316 22.0026 8.04316C22.0091 8.04316 22.0156 8.04316 22.0221 8.04316C25.2567 9.68647 27.4391 12.7328 27.4391 16.2272C27.4391 17.6497 27.0754 19.0202 26.3869 20.2803C26.2375 17.4159 25.4906 14.6749 24.2564 12.4535C24.2889 11.6026 24.211 11.057 24.2045 11.0375C24.146 10.6867 23.8148 10.4464 23.4575 10.5049C23.1068 10.5633 22.8665 10.8946 22.9184 11.2518C22.9639 11.5246 23.9122 18.0264 16.2802 20.722C12.3571 22.1055 9.66802 23.0603 7.94027 24.0606C7.88182 24.0865 7.83635 24.1125 7.78439 24.1515C5.95271 25.2557 5.2837 26.4248 5.47856 28.3085C5.57599 29.2763 5.98519 30.0362 6.69318 30.5753C7.57004 31.2379 8.7327 31.3807 9.5641 31.3807C9.75896 31.3807 9.92783 31.3743 10.0772 31.3613C10.6163 32.1537 11.2139 32.8422 11.8634 33.4268C11.8764 34.2517 11.8569 36.8693 11.3178 38.7009H5.34216C4.98492 38.7009 4.69263 38.9932 4.69263 39.3505C4.69263 39.7077 4.98492 40 5.34216 40H11.7855C12.0583 40 12.2986 39.8311 12.396 39.5778C12.9806 37.9995 13.13 35.7781 13.1625 34.3946C14.3057 35.0896 15.5463 35.4793 16.8453 35.4793C18.1769 35.4793 19.4434 35.0766 20.5931 34.3491C20.6191 35.7326 20.762 37.98 21.3595 39.5778C21.457 39.8311 21.6973 40 21.9701 40H27.9458C28.303 40 28.5953 39.7077 28.5953 39.3505C28.5953 38.9932 28.2965 38.662 27.9393 38.662ZM24.1071 7.77036C23.7888 7.54302 23.451 7.33517 23.1068 7.14031C23.3666 6.78307 23.6264 6.28943 23.7953 5.6464C24.0031 5.85425 24.198 6.12705 24.2889 6.45181C24.3929 6.84803 24.3279 7.28971 24.1071 7.77036ZM9.88886 6.01663C10.0058 5.86074 10.1617 5.76331 10.3176 5.69836C10.376 6.13354 10.4864 6.51027 10.5904 6.80256C10.2851 6.95195 9.99279 7.11433 9.70699 7.2897C9.62905 6.73111 9.68101 6.29593 9.88886 6.01663ZM11.7855 6.29593C11.5387 5.56845 11.2983 4.13949 12.396 2.65856C13.2145 1.56086 15.0266 1.02824 16.6115 1.42446C17.4299 1.63231 18.8524 2.25585 19.1317 4.15248C19.1836 4.50972 19.5149 4.75654 19.8721 4.69808C20.2294 4.64612 20.4697 4.31486 20.4177 3.95762C20.2683 2.97034 19.8656 2.12595 19.2486 1.47642C19.8007 1.3595 20.5931 1.32053 21.2881 1.59333C22.0091 1.87913 22.4313 2.42473 22.5677 3.26262C22.873 5.10729 22.3014 6.10756 21.9181 6.54924C20.3008 5.84125 18.4821 5.43205 16.5595 5.43205C14.8708 5.43205 13.2599 5.74383 11.7855 6.29593ZM7.46612 29.4971C7.05692 29.1853 6.82958 28.7437 6.76463 28.1396C6.6607 27.1198 6.88804 26.3989 7.73243 25.7039C8.08317 27.3017 8.60929 28.7631 9.2848 30.0427C8.69373 30.0167 7.97925 29.8933 7.46612 29.4971ZM12.9481 32.6343C12.9416 32.6278 12.9352 32.6278 12.9352 32.6213C12.2791 32.0757 11.6751 31.3937 11.136 30.5948C11.136 30.5688 11.1425 30.5429 11.136 30.5104C11.097 30.3025 10.9606 30.1401 10.7787 30.0492C9.92783 28.6267 9.2783 26.8925 8.90807 24.9439C10.4215 24.145 12.8767 23.2551 16.7024 21.9106C21.4375 20.2413 23.2367 17.1755 23.8927 14.7138C24.6786 16.7014 25.1073 18.9942 25.1073 21.352C25.1073 28.3994 21.3985 34.1347 16.8388 34.1347C15.4423 34.1412 14.1173 33.6021 12.9481 32.6343Z"],["d","M7.68698 35.4403C7.98577 35.4403 8.25857 35.2325 8.32352 34.9207C8.39497 34.57 8.16763 34.2257 7.81689 34.1543C7.77142 34.1478 3.16626 33.154 1.84771 29.6206C0.477207 25.9442 1.73729 21.6054 4.84854 19.306C5.94624 18.4941 7.50511 17.7602 9.01852 17.0457C12.2402 15.5323 15.5658 13.9669 15.7606 11.1674C15.7866 10.8102 15.5138 10.4984 15.1566 10.4724C14.7993 10.453 14.4876 10.7193 14.4616 11.0765C14.3187 13.116 11.3438 14.519 8.45992 15.87C6.89456 16.6105 5.27073 17.3704 4.0691 18.2603C0.509683 20.8974 -0.938766 25.8663 0.626599 30.0752C2.19196 34.2777 7.32974 35.3819 7.54409 35.4274C7.59605 35.4338 7.64152 35.4403 7.68698 35.4403Z"],["d","M20.6646 22.5212H19.3006C18.9434 22.5212 18.6511 22.8135 18.6511 23.1708C18.6511 23.528 18.9434 23.8203 19.3
1006 23.8203H20.6646C21.0218 23.8203 21.3141 23.528 21.3141 23.1708C21.3141 22.8135 21.0283 22.5212 20.6646 22.5212Z"],[1,"row","m-5"],[1,"col-md-12","title"],[1,"title-text"]],template:function(t,e){1&t&&(mi(0,"div",0),mi(1,"div",1),mi(2,"div",2),mi(3,"div",3),mi(4,"a",4),wi("mouseenter",function(){return e.changeTitle(0)}),Ke(),mi(5,"svg",5),_i(6,"path",6),_i(7,"path",7),_i(8,"path",8),yi(),yi(),Qe(),mi(9,"a",9),wi("mouseenter",function(){return e.changeTitle(1)}),Ke(),mi(10,"svg",10),_i(11,"path",11),_i(12,"path",12),_i(13,"path",13),yi(),yi(),yi(),yi(),yi(),Qe(),mi(14,"div",14),mi(15,"div",15),mi(16,"div",16),Ni(17),yi(),mi(18,"p"),Ni(19,"We are consistent in building disruptive technologies using our"),_i(20,"br"),Ni(21,"research and development capabilities"),yi(),yi(),yi(),yi()),2&t&&(Gr(17),ji(e.title))},directives:[Yg],styles:[".center[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;min-height:80vh}.form-bg[_ngcontent-%COMP%]{width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content;background:#f4f4f4;box-shadow:inset 30px 24px 34px #d1d9e657,inset 30px 28px 38px #d1d9e666,inset 30px 35px 45px #d1d9e67a,inset 30px 54px 61px #d1d9e6ab,inset -20px -63px 65px #ffffffbf,inset -20px -36.8341px 42.6719px hsla(0,0%,100%,.539),inset -20px -31.3638px 35.026px hsla(0,0%,100%,.447),inset -20px -28.4185px 30.1667px hsla(0,0%,100%,.375);border-radius:144px;padding:20px 60px}.btn-home[_ngcontent-%COMP%]{background:#fff;box-shadow:12.5715px 22.6287px 28.0763px #d1d9e6ab,12.5715px 10.0572px 14.2477px #d1d9e657,12.5715px 11.7334px 15.9239px #d1d9e666,12.5715px 14.6667px 18.8572px #d1d9e67a,-8.38099px -26.4001px 27.2382px #ffffffbf,-8.38099px -15.4353px 17.8816px hsla(0,0%,100%,.539),-8.38099px -13.143px 14.6776px hsla(0,0%,100%,.447),-8.38099px -11.9087px 12.6413px hsla(0,0%,100%,.375);border-radius:50%;width:138px;height:138px;padding:48px;margin:0 15px;transition:background-color .2s ease-out}.title-text[_ngcontent-%COMP%]{color:#ff365b;font-weight:800;font-size:50px}.title[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:#5c4f51;font-size:21px;font-weight:400;line-height:40px}svg[_ngcontent-%COMP%]{fill:#5c4f51}.btn-home[_ngcontent-%COMP%]:hover{background:#ff365b}.btn-home[_ngcontent-%COMP%]:hover   svg[_ngcontent-%COMP%]{fill:#fff}@media only screen and (max-width: 768px){.form-bg[_ngcontent-%COMP%]{padding:20px 40px}.btn-home[_ngcontent-%COMP%]{width:60px;height:60px;padding:10px;margin:0 5px}.btn-home[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:20px}.title-text[_ngcontent-%COMP%]{font-size:34px}.title[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:16px;line-height:20px}}"]}),t})(),data:{title:"Supertouch Demo | Orbo",description:"Experience the power of Orbo AI with our virtual try-on technology",keywords:"orbo ai, virtual try-on, beauty tech, makeup, hair color"}},{path:"makeup",component:(()=>{class t{constructor(){this.NOT_APPLIED=0,this.orboId="62ac4f5fc6fffdfdba8b5f7a",this.orboToken="62b00a9b01a417913b55d51a",this.videoWidth=640,this.videoHeight=480,this.activeLipstickFinish=0,this.activeLipstickPattern=0,this.activeLipstickColor=0,this.activeEyeshadowFinish=0,this.activeEyeshadowPattern=0,this.activeEyeshadowColor=0,this.activeEyeshadowCombo=0,this.activeEyelinePattern=0,this.activeEyelineColor=0,this.activeKajalPattern=0,this.activeKajalColor=0,this.activeEyebrowPencilPattern=0,this.activeEyebrowPencilColor=0,this.activeEyelashPattern=0,this.activeEyelashColor=0,this.activeFoundationColor=0,this.activeBlushPattern=0,this.activeBlushColor=0,this.activeConcealerColor=0,this.activeHighlighterColor=0,this.makeupConfig={lipFlag:!1,eyeShadowFlag:!1,eyeLineFlag:!1,kajalFlag:!1,eyebrowPencilFlag:!1,eyeLashFlag:!1,foundationFlag:!1,blushFlag:!1,concealerFlag:!1,highlighterFlag:!1,contourFlag:!1,bronzerFlag:!1,lipIntensity:vm.lsColors[1].maskIntensity,eyeShadowIntensity:vm.esColors[1].maskIntensity,eyeShadowFinishIntensity:null,eyeLinerIntensity:vm.elineColors[1].maskIntensity,kajalIntensity:vm.elineColors[1].maskIntensity,eyebrowPencilIntensity:vm.elineColors[1].maskIntensity,eyeLashIntensity:vm.elashColors[1].maskIntensity,foundationIntensity:vm.fColors[1].maskIntensity,blushIntensity:vm.bColors[1].maskIntensity,concealerIntensity:vm.concealerColors[1].maskIntensity,highlighterIntensity:vm.highlighterColors[1].maskIntensity,contourIntensity:0,bronzerIntensity:0,lipColor:vm.lsColors[1].color,eye
1ShadowColor:vm.esColors[1].color,eyeShadowFinishColor:vm.esColors[1].color,eyeLineColor:vm.elineColors[1].color,kajalColor:vm.kajalColors[1].color,eyebrowPencilColor:vm.eyebrowPencilColors[1].color,eyeLashColor:vm.elashColors[1].color,foundationColor:vm.fColors[1].color,blushColor:vm.bColors[1].color,concealerColor:vm.concealerColors[1].color,highlighterColor:vm.highlighterColors[1].color,contourColor:[0,0,0],bronzerColor:[0,0,0],lipFinish:vm.lsFinishes[0].id,eyeShadowFinish:vm.esFinishes[0].id,lipColorNo:1,eyeShadowColorNo:1,eyeShadowFinishColorNo:1,lipMaskId:vm.lsColors[0].maskId,eyeShadowMaskId:vm.esPatterns[0].maskId,eyeLineMaskId:vm.elinePatterns[0].maskId,kajalMaskId:vm.kajalPatterns[0].maskId,eyebrowPencilMaskId:vm.eyebrowPencilPatterns[0].maskId,eyeLashMaskId:vm.elashPatterns[0].maskId,foundationMaskId:vm.fColors[0].maskId,blushMaskId:vm.bPatterns[0].maskId,concealerMaskId:vm.concealerColors[0].maskId,highlighterMaskId:vm.highlighterColors[0].maskId,contourMaskId:0,bronzerMaskId:0},this.getEyeShadowColorCount=()=>this.activeEyeshadowPattern<2?1:this.activeEyeshadowPattern>=2&&this.activeEyeshadowPattern<4?2:this.activeEyeshadowPattern>=4&&this.activeEyeshadowPattern<4?3:4,this.setEyeShadowParams=(t,e,n)=>{this.makeupConfig.eyeShadowColorNo=t,this.makeupConfig.eyeShadowIntensity=e,this.makeupConfig.eyeShadowColor=n},this.esPattern="M",this.initMakeup=window.orbo.default.initMakeup,this.updateMakeup=window.orbo.default.updateMakeup,this.stopMakeup=window.orbo.default.stopMakeup}ngOnInit(){const t=window.matchMedia("(max-width: 768px)");this.videoWidth=t.matches?480:640,this.videoHeight=t.matches?320:480;const e=setTimeout(()=>{if(this.inputVideo=document.getElementById("video"),this.inputVideo.style.display="none",!this.inputVideo.srcObject){document.getElementById("test").style.display="none";const t=document.getElementById("prompt");t&&(t.style.display="block")}},3e4);navigator.mediaDevices.getUserMedia({video:{facingMode:"user",width:this.videoWidth,height:this.videoHeight}}).then(t=>{clearTimeout(e),this.frontCamMediaStream=t,this.inputVideo=document.getElementById("video"),this.inputVideo.style.display="block",this.inputVideo.srcObject=t,this.inputVideo.play(),this.inputVideo.style.display="none",this.outputCanvas=document.getElementById("output"),this.inputVideo.addEventListener("loadeddata",()=>{this.initMakeup(this.inputVideo,this.videoWidth,this.videoHeight,this.outputCanvas,this.makeupConfig,this.orboId,this.orboToken)})}).catch(t=>{if(clearTimeout(e),this.inputVideo=document.getElementById("video"),this.inputVideo.style.display="none",!this.inputVideo.srcObject){document.getElementById("test").style.display="none";const t=document.getElementById("prompt");t&&(t.style.display="block")}}),this.lsFinishes=vm.lsFinishes,this.lsPatterns=vm.lsPatterns,this.lsColors=vm.lsColors,this.lsDualColors=vm.lsDualColors,this.esFinishes=vm.esFinishes,this.esPatterns=vm.esPatterns,this.esColors=vm.esColors,this.esDualColors=vm.esDualColors,this.esTripleColors=vm.esTripleColors,this.esQuadrupleColors=vm.esQuadrupleColors,this.esCombos=vm.esCombos,this.elinePatterns=vm.elinePatterns,this.elineColors=vm.elineColors,this.kajalPatterns=vm.kajalPatterns,this.kajalColors=vm.kajalColors,this.eyebrowPencilPatterns=vm.eyebrowPencilPatterns,this.eyebrowPencilColors=vm.eyebrowPencilColors,this.elashPatterns=vm.elashPatterns,this.elashColors=vm.elashColors,this.fColors=vm.fColors,this.bPatterns=vm.bPatterns,this.bColors=vm.bColors,this.concealerColors=vm.concealerColors,this.highlighterColors=vm.highlighterColors}closeMediaStream(){var t;null===(t=this.frontCamMediaStream)||void 0===t||t.getTracks().forEach(t=>t.stop())}ngOnDestroy(){this.stopMakeup(),this.closeMediaStream()}setActive(t,e){switch(t){case"lipFinish":this.activeLipstickFinish=e,this.changeMakeup(t,e);break;case"lipPattern":this.activeLipstickPattern=e,this.changeMakeup(t,e);break;case"lipColor":this.activeLipstickColor=e,this.changeMakeup(t,e);break;case"esFinish":this.activeEyeshadowFinish=e,this.changeMakeup(t,e);break;case"esPattern":this.activeEyeshadowPattern=e,this.changeMakeup(t,e);break;case"esColor":this.activeEyeshadowColor=e,this.changeMakeup(t,e);break;case"esCombo":this.activeEyeshadowCombo=e,this.changeMakeup(t,e);break;case"elinePattern":this.activeEyelinePattern=e,this.changeMakeup(t,e);break;case"elineColor":this.activeEyelineColor=e,this.changeMakeup(t,e);break;case"kajalPattern":this.activeKajalPattern=e,this.changeMakeup(t,e);break;case"kajalColor":this.activeKajalColor=e,this.changeMakeup(t,e);break;case"eyebrowPencilPattern":this.activeEyebrowPencilPattern=e,this.changeMakeup(t,e);break;case"eyebrowPencilColor":this.activeEyebrowPencilColor=e,this.changeMakeup(t,e);break;case"elashPattern":this.activeEyelashPattern=e,this.changeMakeup(t,e);break;case"elashColor":this.activeEyelashColor=e,this.changeMakeup(t,e);break;case"fColor":this.activeFoundationColor=e,this.changeMakeup(t,e);break;case"bPattern":this.activeBlushPattern=e,this.changeMakeup(t,e);break;case"bColor":this.activeBlushColor=e,this.changeMakeup(t,e);break;case"concealerColor":this.activeConcealerColor=e,this.changeMakeup(t,e);break;case"highlighterColor":this.activeHighlighterColor=e,this.changeMakeup(t,e)}}isActive(t,e){switch(t){case"lipFinish":return this.activeLipstickFinish===e;case"lipPattern":return this.activeLipstickPattern===e;case"lipColor":return this.activeLipstickColor===e;case"esFinish":return this.activeEyeshadowFinish===e;case"esPattern":return this.activeEyeshadowPattern===e;case"esColor":return this.activeEyeshadowColor===e;case"esCombo":return this.activeEyeshadowCombo===e;case"elinePattern":return this.activeEyelinePattern===e;case"elineColor":return this.activeEyelineColor===e;case"kajalPattern":return this.activeKajalPattern===e;case"kajalColor":return this.activeKajalColor===e;case"eyebrowPencilPattern":return this.activeEyebrowPencilPattern===e;case"eyebrowPencilColor":return this.activeEyebrowPencilColor===e;case"elashPattern":return this.activeEyelashPattern===e;case"elashColor":return this.activeEyelashColor===e;case"fColor":return this.activeFoundationColor===e;case"bPattern":return this.activeBlushPattern===e;case"bColor":return this.activeBlushColor===e;case"concealerColor":return this.activeConcealerColor===e;case"highlighterColor":return this.activeHighlighterColor===e;default:return!1}}changeMakeup(t,e,n=!0){switch(t){case"lipColor":e===this.NOT_APPLIED?this.makeupConfig.lipFlag=!1:(this.makeupConfig.lipFlag=!0,this.activeLipstickPattern>0?(this.makeupConfig.lipColorNo=2,this.makeupConfig.lipIntensity=vm.lsDualColors[e].maskIntensity,this.makeupConfig.lipColor=vm.lsDualColors[e].color):(this.makeupConfig.lipColorNo=1,this.makeupConfig.lipIntensity=vm.lsColors[e].maskIntensity,this.makeupConfig.lipColor=vm.lsColors[e].color));break;case"lipFinish":this.makeupConfig.lipFlag=!0,this.makeupConfig.lipFinish=e;break;case"lipPattern":this.makeupConfig.lipFlag=!0,this.makeupConfig.lipMaskId=e,this.activeLipstickPattern>1?1===this.makeupConfig.lipColorNo&&(this.activeLipstickColor=1,this.makeupConfig.lipColorNo=2,this.makeupConfig.lipColor=vm.lsDualColors[1].color,this.makeupConfig.lipIntensity=vm.lsDualColors[1].maskIntensity):2===this.makeupConfig.lipColorNo&&(this.activeLipstickColor=1,this.makeupConfig.lipColorNo=1,this.makeupConfig.lipColor=vm.lsColors[1].color,this.makeupConfig.lipIntensity=vm.lsColors[1].maskIntensity);break;case"esColor":if(e===this.NOT_APPLIED)this.makeupConfig.eyeShadowFlag=!1;else{this.makeupConfig.eyeShadowFlag=!0;const t=this.getEyeShadowColorCount();1===t?this.setEyeShadowParams(1,vm.esColors[e].maskIntensity,vm.esColors[e].color):2===t?this.setEyeShadowParams(2,vm.esDualColors[e].maskIntensity,vm.esDualColors[e].color):3===t?this.setEyeShadowParams(3,vm.esTripleColors[e].maskIntensity,vm.esTripleColors[e].color):this.setEyeShadowParams(4,vm.esQuadrupleColors[e].maskIntensity,vm.esQuadrupleColors[e].color),this.makeupConfig.eyeShadowFinishIntensity=2===t?this.esDualColors[e].finishIntensity:null}break;case"esFinish":this.makeupConfig.eyeShadowFlag=!0,this.makeupConfig.eyeShadowFinish=e,this.activeEyeshadowColor===this.NOT_APPLIED&&(this.activeEyeshadowColor=1,this.changeMakeup("esColor",1,!1));break;case"esPattern":this.makeupConfig.eyeShadowFlag=!0,this.activeEyeshadowColor=1,this.esPattern=this.getDefaultESFinishPattern(),this.changeMakeup("esFinish",this.esFinishCodeToNumber(),!1),this.changeMakeup("esColor",1,!1),this.makeupConfig.eyeShadowMaskId=vm.esPatterns[e].maskId;break;case"elineColor":0===e?this.makeupConfig.eyeLineFlag=!1:(this.makeupConfig.eyeLineFlag=!0,this.makeupConfig.eyeLinerIntensity=vm.elineColors[e].maskIntensity,this.makeupConfig.eyeLineColor=vm.elineColors[e].color);break;case"elinePattern":this.makeupConfig.eyeLineFlag=!0,0===this.activeEyelineColor&&(this.activeEyelineColor=1,this.changeMakeup("elineColor",1,!1)),this.makeupConfig.eyeLineMaskId=vm.elinePatterns[e].maskId;break;case"kajalColor":0===e?this.makeupConfig.kajalFlag=!1:(this.makeupConfig.kajalFlag=!0,this.makeupConfig.kajalIntensity=vm.kajalColors[e].maskIntensity,this.makeupConfig.kajalColor=vm.kajalColors[e].color);break;case"kajalPattern":this.makeupConfig.kajalFlag=!0,this.makeupConfig.kajalMaskId=vm.kajalPatterns[e].maskId;break;case"eyebrowPencilColor":e===this.NOT_APPLIED?this.makeupConfig.eyebrowPencilFlag=!1:(this.makeupConfig.eyebrowPencilFlag=!0,this.makeupConfig.eyebrowPencilIntensity=vm.eyebrowPencilColors[e].maskIntensity,this.makeupConfig.eyebrowPencilColor=vm.eyebrowPencilColors[e].color);break;case"eyebrowPencilPattern":this.makeupConfig.eyebrowPencilFlag=!0,this.makeupConfig.eyebrowPencilMaskId=vm.eyebrowPencilPatterns[e].maskId;break;case"elashColor":e===this.NOT_APPLIED?this.makeupConfig.eyeLashFlag=!1:(this.makeupConfig.eyeLashFlag=!0,this.makeupConfig.eyeLashIntensity=vm.elashColors[e].maskIntensity,this.makeupConfig.eyeLashColor=vm.elashColors[e].color);break;case"elashPattern":this.makeupConfig.eyeLashFlag=!0,this.activeEyelashColor===this.NOT_APPLIED&&(this.activeEyelashColor=1,this.changeMakeup("elashColor",1,!1)),this.makeupConfig.eyeLashMaskId=vm.elashPatterns[e].maskId;break;
1case"fColor":0===e?this.makeupConfig.foundationFlag=!1:(this.makeupConfig.foundationFlag=!0,this.makeupConfig.foundationIntensity=vm.fColors[e].maskIntensity,this.makeupConfig.foundationColor=vm.fColors[e].color);break;case"bColor":0===e?this.makeupConfig.blushFlag=!1:(this.makeupConfig.blushFlag=!0,this.makeupConfig.blushIntensity=vm.bColors[e].maskIntensity,this.makeupConfig.blushColor=vm.bColors[e].color);break;case"bPattern":this.makeupConfig.blushFlag=!0,0===this.activeBlushColor&&(this.activeBlushColor=1,this.changeMakeup("bColor",1,!1)),this.makeupConfig.blushMaskId=vm.bPatterns[e].maskId;break;case"concealerColor":0===e?this.makeupConfig.concealerFlag=!1:(this.makeupConfig.concealerFlag=!0,this.makeupConfig.concealerIntensity=vm.concealerColors[e].maskIntensity,this.makeupConfig.concealerColor=vm.concealerColors[e].color);break;case"highlighterColor":0===e?this.makeupConfig.highlighterFlag=!1:(this.makeupConfig.highlighterFlag=!0,this.makeupConfig.highlighterIntensity=vm.highlighterColors[e].maskIntensity,this.makeupConfig.highlighterColor=vm.highlighterColors[e].color)}n&&this.update()}update(){this.updateMakeup(this.makeupConfig)}numSequenceForESPattern(){return new Array(2===this.getEyeShadowColorCount()?2:1)}getDefaultESFinishPattern(){return"M".repeat(this.getEyeShadowColorCount())}isESPatternActive(t){const e=this.getEyeShadowColorCount();return this.esPattern.length!==e&&(this.esPattern=this.getDefaultESFinishPattern()),"S"===this.esPattern[t]}toggleESPatternActive(t){const e=this.getEyeShadowColorCount();this.esPattern.length!==e&&(this.esPattern=this.getDefaultESFinishPattern()),this.esPattern=this.replaceAt(this.esPattern,t,"M"===this.esPattern[t]?"S":"M"),this.changeMakeup("esFinish",this.esFinishCodeToNumber())}esFinishCodeToNumber(){let t=0;return 2!==this.getEyeShadowColorCount()?this.esPattern.indexOf("S")>=0?1:0:(t={MM:{2:0,3:0},MS:{2:2,3:3},SM:{2:4,3:5},SS:{2:6,3:7}}[this.esPattern][this.activeEyeshadowPattern.toString()],t)}replaceAt(t,e,n){return t.substring(0,e)+n+t.substring(e+n.length)}}return t.MATTE="M",t.SHIMMER="S",t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Dt({type:t,selectors:[["app-makeup"]],decls:155,vars:19,consts:[[1,"container"],[1,"row"],[1,"col-md-12","col-sm-12","text-center"],["id","video","playsinline","",2,"display","none"],["id","output",2,"display","none"],["id","test"],["id","prompt",2,"display","none"],[2,"color","#FF365B"],[1,"tabbable"],["id","pills-tab","role","tablist",1,"nav","nav-tabs","form-bg"],["id","pills-lipstick-tab","data-toggle","pill","href","#pills-lipstick","role","tab","aria-controls","pills-lipstick","aria-selected","true",1,"nav-item","nav-link","px-2","active"],["width","30","height","30","viewBox","0 0 30 30","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M1 14.2108C1 14.1535 1 14.0958 1 14.039C1.07588 13.9752 1.15223 13.9124 1.22857 13.8495C1.60379 13.5409 2.02229 13.2727 2.34444 12.9166C3.54968 11.5885 4.71722 10.2273 5.91083 8.88888C6.64868 8.06165 7.4559 7.30936 8.40092 6.71907C8.80686 6.46629 9.24259 6.26705 9.72441 6.24005C11.0851 6.16463 12.2732 6.64971 13.3443 7.44296C13.7456 7.73997 14.1055 8.09377 14.3834 8.33444C14.7665 8.00392 15.1427 7.66036 15.5388 7.34148C16.4494 6.61014 17.4824 6.16929 18.6504 6.03475C19.4958 5.93699 20.2928 6.03521 21.0423 6.46117C21.9105 6.95416 22.632 7.62266 23.2717 8.36889C24.1347 9.37583 24.942 10.4298 25.7767 11.4595C26.3195 12.1266 26.818 12.8337 27.507 13.3672C27.6695 13.4934 27.8347 13.6135 28 13.7364C28 13.7941 28 13.8519 28 13.9091C27.7672 14.1731 27.5219 14.4263 27.3068 14.7028C26.3721 15.903 25.455 17.1166 24.5146 18.3116C23.4891 19.6169 22.7735 20.5582 21.4822 21.6117C20.9966 22.0065 19.5745 22.9841 16.9205 23.2429C15.2209 23.4403 13.5222 23.4435 11.8365 23.0907C10.6908 22.8509 9.58987 22.4911 8.5997 21.8454C7.37258 21.0461 6.35913 20.0121 5.42016 18.9028C4.62737 17.9652 3.86112 17.0058 3.06973 16.0668C2.52785 15.4235 1.95991 14.8038 1.19971 14.4016C1.1229 14.3597 1.06657 14.2755 1 14.2108ZM24.8484 14.3704C24.746 14.3439 24.6422 14.322 24.5411 14.2922C24.1357 14.1693 23.719 14.0767 23.3299 13.9147C22.403 13.5283 21.4989 13.0856 20.566 12.7155C20.1457 12.5488 19.6731 12.4055 19.2337 12.4264C18.5312 12.4595 17.8297 12.6168 17.1365 12.7635C16.5755 12.8826 16.0299 13.0684 15.476 13.2169C15.0398 13.3337 14.6115 13.2946 14.1809 13.1694C13.2512 12.8985 12.3234 12.615 11.3817 12.3948C10.6466 12.222 9.892 12.2179 9.18487 12.5493C8.59458 12.8263 8.01407 13.1247 7.43868 13.4319C6.64682 13.8551 5.84891 14.2634 4.97233 14.4901C4.92112 14.5041 4.87364 14.5324 4.77913 14.5743C7.82693 16.2935 11.0563 17.1603 14.5077 17.1515C18.1905 17.1426 21.6782 16.3643 24.8484 14.3704Z"],["id","pills-eyeshadow-tab","data-toggle","pill","href","#pills-eyeshadow","role","tab","aria-controls","pills-eyeshadow","aria-selected","false",1,"nav-item","nav-link","px-2"],["d","M1.08301 21.4033C1.15038 11.5326 7.77845 6.91901 12.105 5.54881C21.1853 2.67286 28.3017 11.8727 27.9901 15.2525C27.9485 15.7032 27.8848 16.0821 27.7595 16.372C27.5692 16.8113 27.3299 17.051 27.3299 17.051C24.0028 15.1116 17.4617 10.8655 11.6825 11.798C5.33569 12.8216 1.08015 21.8569 1.08301 21.4033Z","fill","url(#paint0_linear_3030_5411)"],["d","M26.5636 15.8222C26.2892 15.6259 19.7775 11 13.354 11H13.3528C13.2699 11 13.1858 11.0008 13.1029 11.0024C10.3172 11.0555 7.28853 12.627 4.91599 15.2253C4.91926 15.2151 4.92253 15.2049 4.92498 15.1947C4.92498 15.1947 3.27673 16.7482 1.59665 19.7103C1.59665 19.7103 0.344848 21.8473 1.46763 22.7071C1.98452 23.1028 2.73086 22.7263 3.07831 22.4532C3.30572 22.2743 3.55722 22.3111 3.8173 22.5095C4.40645 23.0615 5.16096 23.5559 6.03265 23.9679C6.06776 23.9851 6.10124 23.9998 6.13554 24.0161C6.198 24.0447 6.26088 24.0732 6.32416 24.101C6.34744 24.1108 6.37234 24.1239 6.3948 24.1329L6.3952 24.1312C8.00303 24.8245 9.95993 25.245 11.9964 25.245C12.3129 25.245 12.633 25.2348 12.9457 25.214C20.0347 24.7432 26.4603 17.6465 26.7302 17.3447L27.4937 16.491L26.5636 15.8222ZM13.6557 13.9339C14.527 13.0622 15.9388 13.0631 16.8081 13.9327C17.6798 14.804 17.6794 16.2146 16.8077 17.0859C15.9384 17.9551 14.527 17.9559 13.6557 17.0847C12.7865 16.2154 12.7865 14.8032 13.6557 13.9339ZM12.8771 24.1872C12.5819 24.2068 12.288 24.2161 11.996 24.2161C9.85337 24.2161 7.81481 23.7058 6.26782 22.9337C6.23842 22.919 
16.20821 22.9035 6.17841 22.8884C5.81381 22.7022 5.47698 22.5022 5.17525 22.2899C5.1679 22.285 5.16137 22.2805 5.15443 22.2756C4.84414 22.0559 4.56977 21.8244 4.33746 21.5848C4.32602 21.5725 4.315 21.5598 4.30357 21.5476C3.84466 21.0634 3.55437 20.5477 3.48455 20.0288C3.27551 18.4765 6.1535 14.4418 9.95421 12.7724C8.57258 13.7939 7.67109 15.4295 7.67109 17.2753C7.67109 20.3648 10.1841 22.8782 13.2736 22.8782C16.363 22.8782 18.8768 20.3652 18.8768 17.2753C18.8768 15.0575 17.5785 13.1427 15.7045 12.2351C21.0538 13.1312 25.963 16.658 25.963 16.658C25.963 16.658 19.6289 23.7385 12.8771 24.1872Z"],["id","paint0_linear_3030_5411","x1","0.999951","y1","23.36","x2","25.3","y2","10.4","gradientUnits","userSpaceOnUse"],["offset","1","stop-opacity","0.2"],["id","pills-eyeliner-tab","data-toggle","pill","href","#pills-eyeliner","role","tab","aria-controls","pills-eyeliner","aria-selected","false",1,"nav-item","nav-link","px-2"],["d","M28 9.44056C28 9.44056 26.3096 11.6221 23.8449 10.5406C15.8351 7.02667 8.13459 5.63048 1.95293 16.7076L1.95216 16.7096C1.94447 16.7226 1.93716 16.7342 1.92985 16.7476C1.83023 16.9165 1.731 17.0884 1.63292 17.265C1.63292 17.265 0.301356 19.6935 1.501 20.4589C2.70025 21.2227 3.1618 20.2639 3.4118 20.0323C3.66335 19.8019 3.81258 20.1277 4.13566 20.415C4.65452 20.8743 12.0043 24.5736 19.1414 20.2589C21.7249 18.6969 23.9638 16.998 25.5734 14.9445L25.5776 14.948C25.6223 14.8899 25.6611 14.8337 25.7042 14.7761C25.7984 14.6518 25.8911 14.5268 25.9811 14.3995C25.9957 14.3784 26.0088 14.3584 26.0234 14.3372C26.233 14.0372 26.4292 13.7287 26.6115 13.4126C26.6354 13.3722 26.6607 13.3303 26.6838 13.2903C26.735 13.1991 26.7842 13.1068 26.8327 13.0141C27.5269 11.7183 27.8104 10.6564 27.9235 10.0367L27.9238 10.0348C27.9923 9.65711 28 9.44056 28 9.44056ZM14.7986 11.191C16.0728 11.191 17.1063 12.2245 17.1063 13.4987C17.1063 14.773 16.0728 15.8065 14.7986 15.8065C13.5243 15.8065 12.4908 14.773 12.4908 13.4987C12.4908 12.2245 13.5243 11.191 14.7986 11.191ZM23.3172 15.9768C20.0418 19.0131 12.0647 24.8816 4.20105 18.9961C4.20105 18.9961 3.03487 17.9592 3.88451 16.4084C4.26605 15.713 5.50031 13.3833 8.05075 11.8383C7.5392 12.8349 7.17073 14.0118 7.3365 15.2265C7.73497 18.1615 10.3962 20.1277 13.1105 19.6958C15.8251 19.2638 17.8379 16.598 17.4394 13.663C17.2775 12.476 16.6275 11.4418 15.8982 10.654C17.2394 10.9044 18.7944 11.2468 20.3437 12.0848C21.3206 12.6133 22.216 13.1106 22.9426 13.5191C23.4264 13.8453 23.9061 14.1972 24.3761 14.5837C24.3761 14.5837 24.0407 15.1472 23.3172 15.9768Z"],["id","pills-kajal-tab","data-toggle","pill","href","#pills-kajal","role","tab","aria-controls","pills-kajal","aria-selected","false",1,"nav-item","nav-link","px-2",2,"color","#f00"],["src","/assets/images/makeup/kajal-patterns/feature_icon_kajal.svg","height","30","width","30"],["id","pills-eyebrowPencil-tab","data-toggle","pill","href","#pills-eyebrowPencil","role","tab","aria-controls","pills-eyebrowPencil","aria-selected","false",1,"nav-item","nav-link","px-2",2,"color","#0f0"],["src","/assets/images/makeup/eyebrow-pencil-patterns/feature_icon_eyebrow.svg","height","30","width","30"],["id","pills-eyelash-tab","data-toggle","pill","href","#pills-eyelash","role","tab","aria-controls","pills-eyelash","aria-selected","false",1,"nav-item","nav-link","px-2"],["d","M27.054 14.8006C26.9818 14.7487 26.4816 14.3942 25.6701 13.8981L27.0561 12.1045C27.2175 11.9032 27.186 11.6093 26.9847 11.447C26.7846 11.2859 26.4911 11.3167 26.3272 11.518L24.856 13.417C24.2417 13.065 23.5215 12.6786 22.7183 12.2925L24.3301 9.39931C24.4575 9.17475 24.3779 8.88916 24.1525 8.76214C23.9271 8.63429 23.6419 8.7144 23.5153 8.94022L21.8669 11.899C21.0953 11.5566 20.2651 11.227 19.3958 10.9373L20.7329 7.61481C20.8271 7.37446 20.7092 7.10299 20.4685 7.00793C20.2294 6.91371 19.9571 7.03118 19.862 7.27194L18.5009 10.6566C17.6528 10.4101 16.7766 10.2083 15.887 10.0755L16.2012 6.50774C16.2241 6.25079 16.0327 6.02374 15.7758 6.00174C15.5172 5.97974 15.2918 6.16944 15.2698 6.42721L14.9589 9.9626C14.5147 9.92151 14.0693 9.89826 13.6243 9.89826H13.6227C13.5384 9.89826 13.4533 9.89909 13.369 9.90075C12.9436 9.90905 12.5123 9.95555 12.0785 10.0315L11.3243 6.50774C11.2715 6.25495 11.025 6.09181 10.7713 6.14328C10.5186 6.196 10.3554 6.4434 10.4073 6.69661L11.1665 10.2366C10.3807 10.4553 9.59455 10.7779 8.82495 11.1946L7.02011 8.13326C6.88478 7.91285 6.59546 7.84519 6.37712 7.98134C6.1567 8.11666 6.0878 8.40515 6.22395 8.62474L8.02049 11.6728C7.34928 12.1012 6.69675 12.5993 6.07534 13.1647L3.60966 10.953C3.4183 10.7803 3.1215 10.7945 2.94882 10.9862C2.77531 11.
11772 2.78901 11.4736 2.98037 11.6467L5.40164 13.8172C5.28168 13.9405 5.16254 14.0658 5.04507 14.1941C5.04839 14.1837 5.05171 14.1734 5.05462 14.163C5.05462 14.163 4.60133 14.5918 3.92846 15.4216C3.8994 15.3929 3.87325 15.3618 3.83589 15.341L1.69896 14.0173C1.4744 13.8898 1.18839 13.9687 1.06096 14.1937C0.933522 14.4179 1.01239 14.7039 1.23696 14.8309L3.36434 16.1496C2.84879 16.8433 2.26267 17.7104 1.67074 18.754C1.67074 18.754 0.398046 20.9266 1.53957 21.8008C2.06508 22.203 2.82388 21.8203 3.17713 21.5426C3.40834 21.3608 3.66362 21.3981 3.92804 21.5999C4.52703 22.1611 5.29413 22.6638 6.18036 23.0826C6.21606 23.1 6.2501 23.115 6.28497 23.1316C6.34889 23.1606 6.4124 23.1897 6.47716 23.2179C6.50082 23.2279 6.52572 23.2412 6.54856 23.2503L6.54939 23.2486C8.18404 23.9535 10.1732 24.381 12.2441 24.381C12.5658 24.381 12.8913 24.3707 13.2088 24.3495C20.4162 23.8709 26.9494 16.6556 27.2233 16.3489L28 15.4809L27.054 14.8006ZM13.9307 12.8807C14.8169 11.9945 16.2519 11.9953 17.1356 12.8795C18.0219 13.7653 18.0219 15.1995 17.1356 16.0853C16.2519 16.969 14.8169 16.9699 13.9307 16.0841C13.0469 15.2003 13.0469 13.7645 13.9307 12.8807ZM13.1395 23.3051C12.8394 23.325 12.5405 23.3346 12.2437 23.3346C10.0653 23.3346 7.99227 22.8153 6.41946 22.0312C6.38957 22.0158 6.35886 22.0004 6.32855 21.9847C5.95787 21.7954 5.61583 21.592 5.30866 21.3761C5.30119 21.3712 5.29496 21.3666 5.28749 21.3616C4.97201 21.1383 4.69307 20.9029 4.45729 20.6593C4.44525 20.6468 4.43446 20.6335 4.42242 20.6215C3.95627 20.1292 3.66113 19.6049 3.58974 19.0773C3.37721 17.4991 6.30323 13.398 10.167 11.6998C8.76269 12.7384 7.84574 14.4012 7.84574 16.2779C7.84574 19.419 10.4011 21.9743 13.5421 21.9743C16.6832 21.9743 19.2385 19.4194 19.2385 16.2779C19.2385 14.0235 17.9185 12.0763 16.0132 11.1535C21.4518 12.0647 26.4434 15.6503 26.4434 15.6503C26.4434 15.6503 20.004 22.8489 13.1395 23.3051Z"],["id","pills-foundation-tab","data-toggle","pill","href","#pills-foundation","role","tab","aria-controls","pills-foundation","aria-selected","false",1,"nav-item","nav-link","px-2"],["d","M25.1688 15.6822C25.0481 15.0755 24.714 14.7843 24.4556 14.6462C24.3318 14.5798 24.201 14.5285 24.0672 14.4938C24.1594 13.9592 24.206 13.4161 24.206 12.8788C24.206 9.94124 22.8722 7.20576 20.546 5.36706C20.6023 4.22611 20.2073 3.13416 19.4618 2.36967C18.8913 1.78377 18.1256 1.36296 17.2474 1.15197C16.8293 1.0513 16.3973 1 15.9649 1C15.4218 1 14.8822 1.08061 14.3615 1.23953C14.1794 1.29507 13.9997 1.36026 13.7968 1.43393C13.3852 1.58474 12.996 1.72707 12.6196 1.72707C12.4529 1.72669 12.2709 1.69699 12.0776 1.66536C11.9045 1.6372 11.7266 1.60866 11.5465 1.5967C11.4863 1.59246 11.4258 1.59053 11.3672 1.59053C9.92458 1.59053 8.56649 2.6578 8.13989 4.12776C7.97866 4.67933 7.97056 5.20544 8.11443 5.65403C6.00804 7.48501 4.80076 10.1148 4.80076 12.8792C4.80076 13.4782 4.85476 14.0533 4.96507 14.6335C4.87173 14.6628 4.7834 14.7002 4.69777 14.7457C4.35911 14.9258 4.13308 15.2572 4.04398 15.7023C3.82297 16.817 4.46943 18.4829 5.21038 19.3399C5.2505 19.387 5.29524 19.453 5.36544 19.5552C5.61191 19.9154 6.02077 20.5125 6.67263 20.5951C7.57559 23.0821 9.20523 25.3644 11.0428 26.7102L12.0468 27.3404C12.8819 27.7786 13.7081 28 14.4995 28C15.1603 28 15.8519 27.8442 16.5627 27.5341L17.5926 26.9782C19.5732 25.7023 21.3452 23.3653 22.3411 20.7204C23.1017 20.6826 23.5673 20.003 23.8643 19.5675C23.906 19.5066 23.9422 19.453 23.9762 19.4136C24.7349 18.5365 25.3952 16.8274 25.1688 15.6822ZM6.27148 19.1309C6.19048 19.0129 6.11836 18.9095 6.05587 18.837C5.40093 18.0806 4.94077 16.7055 5.0912 15.9503C5.12437 15.7802 5.1857 15.6672 5.26863 15.6228C5.3612 15.5727 5.44297 15.5488 5.51896 15.5488C5.55136 15.5488 5.58453 15.5534 5.615 15.5623C5.77314 15.6089 5.93051 15.769 6.02463 15.9009C6.0092 16.1158 6.00958 16.3264 6.02578 16.5447C6.02463 17.4172 6.1442 18.3398 6.38141 19.2879C6.34361 19.2362 6.30736 19.183 6.27148 19.1309ZM22.0962 16.3321L22.0595 17.1059C21.8497 20.2309 20.2166 23.2387 18.266 25.0944L17.6697 25.6186C16.6152 26.4683 15.5043 26.9698 14.4992 26.9698C13.5144 26.9
1698 12.4252 26.5003 11.3915 25.6803L10.7967 25.1631C8.92134 23.3865 7.35226 20.4597 7.13047 17.1132L7.10347 16.3368C7.1027 16.0953 7.10656 15.8523 7.12083 15.6074C7.15361 15.0381 9.89141 13.1265 10.2038 8.78796C10.2038 8.78796 14.4158 11.5952 17.4915 11.3422C22.4252 10.9368 22.1672 15.5954 22.0962 16.3321ZM23.138 18.7598C23.0759 18.8323 23.0034 18.9357 22.9224 19.0537C22.8865 19.1058 22.8503 19.159 22.8125 19.2107C23.0497 18.2626 23.1692 17.3396 23.1681 16.4675C23.1843 16.2492 23.1847 16.0386 23.1692 15.8238C23.263 15.6919 23.4203 15.5318 23.5789 15.4851C23.6093 15.4762 23.6425 15.4716 23.6749 15.4716C23.7509 15.4716 23.8327 15.4959 23.9252 15.5457C24.0082 15.5896 24.0695 15.7027 24.1027 15.8731C24.2531 16.6284 23.7929 18.0034 23.138 18.7598Z"],["id","pills-concealer-tab","data-toggle","pill","href","#pills-concealer","role","tab","aria-controls","pills-concealer","aria-selected","false",1,"nav-item","nav-link","px-2"],["d","M25.086 15.681C24.966 15.0758 24.6329 14.7835 24.3749 14.6459C24.2522 14.5789 24.1219 14.5279 23.9887 14.493C24.0805 13.9577 24.1269 13.4156 24.1269 12.8782C24.1269 9.94052 22.798 7.20472 20.4807 5.36608C20.5374 4.22503 20.1441 3.13388 19.401 2.3679C18.8323 1.78241 18.0695 1.36157 17.1964 1.15114C16.7788 1.05077 16.3492 1 15.9183 1C15.3772 1 14.8395 1.07953 14.3209 1.23889C14.1396 1.29495 13.9605 1.3598 13.7583 1.43317C13.3483 1.5852 12.9607 1.72636 12.5859 1.72636C12.4198 1.72636 12.2384 1.6973 12.0459 1.66561C11.873 1.63714 11.6966 1.60838 11.517 1.59635C11.4569 1.59136 11.3967 1.5896 11.3383 1.5896C9.90144 1.5896 8.5485 2.65845 8.12325 4.1276C7.96301 4.67963 7.95479 5.20437 8.09831 5.65398C6.00023 7.48381 4.79755 10.1148 4.79755 12.8788C4.79755 13.4781 4.85185 14.0519 4.96102 14.6321C4.86858 14.6617 4.77995 14.6996 4.69513 14.7462C4.35792 14.9255 4.13312 15.2572 4.0439 15.7021C3.8235 16.8164 4.46739 18.4825 5.20578 19.3397C5.24599 19.387 5.2906 19.4536 5.35957 19.5549C5.60579 19.9158 6.01285 20.5128 6.66232 20.5961C7.56153 23.0822 9.18447 25.3646 11.0152 26.7102L12.0154 27.3403C12.8474 27.7793 13.67 28 14.4586 28C15.1171 28 15.8048 27.8439 16.5132 27.5342L17.5398 26.9784C19.5126 25.7018 21.2781 23.3648 22.2704 20.7203C23.0275 20.6815 23.4912 20.003 23.7868 19.5672C23.8287 19.507 23.8648 19.453 23.8989 19.4143C24.6531 18.5371 25.3108 16.827 25.086 15.681ZM6.26289 19.1308C6.18219 19.0125 6.11028 18.9098 6.04777 18.8361C5.39537 18.0796 4.93666 16.7046 5.08692 15.9501C5.12009 15.7804 5.18113 15.6666 5.2636 15.6228C5.35604 15.5721 5.43734 15.5483 5.51306 15.5483C5.54475 15.5483 5.57791 15.5527 5.60902 15.5624C5.76603 15.6091 5.92275 15.7693 6.01666 15.9002C6.0017 16.1144 6.00199 16.3257 6.01784 16.5444C6.01666 17.4166 6.13552 18.3396 6.37177 19.2878C6.33479 19.2362 6.29811 19.183 6.26289 19.1308ZM22.015 16.4323C22.015 21.7607 17.6883 26.9696 14.4586 26.9696C11.1886 26.9696 6.75476 21.783 7.10899 15.607C7.14186 15.0382 9.86915 13.1262 10.1799 8.78803C10.1799 8.78803 14.3752 11.5952 17.4391 11.3428C22.7737 10.9022 22.015 16.4323 22.015 16.4323ZM23.0639 18.7595C23.0014 18.8323 22.9292 18.9359 22.8482 19.0536C22.813 19.105 22.7757 19.1593 22.7388 19.2106C22.975 18.263 23.095 17.3403 23.0927 16.4678C23.1085 16.2494 23.1091 16.0393 23.095 15.8242C23.1881 15.6912 23.3442 15.5313 23.5027 15.4855C23.5332 15.4767 23.5661 15.4717 23.5981 15.4717C23.6741 15.4717 23.7548 15.4958 23.8484 15.5457C23.9294 15.59 23.9913 15.7027 24.0242 15.8732C24.1736 16.6289 23.7158 18.0038 23.0639 18.7595Z"],["opacity","0.3","d","M13.751 17.1995C13.751 17.1995 12.7063 17.9202 11.27 17.9202C10.0036 17.9202 8.52829 17.1995 8.52829 17.1995C8.52829 17.1995 8.46461 17.5736 8.76719 18.5195C9.53727 20.9278 11.14 20.9278 11.14 20.9278C11.14 20.9278 12.7426 20.9278 13.5124 18.5195C13.8147 17.5739 13.751 17.1995 13.751 17.1995Z"],["opacity","0.3","d","M15.38 17.1995C15.38 17.1995 16.4245 17.9202 17.8614 17.9202C19.1272 17.9202 20.6028 17.1995 20.6028 17.1995C20.6028 17.1995 20.6665 17.5736 20.3639 18.5195C19.5941 20.9278 17.9911 20.9278 17.9911 20.9278C17.9911 20.9278 16.3884 20.9278 15.6189 18.5195C15.3161 17.5739 15.38 17.1995 15.38 17.1995Z"],["id","pills-blush-tab","data-toggle","pill","href","#pills-blush","role","tab","aria-controls","pills-blush","aria-selected","false",1,"nav-item","nav-link","px-2"],["o
1pacity","0.3","d","M18.2125 25.597C18.2125 25.597 16.3839 23.015 17.7435 19.5243C18.8285 16.7379 22.374 16.717 22.374 16.717C22.374 16.717 22.8723 21.5894 18.2125 25.597Z"],["opacity","0.3","d","M10.9845 25.597C10.9845 25.597 12.8132 23.015 11.4536 19.5243C10.3685 16.7379 6.82306 16.717 6.82306 16.717C6.82306 16.717 6.3251 21.5894 10.9845 25.597Z"],["d","M25.1688 15.6822C25.0481 15.0755 24.714 14.7843 24.4556 14.6462C24.3318 14.5798 24.201 14.5285 24.0672 14.4938C24.1594 13.9592 24.206 13.4161 24.206 12.8788C24.206 9.94124 22.8722 7.20576 20.546 5.36706C20.6023 4.22611 20.2073 3.13416 19.4618 2.36967C18.8913 1.78377 18.1256 1.36296 17.2474 1.15197C16.8293 1.0513 16.3973 1 15.9649 1C15.4218 1 14.8822 1.08061 14.3615 1.23953C14.1794 1.29507 13.9997 1.36026 13.7968 1.43393C13.3852 1.58474 12.996 1.72707 12.6196 1.72707C12.4529 1.72669 12.2709 1.69699 12.0776 1.66536C11.9045 1.6372 11.7266 1.60866 11.5465 1.5967C11.4863 1.59246 11.4258 1.59053 11.3672 1.59053C9.92458 1.59053 8.56648 2.6578 8.13988 4.12776C7.97865 4.67933 7.97056 5.20544 8.11443 5.65403C6.00804 7.48501 4.80076 10.1148 4.80076 12.8792C4.80076 13.4782 4.85476 14.0533 4.96507 14.6335C4.87173 14.6628 4.7834 14.7002 4.69777 14.7457C4.35911 14.9258 4.13308 15.2572 4.04398 15.7023C3.82297 16.817 4.46943 18.4829 5.21039 19.3399C5.2505 19.387 5.29524 19.453 5.36544 19.5552C5.61191 19.9154 6.02077 20.5125 6.67263 20.5951C7.57558 23.0821 9.20523 25.3644 11.0428 26.7102L12.0468 27.3404C12.8819 27.7786 13.7081 28 14.4995 28C15.1603 28 15.8519 27.8442 16.5627 27.5341L17.5926 26.9782C19.5732 25.7023 21.3452 23.3653 22.3411 20.7204C23.1017 20.6826 23.5673 20.003 23.8643 19.5675C23.906 19.5066 23.9422 19.453 23.9762 19.4136C24.7349 18.5365 25.3952 16.8274 25.1688 15.6822ZM6.27148 19.1309C6.19048 19.0129 6.11835 18.9095 6.05587 18.837C5.40093 18.0806 4.94077 16.7055 5.0912 15.9503C5.12437 15.7802 5.1857 15.6672 5.26863 15.6228C5.3612 15.5727 5.44297 15.5488 5.51895 15.5488C5.55135 15.5488 5.58453 15.5534 5.615 15.5623C5.77314 15.6089 5.93051 15.769 6.02463 15.9009C6.0092 16.1158 6.00958 16.3264 6.02578 16.5447C6.02463 17.4172 6.1442 18.3398 6.38141 19.2879C6.34361 19.2362 6.30736 19.183 6.27148 19.1309ZM22.0854 16.4328C22.0854 21.7607 17.7415 26.9698 14.4995 26.9698C11.2167 26.9698 6.76558 21.7838 7.12121 15.6078C7.154 15.0385 9.8918 13.1269 10.2042 8.78834C10.2042 8.78834 14.4162 11.5956 17.4919 11.3425C22.8472 10.9021 22.0854 16.4328 22.0854 16.4328ZM23.138 18.7598C23.0759 18.8323 23.0034 18.9357 22.9224 19.0537C22.8865 19.1058 22.8503 19.159 22.8125 19.2107C23.0497 18.2626 23.1692 17.3396 23.1681 16.4675C23.1843 16.2492 23.1847 16.0386 23.1692 15.8238C23.263 15.6919 23.4203 15.5318 23.5789 15.4851C23.6093 15.4762 23.6425 15.4716 23.6749 15.4716C23.7509 15.4716 23.8327 15.4959 23.9252 15.5457C24.0082 15.5896 24.0695 15.7027 24.1027 15.8731C24.2531 16.6284 23.7929 18.0034 23.138 18.7598Z"],["id","pills-highlighter-tab","data-toggle","pill","href","#pills-highlighter","role","tab","aria-controls","pills-highlighter","aria-selected","false",1,"nav-item","nav-link","px-2"],["d","M25.086 15.681C24.966 15.0758 24.6329 14.7835 24.3749 14.6459C24.2522 14.5789 24.1219 14.5279 23.9887 14.493C24.0805 13.9577 24.1269 13.4156 24.1269 12.8782C24.1269 9.94052 22.798 7.20472 20.4807 5.36608C20.5374 4.22503 20.1441 3.13388 19.401 2.3679C18.8323 1.78241 18.0695 1.36157 17.1964 1.15114C16.7788 1.05077 16.3492 1 15.9183 1C15.3772 1 14.8395 1.07953 14.3209 1.23889C14.1396 1.29495 13.9605 1.3598 13.7583 1.43317C13.3483 1.5852 12.9607 1.72636 12.5859 1.72636C12.4198 1.72636 12.2384 1.6973 12.0459 1.66561C11.873 1.63714 11.6966 1.60838 11.517 1.59635C11.4569 1.59136 11.3967 1.5896 11.3383 1.5896C9.90144 1.5896 8.5485 2.65845 8.12325 4.1276C7.96301 4.67963 7.95479 5.20437 8.09831 5.65398C6.00023 7.48382 4.79755 10.1148 4.79755 12.8788C4.79755 13.4781 4.85185 14.0519 4.96102 14.6321C4.86858 14.6617 4.77995 14.6996 4.69513 14.7462C4.35792 14.9255 4.13312 15.2572 4.0439 15.7021C3.8235 16.8164 4.46739 18.4825 5.20578 19.3397C5.24599 19.387 5.2906 19.4536 5.35957 19.5549C5.60579 19.9158 6.01285 20.5128 6.66232 20.5961C7.56153 23.0822 9.18447 25.3646 11.0152 26.7102L12.0154 27.3403C12.8474 27.7793 13.67 28 14.4586 28C15.1171 28 15.8048 27.8439 16.5132 27.5343L17.5398 26.9784C19.5126 25.7018 21.2781 23.3648 22.2704 20.7203C23.0275 20.6815 23.4912 20.003 23.7868 19.5672C23.8287 19.507 23.8648 19.453 23.8989 19.4143C24.6531 18.5371 25.3108 16.827 25.086 15.681ZM6.26289 19.1308C6.18219 19.0125 6.11028 18.9098 6.04777 18.8361C5.39537 18.0796 4.93666 16.7046 5.08692 15.9501C5.12009 15.7804 5.18113 15.6666 5.2636 15.6228C5.35604 15.5721 5.43734 15.5483 5.51306 15.5483C5.54475 15.5483 5.57791 15.5527 5.60902 15.5624C5.76603 15.6091 5.92275 15.7693 6.01666 15.9002C6.0017 16.1144 6.00199 16.3257 6.01784 16.5444C6.01666 17.4166 6.13552 18.3396 6.37177 19.2878C6.33479 19.2362 6.29811 19.183 6.26289 19.1308ZM22.015 16.4323C22.015 21.7607 17.6883 26.9696 14.4586 26.9696C11.1886 26.9696 6.75476 21.783 7.10899 15.607C7.14186 15.0382 9.86915 13.1262 10.1799 8.78803C10.1799 8.78803 14.3752 11.5952 17.4391 11.3428C22.7737 10.9022 22.015 16.4323 22.015 16.4323ZM23.0639 18.7595C23.0014 18.8323 22.9292 18.9359 22.8482 19.0536C22.813 19.105 22.7757 19.1593 22.7388 19.2106C22.975 18.263 23.095 17.3403 23.0927 16.4678C23.1085 16.2494 23.1091 16.0393 23.095 15.8242C23.1881 15.6912 23.3442 15.5313 23.5027 15.4855C23.5332 15.4767 23.5661 15.4717 23.5981 15.4717C23.6741 15.4717 23.7548 15.4958 23.8484 15.5457C23.9294 15.59 23.9913 15.7027 24.0242 15.8732C24.1736 16.6289 23.7158 18.0038 23.0639 18.7595Z"],["d","M18.7118 12.5286C18.7118 13.7782 15.8735 16.1653 14.5655 16.1653C13.2572 16.1653 10.4189 13.7782 10.4189 12.5286C10.4189 11.281 13.2572 10.9558 14.5655 10.9558C15.8735 10.9558 18.7118 11.281 18.7118 12.5286Z","fill","url(#paint0_radial_3264_5424)"],["d","M14.5655 26.962C15.5988 26.962 16.4364 26.5896 16.4364 26.1303C16.4364 25.671 15.5988 25.2986 14.5655 25.2986C13.5322 25.2986 12.6946 25.671 12.6946 26.1303C12.6946 26.5896 13.5322 26.962 14.5655 26.962Z","fill","url(#paint1_radial_3264_5424)"],["opacity","0.3","d","M15.077 19.9587C15.077 21.6441 14.5654 23.0109 14.5654 23.0109C14.5654 23.0109 14.0542 21.6441 14.0542 19.9587C14.0542 18.273 14.2834 17.5322 14.5654 17.5322C14.8478 17.5322 15.077 18.2727 15.077 19.9587Z","fill","url(#paint2_radial_3264_5424)"],["d","M12.9929 18.9149C12.9929 20.4269 12.2827 22.4572 11.4125 22.4572C10.1887 22.4572 7.99644 20.6573 7.70649 18.9149C7.48022 17.5573 12.9929 17.3703 12.9929 18.9149Z","fill","url(#paint3_radial_3264_5424)"],["d","M16.1382 18.9151C16.1382 20.4271 16.8484 22.4574 17.7186 22.4574C18.9424 22.4574 21.1347 20.6575 21.4246 18.9151C21.6506 17.5575 16.1382 17.3706 16.1382 18.9151Z","fill","url(#paint4_radial_3264_5424)"],["id","paint0_radial_3264_5424","cx","0","cy","0","r","1","gradientUnits","userSpaceOnUse","gradientTransform","translate(14.6159 15.9491) scale(5.8644 4.97067)"],["stop-opacity","0.5"],["offset","1","stop-opacity","0"],["id","paint1_radial_3264_5424","cx","0","cy","0","r","1","gradientUnits","userSpaceOnUse","gradientTransform","translate(14.5655 26.1301) scale(1.8463 0.78154)"],["id","paint2_radial_3264_5424","cx","0","cy","0","r","1","gradientUnits","userSpaceOnUse","gradientTransform","translate(14.565 20.2717) scale(0.533928 2.66917)"],["id","paint3_radial_3264_5424","cx","0","cy","0","r","1","gradientUnits","userSpaceOnUse","gradientTransform","translate(12.0224 18.4479) scale(3.64039 3.74851)"],["id","paint4_radial_3264_5424","cx","0","cy","0","r","1","gradientUnits","userSpaceOnUse","gradientTransform","translate(17.1087 18.4481) rotate(180) scale(3.6404 3.74851)"],["id","pills-tabContent",1,"tab-content"],["id","pills-lipstick","role","tabpanel","aria-labelledby","pills-lipstick-tab",1,"tab-pane","fade","show","active"],[1,"feature-name","p-2","mx-3"],[1,"pattern-group","p-2"],[1,"pattern-row"],["type","button","class","btn btn-finish mx-2",3,"active","click",4,"ngFor","ngForOf"],[1,"color-group","p-2"],["class","color-row",4,"ngIf"],["id","pills-eyeshadow","role","tabpanel","aria-labelledby","pills-eyeshadow-tab",1,"tab-pane","fade"],["type","button","class","btn btn-patterns",3,"active","click",4,"ngFor","ngForOf"],["id","pills-eyeliner","role","tabpanel","aria-labelledby","pills-eyeliner-tab",1,"tab-pane","fade"],[1,"color-row"],["type","button","class","btn btn-color m-2",3,"ngStyle","active","click",4,"ngFor","ngForOf"],["id","pills-kajal","role","tabpanel","aria-labelledby","pills-kajal-tab",1,"tab-pane","fade"],["id","pills-eyebrowPencil","role","tabpanel","aria-labelledby","pills-eyebrowPencil-tab",1,"tab-pane","fade"],["id","pills-eyelash","role","tabpanel","aria-labelledby","pills-eyelash-tab",1,"tab-pane","fade"],["id","pills-foundation","role","tabpanel","aria-labelledby","pills-foundation-tab",1,"tab-pane","fade"],["id","pills-blush","role","tabpanel","aria-labelledby","pills-blush-tab",1,"tab-pane","fade"],["id","pills-concealer","role","tabpanel","aria-labelledby","pills-concealer-tab",1,"tab-pane","fade"],["id","pills-highlighter","role","tabpanel","aria-labelledby","pills-highlighter-tab",1,"tab-pane","fade"],["type","button",1,"btn","btn-finish","mx-2",3,"click"],["type","button",1,"btn","btn-color","m-2",3,"ngStyle","click"],["src","assets/images/makeup/none.png",4,"ngIf"],["src","assets/images/makeup/none.png"],["type","button",1,"btn","btn-patterns",3,"click"],[3,"src"]],template:function(t,e){1&t&&(mi(0,"div",0),mi(1,"div",1),mi(2,"div",2),_i(3,"video",3),_i(4,"canvas",4),_i(5,"canvas",5),mi(6,"div",6),Ni(7,"Sorry, but it seems like there was an issue opening the camera. Please make sure that your device has a working c
1amera and have the necessary permissions to access your device's camera."),yi(),_i(8,"br"),mi(9,"span",7),mi(10,"i"),Ni(11,"Click on the color circle to apply makeup"),yi(),yi(),yi(),yi(),mi(12,"div",1),mi(13,"div",2),mi(14,"nav",8),mi(15,"div",9),mi(16,"a",10),Ke(),mi(17,"svg",11),_i(18,"path",12),yi(),yi(),Qe(),mi(19,"a",13),Ke(),mi(20,"svg",11),_i(21,"path",14),_i(22,"path",15),mi(23,"defs"),mi(24,"linearGradient",16),_i(25,"stop"),_i(26,"stop",17),yi(),yi(),yi(),yi(),Qe(),mi(27,"a",18),Ke(),mi(28,"svg",11),_i(29,"path",19),yi(),yi(),Qe(),mi(30,"a",20),_i(31,"img",21),yi(),mi(32,"a",22),_i(33,"img",23),yi(),mi(34,"a",24),Ke(),mi(35,"svg",11),_i(36,"path",25),yi(),yi(),Qe(),mi(37,"a",26),Ke(),mi(38,"svg",11),_i(39,"path",27),yi(),yi(),Qe(),mi(40,"a",28),Ke(),mi(41,"svg",11),_i(42,"path",29),_i(43,"path",30),_i(44,"path",31),yi(),yi(),Qe(),mi(45,"a",32),Ke(),mi(46,"svg",11),_i(47,"path",33),_i(48,"path",34),_i(49,"path",35),yi(),yi(),Qe(),mi(50,"a",36),Ke(),mi(51,"svg",11),_i(52,"path",37),_i(53,"path",38),_i(54,"path",39),_i(55,"path",40),_i(56,"path",41),_i(57,"path",42),mi(58,"defs"),mi(59,"radialGradient",43),_i(60,"stop",44),_i(61,"stop",45),yi(),mi(62,"radialGradient",46),_i(63,"stop",44),_i(64,"stop",45),yi(),mi(65,"radialGradient",47),_i(66,"stop"),_i(67,"stop",45),yi(),mi(68,"radialGradient",48),_i(69,"stop",44),_i(70,"stop",45),yi(),mi(71,"radialGradient",49),_i(72,"stop",44),_i(73,"stop",45),yi(),yi(),yi(),yi(),yi(),yi(),Qe(),mi(74,"div",50),mi(75,"div",51),mi(76,"div",52),Ni(77," Lipstick "),yi(),mi(78,"div",53),mi(79,"div",54),di(80,xm,2,3,"button",55),yi(),yi(),mi(81,"div",53),mi(82,"div",54),di(83,Em,2,3,"button",55),yi(),yi(),mi(84,"div",56),di(85,Om,2,1,"div",57),di(86,Fm,2,1,"div",57),yi(),yi(),mi(87,"div",58),mi(88,"div",52),Ni(89," Eye Shadow "),yi(),mi(90,"div",53),mi(91,"div",54),Ni(92," Glitter color "),di(93,Nm,2,3,"button",55),yi(),yi(),mi(94,"div",53),mi(95,"div",54),di(96,jm,2,3,"button",59),yi(),yi(),mi(97,"div",56),di(98,Um,2,1,"div",57),di(99,Vm,2,1,"div",57),di(100,qm,2,1,"div",57),yi(),yi(),mi(101,"div",60),mi(102,"div",52),Ni(103," Eye Liner "),yi(),mi(104,"div",53),mi(105,"div",54),di(106,Zm,2,3,"button",59),yi(),yi(),mi(107,"div",56),mi(108,"div",61),di(109,Qm,2,6,"button",62),yi(),yi(),yi(),mi(110,"div",63),mi(111,"div",52),Ni(112," Kajal "),yi(),mi(113,"div",56),mi(114,"div",61),di(115,Gm,2,6,"button",62),yi(),yi(),yi(),mi(116,"div",64),mi(117,"div",52),Ni(118," Eyebrow Pencil "),yi(),mi(119,"div",56),mi(120,"div",61),di(121,Ym,2,6,"button",62),yi(),yi(),yi(),mi(122,"div",65),mi(123,"div",52),Ni(124," Mascara "),yi(),mi(125,"div",53),mi(126,"div",54),di(127,Xm,2,3,"button",59),yi(),yi(),mi(128,"div",56),mi(129,"div",61),di(130,ey,2,6,"button",62),yi(),yi(),yi(),mi(131,"div",66),mi(132,"div",52),Ni(133," Foundation "),yi(),mi(134,"div",56),mi(135,"div",61),di(136,ry,2,6,"button",62),yi(),yi(),yi(),mi(137,"div",67),mi(138,"div",52),Ni(139," Blush "),yi(),mi(140,"div",56),mi(141,"div",61),di(142,iy,2,6,"button",62),yi(),yi(),yi(),mi(143,"div",68),mi(144,"div",52),Ni(145," Concealer "),yi(),mi(146,"div",56),mi(147,"div",61),di(148,ay,2,6,"button",62),yi(),yi(),yi(),mi(149,"div",69),mi(150,"div",52),Ni(151," Highlighter "),yi(),mi(152,"div",56),mi(153,"div",61),di(154,cy,2,6,"button",62),yi(),yi(),yi(),yi(),yi(),yi(),yi()),2&t&&(Gr(80),fi("ngForOf",e.lsFinishes),Gr(3),fi("ngForOf",e.lsPatterns),Gr(2),fi("ngIf",e.activeLipstickPattern<1),Gr(1),fi("ngIf",e.activeLipstickPattern>0),Gr(7),fi("ngForOf",e.numSequenceForESPattern()),Gr(3),fi("ngForOf",e.esPatterns),Gr(2),fi("ngIf",e.activeEyeshadowPattern<=1),Gr(1),fi("ngIf",e.activeEyeshadowPattern>=2&&e.activeEyeshadowPattern<=3),Gr(1),fi("ngIf",e.activeEyeshadowPattern>=4),Gr(6),fi("ngForOf",e.elinePatterns),Gr(3),fi("ngForOf",e.elineColors),Gr(6),fi("ngForOf",e.kajalColors),Gr(6),fi("ngForOf",e.eyebrowPencilColors),Gr(6),fi("ngForOf",e.elashPatterns),Gr(3),fi("ngForOf",e.elashColors),Gr(6),fi("ngForOf",e.fColors),Gr(6),fi("ngForOf",e.bColors),Gr(6),fi("ngForOf",e.concealerColors),Gr(6),fi("ngForOf",e.highlighterColors))},directives:[bl,Sl,El],styles:["#output[_ngcontent-%COMP%], #test[_ngcontent-%COMP%]{border-radius:24px;background:url(loader.0f481273fecd744ae4c8.gif) no-repeat 50%}#prompt[_ngcontent-%COMP%]{width:100%;height:auto;text-align:center;font-size:16px;color:#000;padding:0 110px}.form-bg[_ngcontent-%COMP%]{width:100%;height:-moz-fit-content;height:fit-content;background:#eee;box-shadow:4px 4px 20px 2px #ffffff40;border-radius:144px;padding:20px;border:1px solid #fff;margin:0 auto 2px}.tabbable[_ngcontent-%COMP%]{text-align:center;overflow-x:auto;overflow-y:hidden}.tabbable[_ngcontent-%COMP%]   .nav-tabs[_ngcontent-%COMP%]{flex-wrap:nowrap;width:-moz-fit-content;width:fit-content}.tabbable[_ngcontent-%COMP%]   .nav-tabs[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{white-space:nowrap}.nav-link[_ngcontent-%COMP%]{background:#fff!important;text-align:center;margin:0 8px;box-shadow:-3.797635555267334px -5.396151065826416px 5.728102207183838px 2px hsla(0,0%,100%,.485);box-shadow:5.69645357131958px 6.645862579345703px 8.54468059539795px 0 #d1d9e67a;border-radius:50%;width:70px;height:70px;padding:20px;transition:background-color .2s ease-out}.title-txt[_ngcontent-%COMP%]{color:#5c4f51}svg[_ngcontent-%COMP%]{fill:#5c4f51}.nav-link.active[_ngcontent-%COMP%], .nav-link[_ngcontent-%COMP%]:hover{background:#ff365b!important}.nav-link.active[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%], .nav-link[_ngcontent-%COMP%]:hover   svg[_ngcontent-%COMP%]{fill:#fff}.nav-link.active[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   stop[_ngcontent-%COMP%], .nav-link[_ngcontent-%COMP%]:hover   svg[_ngcontent-%COMP%]   stop[_ngcontent-%COMP%]{stop-color:#fff}.btn-finish[_ngcontent-%COMP%]{width:100px;padding:10px 20px;border-radius:50px;color:#ff365b;border:2px solid #ff365b}
1.feature-name[_ngcontent-%COMP%]{color:#ff365b;font-size:18px}.btn-patterns[_ngcontent-%COMP%]{width:100px;background:#fff;border-radius:50px;border:1px solid #ff365b80;margin:2px}.btn-patterns[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:45px}.btn-finish.active[_ngcontent-%COMP%], .btn-finish[_ngcontent-%COMP%]:focus{border:2px solid #ff365b;outline:none;box-shadow:none;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.btn-finish.active[_ngcontent-%COMP%]{color:#fff;background:linear-gradient(90deg,#ff365b -.63%,#ff365b80)}.btn-patterns.active[_ngcontent-%COMP%], .btn-patterns.focus[_ngcontent-%COMP%]{outline:none;box-shadow:none;background:linear-gradient(90deg,#ff365b80 -.63%,#ff365b00)}.btn-color[_ngcontent-%COMP%]{border:none;color:#fff;padding:30px;text-decoration:none;margin:10px;border-radius:50%}.btn-color.active[_ngcontent-%COMP%], .btn-color[_ngcontent-%COMP%]:focus, .btn-color[_ngcontent-%COMP%]:hover{outline:2px solid #ff2b63;box-shadow:0 0 5px 3px #ff2b6333}.btn-color[_ngcontent-%COMP%]:first-child{width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content;padding:10px}@media only screen and (max-width: 768px){.form-bg[_ngcontent-%COMP%], .nav-link[_ngcontent-%COMP%]{padding:10px}.nav-link[_ngcontent-%COMP%]{width:50px;height:50px}.btn-finish[_ngcontent-%COMP%]{width:80px;padding:5px 0}.btn-patterns[_ngcontent-%COMP%]{width:80px}.btn-patterns[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:30px}.btn-color[_ngcontent-%COMP%]{padding:25px}.btn-color[_ngcontent-%COMP%]:first-child{width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content;padding:5px}.color-group[_ngcontent-%COMP%] > .color-row[_ngcontent-%COMP%], .pattern-group[_ngcontent-%COMP%] > .pattern-row[_ngcontent-%COMP%]{overflow-x:auto;white-space:nowrap;margin-bottom:2px}.color-group[_ngcontent-%COMP%] > .color-row[_ngcontent-%COMP%] > .btn[_ngcontent-%COMP%], .pattern-group[_ngcontent-%COMP%] > .pattern-row[_ngcontent-%COMP%] > .btn[_ngcontent-%COMP%]{display:inline-block;float:none}#prompt[_ngcontent-%COMP%]{padding:0}}"]}),t})(),data:{title:"Virtual Makeup Try-On | Orbo AI",description:"Explore virtual makeup try-on with Orbo AI. Test lipstick, eyeshadow, and beauty products in real-time using facial analysis technology.",keywords:"virtual makeup, try on makeup, lipstick, eyeshadow, beauty products, facial analysis, orbo ai"}},{path:"hair-color",component:Sm,data:{title:"Virtual Hair Color Simulator | Orbo AI",description:"Try Orbo AI's virtual hair color simulator. Preview different hair shades instantly using facial recognition technology before your next salon visit.",keywords:"virtual hair color, hair color simulator, try on hair color, facial recognition, orbo ai, hair salon"}}];let hy=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=lt({imports:[[Tl,um.forRoot(uy)],um]}),t})(),dy=(()=>{class t{constructor(t,e){this.meta=t,this.title=e}updateMetaTags(t){if(!t)return;t.title&&this.title.setTitle(t.title);const e=t.description||"Experience the power of Orbo AI";this.updateTag("description",e),this.updateTag("og:description",e),t.keywords&&this.updateTag("keywords",t.keywords)}updateTag(t,e){this.meta.removeTag(`name="${t}"`),this.meta.removeTag(`property="${t}"`),this.meta.addTag({name:t,content:e})}}return t.\u0275fac=function(e){return new(e||t)(Qn(cc),Qn(dc))},t.\u0275prov=at({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),py=(()=>{class t{constructor(t,e,n){this.router=t,this.activatedRoute=e,this.metaService=n}ngOnInit(){this.router.events.pipe(gc(t=>t instanceof Sp),E(()=>this.activatedRoute),E(t=>{for(;t.firstChild;)t=t.firstChild;return t}),gc(t=>"primary"===t.outlet),U(t=>t.data)).subscribe(t=>{this.metaService.updateMetaTags(t)})}}return t.\u0275fac=function(e){return new(e||t)(pi(Jg),pi(If),pi(dy))},t.\u0275cmp=Dt({type:t,selectors:[["app-meta"]],decls:0,vars:0,template:function(t,e){},encapsulation:2}),t})(),fy=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Dt({type:t,selectors:[["app-header"]],decls:4,vars:0,consts:[[1,"navbar","bg-transparent","my-3"],[1,"container-fluid"],["href","https://www.orbo.ai/",1,"navbar-brand"],["src","assets/orbo_logo_black.webp",1,"navbar-logo"]],template:function(t,e){1&t&&(mi(0,"nav",0),mi(1,"div",1),mi(2,"a",2),_i(3,"img",3),yi(),yi(),yi())},styles:["@media screen and (max-width: 768px){.navbar-logo[_ngcontent-%COMP%]{width:100px}}"]}),t})(),gy=(()=>{class t{constructor(){this.title="supertouch-webapp"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Dt({type:t,selectors:[["app-root"]],decls:3,vars:0,template:function(t,e){1&t&&(_i(0,"app-meta"),_i(1,"app-header"),_i(2,"router-outlet"))},directives:[py,fy,tm],styles:[""]}),t})(),my=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t,bootstrap:[gy]}),t.\u0275inj=lt({providers:[{provide:ul,useValue:"/"},cc,dy],imports:[[ac,hy,Wc,Tl,Md]]}),t})();(function(){if(Ra)throw new Error("Cannot enable prod mode after platform setup.");Ma=!1})(),ic().bootstrapModule(my).catch(t=>console.error(t))}},t=>{"use strict";t(t.s=152)}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.