text: "use strict";(self.webpackChunkgolpes_org=self.webpackChunkgolpes_org||[]).push([[179],{30:()=>{function se(n){return"function"==typeof n}function xs(n){const e=n(r=>{Error.call(r),r.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const Xo=xs(n=>function(e){n(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((r,i)=>`${i+1}) ${r.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=e});function gi(n,t){if(n){const e=n.indexOf(t);0<=e&&n.splice(e,1)}}class bt{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._teardowns=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const s of e)s.remove(this);else e.remove(this);const{initialTeardown:r}=this;if(se(r))try{r()}catch(s){t=s instanceof Xo?s.errors:[s]}const{_teardowns:i}=this;if(i){this._teardowns=null;for(const s of i)try{wp(s)}catch(o){t=null!=t?t:[],o instanceof Xo?t=[...t,...o.errors]:t.push(o)}}if(t)throw new Xo(t)}}add(t){var e;if(t&&t!==this)if(this.closed)wp(t);else{if(t instanceof bt){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._teardowns=null!==(e=this._teardowns)&&void 0!==e?e:[]).push(t)}}_hasParent(t){const{_parentage:e}=this;return e===t||Array.isArray(e)&&e.includes(t)}_addParent(t){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t}_removeParent(t){const{_parentage:e}=this;e===t?this._parentage=null:Array.isArray(e)&&gi(e,t)}remove(t){const{_teardowns:e}=this;e&&gi(e,t),t instanceof bt&&t._removeParent(this)}}bt.EMPTY=(()=>{const n=new bt;return n.closed=!0,n})();const Dp=bt.EMPTY;function Ep(n){return n instanceof bt||n&&"closed"in n&&se(n.remove)&&se(n.add)&&se(n.unsubscribe)}function wp(n){se(n)?n():n.unsubscribe()}const Nr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Jo={setTimeout(...n){const{delegate:t}=Jo;return((null==t?void 0:t.setTimeout)||setTimeout)(...n)},clearTimeout(n){const{delegate:t}=Jo;return((null==t?void 0:t.clearTimeout)||clearTimeout)(n)},delegate:void 0};function xp(n){Jo.setTimeout(()=>{const{onUnhandledError:t}=Nr;if(!t)throw n;t(n)})}function As(){}const jx=wu("C",void 0,void 0);function wu(n,t,e){return{kind:n,value:t,error:e}}let kr=null;function ea(n){if(Nr.useDeprecatedSynchronousErrorHandling){const t=!kr;if(t&&(kr={errorThrown:!1,error:null}),n(),t){const{errorThrown:e,error:r}=kr;if(kr=null,e)throw r}}else n()}class xu extends bt{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Ep(t)&&t.add(this)):this.destination=$x}static create(t,e,r){return new Au(t,e,r)}next(t){this.isStopped?Su(function Ux(n){return wu("N",n,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Su(function Hx(n){return wu("E",void 0,n)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Su(jx,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}class Au extends xu{constructor(t,e,r){let i;if(super(),se(t))i=t;else if(t){let s;({next:i,error:e,complete:r}=t),this&&Nr.useDeprecatedNextContext?(s=Object.create(t),s.unsubscribe=()=>this.unsubscribe()):s=t,i=null==i?void 0:i.bind(s),e=null==e?void 0:e.bind(s),r=null==r?void 0:r.bind(s)}this.destination={next:i?Mu(i):As,error:Mu(null!=e?e:Ap),complete:r?Mu(r):As}}}function Mu(n,t){return(...e)=>{try{n(...e)}catch(r){Nr.useDeprecatedSynchronousErrorHandling?function Gx(n){Nr.useDeprecatedSynchronousErrorHandling&&kr&&(kr.errorThrown=!0,kr.error=n)}(r):xp(r)}}}function Ap(n){throw n}function Su(n,t){const{onStoppedNotification:e}=Nr;e&&Jo.setTimeout(()=>e(n,t))}const $x={closed:!0,next:As,error:Ap,complete:As},Tu="function"==typeof Symbol&&Symbol.observable||"@@observable";function Pr(n){return n}let de=(()=>{class n{constructor(e){e&&(this._subscribe=e)}lift(e){const r=new n;return r.source=this,r.operator=e,r}subscribe(e,r,i){const s=function zx(n){return n&&n instanceof xu||function qx(n){return n&&se(n.next)&&se(n.error)&&se(n.complete)}(n)&&Ep(n)}(e)?e:new Au(e,r,i);return ea(()=>{const{operator:o,source:a}=this;s.add(o?o.call(s,a):a?this._subscribe(s):this._trySubscribe(s))}),s}_trySubscribe(e){try{return this._subscribe(e)}catch(r){e.error(r)}}forEach(e,r){return new(r=Sp(r))((i,s)=>{let o;o=this.subscribe(a=>{try{e(a)}catch(l){s(l),null==o||o.unsubscribe()}},s,i)})}_subscribe(e){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(e)}[Tu](){return this}pipe(...e){return function Mp(n){return 0===n.length?Pr:1===n.length?n[0]:function(e){return n.reduce((r,i)=>i(r),e)}}(e)(this)}toPromise(e){return new(e=Sp(e))((r,i)=>{let s;this.subscribe(o=>s=o,o=>i(o),()=>r(s))})}}return n.create=t=>new n(t),n})();function Sp(n){var t;return null!==(t=null!=n?n:Nr.Promise)&&void 0!==t?t:Promise}const Wx=xs(n=>function(){n(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Xe=(()=>{class n extends de{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const r=new Tp(this,this);return r.operator=e,r}_throwIfClosed(){if(this.closed)throw new Wx}next(e){ea(()=>{if(this._throwIfClosed(),!this.isStopped){const r=this.observers.slice();for(const i of r)i.next(e)}})}error(e){ea(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:r}=this;for(;r.length;)r.shift().error(e)}})}complete(){ea(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){const{hasError:r,isStopped:i,observers:s}=this;return r||i?Dp:(s.push(e),new bt(()=>gi(s,e)))}_checkFinalizedStatuses(e){const{hasError:r,thrownError:i,isStopped:s}=this;r?e.error(i):s&&e.complete()}asObservable(){const e=new de;return e.source=this,e}}return n.create=(t,e)=>new Tp(t,e),n})();class Tp extends Xe{constructor(t,e){super(),this.destination=t,this.source=e}next(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===r||r.call(e,t)}error(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===r||r.call(e,t)}complete(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)}_subscribe(t){var e,r;return null!==(r=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==r?r:Dp}}function Ip(n){return se(null==n?void 0:n.lift)}function Ge(n){return t=>{if(Ip(t))return t.lift(function(e){try{return n(e,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}class Le extends xu{constructor(t,e,r,i,s){super(t),this.onFinalize=s,this._next=e?function(o){try{e(o)}catch(a){t.error(a)}}:super._next,this._error=i?function(o){try{i(o)}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(o){t.error(o)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;const{closed:e}=this;super.unsubscribe(),!e&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}function ee(n,t){return Ge((e,r)=>{let i=0;e.subscribe(new Le(r,s=>{r.next(n.call(t,s,i++))}))})}function Lr(n){return this instanceof Lr?(this.v=n,this):new Lr(n)}function Yx(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=e.apply(n,t||[]),s=[];return i={},o("next"),o("throw"),o("return"),i[Symbol.asyncIterator]=function(){return this},i;function o(f){r[f]&&(i[f]=function(h){return new Promise(function(g,m){s.push([f,h,g,m])>1||a(f,h)})})}function a(f,h){try{!function l(f){f.value instanceof Lr?Promise.resolve(f.value.v).then(u,c):d(s[0][2],f)}(r[f](h))}catch(g){d(s[0][3],g)}}function u(f){a("next",f)}function c(f){a("throw",f)}function d(f,h){f(h),s.shift(),s.length&&a(s[0][0],s[0][1])}}function Zx(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,t=n[Symbol.asyncIterator];return t?t.call(n):(n=function Op(n){var t="function"==typeof Symbol&&Symbol.iterator,e=t&&n[t],r=0;if(e)return e.call(n);if(n&&"number"==typeof n.length)return{next:function(){return n&&r>=n.length&&(n=void 0),{value:n&&n[r++],done:!n}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(n),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(s){e[s]=n[s]&&function(o){return new Promise(function(a,l){!function i(s,o,a,l){Promise.resolve(l).then(function(u){s({value:u,done:a})},o)}(a,l,(o=n[s](o)).done,o.value)})}}}const Fu=n=>n&&"number"==typeof n.length&&"function"!=typeof n;function Np(n){return se(null==n?void 0:n.then)}function kp(n){return se(n[Tu])}function Pp(n){return Symbol.asyncIterator&&se(null==n?void 0:n[Symbol.asyncIterator])}function Lp(n){return new TypeError(`You provided ${null!==n&&"object"==typeof n?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Vp=function Jx(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Bp(n){return se(null==n?void 0:n[Vp])}function jp(n){return Yx(this,arguments,function*(){const e=n.getReader();try{for(;;){const{value:r,done:i}=yield Lr(e.read());if(i)return yield Lr(void 0);yield yield Lr(r)}}finally{e.releaseLock()}})}function Hp(n){return se(null==n?void 0:n.getReader)}function $t(n){if(n instanceof de)return n;if(null!=n){if(kp(n))return function eA(n){return new de(t=>{const e=n[Tu]();if(se(e.subscribe))return e.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(n);if(Fu(n))return function tA(n){return new de(t=>{for(let e=0;e<n.length&&!t.closed;e++)t.next(n[e]);t.complete()})}(n);if(Np(n))return function nA(n){return new de(t=>{n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,xp)})}(n);if(Pp(n))return Up(n);if(Bp(n))return function rA(n){return new de(t=>{for(const e of n)if(t.next(e),t.closed)return;t.complete()})}(n);if(Hp(n))return function iA(n){return Up(jp(n))}(n)}throw Lp(n)}function Up(n){return new de(t=>{(function sA(n,t){var e,r,i,s;return function Kx(n,t,e,r){return new(e||(e=Promise))(function(s,o){function a(c){try{u(r.next(c))}catch(d){o(d)}}function l(c){try{u(r.throw(c))}catch(d){o(d)}}function u(c){c.done?s(c.value):function i(s){return s instanceof e?s:new e(function(o){o(s)})}(c.value).then(a,l)}u((r=r.apply(n,t||[])).next())})}(this,void 0,void 0,function*(){try{for(e=Zx(n);!(r=yield e.next()).done;)if(t.next(r.value),t.closed)return}catch(o){i={error:o}}finally{try{r&&!r.done&&(s=e.return)&&(yield s.call(e))}finally{if(i)throw i.error}}t.complete()})})(n,t).catch(e=>t.error(e))})}function Hn(n,t,e,r=0,i=!1){const s=t.schedule(function(){e(),i?n.add(this.schedule(null,r)):this.unsubscribe()},r);if(n.add(s),!i)return s}function $e(n,t,e=1/0){return se(t)?$e((r,i)=>ee((s,o)=>t(r,s,i,o))($t(n(r,i))),e):("number"==typeof t&&(e=t),Ge((r,i)=>function oA(n,t,e,r,i,s,o,a){const l=[];let u=0,c=0,d=!1;const f=()=>{d&&!l.length&&!u&&t.complete()},h=m=>u<r?g(m):l.push(m),g=m=>{s&&t.next(m),u++;let _=!1;$t(e(m,c++)).subscribe(new Le(t,v=>{null==i||i(v),s?h(v):t.next(v)},()=>{_=!0},void 0,()=>{if(_)try{for(u--;l.length&&u<r;){const v=l.shift();o?Hn(t,o,()=>g(v)):g(v)}f()}catch(v){t.error(v)}}))};return n.subscribe(new Le(t,h,()=>{d=!0,f()})),()=>{null==a||a()}}(r,i,n,e)))}function Ms(n=1/0){return $e(Pr,n)}const Dn=new de(n=>n.complete());function Ru(n){return n[n.length-1]}function Gp(n){return se(Ru(n))?n.pop():void 0}function Ss(n){return function lA(n){return n&&se(n.schedule)}(Ru(n))?n.pop():void 0}function $p(n,t=0){return Ge((e,r)=>{e.subscribe(new Le(r,i=>Hn(r,n,()=>r.next(i),t),()=>Hn(r,n,()=>r.complete(),t),i=>Hn(r,n,()=>r.error(i),t)))})}function qp(n,t=0){return Ge((e,r)=>{r.add(n.schedule(()=>e.subscribe(r),t))})}function zp(n,t){if(!n)throw new Error("Iterable cannot be null");return new de(e=>{Hn(e,t,()=>{const r=n[Symbol.asyncIterator]();Hn(e,t,()=>{r.next().then(i=>{i.done?e.complete():e.next(i.value)})},0,!0)})})}function Qe(n,t){return t?function gA(n,t){if(null!=n){if(kp(n))return function cA(n,t){return $t(n).pipe(qp(t),$p(t))}(n,t);if(Fu(n))return function fA(n,t){return new de(e=>{let r=0;return t.schedule(function(){r===n.length?e.complete():(e.next(n[r++]),e.closed||this.schedule())})})}(n,t);if(Np(n))return function dA(n,t){return $t(n).pipe(qp(t),$p(t))}(n,t);if(Pp(n))return zp(n,t);if(Bp(n))return function hA(n,t){return new de(e=>{let r;return Hn(e,t,()=>{r=n[Vp](),Hn(e,t,()=>{let i,s;try{({value:i,done:s}=r.next())}catch(o){return void e.error(o)}s?e.complete():e.next(i)},0,!0)}),()=>se(null==r?void 0:r.return)&&r.return()})}(n,t);if(Hp(n))return function pA(n,t){return zp(jp(n),t)}(n,t)}throw Lp(n)}(n,t):$t(n)}function ta(...n){const t=Ss(n),e=function uA(n,t){return"number"==typeof Ru(n)?n.pop():t}(n,1/0),r=n;return r.length?1===r.length?$t(r[0]):Ms(e)(Qe(r,t)):Dn}function mi(n){return n<=0?()=>Dn:Ge((t,e)=>{let r=0;t.subscribe(new Le(e,i=>{++r<=n&&(e.next(i),n<=r&&e.complete())}))})}function Wp(n={}){const{connector:t=(()=>new Xe),resetOnError:e=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=n;return s=>{let o=null,a=null,l=null,u=0,c=!1,d=!1;const f=()=>{null==a||a.unsubscribe(),a=null},h=()=>{f(),o=l=null,c=d=!1},g=()=>{const m=o;h(),null==m||m.unsubscribe()};return Ge((m,_)=>{u++,!d&&!c&&f();const v=l=null!=l?l:t();_.add(()=>{u--,0===u&&!d&&!c&&(a=Ou(g,i))}),v.subscribe(_),o||(o=new Au({next:y=>v.next(y),error:y=>{d=!0,f(),a=Ou(h,e,y),v.error(y)},complete:()=>{c=!0,f(),a=Ou(h,r),v.complete()}}),Qe(m).subscribe(o))})(s)}}function Ou(n,t,...e){return!0===t?(n(),null):!1===t?null:t(...e).pipe(mi(1)).subscribe(()=>n())}function fe(n){for(let t in n)if(n[t]===fe)return t;throw Error("Could not find renamed property on target object.")}function Nu(n,t){for(const e in t)t.hasOwnProperty(e)&&!n.hasOwnProperty(e)&&(n[e]=t[e])}function le(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(le).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const t=n.toString();if(null==t)return""+t;const e=t.indexOf("\n");return-1===e?t:t.substring(0,e)}function ku(n,t){return null==n||""===n?null===t?"":t:null==t||""===t?n:n+" "+t}const mA=fe({__forward_ref__:fe});function ge(n){return n.__forward_ref__=ge,n.toString=function(){return le(this())},n}function z(n){return Kp(n)?n():n}function Kp(n){return"function"==typeof n&&n.hasOwnProperty(mA)&&n.__forward_ref__===ge}class ne extends Error{constructor(t,e){super(function Pu(n,t){return`NG0${Math.abs(n)}${t?": "+t:""}`}(t,e)),this.code=t}}function H(n){return"string"==typeof n?n:null==n?"":String(n)}function dt(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():H(n)}function na(n,t){const e=t?` in ${t}`:"";throw new ne(-201,`No provider for ${dt(n)} found${e}`)}function Mt(n,t){null==n&&function ve(n,t,e,r){throw new Error(`ASSERTION ERROR: ${n}`+(null==r?"":` [Expected=> ${e} ${r} ${t} <=Actual]`))}(t,n,null,"!=")}function w(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function Ce(n){return{providers:n.providers||[],imports:n.imports||[]}}function Lu(n){return Qp(n,ra)||Qp(n,Zp)}function Qp(n,t){return n.hasOwnProperty(t)?n[t]:null}function Yp(n){return n&&(n.hasOwnProperty(Vu)||n.hasOwnProperty(EA))?n[Vu]:null}const ra=fe({\u0275prov:fe}),Vu=fe({\u0275inj:fe}),Zp=fe({ngInjectableDef:fe}),EA=fe({ngInjectorDef:fe});var G=(()=>((G=G||{})[G.Default=0]="Default",G[G.Host=1]="Host",G[G.Self=2]="Self",G[G.SkipSelf=4]="SkipSelf",G[G.Optional=8]="Optional",G))();let Bu;function cr(n){const t=Bu;return Bu=n,t}function Xp(n,t,e){const r=Lu(n);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:e&G.Optional?null:void 0!==t?t:void na(le(n),"Injector")}function dr(n){return{toString:n}.toString()}var on=(()=>((on=on||{})[on.OnPush=0]="OnPush",on[on.Default=1]="Default",on))(),an=(()=>{return(n=an||(an={}))[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",an;var n})();const xA="undefined"!=typeof globalThis&&globalThis,AA="undefined"!=typeof window&&window,MA="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,ue=xA||"undefined"!=typeof global&&global||AA||MA,yi={},he=[],ia=fe({\u0275cmp:fe}),ju=fe({\u0275dir:fe}),Hu=fe({\u0275pipe:fe}),Jp=fe({\u0275mod:fe}),Gn=fe({\u0275fac:fe}),Ts=fe({__NG_ELEMENT_ID__:fe});let SA=0;function Vr(n){return dr(()=>{const e={},r={type:n.type,providersResolver:null,decls:n.decls,vars:n.vars,factory:null,template:n.template||null,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:n.exportAs||null,onPush:n.changeDetection===on.OnPush,directiveDefs:null,pipeDefs:null,selectors:n.selectors||he,viewQuery:n.viewQuery||null,features:n.features||null,data:n.data||{},encapsulation:n.encapsulation||an.Emulated,id:"c",styles:n.styles||he,_:null,setInput:null,schemas:n.schemas||null,tView:null},i=n.directives,s=n.features,o=n.pipes;return r.id+=SA++,r.inputs=rg(n.inputs,e),r.outputs=rg(n.outputs),s&&s.forEach(a=>a(r)),r.directiveDefs=i?()=>("function"==typeof i?i():i).map(eg):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(tg):null,r})}function eg(n){return rt(n)||function fr(n){return n[ju]||null}(n)}function tg(n){return function Br(n){return n[Hu]||null}(n)}const ng={};function De(n){return dr(()=>{const t={type:n.type,bootstrap:n.bootstrap||he,declarations:n.declarations||he,imports:n.imports||he,exports:n.exports||he,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null};return null!=n.id&&(ng[n.id]=n.type),t})}function rg(n,t){if(null==n)return yi;const e={};for(const r in n)if(n.hasOwnProperty(r)){let i=n[r],s=i;Array.isArray(i)&&(s=i[1],i=i[0]),e[i]=r,t&&(t[i]=s)}return e}const b=Vr;function rt(n){return n[ia]||null}function qt(n,t){const e=n[Jp]||null;if(!e&&!0===t)throw new Error(`Type ${le(n)} does not have '\u0275mod' property.`);return e}const W=11;function En(n){return Array.isArray(n)&&"object"==typeof n[1]}function un(n){return Array.isArray(n)&&!0===n[1]}function $u(n){return 0!=(8&n.flags)}function la(n){return 2==(2&n.flags)}function ua(n){return 1==(1&n.flags)}function cn(n){return null!==n.template}function NA(n){return 0!=(512&n[2])}function Gr(n,t){return n.hasOwnProperty(Gn)?n[Gn]:null}class LA{constructor(t,e,r){this.previousValue=t,this.currentValue=e,this.firstChange=r}isFirstChange(){return this.firstChange}}function st(){return sg}function sg(n){return n.type.prototype.ngOnChanges&&(n.setInput=BA),VA}function VA(){const n=ag(this),t=null==n?void 0:n.current;if(t){const e=n.previous;if(e===yi)n.previous=t;else for(let r in t)e[r]=t[r];n.current=null,this.ngOnChanges(t)}}function BA(n,t,e,r){const i=ag(n)||function jA(n,t){return n[og]=t}(n,{previous:yi,current:null}),s=i.current||(i.current={}),o=i.previous,a=this.declaredInputs[e],l=o[a];s[a]=new LA(l&&l.currentValue,t,o===yi),n[r]=t}st.ngInherit=!0;const og="__ngSimpleChanges__";function ag(n){return n[og]||null}let Wu;function Ku(){return void 0!==Wu?Wu:"undefined"!=typeof document?document:void 0}function Fe(n){return!!n.listen}const cg={createRenderer:(n,t)=>Ku()};function Ve(n){for(;Array.isArray(n);)n=n[0];return n}function ca(n,t){return Ve(t[n])}function Kt(n,t){return Ve(t[n.index])}function Qu(n,t){return n.data[t]}function Tt(n,t){const e=t[n];return En(e)?e:e[0]}function dg(n){return 4==(4&n[2])}function Yu(n){return 128==(128&n[2])}function hr(n,t){return null==t?null:n[t]}function fg(n){n[18]=0}function Zu(n,t){n[5]+=t;let e=n,r=n[3];for(;null!==r&&(1===t&&1===e[5]||-1===t&&0===e[5]);)r[5]+=t,e=r,r=r[3]}const j={lFrame:Cg(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function hg(){return j.bindingsEnabled}function C(){return j.lFrame.lView}function re(){return j.lFrame.tView}function Os(n){return j.lFrame.contextLView=n,n[8]}function qe(){let n=pg();for(;null!==n&&64===n.type;)n=n.parent;return n}function pg(){return j.lFrame.currentTNode}function wn(n,t){const e=j.lFrame;e.currentTNode=n,e.isParent=t}function Xu(){return j.lFrame.isParent}function Ju(){j.lFrame.isParent=!1}function da(){return j.isInCheckNoChangesMode}function fa(n){j.isInCheckNoChangesMode=n}function Ei(){return j.lFrame.bindingIndex++}function eM(n,t){const e=j.lFrame;e.bindingIndex=e.bindingRootIndex=n,ec(t)}function ec(n){j.lFrame.currentDirectiveIndex=n}function yg(){return j.lFrame.currentQueryIndex}function nc(n){j.lFrame.currentQueryIndex=n}function nM(n){const t=n[1];return 2===t.type?t.declTNode:1===t.type?n[6]:null}function _g(n,t,e){if(e&G.SkipSelf){let i=t,s=n;for(;!(i=i.parent,null!==i||e&G.Host||(i=nM(s),null===i||(s=s[15],10&i.type))););if(null===i)return!1;t=i,n=s}const r=j.lFrame=vg();return r.currentTNode=t,r.lView=n,!0}function ha(n){const t=vg(),e=n[1];j.lFrame=t,t.currentTNode=e.firstChild,t.lView=n,t.tView=e,t.contextLView=n,t.bindingIndex=e.bindingStartIndex,t.inI18n=!1}function vg(){const n=j.lFrame,t=null===n?null:n.child;return null===t?Cg(n):t}function Cg(n){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return null!==n&&(n.child=t),t}function bg(){const n=j.lFrame;return j.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const Dg=bg;function pa(){const n=bg();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function ht(){return j.lFrame.selectedIndex}function pr(n){j.lFrame.selectedIndex=n}function Re(){const n=j.lFrame;return Qu(n.tView,n.selectedIndex)}function ga(n,t){for(let e=t.directiveStart,r=t.directiveEnd;e<r;e++){const s=n.data[e].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:u,ngOnDestroy:c}=s;o&&(n.contentHooks||(n.contentHooks=[])).push(-e,o),a&&((n.contentHooks||(n.contentHooks=[])).push(e,a),(n.contentCheckHooks||(n.contentCheckHooks=[])).push(e,a)),l&&(n.viewHooks||(n.viewHooks=[])).push(-e,l),u&&((n.viewHooks||(n.viewHooks=[])).push(e,u),(n.viewCheckHooks||(n.viewCheckHooks=[])).push(e,u)),null!=c&&(n.destroyHooks||(n.destroyHooks=[])).push(e,c)}}function ma(n,t,e){Eg(n,t,3,e)}function ya(n,t,e,r){(3&n[2])===e&&Eg(n,t,e,r)}function rc(n,t){let e=n[2];(3&e)===t&&(e&=2047,e+=1,n[2]=e)}function Eg(n,t,e,r){const s=null!=r?r:-1,o=t.length-1;let a=0;for(let l=void 0!==r?65535&n[18]:0;l<o;l++)if("number"==typeof t[l+1]){if(a=t[l],null!=r&&a>=r)break}else t[l]<0&&(n[18]+=65536),(a<s||-1==s)&&(dM(n,e,t,l),n[18]=(4294901760&n[18])+l+2),l++}function dM(n,t,e,r){const i=e[r]<0,s=e[r+1],a=n[i?-e[r]:e[r]];if(i){if(n[2]>>11<n[18]>>16&&(3&n[2])===t){n[2]+=2048;try{s.call(a)}finally{}}}else try{s.call(a)}finally{}}class ks{constructor(t,e,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=r}}function _a(n,t,e){const r=Fe(n);let i=0;for(;i<e.length;){const s=e[i];if("number"==typeof s){if(0!==s)break;i++;const o=e[i++],a=e[i++],l=e[i++];r?n.setAttribute(t,a,l,o):t.setAttributeNS(o,a,l)}else{const o=s,a=e[++i];sc(o)?r&&n.setProperty(t,o,a):r?n.setAttribute(t,o,a):t.setAttribute(o,a),i++}}return i}function wg(n){return 3===n||4===n||6===n}function sc(n){return 64===n.charCodeAt(0)}function va(n,t){if(null!==t&&0!==t.length)if(null===n||0===n.length)n=t.slice();else{let e=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?e=i:0===e||xg(n,e,i,null,-1===e||2===e?t[++r]:null)}}return n}function xg(n,t,e,r,i){let s=0,o=n.length;if(-1===t)o=-1;else for(;s<n.length;){const a=n[s++];if("number"==typeof a){if(a===t){o=-1;break}if(a>t){o=s-1;break}}}for(;s<n.length;){const a=n[s];if("number"==typeof a)break;if(a===e){if(null===r)return void(null!==i&&(n[s+1]=i));if(r===n[s+1])return void(n[s+2]=i)}s++,null!==r&&s++,null!==i&&s++}-1!==o&&(n.splice(o,0,t),s=o+1),n.splice(s++,0,e),null!==r&&n.splice(s++,0,r),null!==i&&n.splice(s++,0,i)}function Ag(n){return-1!==n}function wi(n){return 32767&n}function xi(n,t){let e=function mM(n){return n>>16}(n),r=t;for(;e>0;)r=r[15],e--;return r}let oc=!0;function Ca(n){const t=oc;return oc=n,t}let yM=0;function Ls(n,t){const e=lc(n,t);if(-1!==e)return e;const r=t[1];r.firstCreatePass&&(n.injectorIndex=t.length,ac(r.data,n),ac(t,null),ac(r.blueprint,null));const i=ba(n,t),s=n.injectorIndex;if(Ag(i)){const o=wi(i),a=xi(i,t),l=a[1].data;for(let u=0;u<8;u++)t[s+u]=a[o+u]|l[o+u]}return t[s+8]=i,s}function ac(n,t){n.push(0,0,0,0,0,0,0,0,t)}function lc(n,t){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===t[n.injectorIndex+8]?-1:n.injectorIndex}function ba(n,t){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let e=0,r=null,i=t;for(;null!==i;){const s=i[1],o=s.type;if(r=2===o?s.declTNode:1===o?i[6]:null,null===r)return-1;if(e++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|e<<16}return-1}function Da(n,t,e){!function _M(n,t,e){let r;"string"==typeof e?r=e.charCodeAt(0)||0:e.hasOwnProperty(Ts)&&(r=e[Ts]),null==r&&(r=e[Ts]=yM++);const i=255&r;t.data[n+(i>>5)]|=1<<i}(n,t,e)}function Tg(n,t,e){if(e&G.Optional)return n;na(t,"NodeInjector")}function Ig(n,t,e,r){if(e&G.Optional&&void 0===r&&(r=null),0==(e&(G.Self|G.Host))){const i=n[9],s=cr(void 0);try{return i?i.get(t,r,e&G.Optional):Xp(t,r,e&G.Optional)}finally{cr(s)}}return Tg(r,t,e)}function Fg(n,t,e,r=G.Default,i){if(null!==n){const s=function DM(n){if("string"==typeof n)return n.charCodeAt(0)||0;const t=n.hasOwnProperty(Ts)?n[Ts]:void 0;return"number"==typeof t?t>=0?255&t:CM:t}(e);if("function"==typeof s){if(!_g(t,n,r))return r&G.Host?Tg(i,e,r):Ig(t,e,r,i);try{const o=s(r);if(null!=o||r&G.Optional)return o;na(e)}finally{Dg()}}else if("number"==typeof s){let o=null,a=lc(n,t),l=-1,u=r&G.Host?t[16][6]:null;for((-1===a||r&G.SkipSelf)&&(l=-1===a?ba(n,t):t[a+8],-1!==l&&Ng(r,!1)?(o=t[1],a=wi(l),t=xi(l,t)):a=-1);-1!==a;){const c=t[1];if(Og(s,a,c.data)){const d=bM(a,t,e,o,r,u);if(d!==Rg)return d}l=t[a+8],-1!==l&&Ng(r,t[1].data[a+8]===u)&&Og(s,a,t)?(o=c,a=wi(l),t=xi(l,t)):a=-1}}}return Ig(t,e,r,i)}const Rg={};function CM(){return new Ai(qe(),C())}function bM(n,t,e,r,i,s){const o=t[1],a=o.data[n+8],c=Ea(a,o,e,null==r?la(a)&&oc:r!=o&&0!=(3&a.type),i&G.Host&&s===a);return null!==c?Vs(t,o,c,a):Rg}function Ea(n,t,e,r,i){const s=n.providerIndexes,o=t.data,a=1048575&s,l=n.directiveStart,c=s>>20,f=i?a+c:n.directiveEnd;for(let h=r?a:a+c;h<f;h++){const g=o[h];if(h<l&&e===g||h>=l&&g.type===e)return h}if(i){const h=o[l];if(h&&cn(h)&&h.type===e)return l}return null}function Vs(n,t,e,r){let i=n[e];const s=t.data;if(function fM(n){return n instanceof ks}(i)){const o=i;o.resolving&&function yA(n,t){const e=t?`. Dependency path: ${t.join(" > ")} > ${n}`:"";throw new ne(-200,`Circular dependency in DI detected for ${n}${e}`)}(dt(s[e]));const a=Ca(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?cr(o.injectImpl):null;_g(n,r,G.Default);try{i=n[e]=o.factory(void 0,s,n,r),t.firstCreatePass&&e>=r.directiveStart&&function cM(n,t,e){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=t.type.prototype;if(r){const o=sg(t);(e.preOrderHooks||(e.preOrderHooks=[])).push(n,o),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,o)}i&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-n,i),s&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n,s),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,s))}(e,s[e],t)}finally{null!==l&&cr(l),Ca(a),o.resolving=!1,Dg()}}return i}function Og(n,t,e){return!!(e[t+(n>>5)]&1<<n)}function Ng(n,t){return!(n&G.Self||n&G.Host&&t)}class Ai{constructor(t,e){this._tNode=t,this._lView=e}get(t,e,r){return Fg(this._tNode,this._lView,t,r,e)}}function R(n){return dr(()=>{const t=n.prototype.constructor,e=t[Gn]||uc(t),r=Object.prototype;let i=Object.getPrototypeOf(n.prototype).constructor;for(;i&&i!==r;){const s=i[Gn]||uc(i);if(s&&s!==e)return s;i=Object.getPrototypeOf(i)}return s=>new s})}function uc(n){return Kp(n)?()=>{const t=uc(z(n));return t&&t()}:Gr(n)}function Mi(n){return function vM(n,t){if("class"===t)return n.classes;if("style"===t)return n.styles;const e=n.attrs;if(e){const r=e.length;let i=0;for(;i<r;){const s=e[i];if(wg(s))break;if(0===s)i+=2;else if("number"==typeof s)for(i++;i<r&&"string"==typeof e[i];)i++;else{if(s===t)return e[i+1];i+=2}}}return null}(qe(),n)}const Ti="__parameters__";function Fi(n,t,e){return dr(()=>{const r=function cc(n){return function(...e){if(n){const r=n(...e);for(const i in r)this[i]=r[i]}}}(t);function i(...s){if(this instanceof i)return r.apply(this,s),this;const o=new i(...s);return a.annotation=o,a;function a(l,u,c){const d=l.hasOwnProperty(Ti)?l[Ti]:Object.defineProperty(l,Ti,{value:[]})[Ti];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(o),l}}return e&&(i.prototype=Object.create(e.prototype)),i.prototype.ngMetadataName=n,i.annotationCls=i,i})}class F{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=w({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const wM=new F("AnalyzeForEntryComponents");function Qt(n,t){void 0===t&&(t=n);for(let e=0;e<n.length;e++){let r=n[e];Array.isArray(r)?(t===n&&(t=n.slice(0,e)),Qt(r,t)):t!==n&&t.push(r)}return t}function xn(n,t){n.forEach(e=>Array.isArray(e)?xn(e,t):t(e))}function Pg(n,t,e){t>=n.length?n.push(e):n.splice(t,0,e)}function wa(n,t){return t>=n.length-1?n.pop():n.splice(t,1)[0]}function Hs(n,t){const e=[];for(let r=0;r<n;r++)e.push(t);return e}function It(n,t,e){let r=Ri(n,t);return r>=0?n[1|r]=e:(r=~r,function MM(n,t,e,r){let i=n.length;if(i==t)n.push(e,r);else if(1===i)n.push(r,n[0]),n[0]=e;else{for(i--,n.push(n[i-1],n[i]);i>t;)n[i]=n[i-2],i--;n[t]=e,n[t+1]=r}}(n,r,t,e)),r}function fc(n,t){const e=Ri(n,t);if(e>=0)return n[1|e]}function Ri(n,t){return function Bg(n,t,e){let r=0,i=n.length>>e;for(;i!==r;){const s=r+(i-r>>1),o=n[s<<e];if(t===o)return s<<e;o>t?i=s:r=s+1}return~(i<<e)}(n,t,1)}const Us={},pc="__NG_DI_FLAG__",Aa="ngTempTokenPath",NM=/\n/gm,Hg="__source",PM=fe({provide:String,useValue:fe});let Gs;function Ug(n){const t=Gs;return Gs=n,t}function LM(n,t=G.Default){if(void 0===Gs)throw new ne(203,"");return null===Gs?Xp(n,void 0,t):Gs.get(n,t&G.Optional?null:void 0,t)}function D(n,t=G.Default){return(function wA(){return Bu}()||LM)(z(n),t)}const $s=D;function gc(n){const t=[];for(let e=0;e<n.length;e++){const r=z(n[e]);if(Array.isArray(r)){if(0===r.length)throw new ne(900,"");let i,s=G.Default;for(let o=0;o<r.length;o++){const a=r[o],l=VM(a);"number"==typeof l?-1===l?i=a.token:s|=l:i=a}t.push(D(i,s))}else t.push(D(r))}return t}function qs(n,t){return n[pc]=t,n.prototype[pc]=t,n}function VM(n){return n[pc]}const zs=qs(Fi("Inject",n=>({token:n})),-1),Ft=qs(Fi("Optional"),8),$r=qs(Fi("SkipSelf"),4);let Sa,Ta;function Ni(n){var t;return(null===(t=function yc(){if(void 0===Sa&&(Sa=null,ue.trustedTypes))try{Sa=ue.trustedTypes.createPolicy("angular",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch(n){}return Sa}())||void 0===t?void 0:t.createHTML(n))||n}function Kg(n){var t;return(null===(t=function _c(){if(void 0===Ta&&(Ta=null,ue.trustedTypes))try{Ta=ue.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch(n){}return Ta}())||void 0===t?void 0:t.createHTML(n))||n}class qr{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class ZM extends qr{getTypeName(){return"HTML"}}class XM extends qr{getTypeName(){return"Style"}}class JM extends qr{getTypeName(){return"Script"}}class e0 extends qr{getTypeName(){return"URL"}}class t0 extends qr{getTypeName(){return"ResourceURL"}}function Rt(n){return n instanceof qr?n.changingThisBreaksApplicationSecurity:n}function An(n,t){const e=Zg(n);if(null!=e&&e!==t){if("ResourceURL"===e&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${e} (see https://g.co/ng/security#xss)`)}return e===t}function Zg(n){return n instanceof qr&&n.getTypeName()||null}class l0{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const e=(new window.DOMParser).parseFromString(Ni(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch(e){return null}}}class u0{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const r=this.inertDocument.createElement("body");e.appendChild(r)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=Ni(t),e;const r=this.inertDocument.createElement("body");return r.innerHTML=Ni(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const e=t.attributes;for(let i=e.length-1;0<i;i--){const o=e.item(i).name;("xmlns:ns1"===o||0===o.indexOf("ns1:"))&&t.removeAttribute(o)}let r=t.firstChild;for(;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}const d0=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,f0=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Ks(n){return(n=String(n)).match(d0)||n.match(f0)?n:"unsafe:"+n}function Mn(n){const t={};for(const e of n.split(","))t[e]=!0;return t}function Qs(...n){const t={};for(const e of n)for(const r in e)e.hasOwnProperty(r)&&(t[r]=!0);return t}const em=Mn("area,br,col,hr,img,wbr"),tm=Mn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),nm=Mn("rp,rt"),vc=Qs(em,Qs(tm,Mn("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Qs(nm,Mn("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Qs(nm,tm)),Cc=Mn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),bc=Mn("srcset"),rm=Qs(Cc,bc,Mn("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Mn("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),h0=Mn("script,style,template");class p0{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,r=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?r=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,r&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let i=this.checkClobberedElement(e,e.nextSibling);if(i){e=i;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!vc.hasOwnProperty(e))return this.sanitizedSomething=!0,!h0.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const r=t.attributes;for(let i=0;i<r.length;i++){const s=r.item(i),o=s.name,a=o.toLowerCase();if(!rm.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=s.value;Cc[a]&&(l=Ks(l)),bc[a]&&(n=l,l=(n=String(n)).split(",").map(t=>Ks(t.trim())).join(", ")),this.buf.push(" ",o,'="',im(l),'"')}var n;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();vc.hasOwnProperty(e)&&!em.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(im(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const g0=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,m0=/([^\#-~ |!])/g;function im(n){return n.replace(/&/g,"&amp;").replace(g0,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(m0,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Ia;function sm(n,t){let e=null;try{Ia=Ia||function Xg(n){const t=new u0(n);return function c0(){try{return!!(new window.DOMParser).parseFromString(Ni(""),"text/html")}catch(n){return!1}}()?new l0(t):t}(n);let r=t?String(t):"";e=Ia.getInertBodyElement(r);let i=5,s=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=s,s=e.innerHTML,e=Ia.getInertBodyElement(r)}while(r!==s);return Ni((new p0).sanitizeChildren(Dc(e)||e))}finally{if(e){const r=Dc(e)||e;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Dc(n){return"content"in n&&function y0(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var ae=(()=>((ae=ae||{})[ae.NONE=0]="NONE",ae[ae.HTML=1]="HTML",ae[ae.STYLE=2]="STYLE",ae[ae.SCRIPT=3]="SCRIPT",ae[ae.URL=4]="URL",ae[ae.RESOURCE_URL=5]="RESOURCE_URL",ae))();function om(n){const t=Ys();return t?Kg(t.sanitize(ae.HTML,n)||""):An(n,"HTML")?Kg(Rt(n)):sm(Ku(),H(n))}function mr(n){const t=Ys();return t?t.sanitize(ae.URL,n)||"":An(n,"URL")?Rt(n):Ks(H(n))}function Ys(){const n=C();return n&&n[12]}const um="__ngContext__";function ot(n,t){n[um]=t}function wc(n){const t=function Zs(n){return n[um]||null}(n);return t?Array.isArray(t)?t:t.lView:null}function Ac(n){return n.ngOriginalError}function O0(n,...t){n.error(...t)}class zn{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),r=function R0(n){return n&&n.ngErrorLogger||O0}(t);r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e)}_findOriginalError(t){let e=t&&Ac(t);for(;e&&Ac(e);)e=Ac(e);return e||null}}const pm=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(ue))();function Sn(n){return n instanceof Function?n():n}var Ot=(()=>((Ot=Ot||{})[Ot.Important=1]="Important",Ot[Ot.DashCase=2]="DashCase",Ot))();function Sc(n,t){return undefined(n,t)}function Xs(n){const t=n[3];return un(t)?t[3]:t}function Tc(n){return vm(n[13])}function Ic(n){return vm(n[4])}function vm(n){for(;null!==n&&!un(n);)n=n[4];return n}function Pi(n,t,e,r,i){if(null!=r){let s,o=!1;un(r)?s=r:En(r)&&(o=!0,r=r[0]);const a=Ve(r);0===n&&null!==e?null==i?xm(t,e,a):zr(t,e,a,i||null,!0):1===n&&null!==e?zr(t,e,a,i||null,!0):2===n?function Rm(n,t,e){const r=Fa(n,t);r&&function nS(n,t,e,r){Fe(n)?n.removeChild(t,e,r):t.removeChild(e)}(n,r,t,e)}(t,a,o):3===n&&t.destroyNode(a),null!=s&&function sS(n,t,e,r,i){const s=e[7];s!==Ve(e)&&Pi(t,n,r,s,i);for(let a=10;a<e.length;a++){const l=e[a];Js(l[1],l,n,t,r,s)}}(t,n,s,e,i)}}function Rc(n,t,e){return Fe(n)?n.createElement(t,e):null===e?n.createElement(t):n.createElementNS(e,t)}function bm(n,t){const e=n[9],r=e.indexOf(t),i=t[3];1024&t[2]&&(t[2]&=-1025,Zu(i,-1)),e.splice(r,1)}function Oc(n,t){if(n.length<=10)return;const e=10+t,r=n[e];if(r){const i=r[17];null!==i&&i!==n&&bm(i,r),t>0&&(n[e-1][4]=r[4]);const s=wa(n,10+t);!function K0(n,t){Js(n,t,t[W],2,null,null),t[0]=null,t[6]=null}(r[1],r);const o=s[19];null!==o&&o.detachView(s[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function Dm(n,t){if(!(256&t[2])){const e=t[W];Fe(e)&&e.destroyNode&&Js(n,t,e,3,null,null),function Z0(n){let t=n[13];if(!t)return Nc(n[1],n);for(;t;){let e=null;if(En(t))e=t[13];else{const r=t[10];r&&(e=r)}if(!e){for(;t&&!t[4]&&t!==n;)En(t)&&Nc(t[1],t),t=t[3];null===t&&(t=n),En(t)&&Nc(t[1],t),e=t&&t[4]}t=e}}(t)}}function Nc(n,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function tS(n,t){let e;if(null!=n&&null!=(e=n.destroyHooks))for(let r=0;r<e.length;r+=2){const i=t[e[r]];if(!(i instanceof ks)){const s=e[r+1];if(Array.isArray(s))for(let o=0;o<s.length;o+=2){const a=i[s[o]],l=s[o+1];try{l.call(a)}finally{}}else try{s.call(i)}finally{}}}}(n,t),function eS(n,t){const e=n.cleanup,r=t[7];let i=-1;if(null!==e)for(let s=0;s<e.length-1;s+=2)if("string"==typeof e[s]){const o=e[s+1],a="function"==typeof o?o(t):Ve(t[o]),l=r[i=e[s+2]],u=e[s+3];"boolean"==typeof u?a.removeEventListener(e[s],l,u):u>=0?r[i=u]():r[i=-u].unsubscribe(),s+=2}else{const o=r[i=e[s+1]];e[s].call(o)}if(null!==r){for(let s=i+1;s<r.length;s++)r[s]();t[7]=null}}(n,t),1===t[1].type&&Fe(t[W])&&t[W].destroy();const e=t[17];if(null!==e&&un(t[3])){e!==t[3]&&bm(e,t);const r=t[19];null!==r&&r.detachView(n)}}}function Em(n,t,e){return function wm(n,t,e){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return e[0];if(2&r.flags){const i=n.data[r.directiveStart].encapsulation;if(i===an.None||i===an.Emulated)return null}return Kt(r,e)}(n,t.parent,e)}function zr(n,t,e,r,i){Fe(n)?n.insertBefore(t,e,r,i):t.insertBefore(e,r,i)}function xm(n,t,e){Fe(n)?n.appendChild(t,e):t.appendChild(e)}function Am(n,t,e,r,i){null!==r?zr(n,t,e,r,i):xm(n,t,e)}function Fa(n,t){return Fe(n)?n.parentNode(t):t.parentNode}function Mm(n,t,e){return Tm(n,t,e)}let Tm=function Sm(n,t,e){return 40&n.type?Kt(n,e):null};function Ra(n,t,e,r){const i=Em(n,r,t),s=t[W],a=Mm(r.parent||t[6],r,t);if(null!=i)if(Array.isArray(e))for(let l=0;l<e.length;l++)Am(s,i,e[l],a,!1);else Am(s,i,e,a,!1)}function Oa(n,t){if(null!==t){const e=t.type;if(3&e)return Kt(t,n);if(4&e)return Pc(-1,n[t.index]);if(8&e){const r=t.child;if(null!==r)return Oa(n,r);{const i=n[t.index];return un(i)?Pc(-1,i):Ve(i)}}if(32&e)return Sc(t,n)()||Ve(n[t.index]);{const r=Fm(n,t);return null!==r?Array.isArray(r)?r[0]:Oa(Xs(n[16]),r):Oa(n,t.next)}}return null}function Fm(n,t){return null!==t?n[16][6].projection[t.projection]:null}function Pc(n,t){const e=10+n+1;if(e<t.length){const r=t[e],i=r[1].firstChild;if(null!==i)return Oa(r,i)}return t[7]}function Lc(n,t,e,r,i,s,o){for(;null!=e;){const a=r[e.index],l=e.type;if(o&&0===t&&(a&&ot(Ve(a),r),e.flags|=4),64!=(64&e.flags))if(8&l)Lc(n,t,e.child,r,i,s,!1),Pi(t,n,i,a,s);else if(32&l){const u=Sc(e,r);let c;for(;c=u();)Pi(t,n,i,c,s);Pi(t,n,i,a,s)}else 16&l?Om(n,t,r,e,i,s):Pi(t,n,i,a,s);e=o?e.projectionNext:e.next}}function Js(n,t,e,r,i,s){Lc(e,r,n.firstChild,t,i,s,!1)}function Om(n,t,e,r,i,s){const o=e[16],l=o[6].projection[r.projection];if(Array.isArray(l))for(let u=0;u<l.length;u++)Pi(t,n,i,l[u],s);else Lc(n,t,l,o[3],i,s,!0)}function Nm(n,t,e){Fe(n)?n.setAttribute(t,"style",e):t.style.cssText=e}function Vc(n,t,e){Fe(n)?""===e?n.removeAttribute(t,"class"):n.setAttribute(t,"class",e):t.className=e}function km(n,t,e){let r=n.length;for(;;){const i=n.indexOf(t,e);if(-1===i)return i;if(0===i||n.charCodeAt(i-1)<=32){const s=t.length;if(i+s===r||n.charCodeAt(i+s)<=32)return i}e=i+1}}const Pm="ng-template";function aS(n,t,e){let r=0;for(;r<n.length;){let i=n[r++];if(e&&"class"===i){if(i=n[r],-1!==km(i.toLowerCase(),t,0))return!0}else if(1===i){for(;r<n.length&&"string"==typeof(i=n[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function Lm(n){return 4===n.type&&n.value!==Pm}function lS(n,t,e){return t===(4!==n.type||e?n.value:Pm)}function uS(n,t,e){let r=4;const i=n.attrs||[],s=function fS(n){for(let t=0;t<n.length;t++)if(wg(n[t]))return t;return n.length}(i);let o=!1;for(let a=0;a<t.length;a++){const l=t[a];if("number"!=typeof l){if(!o)if(4&r){if(r=2|1&r,""!==l&&!lS(n,l,e)||""===l&&1===t.length){if(dn(r))return!1;o=!0}}else{const u=8&r?l:t[++a];if(8&r&&null!==n.attrs){if(!aS(n.attrs,u,e)){if(dn(r))return!1;o=!0}continue}const d=cS(8&r?"class":l,i,Lm(n),e);if(-1===d){if(dn(r))return!1;o=!0;continue}if(""!==u){let f;f=d>s?"":i[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==km(h,u,0)||2&r&&u!==f){if(dn(r))return!1;o=!0}}}}else{if(!o&&!dn(r)&&!dn(l))return!1;if(o&&dn(l))continue;o=!1,r=l|1&r}}return dn(r)||o}function dn(n){return 0==(1&n)}function cS(n,t,e,r){if(null===t)return-1;let i=0;if(r||!e){let s=!1;for(;i<t.length;){const o=t[i];if(o===n)return i;if(3===o||6===o)s=!0;else{if(1===o||2===o){let a=t[++i];for(;"string"==typeof a;)a=t[++i];continue}if(4===o)break;if(0===o){i+=4;continue}}i+=s?1:2}return-1}return function hS(n,t){let e=n.indexOf(4);if(e>-1)for(e++;e<n.length;){const r=n[e];if("number"==typeof r)return-1;if(r===t)return e;e++}return-1}(t,n)}function Vm(n,t,e=!1){for(let r=0;r<t.length;r++)if(uS(n,t[r],e))return!0;return!1}function pS(n,t){e:for(let e=0;e<t.length;e++){const r=t[e];if(n.length===r.length){for(let i=0;i<n.length;i++)if(n[i]!==r[i])continue e;return!0}}return!1}function Bm(n,t){return n?":not("+t.trim()+")":t}function gS(n){let t=n[0],e=1,r=2,i="",s=!1;for(;e<n.length;){let o=n[e];if("string"==typeof o)if(2&r){const a=n[++e];i+="["+o+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?i+="."+o:4&r&&(i+=" "+o);else""!==i&&!dn(o)&&(t+=Bm(s,i),i=""),r=o,s=s||!dn(r);e++}return""!==i&&(t+=Bm(s,i)),t}const U={};function te(n){jm(re(),C(),ht()+n,da())}function jm(n,t,e,r){if(!r)if(3==(3&t[2])){const s=n.preOrderCheckHooks;null!==s&&ma(t,s,e)}else{const s=n.preOrderHooks;null!==s&&ya(t,s,0,e)}pr(e)}function Na(n,t){return n<<17|t<<2}function fn(n){return n>>17&32767}function Bc(n){return 2|n}function Wn(n){return(131068&n)>>2}function jc(n,t){return-131069&n|t<<2}function Hc(n){return 1|n}function Zm(n,t){const e=n.contentQueries;if(null!==e)for(let r=0;r<e.length;r+=2){const i=e[r],s=e[r+1];if(-1!==s){const o=n.data[s];nc(i),o.contentQueries(2,t[s],s)}}}function eo(n,t,e,r,i,s,o,a,l,u){const c=t.blueprint.slice();return c[0]=i,c[2]=140|r,fg(c),c[3]=c[15]=n,c[8]=e,c[10]=o||n&&n[10],c[W]=a||n&&n[W],c[12]=l||n&&n[12]||null,c[9]=u||n&&n[9]||null,c[6]=s,c[16]=2==t.type?n[16]:c,c}function Li(n,t,e,r,i){let s=n.data[t];if(null===s)s=function Yc(n,t,e,r,i){const s=pg(),o=Xu(),l=n.data[t]=function OS(n,t,e,r,i,s){return{type:e,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:i,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,o?s:s&&s.parent,e,t,r,i);return null===n.firstChild&&(n.firstChild=l),null!==s&&(o?null==s.child&&null!==l.parent&&(s.child=l):null===s.next&&(s.next=l)),l}(n,t,e,r,i),function JA(){return j.lFrame.inI18n}()&&(s.flags|=64);else if(64&s.type){s.type=e,s.value=r,s.attrs=i;const o=function Ns(){const n=j.lFrame,t=n.currentTNode;return n.isParent?t:t.parent}();s.injectorIndex=null===o?-1:o.injectorIndex}return wn(s,!0),s}function Vi(n,t,e,r){if(0===e)return-1;const i=t.length;for(let s=0;s<e;s++)t.push(r),n.blueprint.push(r),n.data.push(null);return i}function to(n,t,e){ha(t);try{const r=n.viewQuery;null!==r&&sd(1,r,e);const i=n.template;null!==i&&Xm(n,t,i,1,e),n.firstCreatePass&&(n.firstCreatePass=!1),n.staticContentQueries&&Zm(n,t),n.staticViewQueries&&sd(2,n.viewQuery,e);const s=n.components;null!==s&&function IS(n,t){for(let e=0;e<t.length;e++)ZS(n,t[e])}(t,s)}catch(r){throw n.firstCreatePass&&(n.incompleteFirstPass=!0,n.firstCreatePass=!1),r}finally{t[2]&=-5,pa()}}function Bi(n,t,e,r){const i=t[2];if(256==(256&i))return;ha(t);const s=da();try{fg(t),function gg(n){return j.lFrame.bindingIndex=n}(n.bindingStartIndex),null!==e&&Xm(n,t,e,2,r);const o=3==(3&i);if(!s)if(o){const u=n.preOrderCheckHooks;null!==u&&ma(t,u,null)}else{const u=n.preOrderHooks;null!==u&&ya(t,u,0,null),rc(t,0)}if(function QS(n){for(let t=Tc(n);null!==t;t=Ic(t)){if(!t[2])continue;const e=t[9];for(let r=0;r<e.length;r++){const i=e[r],s=i[3];0==(1024&i[2])&&Zu(s,1),i[2]|=1024}}}(t),function KS(n){for(let t=Tc(n);null!==t;t=Ic(t))for(let e=10;e<t.length;e++){const r=t[e],i=r[1];Yu(r)&&Bi(i,r,i.template,r[8])}}(t),null!==n.contentQueries&&Zm(n,t),!s)if(o){const u=n.contentCheckHooks;null!==u&&ma(t,u)}else{const u=n.contentHooks;null!==u&&ya(t,u,1),rc(t,1)}!function SS(n,t){const e=n.hostBindingOpCodes;if(null!==e)try{for(let r=0;r<e.length;r++){const i=e[r];if(i<0)pr(~i);else{const s=i,o=e[++r],a=e[++r];eM(o,s),a(2,t[s])}}}finally{pr(-1)}}(n,t);const a=n.components;null!==a&&function TS(n,t){for(let e=0;e<t.length;e++)YS(n,t[e])}(t,a);const l=n.viewQuery;if(null!==l&&sd(2,l,r),!s)if(o){const u=n.viewCheckHooks;null!==u&&ma(t,u)}else{const u=n.viewHooks;null!==u&&ya(t,u,2),rc(t,2)}!0===n.firstUpdatePass&&(n.firstUpdatePass=!1),s||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,Zu(t[3],-1))}finally{pa()}}function FS(n,t,e,r){const i=t[10],s=!da(),o=dg(t);try{s&&!o&&i.begin&&i.begin(),o&&to(n,t,r),Bi(n,t,e,r)}finally{s&&!o&&i.end&&i.end()}}function Xm(n,t,e,r,i){const s=ht(),o=2&r;try{pr(-1),o&&t.length>20&&jm(n,t,20,da()),e(r,i)}finally{pr(s)}}function Jm(n,t,e){if($u(t)){const i=t.directiveEnd;for(let s=t.directiveStart;s<i;s++){const o=n.data[s];o.contentQueries&&o.contentQueries(1,e[s],s)}}}function Zc(n,t,e){!hg()||(function jS(n,t,e,r){const i=e.directiveStart,s=e.directiveEnd;n.firstCreatePass||Ls(e,t),ot(r,t);const o=e.initialInputs;for(let a=i;a<s;a++){const l=n.data[a],u=cn(l);u&&qS(t,e,l);const c=Vs(t,n,a,e);ot(c,t),null!==o&&zS(0,a-i,c,l,0,o),u&&(Tt(e.index,t)[8]=c)}}(n,t,e,Kt(e,t)),128==(128&e.flags)&&function HS(n,t,e){const r=e.directiveStart,i=e.directiveEnd,o=e.index,a=function tM(){return j.lFrame.currentDirectiveIndex}();try{pr(o);for(let l=r;l<i;l++){const u=n.data[l],c=t[l];ec(l),(null!==u.hostBindings||0!==u.hostVars||null!==u.hostAttrs)&&ay(u,c)}}finally{pr(-1),ec(a)}}(n,t,e))}function Xc(n,t,e=Kt){const r=t.localNames;if(null!==r){let i=t.index+1;for(let s=0;s<r.length;s+=2){const o=r[s+1],a=-1===o?e(t,n):n[o];n[i++]=a}}}function ey(n){const t=n.tView;return null===t||t.incompleteFirstPass?n.tView=La(1,null,n.template,n.decls,n.vars,n.directiveDefs,n.pipeDefs,n.viewQuery,n.schemas,n.consts):t}function La(n,t,e,r,i,s,o,a,l,u){const c=20+r,d=c+i,f=function RS(n,t){const e=[];for(let r=0;r<t;r++)e.push(r<n?null:U);return e}(c,d),h="function"==typeof u?u():u;return f[1]={type:n,blueprint:f,template:e,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,c),bindingStartIndex:c,expandoStartIndex:d,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 s?s():s,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:l,consts:h,incompleteFirstPass:!1}}function ry(n,t,e,r){const i=hy(t);null===e?i.push(r):(i.push(e),n.firstCreatePass&&py(n).push(r,i.length-1))}function iy(n,t,e){for(let r in n)if(n.hasOwnProperty(r)){const i=n[r];(e=null===e?{}:e).hasOwnProperty(r)?e[r].push(t,i):e[r]=[t,i]}return e}function Nt(n,t,e,r,i,s,o,a){const l=Kt(t,e);let c,u=t.inputs;!a&&null!=u&&(c=u[r])?(yy(n,e,c,r,i),la(t)&&function PS(n,t){const e=Tt(t,n);16&e[2]||(e[2]|=64)}(e,t.index)):3&t.type&&(r=function kS(n){return"class"===n?"className":"for"===n?"htmlFor":"formaction"===n?"formAction":"innerHtml"===n?"innerHTML":"readonly"===n?"readOnly":"tabindex"===n?"tabIndex":n}(r),i=null!=o?o(i,t.value||"",r):i,Fe(s)?s.setProperty(l,r,i):sc(r)||(l.setProperty?l.setProperty(r,i):l[r]=i))}function Jc(n,t,e,r){let i=!1;if(hg()){const s=function US(n,t,e){const r=n.directiveRegistry;let i=null;if(r)for(let s=0;s<r.length;s++){const o=r[s];Vm(e,o.selectors,!1)&&(i||(i=[]),Da(Ls(e,t),n,o.type),cn(o)?(ly(n,e),i.unshift(o)):i.push(o))}return i}(n,t,e),o=null===r?null:{"":-1};if(null!==s){i=!0,uy(e,n.data.length,s.length);for(let c=0;c<s.length;c++){const d=s[c];d.providersResolver&&d.providersResolver(d)}let a=!1,l=!1,u=Vi(n,t,s.length,null);for(let c=0;c<s.length;c++){const d=s[c];e.mergedAttrs=va(e.mergedAttrs,d.hostAttrs),cy(n,e,t,u,d),$S(u,d,o),null!==d.contentQueries&&(e.flags|=8),(null!==d.hostBindings||null!==d.hostAttrs||0!==d.hostVars)&&(e.flags|=128);const f=d.type.prototype;!a&&(f.ngOnChanges||f.ngOnInit||f.ngDoCheck)&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e.index),a=!0),!l&&(f.ngOnChanges||f.ngDoCheck)&&((n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e.index),l=!0),u++}!function NS(n,t){const r=t.directiveEnd,i=n.data,s=t.attrs,o=[];let a=null,l=null;for(let u=t.directiveStart;u<r;u++){const c=i[u],d=c.inputs,f=null===s||Lm(t)?null:WS(d,s);o.push(f),a=iy(d,u,a),l=iy(c.outputs,u,l)}null!==a&&(a.hasOwnProperty("class")&&(t.flags|=16),a.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=o,t.inputs=a,t.outputs=l}(n,e)}o&&function GS(n,t,e){if(t){const r=n.localNames=[];for(let i=0;i<t.length;i+=2){const s=e[t[i+1]];if(null==s)throw new ne(-301,`Export of name '${t[i+1]}' not found!`);r.push(t[i],s)}}}(e,r,o)}return e.mergedAttrs=va(e.mergedAttrs,e.attrs),i}function oy(n,t,e,r,i,s){const o=s.hostBindings;if(o){let a=n.hostBindingOpCodes;null===a&&(a=n.hostBindingOpCodes=[]);const l=~t.index;(function BS(n){let t=n.length;for(;t>0;){const e=n[--t];if("number"==typeof e&&e<0)return e}return 0})(a)!=l&&a.push(l),a.push(r,i,o)}}function ay(n,t){null!==n.hostBindings&&n.hostBindings(1,t)}function ly(n,t){t.flags|=2,(n.components||(n.components=[])).push(t.index)}function $S(n,t,e){if(e){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)e[t.exportAs[r]]=n;cn(t)&&(e[""]=n)}}function uy(n,t,e){n.flags|=1,n.directiveStart=t,n.directiveEnd=t+e,n.providerIndexes=t}function cy(n,t,e,r,i){n.data[r]=i;const s=i.factory||(i.factory=Gr(i.type)),o=new ks(s,cn(i),null);n.blueprint[r]=o,e[r]=o,oy(n,t,0,r,Vi(n,e,i.hostVars,U),i)}function qS(n,t,e){const r=Kt(t,n),i=ey(e),s=n[10],o=Va(n,eo(n,i,null,e.onPush?64:16,r,t,s,s.createRenderer(r,e),null,null));n[t.index]=o}function Tn(n,t,e,r,i,s){const o=Kt(n,t);!function ed(n,t,e,r,i,s,o){if(null==s)Fe(n)?n.removeAttribute(t,i,e):t.removeAttribute(i);else{const a=null==o?H(s):o(s,r||"",i);Fe(n)?n.setAttribute(t,i,a,e):e?t.setAttributeNS(e,i,a):t.setAttribute(i,a)}}(t[W],o,s,n.value,e,r,i)}function zS(n,t,e,r,i,s){const o=s[t];if(null!==o){const a=r.setInput;for(let l=0;l<o.length;){const u=o[l++],c=o[l++],d=o[l++];null!==a?r.setInput(e,d,u,c):e[c]=d}}}function WS(n,t){let e=null,r=0;for(;r<t.length;){const i=t[r];if(0!==i)if(5!==i){if("number"==typeof i)break;n.hasOwnProperty(i)&&(null===e&&(e=[]),e.push(i,n[i],t[r+1])),r+=2}else r+=2;else r+=4}return e}function dy(n,t,e,r){return new Array(n,!0,!1,t,null,0,r,e,null,null)}function YS(n,t){const e=Tt(t,n);if(Yu(e)){const r=e[1];80&e[2]?Bi(r,e,r.template,e[8]):e[5]>0&&td(e)}}function td(n){for(let r=Tc(n);null!==r;r=Ic(r))for(let i=10;i<r.length;i++){const s=r[i];if(1024&s[2]){const o=s[1];Bi(o,s,o.template,s[8])}else s[5]>0&&td(s)}const e=n[1].components;if(null!==e)for(let r=0;r<e.length;r++){const i=Tt(e[r],n);Yu(i)&&i[5]>0&&td(i)}}function ZS(n,t){const e=Tt(t,n),r=e[1];(function XS(n,t){for(let e=t.length;e<n.blueprint.length;e++)t.push(n.blueprint[e])})(r,e),to(r,e,e[8])}function Va(n,t){return n[13]?n[14][4]=t:n[13]=t,n[14]=t,t}function nd(n){for(;n;){n[2]|=64;const t=Xs(n);if(NA(n)&&!t)return n;n=t}return null}function id(n,t,e){const r=t[10];r.begin&&r.begin();try{Bi(n,t,n.template,e)}catch(i){throw my(t,i),i}finally{r.end&&r.end()}}function fy(n){!function rd(n){for(let t=0;t<n.components.length;t++){const e=n.components[t],r=wc(e),i=r[1];FS(i,r,i.template,e)}}(n[8])}function sd(n,t,e){nc(0),t(n,e)}const nT=(()=>Promise.resolve(null))();function hy(n){return n[7]||(n[7]=[])}function py(n){return n.cleanup||(n.cleanup=[])}function my(n,t){const e=n[9],r=e?e.get(zn,null):null;r&&r.handleError(t)}function yy(n,t,e,r,i){for(let s=0;s<e.length;){const o=e[s++],a=e[s++],l=t[o],u=n.data[o];null!==u.setInput?u.setInput(l,i,r,a):l[a]=i}}function Kn(n,t,e){const r=ca(t,n);!function Cm(n,t,e){Fe(n)?n.setValue(t,e):t.textContent=e}(n[W],r,e)}function Ba(n,t,e){let r=e?n.styles:null,i=e?n.classes:null,s=0;if(null!==t)for(let o=0;o<t.length;o++){const a=t[o];"number"==typeof a?s=a:1==s?i=ku(i,a):2==s&&(r=ku(r,a+": "+t[++o]+";"))}e?n.styles=r:n.stylesWithoutHost=r,e?n.classes=i:n.classesWithoutHost=i}const od=new F("INJECTOR",-1);class _y{get(t,e=Us){if(e===Us){const r=new Error(`NullInjectorError: No provider for ${le(t)}!`);throw r.name="NullInjectorError",r}return e}}const ad=new F("Set Injector scope."),no={},sT={};let ld;function vy(){return void 0===ld&&(ld=new _y),ld}function Cy(n,t=null,e=null,r){const i=by(n,t,e,r);return i._resolveInjectorDefTypes(),i}function by(n,t=null,e=null,r){return new oT(n,e,t||vy(),r)}class oT{constructor(t,e,r,i=null){this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const s=[];e&&xn(e,a=>this.processProvider(a,t,e)),xn([t],a=>this.processInjectorType(a,[],s)),this.records.set(od,ji(void 0,this));const o=this.records.get(ad);this.scope=null!=o?o.value:null,this.source=i||("object"==typeof t?null:le(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=Us,r=G.Default){this.assertNotDestroyed();const i=Ug(this),s=cr(void 0);try{if(!(r&G.SkipSelf)){let a=this.records.get(t);if(void 0===a){const l=function pT(n){return"function"==typeof n||"object"==typeof n&&n instanceof F}(t)&&Lu(t);a=l&&this.injectableDefInScope(l)?ji(ud(t),no):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&G.Self?vy():this.parent).get(t,e=r&G.Optional&&e===Us?null:e)}catch(o){if("NullInjectorError"===o.name){if((o[Aa]=o[Aa]||[]).unshift(le(t)),i)throw o;return function BM(n,t,e,r){const i=n[Aa];throw t[Hg]&&i.unshift(t[Hg]),n.message=function jM(n,t,e,r=null){n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.substr(2):n;let i=le(t);if(Array.isArray(t))i=t.map(le).join(" -> ");else if("object"==typeof t){let s=[];for(let o in t)if(t.hasOwnProperty(o)){let a=t[o];s.push(o+":"+("string"==typeof a?JSON.stringify(a):le(a)))}i=`{${s.join(", ")}}`}return`${e}${r?"("+r+")":""}[${i}]: ${n.replace(NM,"\n  ")}`}("\n"+n.message,i,e,r),n.ngTokenPath=i,n[Aa]=null,n}(o,t,"R3InjectorError",this.source)}throw o}finally{cr(s),Ug(i)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((r,i)=>t.push(le(i))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ne(205,"")}processInjectorType(t,e,r){if(!(t=z(t)))return!1;let i=Yp(t);const s=null==i&&t.ngModule||void 0,o=void 0===s?t:s,a=-1!==r.indexOf(o);if(void 0!==s&&(i=Yp(s)),null==i)return!1;if(null!=i.imports&&!a){let c;r.push(o);try{xn(i.imports,d=>{this.processInjectorType(d,e,r)&&(void 0===c&&(c=[]),c.push(d))})}finally{}if(void 0!==c)for(let d=0;d<c.length;d++){const{ngModule:f,providers:h}=c[d];xn(h,g=>this.processProvider(g,f,h||he))}}this.injectorDefTypes.add(o);const l=Gr(o)||(()=>new o);this.records.set(o,ji(l,no));const u=i.providers;if(null!=u&&!a){const c=t;xn(u,d=>this.processProvider(d,c,u))}return void 0!==s&&void 0!==t.providers}processProvider(t,e,r){let i=Hi(t=z(t))?t:z(t&&t.provide);const s=function lT(n,t,e){return Ey(n)?ji(void 0,n.useValue):ji(Dy(n),no)}(t);if(Hi(t)||!0!==t.multi)this.records.get(i);else{let o=this.records.get(i);o||(o=ji(void 0,no,!0),o.factory=()=>gc(o.multi),this.records.set(i,o)),i=t,o.multi.push(t)}this.records.set(i,s)}hydrate(t,e){return e.value===no&&(e.value=sT,e.value=e.factory()),"object"==typeof e.value&&e.value&&function hT(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(e.value)&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=z(t.providedIn);return"string"==typeof e?"any"===e||e===this.scope:this.injectorDefTypes.has(e)}}function ud(n){const t=Lu(n),e=null!==t?t.factory:Gr(n);if(null!==e)return e;if(n instanceof F)throw new ne(204,"");if(n instanceof Function)return function aT(n){const t=n.length;if(t>0)throw Hs(t,"?"),new ne(204,"");const e=function bA(n){const t=n&&(n[ra]||n[Zp]);if(t){const e=function DA(n){if(n.hasOwnProperty("name"))return n.name;const t=(""+n).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(n);return console.warn(`DEPRECATED: DI is instantiating a token "${e}" 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 "${e}" class.`),t}return null}(n);return null!==e?()=>e.factory(n):()=>new n}(n);throw new ne(204,"")}function Dy(n,t,e){let r;if(Hi(n)){const i=z(n);return Gr(i)||ud(i)}if(Ey(n))r=()=>z(n.useValue);else if(function cT(n){return!(!n||!n.useFactory)}(n))r=()=>n.useFactory(...gc(n.deps||[]));else if(function uT(n){return!(!n||!n.useExisting)}(n))r=()=>D(z(n.useExisting));else{const i=z(n&&(n.useClass||n.provide));if(!function fT(n){return!!n.deps}(n))return Gr(i)||ud(i);r=()=>new i(...gc(n.deps))}return r}function ji(n,t,e=!1){return{factory:n,value:t,multi:e?[]:void 0}}function Ey(n){return null!==n&&"object"==typeof n&&PM in n}function Hi(n){return"function"==typeof n}let Je=(()=>{class n{static create(e,r){var i;if(Array.isArray(e))return Cy({name:""},r,e,"");{const s=null!==(i=e.name)&&void 0!==i?i:"";return Cy({name:s},e.parent,e.providers,s)}}}return n.THROW_IF_NOT_FOUND=Us,n.NULL=new _y,n.\u0275prov=w({token:n,providedIn:"any",factory:()=>D(od)}),n.__NG_ELEMENT_ID__=-1,n})();function DT(n,t){ga(wc(n)[1],qe())}function x(n){let t=function ky(n){return Object.getPrototypeOf(n.prototype).constructor}(n.type),e=!0;const r=[n];for(;t;){let i;if(cn(n))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new ne(903,"");i=t.\u0275dir}if(i){if(e){r.push(i);const o=n;o.inputs=fd(n.inputs),o.declaredInputs=fd(n.declaredInputs),o.outputs=fd(n.outputs);const a=i.hostBindings;a&&AT(n,a);const l=i.viewQuery,u=i.contentQueries;if(l&&wT(n,l),u&&xT(n,u),Nu(n.inputs,i.inputs),Nu(n.declaredInputs,i.declaredInputs),Nu(n.outputs,i.outputs),cn(i)&&i.data.animation){const c=n.data;c.animation=(c.animation||[]).concat(i.data.animation)}}const s=i.features;if(s)for(let o=0;o<s.length;o++){const a=s[o];a&&a.ngInherit&&a(n),a===x&&(e=!1)}}t=Object.getPrototypeOf(t)}!function ET(n){let t=0,e=null;for(let r=n.length-1;r>=0;r--){const i=n[r];i.hostVars=t+=i.hostVars,i.hostAttrs=va(i.hostAttrs,e=va(e,i.hostAttrs))}}(r)}function fd(n){return n===yi?{}:n===he?[]:n}function wT(n,t){const e=n.viewQuery;n.viewQuery=e?(r,i)=>{t(r,i),e(r,i)}:t}function xT(n,t){const e=n.contentQueries;n.contentQueries=e?(r,i,s)=>{t(r,i,s),e(r,i,s)}:t}function AT(n,t){const e=n.hostBindings;n.hostBindings=e?(r,i)=>{t(r,i),e(r,i)}:t}let ja=null;function Ui(){if(!ja){const n=ue.Symbol;if(n&&n.iterator)ja=n.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e<t.length;++e){const r=t[e];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(ja=r)}}}return ja}function ro(n){return!!hd(n)&&(Array.isArray(n)||!(n instanceof Map)&&Ui()in n)}function hd(n){return null!==n&&("function"==typeof n||"object"==typeof n)}function at(n,t,e){return!Object.is(n[t],e)&&(n[t]=e,!0)}function kt(n,t,e,r){const i=C();return at(i,Ei(),t)&&(re(),Tn(Re(),i,n,t,e,r)),kt}function $i(n,t,e,r){return at(n,Ei(),e)?t+H(e)+r:U}function Be(n,t,e,r,i,s,o,a){const l=C(),u=re(),c=n+20,d=u.firstCreatePass?function OT(n,t,e,r,i,s,o,a,l){const u=t.consts,c=Li(t,n,4,o||null,hr(u,a));Jc(t,e,c,hr(u,l)),ga(t,c);const d=c.tViews=La(2,c,r,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u);return null!==t.queries&&(t.queries.template(t,c),d.queries=t.queries.embeddedTView(c)),c}(c,u,l,t,e,r,i,s,o):u.data[c];wn(d,!1);const f=l[W].createComment("");Ra(u,l,f,d),ot(f,l),Va(l,l[c]=dy(f,l,f,d)),ua(d)&&Zc(u,l,d),null!=o&&Xc(l,d,a)}function p(n,t=G.Default){const e=C();return null===e?D(n,t):Fg(qe(),e,z(n),t)}function _d(){throw new Error("invalid")}function ie(n,t,e){const r=C();return at(r,Ei(),t)&&Nt(re(),Re(),r,n,t,r[W],e,!1),ie}function vd(n,t,e,r,i){const o=i?"class":"style";yy(n,e,t.inputs[o],o,r)}function L(n,t,e,r){const i=C(),s=re(),o=20+n,a=i[W],l=i[o]=Rc(a,t,function uM(){return j.lFrame.currentNamespace}()),u=s.firstCreatePass?function eI(n,t,e,r,i,s,o){const a=t.consts,u=Li(t,n,2,i,hr(a,s));return Jc(t,e,u,hr(a,o)),null!==u.attrs&&Ba(u,u.attrs,!1),null!==u.mergedAttrs&&Ba(u,u.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,u),u}(o,s,i,0,t,e,r):s.data[o];wn(u,!0);const c=u.mergedAttrs;null!==c&&_a(a,l,c);const d=u.classes;null!==d&&Vc(a,l,d);const f=u.styles;null!==f&&Nm(a,l,f),64!=(64&u.flags)&&Ra(s,i,l,u),0===function WA(){return j.lFrame.elementDepthCount}()&&ot(l,i),function KA(){j.lFrame.elementDepthCount++}(),ua(u)&&(Zc(s,i,u),Jm(s,u,i)),null!==r&&Xc(i,u)}function V(){let n=qe();Xu()?Ju():(n=n.parent,wn(n,!1));const t=n;!function QA(){j.lFrame.elementDepthCount--}();const e=re();e.firstCreatePass&&(ga(e,n),$u(n)&&e.queries.elementEnd(n)),null!=t.classesWithoutHost&&function pM(n){return 0!=(16&n.flags)}(t)&&vd(e,t,C(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function gM(n){return 0!=(32&n.flags)}(t)&&vd(e,t,C(),t.stylesWithoutHost,!1)}function lt(n,t,e,r){L(n,t,e,r),V()}function vr(n,t,e){const r=C(),i=re(),s=n+20,o=i.firstCreatePass?function tI(n,t,e,r,i){const s=t.consts,o=hr(s,r),a=Li(t,n,8,"ng-container",o);return null!==o&&Ba(a,o,!0),Jc(t,e,a,hr(s,i)),null!==t.queries&&t.queries.elementStart(t,a),a}(s,i,r,t,e):i.data[s];wn(o,!0);const a=r[s]=r[W].createComment("");Ra(i,r,a,o),ot(a,r),ua(o)&&(Zc(i,r,o),Jm(i,o,r)),null!=e&&Xc(r,o)}function Cr(){let n=qe();const t=re();Xu()?Ju():(n=n.parent,wn(n,!1)),t.firstCreatePass&&(ga(t,n),$u(n)&&t.queries.elementEnd(n))}function so(){return C()}function oo(n){return!!n&&"function"==typeof n.then}const Cd=function n_(n){return!!n&&"function"==typeof n.subscribe};function je(n,t,e,r){const i=C(),s=re(),o=qe();return function i_(n,t,e,r,i,s,o,a){const l=ua(r),c=n.firstCreatePass&&py(n),d=t[8],f=hy(t);let h=!0;if(3&r.type||a){const _=Kt(r,t),v=a?a(_):_,y=f.length,E=a?T=>a(Ve(T[r.index])):r.index;if(Fe(e)){let T=null;if(!a&&l&&(T=function rI(n,t,e,r){const i=n.cleanup;if(null!=i)for(let s=0;s<i.length-1;s+=2){const o=i[s];if(o===e&&i[s+1]===r){const a=t[7],l=i[s+2];return a.length>l?a[l]:null}"string"==typeof o&&(s+=2)}return null}(n,t,i,r.index)),null!==T)(T.__ngLastListenerFn__||T).__ngNextListenerFn__=s,T.__ngLastListenerFn__=s,h=!1;else{s=bd(r,t,d,s,!1);const q=e.listen(v,i,s);f.push(s,q),c&&c.push(i,E,y,y+1)}}else s=bd(r,t,d,s,!0),v.addEventListener(i,s,o),f.push(s),c&&c.push(i,E,y,o)}else s=bd(r,t,d,s,!1);const g=r.outputs;let m;if(h&&null!==g&&(m=g[i])){const _=m.length;if(_)for(let v=0;v<_;v+=2){const Ae=t[m[v]][m[v+1]].subscribe(s),Te=f.length;f.push(s,Ae),c&&c.push(i,r.index,Te,-(Te+1))}}}(s,i,i[W],o,n,t,!!e,r),je}function s_(n,t,e,r){try{return!1!==e(r)}catch(i){return my(n,i),!1}}function bd(n,t,e,r,i){return function s(o){if(o===Function)return r;const a=2&n.flags?Tt(n.index,t):t;0==(32&t[2])&&nd(a);let l=s_(t,0,r,o),u=s.__ngNextListenerFn__;for(;u;)l=s_(t,0,u,o)&&l,u=u.__ngNextListenerFn__;return i&&!1===l&&(o.preventDefault(),o.returnValue=!1),l}}function Pt(n=1){return function rM(n){return(j.lFrame.contextLView=function iM(n,t){for(;n>0;)t=t[15],n--;return t}(n,j.lFrame.contextLView))[8]}(n)}function iI(n,t){let e=null;const r=function dS(n){const t=n.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(n);for(let i=0;i<t.length;i++){const s=t[i];if("*"!==s){if(null===r?Vm(n,s,!0):pS(r,s))return i}else e=i}return e}function Dd(n){const t=C()[16][6];if(!t.projection){const r=t.projection=Hs(n?n.length:1,null),i=r.slice();let s=t.child;for(;null!==s;){const o=n?iI(s,n):0;null!==o&&(i[o]?i[o].projectionNext=s:r[o]=s,i[o]=s),s=s.next}}}function Fn(n,t=0,e){const r=C(),i=re(),s=Li(i,20+n,16,null,e||null);null===s.projection&&(s.projection=t),Ju(),64!=(64&s.flags)&&function iS(n,t,e){Om(t[W],0,t,e,Em(n,e,t),Mm(e.parent||t[6],e,t))}(i,r,s)}function Ed(n,t,e){return wd(n,"",t,"",e),Ed}function wd(n,t,e,r,i){const s=C(),o=$i(s,t,e,r);return o!==U&&Nt(re(),Re(),s,n,o,s[W],i,!1),wd}function p_(n,t,e,r,i){const s=n[e+1],o=null===t;let a=r?fn(s):Wn(s),l=!1;for(;0!==a&&(!1===l||o);){const c=n[a+1];aI(n[a],t)&&(l=!0,n[a+1]=r?Hc(c):Bc(c)),a=r?fn(c):Wn(c)}l&&(n[e+1]=r?Bc(s):Hc(s))}function aI(n,t){return null===n||null==t||(Array.isArray(n)?n[1]:n)===t||!(!Array.isArray(n)||"string"!=typeof t)&&Ri(n,t)>=0}function Qn(n,t){return function pn(n,t,e,r){const i=C(),s=re(),o=function qn(n){const t=j.lFrame,e=t.bindingIndex;return t.bindingIndex=t.bindingIndex+n,e}(2);s.firstUpdatePass&&function E_(n,t,e,r){const i=n.data;if(null===i[e+1]){const s=i[ht()],o=function D_(n,t){return t>=n.expandoStartIndex}(n,e);(function M_(n,t){return 0!=(n.flags&(t?16:32))})(s,r)&&null===t&&!o&&(t=!1),t=function mI(n,t,e,r){const i=function tc(n){const t=j.lFrame.currentDirectiveIndex;return-1===t?null:n[t]}(n);let s=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(e=ao(e=xd(null,n,t,e,r),t.attrs,r),s=null);else{const o=t.directiveStylingLast;if(-1===o||n[o]!==i)if(e=xd(i,n,t,e,r),null===s){let l=function yI(n,t,e){const r=e?t.classBindings:t.styleBindings;if(0!==Wn(r))return n[fn(r)]}(n,t,r);void 0!==l&&Array.isArray(l)&&(l=xd(null,n,t,l[1],r),l=ao(l,t.attrs,r),function _I(n,t,e,r){n[fn(e?t.classBindings:t.styleBindings)]=r}(n,t,r,l))}else s=function vI(n,t,e){let r;const i=t.directiveEnd;for(let s=1+t.directiveStylingLast;s<i;s++)r=ao(r,n[s].hostAttrs,e);return ao(r,t.attrs,e)}(n,t,r)}return void 0!==s&&(r?t.residualClasses=s:t.residualStyles=s),e}(i,s,t,r),function sI(n,t,e,r,i,s){let o=s?t.classBindings:t.styleBindings,a=fn(o),l=Wn(o);n[r]=e;let c,u=!1;if(Array.isArray(e)){const d=e;c=d[1],(null===c||Ri(d,c)>0)&&(u=!0)}else c=e;if(i)if(0!==l){const f=fn(n[a+1]);n[r+1]=Na(f,a),0!==f&&(n[f+1]=jc(n[f+1],r)),n[a+1]=function _S(n,t){return 131071&n|t<<17}(n[a+1],r)}else n[r+1]=Na(a,0),0!==a&&(n[a+1]=jc(n[a+1],r)),a=r;else n[r+1]=Na(l,0),0===a?a=r:n[l+1]=jc(n[l+1],r),l=r;u&&(n[r+1]=Bc(n[r+1])),p_(n,c,r,!0),p_(n,c,r,!1),function oI(n,t,e,r,i){const s=i?n.residualClasses:n.residualStyles;null!=s&&"string"==typeof t&&Ri(s,t)>=0&&(e[r+1]=Hc(e[r+1]))}(t,c,n,r,s),o=Na(a,l),s?t.classBindings=o:t.styleBindings=o}(i,s,t,e,o,r)}}(s,n,o,r),t!==U&&at(i,o,t)&&function x_(n,t,e,r,i,s,o,a){if(!(3&t.type))return;const l=n.data,u=l[a+1];Ga(function Gm(n){return 1==(1&n)}(u)?A_(l,t,e,i,Wn(u),o):void 0)||(Ga(s)||function Um(n){return 2==(2&n)}(u)&&(s=A_(l,null,e,i,a,o)),function oS(n,t,e,r,i){const s=Fe(n);if(t)i?s?n.addClass(e,r):e.classList.add(r):s?n.removeClass(e,r):e.classList.remove(r);else{let o=-1===r.indexOf("-")?void 0:Ot.DashCase;if(null==i)s?n.removeStyle(e,r,o):e.style.removeProperty(r);else{const a="string"==typeof i&&i.endsWith("!important");a&&(i=i.slice(0,-10),o|=Ot.Important),s?n.setStyle(e,r,i,o):e.style.setProperty(r,i,a?"important":"")}}}(r,o,ca(ht(),e),i,s))}(s,s.data[ht()],i,i[W],n,i[o+1]=function DI(n,t){return null==n||("string"==typeof t?n+=t:"object"==typeof n&&(n=le(Rt(n)))),n}(t,e),r,o)}(n,t,null,!0),Qn}function xd(n,t,e,r,i){let s=null;const o=e.directiveEnd;let a=e.directiveStylingLast;for(-1===a?a=e.directiveStart:a++;a<o&&(s=t[a],r=ao(r,s.hostAttrs,i),s!==n);)a++;return null!==n&&(e.directiveStylingLast=a),r}function ao(n,t,e){const r=e?1:2;let i=-1;if(null!==t)for(let s=0;s<t.length;s++){const o=t[s];"number"==typeof o?i=o:i===r&&(Array.isArray(n)||(n=void 0===n?[]:["",n]),It(n,o,!!e||t[++s]))}return void 0===n?null:n}function A_(n,t,e,r,i,s){const o=null===t;let a;for(;i>0;){const l=n[i],u=Array.isArray(l),c=u?l[1]:l,d=null===c;let f=e[i+1];f===U&&(f=d?he:void 0);let h=d?fc(f,r):c===r?f:void 0;if(u&&!Ga(h)&&(h=fc(l,r)),Ga(h)&&(a=h,o))return a;const g=n[i+1];i=o?fn(g):Wn(g)}if(null!==t){let l=s?t.residualClasses:t.residualStyles;null!=l&&(a=fc(l,r))}return a}function Ga(n){return void 0!==n}function ut(n,t=""){const e=C(),r=re(),i=n+20,s=r.firstCreatePass?Li(r,i,1,t,null):r.data[i],o=e[i]=function Fc(n,t){return Fe(n)?n.createText(t):n.createTextNode(t)}(e[W],t);Ra(r,e,o,s),wn(s,!1)}function Kr(n){return Ad("",n,""),Kr}function Ad(n,t,e){const r=C(),i=$i(r,n,t,e);return i!==U&&Kn(r,ht(),i),Ad}function Md(n,t,e){const r=C();return at(r,Ei(),t)&&Nt(re(),Re(),r,n,t,r[W],e,!0),Md}const Qr=void 0;var UI=["en",[["a","p"],["AM","PM"],Qr],[["AM","PM"],Qr,Qr],[["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"]],Qr,[["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"]],Qr,[["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}",Qr,"{1} 'at' {0}",Qr],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function HI(n){const e=Math.floor(Math.abs(n)),r=n.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===r?1:5}];let es={};function W_(n){return n in es||(es[n]=ue.ng&&ue.ng.common&&ue.ng.common.locales&&ue.ng.common.locales[n]),es[n]}var S=(()=>((S=S||{})[S.LocaleId=0]="LocaleId",S[S.DayPeriodsFormat=1]="DayPeriodsFormat",S[S.DayPeriodsStandalone=2]="DayPeriodsStandalone",S[S.DaysFormat=3]="DaysFormat",S[S.DaysStandalone=4]="DaysStandalone",S[S.MonthsFormat=5]="MonthsFormat",S[S.MonthsStandalone=6]="MonthsStandalone",S[S.Eras=7]="Eras",S[S.FirstDayOfWeek=8]="FirstDayOfWeek",S[S.WeekendRange=9]="WeekendRange",S[S.DateFormat=10]="DateFormat",S[S.TimeFormat=11]="TimeFormat",S[S.DateTimeFormat=12]="DateTimeFormat",S[S.NumberSymbols=13]="NumberSymbols",S[S.NumberFormats=14]="NumberFormats",S[S.CurrencyCode=15]="CurrencyCode",S[S.CurrencySymbol=16]="CurrencySymbol",S[S.CurrencyName=17]="CurrencyName",S[S.Currencies=18]="Currencies",S[S.Directionality=19]="Directionality",S[S.PluralCase=20]="PluralCase",S[S.ExtraData=21]="ExtraData",S))();const $a="en-US";let K_=$a;function Id(n,t,e,r,i){if(n=z(n),Array.isArray(n))for(let s=0;s<n.length;s++)Id(n[s],t,e,r,i);else{const s=re(),o=C();let a=Hi(n)?n:z(n.provide),l=Dy(n);const u=qe(),c=1048575&u.providerIndexes,d=u.directiveStart,f=u.providerIndexes>>20;if(Hi(n)||!n.multi){const h=new ks(l,i,p),g=Rd(a,t,i?c:c+f,d);-1===g?(Da(Ls(u,o),s,a),Fd(s,n,t.length),t.push(a),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),e.push(h),o.push(h)):(e[g]=h,o[g]=h)}else{const h=Rd(a,t,c+f,d),g=Rd(a,t,c,c+f),m=h>=0&&e[h],_=g>=0&&e[g];if(i&&!_||!i&&!m){Da(Ls(u,o),s,a);const v=function HF(n,t,e,r,i){const s=new ks(n,e,p);return s.multi=[],s.index=t,s.componentProviders=0,_v(s,i,r&&!e),s}(i?jF:BF,e.length,i,r,l);!i&&_&&(e[g].providerFactory=v),Fd(s,n,t.length,0),t.push(a),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),e.push(v),o.push(v)}else Fd(s,n,h>-1?h:g,_v(e[i?g:h],l,!i&&r));!i&&r&&_&&e[g].componentProviders++}}}function Fd(n,t,e,r){const i=Hi(t),s=function dT(n){return!!n.useClass}(t);if(i||s){const l=(s?z(t.useClass):t).prototype.ngOnDestroy;if(l){const u=n.destroyHooks||(n.destroyHooks=[]);if(!i&&t.multi){const c=u.indexOf(e);-1===c?u.push(e,[r,l]):u[c+1].push(r,l)}else u.push(e,l)}}}function _v(n,t,e){return e&&n.componentProviders++,n.multi.push(t)-1}function Rd(n,t,e,r){for(let i=e;i<r;i++)if(t[i]===n)return i;return-1}function BF(n,t,e,r){return Od(this.multi,[])}function jF(n,t,e,r){const i=this.multi;let s;if(this.providerFactory){const o=this.providerFactory.componentProviders,a=Vs(e,e[1],this.providerFactory.index,r);s=a.slice(0,o),Od(i,s);for(let l=o;l<a.length;l++)s.push(a[l])}else s=[],Od(i,s);return s}function Od(n,t){for(let e=0;e<n.length;e++)t.push((0,n[e])());return t}function pe(n,t=[]){return e=>{e.providersResolver=(r,i)=>function VF(n,t,e){const r=re();if(r.firstCreatePass){const i=cn(n);Id(e,r.data,r.blueprint,i,!0),Id(t,r.data,r.blueprint,i,!1)}}(r,i?i(n):n,t)}}class vv{}class $F{resolveComponentFactory(t){throw function GF(n){const t=Error(`No component factory found for ${le(n)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=n,t}(t)}}let ns=(()=>{class n{}return n.NULL=new $F,n})();function qF(){return rs(qe(),C())}function rs(n,t){return new $(Kt(n,t))}let $=(()=>{class n{constructor(e){this.nativeElement=e}}return n.__NG_ELEMENT_ID__=qF,n})();function zF(n){return n instanceof $?n.nativeElement:n}class ho{}let mn=(()=>{class n{}return n.__NG_ELEMENT_ID__=()=>function KF(){const n=C(),e=Tt(qe().index,n);return function WF(n){return n[W]}(En(e)?e:n)}(),n})(),QF=(()=>{class n{}return n.\u0275prov=w({token:n,providedIn:"root",factory:()=>null}),n})();class br{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const YF=new br("13.1.3"),Nd={};function Qa(n,t,e,r,i=!1){for(;null!==e;){const s=t[e.index];if(null!==s&&r.push(Ve(s)),un(s))for(let a=10;a<s.length;a++){const l=s[a],u=l[1].firstChild;null!==u&&Qa(l[1],l,u,r)}const o=e.type;if(8&o)Qa(n,t,e.child,r);else if(32&o){const a=Sc(e,t);let l;for(;l=a();)r.push(l)}else if(16&o){const a=Fm(t,e);if(Array.isArray(a))r.push(...a);else{const l=Xs(t[16]);Qa(l[1],l,a,r,!0)}}e=i?e.projectionNext:e.next}return r}class po{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 Qa(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(un(t)){const e=t[8],r=e?e.indexOf(this):-1;r>-1&&(Oc(t,r),wa(e,r))}this._attachedToViewContainer=!1}Dm(this._lView[1],this._lView)}onDestroy(t){ry(this._lView[1],this._lView,null,t)}markForCheck(){nd(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){id(this._lView[1],this._lView,this.context)}checkNoChanges(){!function eT(n,t,e){fa(!0);try{id(n,t,e)}finally{fa(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new ne(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Y0(n,t){Js(n,t,t[W],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new ne(902,"");this._appRef=t}}class ZF extends po{constructor(t){super(t),this._view=t}detectChanges(){fy(this._view)}checkNoChanges(){!function tT(n){fa(!0);try{fy(n)}finally{fa(!1)}}(this._view)}get context(){return null}}class bv extends ns{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=rt(t);return new kd(e,this.ngModule)}}function Dv(n){const t=[];for(let e in n)n.hasOwnProperty(e)&&t.push({propName:n[e],templateName:e});return t}const JF=new F("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>pm});class kd extends vv{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=function mS(n){return n.map(gS).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return Dv(this.componentDef.inputs)}get outputs(){return Dv(this.componentDef.outputs)}create(t,e,r,i){const s=(i=i||this.ngModule)?function eR(n,t){return{get:(e,r,i)=>{const s=n.get(e,Nd,i);return s!==Nd||r===Nd?s:t.get(e,r,i)}}}(t,i.injector):t,o=s.get(ho,cg),a=s.get(QF,null),l=o.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",c=r?function ny(n,t,e){if(Fe(n))return n.selectRootElement(t,e===an.ShadowDom);let r="string"==typeof t?n.querySelector(t):t;return r.textContent="",r}(l,r,this.componentDef.encapsulation):Rc(o.createRenderer(null,this.componentDef),u,function XF(n){const t=n.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(u)),d=this.componentDef.onPush?576:528,f=function Ny(n,t){return{components:[],scheduler:n||pm,clean:nT,playerHandler:t||null,flags:0}}(),h=La(0,null,null,1,0,null,null,null,null,null),g=eo(null,h,f,d,null,null,o,l,a,s);let m,_;ha(g);try{const v=function Ry(n,t,e,r,i,s){const o=e[1];e[20]=n;const l=Li(o,20,2,"#host",null),u=l.mergedAttrs=t.hostAttrs;null!==u&&(Ba(l,u,!0),null!==n&&(_a(i,n,u),null!==l.classes&&Vc(i,n,l.classes),null!==l.styles&&Nm(i,n,l.styles)));const c=r.createRenderer(n,t),d=eo(e,ey(t),null,t.onPush?64:16,e[20],l,r,c,s||null,null);return o.firstCreatePass&&(Da(Ls(l,e),o,t.type),ly(o,l),uy(l,e.length,1)),Va(e,d),e[20]=d}(c,this.componentDef,g,o,l);if(c)if(r)_a(l,c,["ng-version",YF.full]);else{const{attrs:y,classes:E}=function yS(n){const t=[],e=[];let r=1,i=2;for(;r<n.length;){let s=n[r];if("string"==typeof s)2===i?""!==s&&t.push(s,n[++r]):8===i&&e.push(s);else{if(!dn(i))break;i=s}r++}return{attrs:t,classes:e}}(this.componentDef.selectors[0]);y&&_a(l,c,y),E&&E.length>0&&Vc(l,c,E.join(" "))}if(_=Qu(h,20),void 0!==e){const y=_.projection=[];for(let E=0;E<this.ngContentSelectors.length;E++){const T=e[E];y.push(null!=T?Array.from(T):null)}}m=function Oy(n,t,e,r,i){const s=e[1],o=function VS(n,t,e){const r=qe();n.firstCreatePass&&(e.providersResolver&&e.providersResolver(e),cy(n,r,t,Vi(n,t,1,null),e));const i=Vs(t,n,r.directiveStart,r);ot(i,t);const s=Kt(r,t);return s&&ot(s,t),i}(s,e,t);if(r.components.push(o),n[8]=o,i&&i.forEach(l=>l(o,t)),t.contentQueries){const l=qe();t.contentQueries(1,o,l.directiveStart)}const a=qe();return!s.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(pr(a.index),oy(e[1],a,0,a.directiveStart,a.directiveEnd,t),ay(t,o)),o}(v,this.componentDef,g,f,[DT]),to(h,g,null)}finally{pa()}return new nR(this.componentType,m,rs(_,g),g,_)}}class nR extends class UF{}{constructor(t,e,r,i,s){super(),this.location=r,this._rootLView=i,this._tNode=s,this.instance=e,this.hostView=this.changeDetectorRef=new ZF(i),this.componentType=t}get injector(){return new Ai(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class Yn{}class Ev{}const is=new Map;class Av extends Yn{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new bv(this);const r=qt(t);this._bootstrapComponents=Sn(r.bootstrap),this._r3Injector=by(t,e,[{provide:Yn,useValue:this},{provide:ns,useValue:this.componentFactoryResolver}],le(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=Je.THROW_IF_NOT_FOUND,r=G.Default){return t===Je||t===Yn||t===od?this:this._r3Injector.get(t,e,r)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Pd extends Ev{constructor(t){super(),this.moduleType=t,null!==qt(t)&&function iR(n){const t=new Set;!function e(r){const i=qt(r,!0),s=i.id;null!==s&&(function wv(n,t,e){if(t&&t!==e)throw new Error(`Duplicate module registered for ${n} - ${le(t)} vs ${le(t.name)}`)}(s,is.get(s),r),is.set(s,r));const o=Sn(i.imports);for(const a of o)t.has(a)||(t.add(a),e(a))}(n)}(t)}create(t){return new Av(this.moduleType,t)}}function Mv(n,t,e,r){return function Sv(n,t,e,r,i,s){const o=t+e;return at(n,o,i)?function In(n,t,e){return n[t]=e}(n,o+1,s?r.call(s,i):r(i)):function go(n,t){const e=n[t];return e===U?void 0:e}(n,o+1)}(C(),function ft(){const n=j.lFrame;let t=n.bindingRootIndex;return-1===t&&(t=n.bindingRootIndex=n.tView.bindingStartIndex),t}(),n,t,e,r)}function Ld(n){return t=>{setTimeout(n,void 0,t)}}const we=class bR extends Xe{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,r){var i,s,o;let a=t,l=e||(()=>null),u=r;if(t&&"object"==typeof t){const d=t;a=null===(i=d.next)||void 0===i?void 0:i.bind(d),l=null===(s=d.error)||void 0===s?void 0:s.bind(d),u=null===(o=d.complete)||void 0===o?void 0:o.bind(d)}this.__isAsync&&(l=Ld(l),a&&(a=Ld(a)),u&&(u=Ld(u)));const c=super.subscribe({next:a,error:l,complete:u});return t instanceof bt&&t.add(c),c}};function DR(){return this._results[Ui()]()}class Vd{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=Ui(),r=Vd.prototype;r[e]||(r[e]=DR)}get changes(){return this._changes||(this._changes=new we)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){const r=this;r.dirty=!1;const i=Qt(t);(this._changesDetected=!function xM(n,t,e){if(n.length!==t.length)return!1;for(let r=0;r<n.length;r++){let i=n[r],s=t[r];if(e&&(i=e(i),s=e(s)),s!==i)return!1}return!0}(r._results,i,e))&&(r._results=i,r.length=i.length,r.last=i[this.length-1],r.first=i[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;let Zn=(()=>{class n{}return n.__NG_ELEMENT_ID__=xR,n})();const ER=Zn,wR=class extends ER{constructor(t,e,r){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=r}createEmbeddedView(t){const e=this._declarationTContainer.tViews,r=eo(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);r[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(r[19]=s.createEmbeddedView(e)),to(e,r,t),new po(r)}};function xR(){return Ya(qe(),C())}function Ya(n,t){return 4&n.type?new wR(t,n,rs(n,t)):null}let yn=(()=>{class n{}return n.__NG_ELEMENT_ID__=AR,n})();function AR(){return kv(qe(),C())}const MR=yn,Ov=class extends MR{constructor(t,e,r){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=r}get element(){return rs(this._hostTNode,this._hostLView)}get injector(){return new Ai(this._hostTNode,this._hostLView)}get parentInjector(){const t=ba(this._hostTNode,this._hostLView);if(Ag(t)){const e=xi(t,this._hostLView),r=wi(t);return new Ai(e[1].data[r+8],e)}return new Ai(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=Nv(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,r){const i=t.createEmbeddedView(e||{});return this.insert(i,r),i}createComponent(t,e,r,i,s){const o=t&&!function js(n){return"function"==typeof n}(t);let a;if(o)a=e;else{const d=e||{};a=d.index,r=d.injector,i=d.projectableNodes,s=d.ngModuleRef}const l=o?t:new kd(rt(t)),u=r||this.parentInjector;if(!s&&null==l.ngModule&&u){const d=u.get(Yn,null);d&&(s=d)}const c=l.create(u,i,void 0,s);return this.insert(c.hostView,a),c}insert(t,e){const r=t._lView,i=r[1];if(function zA(n){return un(n[3])}(r)){const c=this.indexOf(t);if(-1!==c)this.detach(c);else{const d=r[3],f=new Ov(d,d[6],d[3]);f.detach(f.indexOf(t))}}const s=this._adjustIndex(e),o=this._lContainer;!function X0(n,t,e,r){const i=10+r,s=e.length;r>0&&(e[i-1][4]=t),r<s-10?(t[4]=e[i],Pg(e,10+r,t)):(e.push(t),t[4]=null),t[3]=e;const o=t[17];null!==o&&e!==o&&function J0(n,t){const e=n[9];t[16]!==t[3][3][16]&&(n[2]=!0),null===e?n[9]=[t]:e.push(t)}(o,t);const a=t[19];null!==a&&a.insertView(n),t[2]|=128}(i,r,o,s);const a=Pc(s,o),l=r[W],u=Fa(l,o[7]);return null!==u&&function Q0(n,t,e,r,i,s){r[0]=i,r[6]=t,Js(n,r,e,1,i,s)}(i,o[6],l,r,u,a),t.attachToViewContainerRef(),Pg(Bd(o),s,t),t}move(t,e){return this.insert(t,e)}indexOf(t){const e=Nv(this._lContainer);return null!==e?e.indexOf(t):-1}remove(t){const e=this._adjustIndex(t,-1),r=Oc(this._lContainer,e);r&&(wa(Bd(this._lContainer),e),Dm(r[1],r))}detach(t){const e=this._adjustIndex(t,-1),r=Oc(this._lContainer,e);return r&&null!=wa(Bd(this._lContainer),e)?new po(r):null}_adjustIndex(t,e=0){return null==t?this.length+e:t}};function Nv(n){return n[8]}function Bd(n){return n[8]||(n[8]=[])}function kv(n,t){let e;const r=t[n.index];if(un(r))e=r;else{let i;if(8&n.type)i=Ve(r);else{const s=t[W];i=s.createComment("");const o=Kt(n,t);zr(s,Fa(s,o),i,function rS(n,t){return Fe(n)?n.nextSibling(t):t.nextSibling}(s,o),!1)}t[n.index]=e=dy(r,t,i,n),Va(t,e)}return new Ov(e,n,t)}class jd{constructor(t){this.queryList=t,this.matches=null}clone(){return new jd(this.queryList)}setDirty(){this.queryList.setDirty()}}class Hd{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const r=null!==t.contentQueries?t.contentQueries[0]:e.length,i=[];for(let s=0;s<r;s++){const o=e.getByIndex(s);i.push(this.queries[o.indexInDeclarationView].clone())}return new Hd(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==jv(t,e).matches&&this.queries[e].setDirty()}}class Pv{constructor(t,e,r=null){this.predicate=t,this.flags=e,this.read=r}}class Ud{constructor(t=[]){this.queries=t}elementStart(t,e){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,e)}elementEnd(t){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}embeddedTView(t){let e=null;for(let r=0;r<this.length;r++){const i=null!==e?e.length:0,s=this.getByIndex(r).embeddedTView(t,i);s&&(s.indexInDeclarationView=r,null!==e?e.push(s):e=[s])}return null!==e?new Ud(e):null}template(t,e){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,e)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Gd{constructor(t,e=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,e){this.elementStart(t,e)}embeddedTView(t,e){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,e),new Gd(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const e=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==e;)r=r.parent;return e===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,e){const r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){const s=r[i];this.matchTNodeWithReadOption(t,e,IR(e,s)),this.matchTNodeWithReadOption(t,e,Ea(e,t,s,!1,!1))}else r===Zn?4&e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,Ea(e,t,r,!1,!1))}matchTNodeWithReadOption(t,e,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===$||i===yn||i===Zn&&4&e.type)this.addMatch(e.index,-2);else{const s=Ea(e,t,i,!1,!1);null!==s&&this.addMatch(e.index,s)}else this.addMatch(e.index,r)}}addMatch(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}function IR(n,t){const e=n.localNames;if(null!==e)for(let r=0;r<e.length;r+=2)if(e[r]===t)return e[r+1];return null}function RR(n,t,e,r){return-1===e?function FR(n,t){return 11&n.type?rs(n,t):4&n.type?Ya(n,t):null}(t,n):-2===e?function OR(n,t,e){return e===$?rs(t,n):e===Zn?Ya(t,n):e===yn?kv(t,n):void 0}(n,t,r):Vs(n,n[1],e,t)}function Lv(n,t,e,r){const i=t[19].queries[r];if(null===i.matches){const s=n.data,o=e.matches,a=[];for(let l=0;l<o.length;l+=2){const u=o[l];a.push(u<0?null:RR(t,s[u],o[l+1],e.metadata.read))}i.matches=a}return i.matches}function $d(n,t,e,r){const i=n.queries.getByIndex(e),s=i.matches;if(null!==s){const o=Lv(n,t,i,e);for(let a=0;a<s.length;a+=2){const l=s[a];if(l>0)r.push(o[a/2]);else{const u=s[a+1],c=t[-l];for(let d=10;d<c.length;d++){const f=c[d];f[17]===f[3]&&$d(f[1],f,u,r)}if(null!==c[9]){const d=c[9];for(let f=0;f<d.length;f++){const h=d[f];$d(h[1],h,u,r)}}}}}return r}function mt(n){const t=C(),e=re(),r=yg();nc(r+1);const i=jv(e,r);if(n.dirty&&dg(t)===(2==(2&i.metadata.flags))){if(null===i.matches)n.reset([]);else{const s=i.crossesNgTemplate?$d(e,t,r,[]):Lv(e,t,i,r);n.reset(s,zF),n.notifyOnChanges()}return!0}return!1}function Za(n,t,e){const r=re();r.firstCreatePass&&(Bv(r,new Pv(n,t,e),-1),2==(2&t)&&(r.staticViewQueries=!0)),Vv(r,C(),t)}function Zt(n,t,e,r){const i=re();if(i.firstCreatePass){const s=qe();Bv(i,new Pv(t,e,r),s.index),function kR(n,t){const e=n.contentQueries||(n.contentQueries=[]);t!==(e.length?e[e.length-1]:-1)&&e.push(n.queries.length-1,t)}(i,n),2==(2&e)&&(i.staticContentQueries=!0)}Vv(i,C(),e)}function yt(){return function NR(n,t){return n[19].queries[t].queryList}(C(),yg())}function Vv(n,t,e){const r=new Vd(4==(4&e));ry(n,t,r,r.destroy),null===t[19]&&(t[19]=new Hd),t[19].queries.push(new jd(r))}function Bv(n,t,e){null===n.queries&&(n.queries=new Ud),n.queries.track(new Gd(t,e))}function jv(n,t){return n.queries.getByIndex(t)}function Hv(n,t){return Ya(n,t)}function el(...n){}const tl=new F("Application Initializer");let os=(()=>{class n{constructor(e){this.appInits=e,this.resolve=el,this.reject=el,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i})}runInitializers(){if(this.initialized)return;const e=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i<this.appInits.length;i++){const s=this.appInits[i]();if(oo(s))e.push(s);else if(Cd(s)){const o=new Promise((a,l)=>{s.subscribe({complete:a,error:l})});e.push(o)}}Promise.all(e).then(()=>{r()}).catch(i=>{this.reject(i)}),0===e.length&&r(),this.initialized=!0}}return n.\u0275fac=function(e){return new(e||n)(D(tl,8))},n.\u0275prov=w({token:n,factory:n.\u0275fac}),n})();const _o=new F("AppId"),JR={provide:_o,useFactory:function XR(){return`${Yd()}${Yd()}${Yd()}`},deps:[]};function Yd(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const iC=new F("Platform Initializer"),Xt=new F("Platform ID"),Zd=new F("appBootstrapListener");let sC=(()=>{class n{log(e){console.log(e)}warn(e){console.warn(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=w({token:n,factory:n.\u0275fac}),n})();const Xn=new F("LocaleId"),oC=new F("DefaultCurrencyCode");class eO{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}let nl=(()=>{class n{compileModuleSync(e){return new Pd(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const r=this.compileModuleSync(e),s=Sn(qt(e).declarations).reduce((o,a)=>{const l=rt(a);return l&&o.push(new kd(l)),o},[]);return new eO(r,s)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=w({token:n,factory:n.\u0275fac}),n})();const nO=(()=>Promise.resolve(0))();function Xd(n){"undefined"==typeof Zone?nO.then(()=>{n&&n.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}class ce{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new we(!1),this.onMicrotaskEmpty=new we(!1),this.onStable=new we(!1),this.onError=new we(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&e,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function rO(){let n=ue.requestAnimationFrame,t=ue.cancelAnimationFrame;if("undefined"!=typeof Zone&&n&&t){const e=n[Zone.__symbol__("OriginalDelegate")];e&&(n=e);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function oO(n){const t=()=>{!function sO(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(ue,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,ef(n),n.isCheckStableRunning=!0,Jd(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),ef(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,r,i,s,o,a)=>{try{return aC(n),e.invokeTask(i,s,o,a)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||n.shouldCoalesceRunChangeDetection)&&t(),lC(n)}},onInvoke:(e,r,i,s,o,a,l)=>{try{return aC(n),e.invoke(i,s,o,a,l)}finally{n.shouldCoalesceRunChangeDetection&&t(),lC(n)}},onHasTask:(e,r,i,s)=>{e.hasTask(i,s),r===i&&("microTask"==s.change?(n._hasPendingMicrotasks=s.microTask,ef(n),Jd(n)):"macroTask"==s.change&&(n.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,r,i,s)=>(e.handleError(i,s),n.runOutsideAngular(()=>n.onError.emit(s)),!1)})}(i)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ce.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(ce.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,r){return this._inner.run(t,e,r)}runTask(t,e,r,i){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+i,t,iO,el,el);try{return s.runTask(o,e,r)}finally{s.cancelTask(o)}}runGuarded(t,e,r){return this._inner.runGuarded(t,e,r)}runOutsideAngular(t){return this._outer.run(t)}}const iO={};function Jd(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function ef(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function aC(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function lC(n){n._nesting--,Jd(n)}class aO{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new we,this.onMicrotaskEmpty=new we,this.onStable=new we,this.onError=new we}run(t,e,r){return t.apply(e,r)}runGuarded(t,e,r){return t.apply(e,r)}runOutsideAngular(t){return t()}runTask(t,e,r,i){return t.apply(e,r)}}let tf=(()=>{class n{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.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:()=>{ce.assertNotInAngularZone(),Xd(()=>{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())Xd(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(e)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,r,i){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==s),e(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:e,timeoutId:s,updateCb:i})}whenStable(e,r,i){if(i&&!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(e,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,r,i){return[]}}return n.\u0275fac=function(e){return new(e||n)(D(ce))},n.\u0275prov=w({token:n,factory:n.\u0275fac}),n})(),uC=(()=>{class n{constructor(){this._applications=new Map,nf.addToWindow(this)}registerApplication(e,r){this._applications.set(e,r)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,r=!0){return nf.findTestabilityInTree(this,e,r)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=w({token:n,factory:n.\u0275fac}),n})();class lO{addToWindow(t){}findTestabilityInTree(t,e,r){return null}}let _n,nf=new lO;const cC=new F("AllowMultipleToken");class dC{constructor(t,e){this.name=t,this.token=e}}function fC(n,t,e=[]){const r=`Platform: ${t}`,i=new F(r);return(s=[])=>{let o=hC();if(!o||o.injector.get(cC,!1))if(n)n(e.concat(s).concat({provide:i,useValue:!0}));else{const a=e.concat(s).concat({provide:i,useValue:!0},{provide:ad,useValue:"platform"});!function fO(n){if(_n&&!_n.destroyed&&!_n.injector.get(cC,!1))throw new ne(400,"");_n=n.get(pC);const t=n.get(iC,null);t&&t.forEach(e=>e())}(Je.create({providers:a,name:r}))}return function hO(n){const t=hC();if(!t)throw new ne(401,"");return t}()}}function hC(){return _n&&!_n.destroyed?_n:null}let pC=(()=>{class n{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,r){const a=function pO(n,t){let e;return e="noop"===n?new aO:("zone.js"===n?void 0:n)||new ce({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),e}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),l=[{provide:ce,useValue:a}];return a.run(()=>{const u=Je.create({providers:l,parent:this.injector,name:e.moduleType.name}),c=e.create(u),d=c.injector.get(zn,null);if(!d)throw new ne(402,"");return a.runOutsideAngular(()=>{const f=a.onError.subscribe({next:h=>{d.handleError(h)}});c.onDestroy(()=>{rf(this._modules,c),f.unsubscribe()})}),function gO(n,t,e){try{const r=e();return oo(r)?r.catch(i=>{throw t.runOutsideAngular(()=>n.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>n.handleError(r)),r}}(d,a,()=>{const f=c.injector.get(os);return f.runInitializers(),f.donePromise.then(()=>(function WI(n){Mt(n,"Expected localeId to be defined"),"string"==typeof n&&(K_=n.toLowerCase().replace(/_/g,"-"))}(c.injector.get(Xn,$a)||$a),this._moduleDoBootstrap(c),c))})})}bootstrapModule(e,r=[]){const i=gC({},r);return function cO(n,t,e){const r=new Pd(e);return Promise.resolve(r)}(0,0,e).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(e){const r=e.injector.get(vo);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!e.instance.ngDoBootstrap)throw new ne(403,"");e.instance.ngDoBootstrap(r)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ne(404,"");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}return n.\u0275fac=function(e){return new(e||n)(D(Je))},n.\u0275prov=w({token:n,factory:n.\u0275fac}),n})();function gC(n,t){return Array.isArray(t)?t.reduce(gC,n):Object.assign(Object.assign({},n),t)}let vo=(()=>{class n{constructor(e,r,i,s,o){this._zone=e,this._injector=r,this._exceptionHandler=i,this._componentFactoryResolver=s,this._initStatus=o,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 a=new de(u=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{u.next(this._stable),u.complete()})}),l=new de(u=>{let c;this._zone.runOutsideAngular(()=>{c=this._zone.onStable.subscribe(()=>{ce.assertNotInAngularZone(),Xd(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,u.next(!0))})})});const d=this._zone.onUnstable.subscribe(()=>{ce.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{u.next(!1)}))});return()=>{c.unsubscribe(),d.unsubscribe()}});this.isStable=ta(a,l.pipe(Wp()))}bootstrap(e,r){if(!this._initStatus.done)throw new ne(405,"");let i;i=e instanceof vv?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(i.componentType);const s=function dO(n){return n.isBoundToModule}(i)?void 0:this._injector.get(Yn),a=i.create(Je.NULL,[],r||i.selector,s),l=a.location.nativeElement,u=a.injector.get(tf,null),c=u&&a.injector.get(uC);return u&&c&&c.registerApplication(l,u),a.onDestroy(()=>{this.detachView(a.hostView),rf(this.components,a),c&&c.unregisterApplication(l)}),this._loadComponent(a),a}tick(){if(this._runningTick)throw new ne(101,"");try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const r=e;this._views.push(r),r.attachToAppRef(this)}detachView(e){const r=e;rf(this._views,r),r.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Zd,[]).concat(this._bootstrapListeners).forEach(i=>i(e))}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return n.\u0275fac=function(e){return new(e||n)(D(ce),D(Je),D(zn),D(ns),D(os))},n.\u0275prov=w({token:n,factory:n.\u0275fac}),n})();function rf(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}let yC=!0,rl=(()=>{class n{}return n.__NG_ELEMENT_ID__=_O,n})();function _O(n){return function vO(n,t,e){if(la(n)&&!e){const r=Tt(n.index,t);return new po(r,r)}return 47&n.type?new po(t[16],t):null}(qe(),C(),16==(16&n))}class wC{constructor(){}supports(t){return ro(t)}create(t){return new xO(t)}}const wO=(n,t)=>t;class xO{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||wO}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,r=this._removalsHead,i=0,s=null;for(;e||r;){const o=!r||e&&e.currentIndex<AC(r,i,s)?e:r,a=AC(o,i,s),l=o.currentIndex;if(o===r)i--,r=r._nextRemoved;else if(e=e._next,null==o.previousIndex)i++;else{s||(s=[]);const u=a-i,c=l-i;if(u!=c){for(let f=0;f<u;f++){const h=f<s.length?s[f]:s[f]=0,g=h+f;c<=g&&g<u&&(s[f]=h+1)}s[o.previousIndex]=c-u}}a!==l&&t(o,a,l)}}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=[]),!ro(t))throw new ne(900,"");return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,s,o,e=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)s=t[a],o=this._trackByFn(a,s),null!==e&&Object.is(e.trackById,o)?(r&&(e=this._verifyReinsertion(e,s,o,a)),Object.is(e.item,s)||this._addIdentityChange(e,s)):(e=this._mismatch(e,s,o,a),r=!0),e=e._next}else i=0,function RT(n,t){if(Array.isArray(n))for(let e=0;e<n.length;e++)t(n[e]);else{const e=n[Ui()]();let r;for(;!(r=e.next()).done;)t(r.value)}}(t,a=>{o=this._trackByFn(i,a),null!==e&&Object.is(e.trackById,o)?(r&&(e=this._verifyReinsertion(e,a,o,i)),Object.is(e.item,a)||this._addIdentityChange(e,a)):(e=this._mismatch(e,a,o,i),r=!0),e=e._next,i++}),this.length=i;return this._truncate(e),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,r,i){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,s,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,s,i)):t=this._addAfter(new AO(e,r),s,i),t}_verifyReinsertion(t,e,r,i){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==s?t=this._reinsertAfter(s,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),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,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,s=t._nextRemoved;return null===i?this._removalsHead=s:i._nextRemoved=s,null===s?this._removalsTail=i:s._prevRemoved=i,this._insertAfter(t,e,r),this._addToMoves(t,r),t}_moveAfter(t,e,r){return this._unlink(t),this._insertAfter(t,e,r),this._addToMoves(t,r),t}_addAfter(t,e,r){return this._insertAfter(t,e,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,r){const i=null===e?this._itHead:e._next;return t._next=i,t._prev=e,null===i?this._itTail=t:i._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new xC),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,r=t._next;return null===e?this._itHead=r:e._next=r,null===r?this._itTail=e:r._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 xC),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 AO{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 MO{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 r;for(r=this._head;null!==r;r=r._nextDup)if((null===e||e<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const e=t._prevDup,r=t._nextDup;return null===e?this._head=r:e._nextDup=r,null===r?this._tail=e:r._prevDup=e,null===this._head}}class xC{constructor(){this.map=new Map}put(t){const e=t.trackById;let r=this.map.get(e);r||(r=new MO,this.map.set(e,r)),r.add(t)}get(t,e){const i=this.map.get(t);return i?i.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 AC(n,t,e){const r=n.previousIndex;if(null===r)return r;let i=0;return e&&r<e.length&&(i=e[r]),r+t+i}class MC{constructor(){}supports(t){return t instanceof Map||hd(t)}create(){return new SO}}class SO{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||hd(t)))throw new ne(900,"")}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,(r,i)=>{if(e&&e.key===i)this._maybeAddToChanges(e,r),this._appendAfter=e,e=e._next;else{const s=this._getOrCreateRecordForKey(i,r);e=this._insertBeforeOrAppend(e,s)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let r=e;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const r=t._prev;return e._next=t,e._prev=r,t._prev=e,r&&(r._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 i=this._records.get(t);this._maybeAddToChanges(i,e);const s=i._prev,o=i._next;return s&&(s._next=o),o&&(o._prev=s),i._next=null,i._prev=null,i}const r=new TO(t);return this._records.set(t,r),r.currentValue=e,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,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(r=>e(t[r],r))}}class TO{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 SC(){return new as([new wC])}let as=(()=>{class n{constructor(e){this.factories=e}static create(e,r){if(null!=r){const i=r.factories.slice();e=e.concat(i)}return new n(e)}static extend(e){return{provide:n,useFactory:r=>n.create(e,r||SC()),deps:[[n,new $r,new Ft]]}}find(e){const r=this.factories.find(i=>i.supports(e));if(null!=r)return r;throw new ne(901,"")}}return n.\u0275prov=w({token:n,providedIn:"root",factory:SC}),n})();function TC(){return new Dr([new MC])}let Dr=(()=>{class n{constructor(e){this.factories=e}static create(e,r){if(r){const i=r.factories.slice();e=e.concat(i)}return new n(e)}static extend(e){return{provide:n,useFactory:r=>n.create(e,r||TC()),deps:[[n,new $r,new Ft]]}}find(e){const r=this.factories.find(s=>s.supports(e));if(r)return r;throw new ne(901,"")}}return n.\u0275prov=w({token:n,providedIn:"root",factory:TC}),n})();const IO=[new MC],RO=new as([new wC]),OO=new Dr(IO),NO=fC(null,"core",[{provide:Xt,useValue:"unknown"},{provide:pC,deps:[Je]},{provide:uC,deps:[]},{provide:sC,deps:[]}]),BO=[{provide:vo,useClass:vo,deps:[ce,Je,zn,ns,os]},{provide:JF,deps:[ce],useFactory:function jO(n){let t=[];return n.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:os,useClass:os,deps:[[new Ft,tl]]},{provide:nl,useClass:nl,deps:[]},JR,{provide:as,useFactory:function kO(){return RO},deps:[]},{provide:Dr,useFactory:function PO(){return OO},deps:[]},{provide:Xn,useFactory:function LO(n){return n||function VO(){return"undefined"!=typeof $localize&&$localize.locale||$a}()},deps:[[new zs(Xn),new Ft,new $r]]},{provide:oC,useValue:"USD"}];let HO=(()=>{class n{constructor(e){}}return n.\u0275fac=function(e){return new(e||n)(D(vo))},n.\u0275mod=De({type:n}),n.\u0275inj=Ce({providers:BO}),n})(),sl=null;function Nn(){return sl}const ye=new F("DocumentToken");let Zr=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=w({token:n,factory:function(){return function qO(){return D(IC)}()},providedIn:"platform"}),n})();const zO=new F("Location Initialized");let IC=(()=>{class n extends Zr{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Nn().getBaseHref(this._doc)}onPopState(e){const r=Nn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",e,!1),()=>r.removeEventListener("popstate",e)}onHashChange(e){const r=Nn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",e,!1),()=>r.removeEventListener("hashchange",e)}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(e){this.location.pathname=e}pushState(e,r,i){FC()?this._history.pushState(e,r,i):this.location.hash=i}replaceState(e,r,i){FC()?this._history.replaceState(e,r,i):this.location.hash=i}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return n.\u0275fac=function(e){return new(e||n)(D(ye))},n.\u0275prov=w({token:n,factory:function(){return function WO(){return new IC(D(ye))}()},providedIn:"platform"}),n})();function FC(){return!!window.history.pushState}function cf(n,t){if(0==n.length)return t;if(0==t.length)return n;let e=0;return n.endsWith("/")&&e++,t.startsWith("/")&&e++,2==e?n+t.substring(1):1==e?n+t:n+"/"+t}function RC(n){const t=n.match(/#|\?|$/),e=t&&t.index||n.length;return n.slice(0,e-("/"===n[e-1]?1:0))+n.slice(e)}function Jn(n){return n&&"?"!==n[0]?"?"+n:n}let ls=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=w({token:n,factory:function(){return function KO(n){const t=D(ye).location;return new OC(D(Zr),t&&t.origin||"")}()},providedIn:"root"}),n})();const df=new F("appBaseHref");let OC=(()=>{class n extends ls{constructor(e,r){if(super(),this._platformLocation=e,this._removeListenerFns=[],null==r&&(r=this._platformLocation.getBaseHrefFromDOM()),null==r)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=r}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return cf(this._baseHref,e)}path(e=!1){const r=this._platformLocation.pathname+Jn(this._platformLocation.search),i=this._platformLocation.hash;return i&&e?`${r}${i}`:r}pushState(e,r,i,s){const o=this.prepareExternalUrl(i+Jn(s));this._platformLocation.pushState(e,r,o)}replaceState(e,r,i,s){const o=this.prepareExternalUrl(i+Jn(s));this._platformLocation.replaceState(e,r,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(e=0){var r,i;null===(i=(r=this._platformLocation).historyGo)||void 0===i||i.call(r,e)}}return n.\u0275fac=function(e){return new(e||n)(D(Zr),D(df,8))},n.\u0275prov=w({token:n,factory:n.\u0275fac}),n})(),QO=(()=>{class n extends ls{constructor(e,r){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(e){const r=cf(this._baseHref,e);return r.length>0?"#"+r:r}pushState(e,r,i,s){let o=this.prepareExternalUrl(i+Jn(s));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(e,r,o)}replaceState(e,r,i,s){let o=this.prepareExternalUrl(i+Jn(s));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(e,r,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(e=0){var r,i;null===(i=(r=this._platformLocation).historyGo)||void 0===i||i.call(r,e)}}return n.\u0275fac=function(e){return new(e||n)(D(Zr),D(df,8))},n.\u0275prov=w({token:n,factory:n.\u0275fac}),n})(),ff=(()=>{class n{constructor(e,r){this._subject=new we,this._urlChangeListeners=[],this._platformStrategy=e;const i=this._platformStrategy.getBaseHref();this._platformLocation=r,this._baseHref=RC(NC(i)),this._platformStrategy.onPopState(s=>{this._subject.emit({url:this.path(!0),pop:!0,state:s.state,type:s.type})})}path(e=!1){return this.normalize(this._platformStrategy.path(e))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(e,r=""){return this.path()==this.normalize(e+Jn(r))}normalize(e){return n.stripTrailingSlash(function ZO(n,t){return n&&t.startsWith(n)?t.substring(n.length):t}(this._baseHref,NC(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}go(e,r="",i=null){this._platformStrategy.pushState(i,"",e,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Jn(r)),i)}replaceState(e,r="",i=null){this._platformStrategy.replaceState(i,"",e,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Jn(r)),i)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(e=0){var r,i;null===(i=(r=this._platformStrategy).historyGo)||void 0===i||i.call(r,e)}onUrlChange(e){this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}))}_notifyUrlChangeListeners(e="",r){this._urlChangeListeners.forEach(i=>i(e,r))}subscribe(e,r,i){return this._subject.subscribe({next:e,error:r,complete:i})}}return n.normalizeQueryParams=Jn,n.joinWithSlash=cf,n.stripTrailingSlash=RC,n.\u0275fac=function(e){return new(e||n)(D(ls),D(Zr))},n.\u0275prov=w({token:n,factory:function(){return function YO(){return new ff(D(ls),D(Zr))}()},providedIn:"root"}),n})();function NC(n){return n.replace(/\/index.html$/,"")}var He=(()=>((He=He||{})[He.Zero=0]="Zero",He[He.One=1]="One",He[He.Two=2]="Two",He[He.Few=3]="Few",He[He.Many=4]="Many",He[He.Other=5]="Other",He))();const iN=function z_(n){return function gt(n){const t=function GI(n){return n.toLowerCase().replace(/_/g,"-")}(n);let e=W_(t);if(e)return e;const r=t.split("-")[0];if(e=W_(r),e)return e;if("en"===r)return UI;throw new Error(`Missing locale data for the locale "${n}".`)}(n)[S.PluralCase]};class gl{}let ON=(()=>{class n extends gl{constructor(e){super(),this.locale=e}getPluralCategory(e,r){switch(iN(r||this.locale)(e)){case He.Zero:return"zero";case He.One:return"one";case He.Two:return"two";case He.Few:return"few";case He.Many:return"many";default:return"other"}}}return n.\u0275fac=function(e){return new(e||n)(D(Xn))},n.\u0275prov=w({token:n,factory:n.\u0275fac}),n})();class PN{constructor(t,e,r,i){this.$implicit=t,this.ngForOf=e,this.index=r,this.count=i}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 GC=(()=>{class n{constructor(e,r,i){this._viewContainer=e,this._template=r,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const r=this._viewContainer;e.forEachOperation((i,s,o)=>{if(null==i.previousIndex)r.createEmbeddedView(this._template,new PN(i.item,this._ngForOf,-1,-1),null===o?void 0:o);else if(null==o)r.remove(null===s?void 0:s);else if(null!==s){const a=r.get(s);r.move(a,o),$C(a,i)}});for(let i=0,s=r.length;i<s;i++){const a=r.get(i).context;a.index=i,a.count=s,a.ngForOf=this._ngForOf}e.forEachIdentityChange(i=>{$C(r.get(i.currentIndex),i)})}static ngTemplateContextGuard(e,r){return!0}}return n.\u0275fac=function(e){return new(e||n)(p(yn),p(Zn),p(as))},n.\u0275dir=b({type:n,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),n})();function $C(n,t){n.context.$implicit=t.item}let Df=(()=>{class n{constructor(e,r){this._viewContainer=e,this._context=new LN,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){qC("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){qC("ngIfElse",e),this._elseTemplateRef=e,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(e,r){return!0}}return n.\u0275fac=function(e){return new(e||n)(p(yn),p(Zn))},n.\u0275dir=b({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),n})();class LN{constructor(){this.$implicit=null,this.ngIf=null}}function qC(n,t){if(t&&!t.createEmbeddedView)throw new Error(`${n} must be a TemplateRef, but received '${le(t)}'.`)}class Ef{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let ml=(()=>{class n{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}_matchCase(e){const r=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||r,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),r}_updateDefaultCases(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(let r=0;r<this._defaultViews.length;r++)this._defaultViews[r].enforceState(e)}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=b({type:n,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),n})(),zC=(()=>{class n{constructor(e,r,i){this.ngSwitch=i,i._addCase(),this._view=new Ef(e,r)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return n.\u0275fac=function(e){return new(e||n)(p(yn),p(Zn),p(ml,9))},n.\u0275dir=b({type:n,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),n})(),QC=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=De({type:n}),n.\u0275inj=Ce({providers:[{provide:gl,useClass:ON}]}),n})();const YC="browser";function Xr(n){return n===YC}function us(n){return"server"===n}let dk=(()=>{class n{}return n.\u0275prov=w({token:n,providedIn:"root",factory:()=>new fk(D(ye),window)}),n})();class fk{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 hk(n,t){const e=n.getElementById(t)||n.getElementsByName(t)[0];if(e)return e;if("function"==typeof n.createTreeWalker&&n.body&&(n.body.createShadowRoot||n.body.attachShadow)){const r=n.createTreeWalker(n.body,NodeFilter.SHOW_ELEMENT);let i=r.currentNode;for(;i;){const s=i.shadowRoot;if(s){const o=s.getElementById(t)||s.querySelector(`[name="${t}"]`);if(o)return o}i=r.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(),r=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(r-s[0],i-s[1])}attemptFocus(t){return t.focus(),this.document.activeElement===t}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=ZC(this.window.history)||ZC(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 ZC(n){return Object.getOwnPropertyDescriptor(n,"scrollRestoration")}class Mf extends class gk extends class $O{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function GO(n){sl||(sl=n)}(new Mf)}onAndCancel(t,e,r){return t.addEventListener(e,r,!1),()=>{t.removeEventListener(e,r,!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=function mk(){return Do=Do||document.querySelector("base"),Do?Do.getAttribute("href"):null}();return null==e?null:function yk(n){yl=yl||document.createElement("a"),yl.setAttribute("href",n);const t=yl.pathname;return"/"===t.charAt(0)?t:`/${t}`}(e)}resetBaseElement(){Do=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function NN(n,t){t=encodeURIComponent(t);for(const e of n.split(";")){const r=e.indexOf("="),[i,s]=-1==r?[e,""]:[e.slice(0,r),e.slice(r+1)];if(i.trim()===t)return decodeURIComponent(s)}return null}(document.cookie,t)}}let yl,Do=null;const XC=new F("TRANSITION_ID"),vk=[{provide:tl,useFactory:function _k(n,t,e){return()=>{e.get(os).donePromise.then(()=>{const r=Nn(),i=t.querySelectorAll(`style[ng-transition="${n}"]`);for(let s=0;s<i.length;s++)r.remove(i[s])})}},deps:[XC,ye,Je],multi:!0}];class Sf{static init(){!function uO(n){nf=n}(new Sf)}addToWindow(t){ue.getAngularTestability=(r,i=!0)=>{const s=t.findTestabilityInTree(r,i);if(null==s)throw new Error("Could not find testability for element.");return s},ue.getAllAngularTestabilities=()=>t.getAllTestabilities(),ue.getAllAngularRootElements=()=>t.getAllRootElements(),ue.frameworkStabilizers||(ue.frameworkStabilizers=[]),ue.frameworkStabilizers.push(r=>{const i=ue.getAllAngularTestabilities();let s=i.length,o=!1;const a=function(l){o=o||l,s--,0==s&&r(o)};i.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(t,e,r){if(null==e)return null;const i=t.getTestability(e);return null!=i?i:r?Nn().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}let Ck=(()=>{class n{build(){return new XMLHttpRequest}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=w({token:n,factory:n.\u0275fac}),n})();const _l=new F("EventManagerPlugins");let vl=(()=>{class n{constructor(e,r){this._zone=r,this._eventNameToPlugin=new Map,e.forEach(i=>i.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,r,i){return this._findPluginFor(r).addEventListener(e,r,i)}addGlobalEventListener(e,r,i){return this._findPluginFor(r).addGlobalEventListener(e,r,i)}getZone(){return this._zone}_findPluginFor(e){const r=this._eventNameToPlugin.get(e);if(r)return r;const i=this._plugins;for(let s=0;s<i.length;s++){const o=i[s];if(o.supports(e))return this._eventNameToPlugin.set(e,o),o}throw new Error(`No event manager plugin found for event ${e}`)}}return n.\u0275fac=function(e){return new(e||n)(D(_l),D(ce))},n.\u0275prov=w({token:n,factory:n.\u0275fac}),n})();class JC{constructor(t){this._doc=t}addGlobalEventListener(t,e,r){const i=Nn().getGlobalEventTarget(this._doc,t);if(!i)throw new Error(`Unsupported event target ${i} for event ${e}`);return this.addEventListener(i,e,r)}}let eb=(()=>{class n{constructor(){this._stylesSet=new Set}addStyles(e){const r=new Set;e.forEach(i=>{this._stylesSet.has(i)||(this._stylesSet.add(i),r.add(i))}),this.onStylesAdded(r)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=w({token:n,factory:n.\u0275fac}),n})(),Eo=(()=>{class n extends eb{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,r,i){e.forEach(s=>{const o=this._doc.createElement("style");o.textContent=s,i.push(r.appendChild(o))})}addHost(e){const r=[];this._addStylesToHost(this._stylesSet,e,r),this._hostNodes.set(e,r)}removeHost(e){const r=this._hostNodes.get(e);r&&r.forEach(tb),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((r,i)=>{this._addStylesToHost(e,i,r)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(tb))}}return n.\u0275fac=function(e){return new(e||n)(D(ye))},n.\u0275prov=w({token:n,factory:n.\u0275fac}),n})();function tb(n){Nn().remove(n)}const Tf={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/"},If=/%COMP%/g;function Cl(n,t,e){for(let r=0;r<t.length;r++){let i=t[r];Array.isArray(i)?Cl(n,i,e):(i=i.replace(If,n),e.push(i))}return e}function ib(n){return t=>{if("__ngUnwrap__"===t)return n;!1===n(t)&&(t.preventDefault(),t.returnValue=!1)}}let bl=(()=>{class n{constructor(e,r,i){this.eventManager=e,this.sharedStylesHost=r,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new Ff(e)}createRenderer(e,r){if(!e||!r)return this.defaultRenderer;switch(r.encapsulation){case an.Emulated:{let i=this.rendererByCompId.get(r.id);return i||(i=new Ak(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,i)),i.applyToHost(e),i}case 1:case an.ShadowDom:return new Mk(this.eventManager,this.sharedStylesHost,e,r);default:if(!this.rendererByCompId.has(r.id)){const i=Cl(r.id,r.styles,[]);this.sharedStylesHost.addStyles(i),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return n.\u0275fac=function(e){return new(e||n)(D(vl),D(Eo),D(_o))},n.\u0275prov=w({token:n,factory:n.\u0275fac}),n})();class Ff{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,e){return e?document.createElementNS(Tf[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,r){t&&t.insertBefore(e,r)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let r="string"==typeof t?document.querySelector(t):t;if(!r)throw new Error(`The selector "${t}" did not match any elements`);return e||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,r,i){if(i){e=i+":"+e;const s=Tf[i];s?t.setAttributeNS(s,e,r):t.setAttribute(e,r)}else t.setAttribute(e,r)}removeAttribute(t,e,r){if(r){const i=Tf[r];i?t.removeAttributeNS(i,e):t.removeAttribute(`${r}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,r,i){i&(Ot.DashCase|Ot.Important)?t.style.setProperty(e,r,i&Ot.Important?"important":""):t.style[e]=r}removeStyle(t,e,r){r&Ot.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,r){t[e]=r}setValue(t,e){t.nodeValue=e}listen(t,e,r){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,ib(r)):this.eventManager.addEventListener(t,e,ib(r))}}class Ak extends Ff{constructor(t,e,r,i){super(t),this.component=r;const s=Cl(i+"-"+r.id,r.styles,[]);e.addStyles(s),this.contentAttr=function Ek(n){return"_ngcontent-%COMP%".replace(If,n)}(i+"-"+r.id),this.hostAttr=function wk(n){return"_nghost-%COMP%".replace(If,n)}(i+"-"+r.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const r=super.createElement(t,e);return super.setAttribute(r,this.contentAttr,""),r}}class Mk extends Ff{constructor(t,e,r,i){super(t),this.sharedStylesHost=e,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=Cl(i.id,i.styles,[]);for(let o=0;o<s.length;o++){const a=document.createElement("style");a.textContent=s[o],this.shadowRoot.appendChild(a)}}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,r){return super.insertBefore(this.nodeOrShadowRoot(t),e,r)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let Sk=(()=>{class n extends JC{constructor(e){super(e)}supports(e){return!0}addEventListener(e,r,i){return e.addEventListener(r,i,!1),()=>this.removeEventListener(e,r,i)}removeEventListener(e,r,i){return e.removeEventListener(r,i)}}return n.\u0275fac=function(e){return new(e||n)(D(ye))},n.\u0275prov=w({token:n,factory:n.\u0275fac}),n})();const ob=["alt","control","meta","shift"],Ik={"\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"},ab={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"},Fk={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let Rk=(()=>{class n extends JC{constructor(e){super(e)}supports(e){return null!=n.parseEventName(e)}addEventListener(e,r,i){const s=n.parseEventName(r),o=n.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Nn().onAndCancel(e,s.domEventName,o))}static parseEventName(e){const r=e.toLowerCase().split("."),i=r.shift();if(0===r.length||"keydown"!==i&&"keyup"!==i)return null;const s=n._normalizeKey(r.pop());let o="";if(ob.forEach(l=>{const u=r.indexOf(l);u>-1&&(r.splice(u,1),o+=l+".")}),o+=s,0!=r.length||0===s.length)return null;const a={};return a.domEventName=i,a.fullKey=o,a}static getEventFullKey(e){let r="",i=function Ok(n){let t=n.key;if(null==t){if(t=n.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===n.location&&ab.hasOwnProperty(t)&&(t=ab[t]))}return Ik[t]||t}(e);return i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),ob.forEach(s=>{s!=i&&Fk[s](e)&&(r+=s+".")}),r+=i,r}static eventCallback(e,r,i){return s=>{n.getEventFullKey(s)===e&&i.runGuarded(()=>r(s))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return n.\u0275fac=function(e){return new(e||n)(D(ye))},n.\u0275prov=w({token:n,factory:n.\u0275fac}),n})();const Lk=fC(NO,"browser",[{provide:Xt,useValue:YC},{provide:iC,useValue:function Nk(){Mf.makeCurrent(),Sf.init()},multi:!0},{provide:ye,useFactory:function Pk(){return function UA(n){Wu=n}(document),document},deps:[]}]),Vk=[{provide:ad,useValue:"root"},{provide:zn,useFactory:function kk(){return new zn},deps:[]},{provide:_l,useClass:Sk,multi:!0,deps:[ye,ce,Xt]},{provide:_l,useClass:Rk,multi:!0,deps:[ye]},{provide:bl,useClass:bl,deps:[vl,Eo,_o]},{provide:ho,useExisting:bl},{provide:eb,useExisting:Eo},{provide:Eo,useClass:Eo,deps:[ye]},{provide:tf,useClass:tf,deps:[ce]},{provide:vl,useClass:vl,deps:[_l,ce]},{provide:class pk{},useClass:Ck,deps:[]}];let lb=(()=>{class n{constructor(e){if(e)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:n,providers:[{provide:_o,useValue:e.appId},{provide:XC,useExisting:_o},vk]}}}return n.\u0275fac=function(e){return new(e||n)(D(n,12))},n.\u0275mod=De({type:n}),n.\u0275inj=Ce({providers:Vk,imports:[QC,HO]}),n})();"undefined"!=typeof window&&window;let Dl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=w({token:n,factory:function(e){let r=null;return r=e?new(e||n):D(db),r},providedIn:"root"}),n})(),db=(()=>{class n extends Dl{constructor(e){super(),this._doc=e}sanitize(e,r){if(null==r)return null;switch(e){case ae.NONE:return r;case ae.HTML:return An(r,"HTML")?Rt(r):sm(this._doc,String(r)).toString();case ae.STYLE:return An(r,"Style")?Rt(r):r;case ae.SCRIPT:if(An(r,"Script"))return Rt(r);throw new Error("unsafe value used in a script context");case ae.URL:return Zg(r),An(r,"URL")?Rt(r):Ks(String(r));case ae.RESOURCE_URL:if(An(r,"ResourceURL"))return Rt(r);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return function n0(n){return new ZM(n)}(e)}bypassSecurityTrustStyle(e){return function r0(n){return new XM(n)}(e)}bypassSecurityTrustScript(e){return function s0(n){return new JM(n)}(e)}bypassSecurityTrustUrl(e){return function o0(n){return new e0(n)}(e)}bypassSecurityTrustResourceUrl(e){return function a0(n){return new t0(n)}(e)}}return n.\u0275fac=function(e){return new(e||n)(D(ye))},n.\u0275prov=w({token:n,factory:function(e){let r=null;return r=e?new e:function Kk(n){return new db(n.get(ye))}(D(Je)),r},providedIn:"root"}),n})();function B(...n){return Qe(n,Ss(n))}class tn extends Xe{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return!e.closed&&t.next(this._value),e}getValue(){const{hasError:t,thrownError:e,_value:r}=this;if(t)throw e;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}const{isArray:Qk}=Array,{getPrototypeOf:Yk,prototype:Zk,keys:Xk}=Object;function fb(n){if(1===n.length){const t=n[0];if(Qk(t))return{args:t,keys:null};if(function Jk(n){return n&&"object"==typeof n&&Yk(n)===Zk}(t)){const e=Xk(t);return{args:e.map(r=>t[r]),keys:e}}}return{args:n,keys:null}}const{isArray:eP}=Array;function Of(n){return ee(t=>function tP(n,t){return eP(t)?n(...t):n(t)}(n,t))}function hb(n,t){return n.reduce((e,r,i)=>(e[r]=t[i],e),{})}function pb(n,t,e){n?Hn(e,n,t):t()}const El=xs(n=>function(){n(this),this.name="EmptyError",this.message="no elements in sequence"});function Nf(...n){return function iP(){return Ms(1)}()(Qe(n,Ss(n)))}function gb(n){return new de(t=>{$t(n()).subscribe(t)})}function mb(){return Ge((n,t)=>{let e=null;n._refCount++;const r=new Le(t,void 0,void 0,void 0,()=>{if(!n||n._refCount<=0||0<--n._refCount)return void(e=null);const i=n._connection,s=e;e=null,i&&(!s||i===s)&&i.unsubscribe(),t.unsubscribe()});n.subscribe(r),r.closed||(e=n.connect())})}class sP extends de{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,Ip(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,null==t||t.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new bt;const e=this.getSubject();t.add(this.source.subscribe(new Le(e,void 0,()=>{this._teardown(),e.complete()},r=>{this._teardown(),e.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=bt.EMPTY)}return t}refCount(){return mb()(this)}}function Jr(n,t){return Ge((e,r)=>{let i=null,s=0,o=!1;const a=()=>o&&!i&&r.complete();e.subscribe(new Le(r,l=>{null==i||i.unsubscribe();let u=0;const c=s++;$t(n(l,c)).subscribe(i=new Le(r,d=>r.next(t?t(l,d,c,u++):d),()=>{i=null,a()}))},()=>{o=!0,a()}))})}function wl(...n){const t=Ss(n);return Ge((e,r)=>{(t?Nf(n,e,t):Nf(n,e)).subscribe(r)})}function oP(n,t,e,r,i){return(s,o)=>{let a=e,l=t,u=0;s.subscribe(new Le(o,c=>{const d=u++;l=a?n(l,c,d):(a=!0,c),r&&o.next(l)},i&&(()=>{a&&o.next(l),o.complete()})))}}function yb(n,t){return Ge(oP(n,t,arguments.length>=2,!0))}function kn(n,t){return Ge((e,r)=>{let i=0;e.subscribe(new Le(r,s=>n.call(t,s,i++)&&r.next(s)))})}function tr(n){return Ge((t,e)=>{let s,r=null,i=!1;r=t.subscribe(new Le(e,void 0,void 0,o=>{s=$t(n(o,tr(n)(t))),r?(r.unsubscribe(),r=null,s.subscribe(e)):i=!0})),i&&(r.unsubscribe(),r=null,s.subscribe(e))})}function cs(n,t){return se(t)?$e(n,t,1):$e(n,1)}function kf(n){return n<=0?()=>Dn:Ge((t,e)=>{let r=[];t.subscribe(new Le(e,i=>{r.push(i),n<r.length&&r.shift()},()=>{for(const i of r)e.next(i);e.complete()},void 0,()=>{r=null}))})}function _b(n=aP){return Ge((t,e)=>{let r=!1;t.subscribe(new Le(e,i=>{r=!0,e.next(i)},()=>r?e.complete():e.error(n())))})}function aP(){return new El}function vb(n){return Ge((t,e)=>{let r=!1;t.subscribe(new Le(e,i=>{r=!0,e.next(i)},()=>{r||e.next(n),e.complete()}))})}function ds(n,t){const e=arguments.length>=2;return r=>r.pipe(n?kn((i,s)=>n(i,s,r)):Pr,mi(1),e?vb(t):_b(()=>new El))}function et(n,t,e){const r=se(n)||t||e?{next:n,error:t,complete:e}:n;return r?Ge((i,s)=>{var o;null===(o=r.subscribe)||void 0===o||o.call(r);let a=!0;i.subscribe(new Le(s,l=>{var u;null===(u=r.next)||void 0===u||u.call(r,l),s.next(l)},()=>{var l;a=!1,null===(l=r.complete)||void 0===l||l.call(r),s.complete()},l=>{var u;a=!1,null===(u=r.error)||void 0===u||u.call(r,l),s.error(l)},()=>{var l,u;a&&(null===(l=r.unsubscribe)||void 0===l||l.call(r)),null===(u=r.finalize)||void 0===u||u.call(r)}))}):Pr}function Cb(n){return Ge((t,e)=>{try{t.subscribe(e)}finally{e.add(n)}})}class nr{constructor(t,e){this.id=t,this.url=e}}class Pf extends nr{constructor(t,e,r="imperative",i=null){super(t,e),this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class wo extends nr{constructor(t,e,r){super(t,e),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class bb extends nr{constructor(t,e,r){super(t,e),this.reason=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class uP extends nr{constructor(t,e,r){super(t,e),this.error=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class cP extends nr{constructor(t,e,r,i){super(t,e),this.urlAfterRedirects=r,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class dP extends nr{constructor(t,e,r,i){super(t,e),this.urlAfterRedirects=r,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class fP extends nr{constructor(t,e,r,i,s){super(t,e),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class hP extends nr{constructor(t,e,r,i){super(t,e),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class pP extends nr{constructor(t,e,r,i){super(t,e),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Db{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Eb{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class gP{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class mP{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class yP{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class _P{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class wb{constructor(t,e,r){this.routerEvent=t,this.position=e,this.anchor=r}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const Y="primary";class vP{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 fs(n){return new vP(n)}const xb="ngNavigationCancelingError";function Lf(n){const t=Error("NavigationCancelingError: "+n);return t[xb]=!0,t}function bP(n,t,e){const r=e.path.split("/");if(r.length>n.length||"full"===e.pathMatch&&(t.hasChildren()||r.length<n.length))return null;const i={};for(let s=0;s<r.length;s++){const o=r[s],a=n[s];if(o.startsWith(":"))i[o.substring(1)]=a;else if(o!==a.path)return null}return{consumed:n.slice(0,r.length),posParams:i}}function Pn(n,t){const e=n?Object.keys(n):void 0,r=t?Object.keys(t):void 0;if(!e||!r||e.length!=r.length)return!1;let i;for(let s=0;s<e.length;s++)if(i=e[s],!Ab(n[i],t[i]))return!1;return!0}function Ab(n,t){if(Array.isArray(n)&&Array.isArray(t)){if(n.length!==t.length)return!1;const e=[...n].sort(),r=[...t].sort();return e.every((i,s)=>r[s]===i)}return n===t}function Mb(n){return Array.prototype.concat.apply([],n)}function Sb(n){return n.length>0?n[n.length-1]:null}function tt(n,t){for(const e in n)n.hasOwnProperty(e)&&t(n[e],e)}function Ln(n){return Cd(n)?n:oo(n)?Qe(Promise.resolve(n)):B(n)}const wP={exact:function Fb(n,t,e){if(!ti(n.segments,t.segments)||!xl(n.segments,t.segments,e)||n.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!n.children[r]||!Fb(n.children[r],t.children[r],e))return!1;return!0},subset:Rb},Tb={exact:function xP(n,t){return Pn(n,t)},subset:function AP(n,t){return Object.keys(t).length<=Object.keys(n).length&&Object.keys(t).every(e=>Ab(n[e],t[e]))},ignored:()=>!0};function Ib(n,t,e){return wP[e.paths](n.root,t.root,e.matrixParams)&&Tb[e.queryParams](n.queryParams,t.queryParams)&&!("exact"===e.fragment&&n.fragment!==t.fragment)}function Rb(n,t,e){return Ob(n,t,t.segments,e)}function Ob(n,t,e,r){if(n.segments.length>e.length){const i=n.segments.slice(0,e.length);return!(!ti(i,e)||t.hasChildren()||!xl(i,e,r))}if(n.segments.length===e.length){if(!ti(n.segments,e)||!xl(n.segments,e,r))return!1;for(const i in t.children)if(!n.children[i]||!Rb(n.children[i],t.children[i],r))return!1;return!0}{const i=e.slice(0,n.segments.length),s=e.slice(n.segments.length);return!!(ti(n.segments,i)&&xl(n.segments,i,r)&&n.children[Y])&&Ob(n.children[Y],t,s,r)}}function xl(n,t,e){return t.every((r,i)=>Tb[e](n[i].parameters,r.parameters))}class ei{constructor(t,e,r){this.root=t,this.queryParams=e,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=fs(this.queryParams)),this._queryParamMap}toString(){return TP.serialize(this)}}class J{constructor(t,e){this.segments=t,this.children=e,this.parent=null,tt(e,(r,i)=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Al(this)}}class xo{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=fs(this.parameters)),this._parameterMap}toString(){return Vb(this)}}function ti(n,t){return n.length===t.length&&n.every((e,r)=>e.path===t[r].path)}class Nb{}class kb{parse(t){const e=new VP(t);return new ei(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){const e=`/${Ao(t.root,!0)}`,r=function RP(n){const t=Object.keys(n).map(e=>{const r=n[e];return Array.isArray(r)?r.map(i=>`${Ml(e)}=${Ml(i)}`).join("&"):`${Ml(e)}=${Ml(r)}`}).filter(e=>!!e);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${e}${r}${"string"==typeof t.fragment?`#${function IP(n){return encodeURI(n)}(t.fragment)}`:""}`}}const TP=new kb;function Al(n){return n.segments.map(t=>Vb(t)).join("/")}function Ao(n,t){if(!n.hasChildren())return Al(n);if(t){const e=n.children[Y]?Ao(n.children[Y],!1):"",r=[];return tt(n.children,(i,s)=>{s!==Y&&r.push(`${s}:${Ao(i,!1)}`)}),r.length>0?`${e}(${r.join("//")})`:e}{const e=function SP(n,t){let e=[];return tt(n.children,(r,i)=>{i===Y&&(e=e.concat(t(r,i)))}),tt(n.children,(r,i)=>{i!==Y&&(e=e.concat(t(r,i)))}),e}(n,(r,i)=>i===Y?[Ao(n.children[Y],!1)]:[`${i}:${Ao(r,!1)}`]);return 1===Object.keys(n.children).length&&null!=n.children[Y]?`${Al(n)}/${e[0]}`:`${Al(n)}/(${e.join("//")})`}}function Pb(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ml(n){return Pb(n).replace(/%3B/gi,";")}function Vf(n){return Pb(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Sl(n){return decodeURIComponent(n)}function Lb(n){return Sl(n.replace(/\+/g,"%20"))}function Vb(n){return`${Vf(n.path)}${function FP(n){return Object.keys(n).map(t=>`;${Vf(t)}=${Vf(n[t])}`).join("")}(n.parameters)}`}const OP=/^[^\/()?;=#]+/;function Tl(n){const t=n.match(OP);return t?t[0]:""}const NP=/^[^=?&#]+/,PP=/^[^&#]+/;class VP{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new J([],{}):new J([],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 r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(r[Y]=new J(t,e)),r}parseSegment(){const t=Tl(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new xo(Sl(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=Tl(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){const i=Tl(this.remaining);i&&(r=i,this.capture(r))}t[Sl(e)]=Sl(r)}parseQueryParam(t){const e=function kP(n){const t=n.match(NP);return t?t[0]:""}(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){const o=function LP(n){const t=n.match(PP);return t?t[0]:""}(this.remaining);o&&(r=o,this.capture(r))}const i=Lb(e),s=Lb(r);if(t.hasOwnProperty(i)){let o=t[i];Array.isArray(o)||(o=[o],t[i]=o),o.push(s)}else t[i]=s}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=Tl(this.remaining),i=this.remaining[r.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error(`Cannot parse url '${this.url}'`);let s;r.indexOf(":")>-1?(s=r.substr(0,r.indexOf(":")),this.capture(s),this.capture(":")):t&&(s=Y);const o=this.parseChildren();e[s]=1===Object.keys(o).length?o[Y]:new J([],o),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 Bb{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=Bf(t,this._root);return e?e.children.map(r=>r.value):[]}firstChild(t){const e=Bf(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=jf(t,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==t)}pathFromRoot(t){return jf(t,this._root).map(e=>e.value)}}function Bf(n,t){if(n===t.value)return t;for(const e of t.children){const r=Bf(n,e);if(r)return r}return null}function jf(n,t){if(n===t.value)return[t];for(const e of t.children){const r=jf(n,e);if(r.length)return r.unshift(t),r}return[]}class rr{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function hs(n){const t={};return n&&n.children.forEach(e=>t[e.value.outlet]=e),t}class jb extends Bb{constructor(t,e){super(t),this.snapshot=e,Hf(this,t)}toString(){return this.snapshot.toString()}}function Hb(n,t){const e=function BP(n,t){const o=new Il([],{},{},"",{},Y,t,null,n.root,-1,{});return new Gb("",new rr(o,[]))}(n,t),r=new tn([new xo("",{})]),i=new tn({}),s=new tn({}),o=new tn({}),a=new tn(""),l=new ni(r,i,o,a,s,Y,t,e.root);return l.snapshot=e.root,new jb(new rr(l,[]),e)}class ni{constructor(t,e,r,i,s,o,a,l){this.url=t,this.params=e,this.queryParams=r,this.fragment=i,this.data=s,this.outlet=o,this.component=a,this._futureSnapshot=l}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(ee(t=>fs(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(ee(t=>fs(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ub(n,t="emptyOnly"){const e=n.pathFromRoot;let r=0;if("always"!==t)for(r=e.length-1;r>=1;){const i=e[r],s=e[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(s.component)break;r--}}return function jP(n){return n.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:{}})}(e.slice(r))}class Il{constructor(t,e,r,i,s,o,a,l,u,c,d){this.url=t,this.params=e,this.queryParams=r,this.fragment=i,this.data=s,this.outlet=o,this.component=a,this.routeConfig=l,this._urlSegment=u,this._lastPathIndex=c,this._resolve=d}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=fs(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=fs(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Gb extends Bb{constructor(t,e){super(e),this.url=t,Hf(this,e)}toString(){return $b(this._root)}}function Hf(n,t){t.value._routerState=n,t.children.forEach(e=>Hf(n,e))}function $b(n){const t=n.children.length>0?` { ${n.children.map($b).join(", ")} } `:"";return`${n.value}${t}`}function Uf(n){if(n.snapshot){const t=n.snapshot,e=n._futureSnapshot;n.snapshot=e,Pn(t.queryParams,e.queryParams)||n.queryParams.next(e.queryParams),t.fragment!==e.fragment&&n.fragment.next(e.fragment),Pn(t.params,e.params)||n.params.next(e.params),function DP(n,t){if(n.length!==t.length)return!1;for(let e=0;e<n.length;++e)if(!Pn(n[e],t[e]))return!1;return!0}(t.url,e.url)||n.url.next(e.url),Pn(t.data,e.data)||n.data.next(e.data)}else n.snapshot=n._futureSnapshot,n.data.next(n._futureSnapshot.data)}function Gf(n,t){const e=Pn(n.params,t.params)&&function MP(n,t){return ti(n,t)&&n.every((e,r)=>Pn(e.parameters,t[r].parameters))}(n.url,t.url);return e&&!(!n.parent!=!t.parent)&&(!n.parent||Gf(n.parent,t.parent))}function Mo(n,t,e){if(e&&n.shouldReuseRoute(t.value,e.value.snapshot)){const r=e.value;r._futureSnapshot=t.value;const i=function UP(n,t,e){return t.children.map(r=>{for(const i of e.children)if(n.shouldReuseRoute(r.value,i.value.snapshot))return Mo(n,r,i);return Mo(n,r)})}(n,t,e);return new rr(r,i)}{if(n.shouldAttach(t.value)){const s=n.retrieve(t.value);if(null!==s){const o=s.route;return o.value._futureSnapshot=t.value,o.children=t.children.map(a=>Mo(n,a)),o}}const r=function GP(n){return new ni(new tn(n.url),new tn(n.params),new tn(n.queryParams),new tn(n.fragment),new tn(n.data),n.outlet,n.component,n)}(t.value),i=t.children.map(s=>Mo(n,s));return new rr(r,i)}}function Fl(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function So(n){return"object"==typeof n&&null!=n&&n.outlets}function $f(n,t,e,r,i){let s={};return r&&tt(r,(o,a)=>{s[a]=Array.isArray(o)?o.map(l=>`${l}`):`${o}`}),new ei(e.root===n?t:qb(e.root,n,t),s,i)}function qb(n,t,e){const r={};return tt(n.children,(i,s)=>{r[s]=i===t?e:qb(i,t,e)}),new J(n.segments,r)}class zb{constructor(t,e,r){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=r,t&&r.length>0&&Fl(r[0]))throw new Error("Root segment cannot have matrix parameters");const i=r.find(So);if(i&&i!==Sb(r))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class qf{constructor(t,e,r){this.segmentGroup=t,this.processChildren=e,this.index=r}}function Wb(n,t,e){if(n||(n=new J([],{})),0===n.segments.length&&n.hasChildren())return Rl(n,t,e);const r=function QP(n,t,e){let r=0,i=t;const s={match:!1,pathIndex:0,commandIndex:0};for(;i<n.segments.length;){if(r>=e.length)return s;const o=n.segments[i],a=e[r];if(So(a))break;const l=`${a}`,u=r<e.length-1?e[r+1]:null;if(i>0&&void 0===l)break;if(l&&u&&"object"==typeof u&&void 0===u.outlets){if(!Qb(l,u,o))return s;r+=2}else{if(!Qb(l,{},o))return s;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(n,t,e),i=e.slice(r.commandIndex);if(r.match&&r.pathIndex<n.segments.length){const s=new J(n.segments.slice(0,r.pathIndex),{});return s.children[Y]=new J(n.segments.slice(r.pathIndex),n.children),Rl(s,0,i)}return r.match&&0===i.length?new J(n.segments,{}):r.match&&!n.hasChildren()?zf(n,t,e):r.match?Rl(n,0,i):zf(n,t,e)}function Rl(n,t,e){if(0===e.length)return new J(n.segments,{});{const r=function KP(n){return So(n[0])?n[0].outlets:{[Y]:n}}(e),i={};return tt(r,(s,o)=>{"string"==typeof s&&(s=[s]),null!==s&&(i[o]=Wb(n.children[o],t,s))}),tt(n.children,(s,o)=>{void 0===r[o]&&(i[o]=s)}),new J(n.segments,i)}}function zf(n,t,e){const r=n.segments.slice(0,t);let i=0;for(;i<e.length;){const s=e[i];if(So(s)){const l=YP(s.outlets);return new J(r,l)}if(0===i&&Fl(e[0])){r.push(new xo(n.segments[t].path,Kb(e[0]))),i++;continue}const o=So(s)?s.outlets[Y]:`${s}`,a=i<e.length-1?e[i+1]:null;o&&a&&Fl(a)?(r.push(new xo(o,Kb(a))),i+=2):(r.push(new xo(o,{})),i++)}return new J(r,{})}function YP(n){const t={};return tt(n,(e,r)=>{"string"==typeof e&&(e=[e]),null!==e&&(t[r]=zf(new J([],{}),0,e))}),t}function Kb(n){const t={};return tt(n,(e,r)=>t[r]=`${e}`),t}function Qb(n,t,e){return n==e.path&&Pn(t,e.parameters)}class XP{constructor(t,e,r,i){this.routeReuseStrategy=t,this.futureState=e,this.currState=r,this.forwardEvent=i}activate(t){const e=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,r,t),Uf(this.futureState.root),this.activateChildRoutes(e,r,t)}deactivateChildRoutes(t,e,r){const i=hs(e);t.children.forEach(s=>{const o=s.value.outlet;this.deactivateRoutes(s,i[o],r),delete i[o]}),tt(i,(s,o)=>{this.deactivateRouteAndItsChildren(s,r)})}deactivateRoutes(t,e,r){const i=t.value,s=e?e.value:null;if(i===s)if(i.component){const o=r.getContext(i.outlet);o&&this.deactivateChildRoutes(t,e,o.children)}else this.deactivateChildRoutes(t,e,r);else s&&this.deactivateRouteAndItsChildren(e,r)}deactivateRouteAndItsChildren(t,e){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const r=e.getContext(t.value.outlet),i=r&&t.value.component?r.children:e,s=hs(t);for(const o of Object.keys(s))this.deactivateRouteAndItsChildren(s[o],i);if(r&&r.outlet){const o=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:o,route:t,contexts:a})}}deactivateRouteAndOutlet(t,e){const r=e.getContext(t.value.outlet),i=r&&t.value.component?r.children:e,s=hs(t);for(const o of Object.keys(s))this.deactivateRouteAndItsChildren(s[o],i);r&&r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated(),r.attachRef=null,r.resolver=null,r.route=null)}activateChildRoutes(t,e,r){const i=hs(e);t.children.forEach(s=>{this.activateRoutes(s,i[s.value.outlet],r),this.forwardEvent(new _P(s.value.snapshot))}),t.children.length&&this.forwardEvent(new mP(t.value.snapshot))}activateRoutes(t,e,r){const i=t.value,s=e?e.value:null;if(Uf(i),i===s)if(i.component){const o=r.getOrCreateContext(i.outlet);this.activateChildRoutes(t,e,o.children)}else this.activateChildRoutes(t,e,r);else if(i.component){const o=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),o.children.onOutletReAttached(a.contexts),o.attachRef=a.componentRef,o.route=a.route.value,o.outlet&&o.outlet.attach(a.componentRef,a.route.value),Uf(a.route.value),this.activateChildRoutes(t,null,o.children)}else{const a=function JP(n){for(let t=n.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(i.snapshot),l=a?a.module.componentFactoryResolver:null;o.attachRef=null,o.route=i,o.resolver=l,o.outlet&&o.outlet.activateWith(i,l),this.activateChildRoutes(t,null,o.children)}}else this.activateChildRoutes(t,null,r)}}class Wf{constructor(t,e){this.routes=t,this.module=e}}function wr(n){return"function"==typeof n}function ri(n){return n instanceof ei}const To=Symbol("INITIAL_VALUE");function Io(){return Jr(n=>function nP(...n){const t=Ss(n),e=Gp(n),{args:r,keys:i}=fb(n);if(0===r.length)return Qe([],t);const s=new de(function rP(n,t,e=Pr){return r=>{pb(t,()=>{const{length:i}=n,s=new Array(i);let o=i,a=i;for(let l=0;l<i;l++)pb(t,()=>{const u=Qe(n[l],t);let c=!1;u.subscribe(new Le(r,d=>{s[l]=d,c||(c=!0,a--),a||r.next(e(s.slice()))},()=>{--o||r.complete()}))},r)},r)}}(r,t,i?o=>hb(i,o):Pr));return e?s.pipe(Of(e)):s}(n.map(t=>t.pipe(mi(1),wl(To)))).pipe(yb((t,e)=>{let r=!1;return e.reduce((i,s,o)=>i!==To?i:(s===To&&(r=!0),r||!1!==s&&o!==e.length-1&&!ri(s)?i:s),t)},To),kn(t=>t!==To),ee(t=>ri(t)?t:!0===t),mi(1)))}class o1{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Fo,this.attachRef=null}}class Fo{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const r=this.getOrCreateContext(t);r.outlet=e,this.contexts.set(t,r)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null,e.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new o1,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}let Kf=(()=>{class n{constructor(e,r,i,s,o){this.parentContexts=e,this.location=r,this.resolver=i,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new we,this.deactivateEvents=new we,this.attachEvents=new we,this.detachEvents=new we,this.name=s||Y,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.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 e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,r){this.activated=e,this._activatedRoute=r,this.location.insert(e.hostView),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,r){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const o=(r=r||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),a=this.parentContexts.getOrCreateContext(this.name).children,l=new a1(e,a,this.location.injector);this.activated=this.location.createComponent(o,this.location.length,l),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return n.\u0275fac=function(e){return new(e||n)(p(Fo),p(yn),p(ns),Mi("name"),p(rl))},n.\u0275dir=b({type:n,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),n})();class a1{constructor(t,e,r){this.route=t,this.childContexts=e,this.parent=r}get(t,e){return t===ni?this.route:t===Fo?this.childContexts:this.parent.get(t,e)}}let Yb=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=Vr({type:n,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,r){1&e&&lt(0,"router-outlet")},directives:[Kf],encapsulation:2}),n})();function Zb(n,t=""){for(let e=0;e<n.length;e++){const r=n[e];l1(r,u1(t,r))}}function l1(n,t){n.children&&Zb(n.children,t)}function u1(n,t){return t?n||t.path?n&&!t.path?`${n}/`:!n&&t.path?t.path:`${n}/${t.path}`:"":n}function Qf(n){const t=n.children&&n.children.map(Qf),e=t?Object.assign(Object.assign({},n),{children:t}):Object.assign({},n);return!e.component&&(t||e.loadChildren)&&e.outlet&&e.outlet!==Y&&(e.component=Yb),e}function nn(n){return n.outlet||Y}function Xb(n,t){const e=n.filter(r=>nn(r)===t);return e.push(...n.filter(r=>nn(r)!==t)),e}const Jb={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Ol(n,t,e){var r;if(""===t.path)return"full"===t.pathMatch&&(n.hasChildren()||e.length>0)?Object.assign({},Jb):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const s=(t.matcher||bP)(e,n,t);if(!s)return Object.assign({},Jb);const o={};tt(s.posParams,(l,u)=>{o[u]=l.path});const a=s.consumed.length>0?Object.assign(Object.assign({},o),s.consumed[s.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:s.consumed,lastChild:s.consumed.length,parameters:a,positionalParamSegments:null!==(r=s.posParams)&&void 0!==r?r:{}}}function Nl(n,t,e,r,i="corrected"){if(e.length>0&&function f1(n,t,e){return e.some(r=>kl(n,t,r)&&nn(r)!==Y)}(n,e,r)){const o=new J(t,function d1(n,t,e,r){const i={};i[Y]=r,r._sourceSegment=n,r._segmentIndexShift=t.length;for(const s of e)if(""===s.path&&nn(s)!==Y){const o=new J([],{});o._sourceSegment=n,o._segmentIndexShift=t.length,i[nn(s)]=o}return i}(n,t,r,new J(e,n.children)));return o._sourceSegment=n,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:[]}}if(0===e.length&&function h1(n,t,e){return e.some(r=>kl(n,t,r))}(n,e,r)){const o=new J(n.segments,function c1(n,t,e,r,i,s){const o={};for(const a of r)if(kl(n,e,a)&&!i[nn(a)]){const l=new J([],{});l._sourceSegment=n,l._segmentIndexShift="legacy"===s?n.segments.length:t.length,o[nn(a)]=l}return Object.assign(Object.assign({},i),o)}(n,t,e,r,n.children,i));return o._sourceSegment=n,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:e}}const s=new J(n.segments,n.children);return s._sourceSegment=n,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:e}}function kl(n,t,e){return(!(n.hasChildren()||t.length>0)||"full"!==e.pathMatch)&&""===e.path}function eD(n,t,e,r){return!!(nn(n)===r||r!==Y&&kl(t,e,n))&&("**"===n.path||Ol(t,n,e).matched)}function tD(n,t,e){return 0===t.length&&!n.children[e]}class Ro{constructor(t){this.segmentGroup=t||null}}class nD{constructor(t){this.urlTree=t}}function Pl(n){return new de(t=>t.error(new Ro(n)))}function rD(n){return new de(t=>t.error(new nD(n)))}function p1(n){return new de(t=>t.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${n}'`)))}class y1{constructor(t,e,r,i,s){this.configLoader=e,this.urlSerializer=r,this.urlTree=i,this.config=s,this.allowRedirects=!0,this.ngModule=t.get(Yn)}apply(){const t=Nl(this.urlTree.root,[],[],this.config).segmentGroup,e=new J(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,e,Y).pipe(ee(s=>this.createUrlTree(Yf(s),this.urlTree.queryParams,this.urlTree.fragment))).pipe(tr(s=>{if(s instanceof nD)return this.allowRedirects=!1,this.match(s.urlTree);throw s instanceof Ro?this.noMatchError(s):s}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,Y).pipe(ee(i=>this.createUrlTree(Yf(i),t.queryParams,t.fragment))).pipe(tr(i=>{throw i instanceof Ro?this.noMatchError(i):i}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,r){const i=t.segments.length>0?new J([],{[Y]:t}):t;return new ei(i,e,r)}expandSegmentGroup(t,e,r,i){return 0===r.segments.length&&r.hasChildren()?this.expandChildren(t,e,r).pipe(ee(s=>new J([],s))):this.expandSegment(t,r,e,r.segments,i,!0)}expandChildren(t,e,r){const i=[];for(const s of Object.keys(r.children))"primary"===s?i.unshift(s):i.push(s);return Qe(i).pipe(cs(s=>{const o=r.children[s],a=Xb(e,s);return this.expandSegmentGroup(t,a,o,s).pipe(ee(l=>({segment:l,outlet:s})))}),yb((s,o)=>(s[o.outlet]=o.segment,s),{}),function lP(n,t){const e=arguments.length>=2;return r=>r.pipe(n?kn((i,s)=>n(i,s,r)):Pr,kf(1),e?vb(t):_b(()=>new El))}())}expandSegment(t,e,r,i,s,o){return Qe(r).pipe(cs(a=>this.expandSegmentAgainstRoute(t,e,r,a,i,s,o).pipe(tr(u=>{if(u instanceof Ro)return B(null);throw u}))),ds(a=>!!a),tr((a,l)=>{if(a instanceof El||"EmptyError"===a.name){if(tD(e,i,s))return B(new J([],{}));throw new Ro(e)}throw a}))}expandSegmentAgainstRoute(t,e,r,i,s,o,a){return eD(i,e,s,o)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,e,i,s,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,r,i,s,o):Pl(e):Pl(e)}expandSegmentAgainstRouteUsingRedirect(t,e,r,i,s,o){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,r,i,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,r,i,s,o)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,r,i){const s=this.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?rD(s):this.lineralizeSegments(r,s).pipe($e(o=>{const a=new J(o,{});return this.expandSegment(t,a,e,o,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,r,i,s,o){const{matched:a,consumedSegments:l,lastChild:u,positionalParamSegments:c}=Ol(e,i,s);if(!a)return Pl(e);const d=this.applyRedirectCommands(l,i.redirectTo,c);return i.redirectTo.startsWith("/")?rD(d):this.lineralizeSegments(i,d).pipe($e(f=>this.expandSegment(t,e,r,f.concat(s.slice(u)),o,!1)))}matchSegmentAgainstRoute(t,e,r,i,s){if("**"===r.path)return r.loadChildren?(r._loadedConfig?B(r._loadedConfig):this.configLoader.load(t.injector,r)).pipe(ee(f=>(r._loadedConfig=f,new J(i,{})))):B(new J(i,{}));const{matched:o,consumedSegments:a,lastChild:l}=Ol(e,r,i);if(!o)return Pl(e);const u=i.slice(l);return this.getChildConfig(t,r,i).pipe($e(d=>{const f=d.module,h=d.routes,{segmentGroup:g,slicedSegments:m}=Nl(e,a,u,h),_=new J(g.segments,g.children);if(0===m.length&&_.hasChildren())return this.expandChildren(f,h,_).pipe(ee(T=>new J(a,T)));if(0===h.length&&0===m.length)return B(new J(a,{}));const v=nn(r)===s;return this.expandSegment(f,_,h,m,v?Y:s,!0).pipe(ee(E=>new J(a.concat(E.segments),E.children)))}))}getChildConfig(t,e,r){return e.children?B(new Wf(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?B(e._loadedConfig):this.runCanLoadGuards(t.injector,e,r).pipe($e(i=>i?this.configLoader.load(t.injector,e).pipe(ee(s=>(e._loadedConfig=s,s))):function g1(n){return new de(t=>t.error(Lf(`Cannot load children because the guard of the route "path: '${n.path}'" returned false`)))}(e))):B(new Wf([],t))}runCanLoadGuards(t,e,r){const i=e.canLoad;return i&&0!==i.length?B(i.map(o=>{const a=t.get(o);let l;if(function t1(n){return n&&wr(n.canLoad)}(a))l=a.canLoad(e,r);else{if(!wr(a))throw new Error("Invalid CanLoad guard");l=a(e,r)}return Ln(l)})).pipe(Io(),et(o=>{if(!ri(o))return;const a=Lf(`Redirecting to "${this.urlSerializer.serialize(o)}"`);throw a.url=o,a}),ee(o=>!0===o)):B(!0)}lineralizeSegments(t,e){let r=[],i=e.root;for(;;){if(r=r.concat(i.segments),0===i.numberOfChildren)return B(r);if(i.numberOfChildren>1||!i.children[Y])return p1(t.redirectTo);i=i.children[Y]}}applyRedirectCommands(t,e,r){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,r)}applyRedirectCreatreUrlTree(t,e,r,i){const s=this.createSegmentGroup(t,e.root,r,i);return new ei(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const r={};return tt(t,(i,s)=>{if("string"==typeof i&&i.startsWith(":")){const a=i.substring(1);r[s]=e[a]}else r[s]=i}),r}createSegmentGroup(t,e,r,i){const s=this.createSegments(t,e.segments,r,i);let o={};return tt(e.children,(a,l)=>{o[l]=this.createSegmentGroup(t,a,r,i)}),new J(s,o)}createSegments(t,e,r,i){return e.map(s=>s.path.startsWith(":")?this.findPosParam(t,s,i):this.findOrReturn(s,r))}findPosParam(t,e,r){const i=r[e.path.substring(1)];if(!i)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return i}findOrReturn(t,e){let r=0;for(const i of e){if(i.path===t.path)return e.splice(r),i;r++}return t}}function Yf(n){const t={};for(const r of Object.keys(n.children)){const s=Yf(n.children[r]);(s.segments.length>0||s.hasChildren())&&(t[r]=s)}return function _1(n){if(1===n.numberOfChildren&&n.children[Y]){const t=n.children[Y];return new J(n.segments.concat(t.segments),t.children)}return n}(new J(n.segments,t))}class iD{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Ll{constructor(t,e){this.component=t,this.route=e}}function C1(n,t,e){const r=n._root;return Oo(r,t?t._root:null,e,[r.value])}function Vl(n,t,e){const r=function D1(n){if(!n)return null;for(let t=n.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(t);return(r?r.module.injector:e).get(n)}function Oo(n,t,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const s=hs(t);return n.children.forEach(o=>{(function E1(n,t,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const s=n.value,o=t?t.value:null,a=e?e.getContext(n.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){const l=function w1(n,t,e){if("function"==typeof e)return e(n,t);switch(e){case"pathParamsChange":return!ti(n.url,t.url);case"pathParamsOrQueryParamsChange":return!ti(n.url,t.url)||!Pn(n.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Gf(n,t)||!Pn(n.queryParams,t.queryParams);default:return!Gf(n,t)}}(o,s,s.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new iD(r)):(s.data=o.data,s._resolvedData=o._resolvedData),Oo(n,t,s.component?a?a.children:null:e,r,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Ll(a.outlet.component,o))}else o&&No(t,a,i),i.canActivateChecks.push(new iD(r)),Oo(n,null,s.component?a?a.children:null:e,r,i)})(o,s[o.value.outlet],e,r.concat([o.value]),i),delete s[o.value.outlet]}),tt(s,(o,a)=>No(o,e.getContext(a),i)),i}function No(n,t,e){const r=hs(n),i=n.value;tt(r,(s,o)=>{No(s,i.component?t?t.children.getContext(o):null:t,e)}),e.canDeactivateChecks.push(new Ll(i.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,i))}class O1{}function sD(n){return new de(t=>t.error(n))}class k1{constructor(t,e,r,i,s,o){this.rootComponentType=t,this.config=e,this.urlTree=r,this.url=i,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=o}recognize(){const t=Nl(this.urlTree.root,[],[],this.config.filter(o=>void 0===o.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,Y);if(null===e)return null;const r=new Il([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},Y,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new rr(r,e),s=new Gb(this.url,i);return this.inheritParamsAndData(s._root),s}inheritParamsAndData(t){const e=t.value,r=Ub(e,this.paramsInheritanceStrategy);e.params=Object.freeze(r.params),e.data=Object.freeze(r.data),t.children.forEach(i=>this.inheritParamsAndData(i))}processSegmentGroup(t,e,r){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,r)}processChildren(t,e){const r=[];for(const s of Object.keys(e.children)){const o=e.children[s],a=Xb(t,s),l=this.processSegmentGroup(a,o,s);if(null===l)return null;r.push(...l)}const i=oD(r);return function P1(n){n.sort((t,e)=>t.value.outlet===Y?-1:e.value.outlet===Y?1:t.value.outlet.localeCompare(e.value.outlet))}(i),i}processSegment(t,e,r,i){for(const s of t){const o=this.processSegmentAgainstRoute(s,e,r,i);if(null!==o)return o}return tD(e,r,i)?[]:null}processSegmentAgainstRoute(t,e,r,i){if(t.redirectTo||!eD(t,e,r,i))return null;let s,o=[],a=[];if("**"===t.path){const h=r.length>0?Sb(r).parameters:{};s=new Il(r,h,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,uD(t),nn(t),t.component,t,aD(e),lD(e)+r.length,cD(t))}else{const h=Ol(e,t,r);if(!h.matched)return null;o=h.consumedSegments,a=r.slice(h.lastChild),s=new Il(o,h.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,uD(t),nn(t),t.component,t,aD(e),lD(e)+o.length,cD(t))}const l=function L1(n){return n.children?n.children:n.loadChildren?n._loadedConfig.routes:[]}(t),{segmentGroup:u,slicedSegments:c}=Nl(e,o,a,l.filter(h=>void 0===h.redirectTo),this.relativeLinkResolution);if(0===c.length&&u.hasChildren()){const h=this.processChildren(l,u);return null===h?null:[new rr(s,h)]}if(0===l.length&&0===c.length)return[new rr(s,[])];const d=nn(t)===i,f=this.processSegment(l,u,c,d?Y:i);return null===f?null:[new rr(s,f)]}}function V1(n){const t=n.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function oD(n){const t=[],e=new Set;for(const r of n){if(!V1(r)){t.push(r);continue}const i=t.find(s=>r.value.routeConfig===s.value.routeConfig);void 0!==i?(i.children.push(...r.children),e.add(i)):t.push(r)}for(const r of e){const i=oD(r.children);t.push(new rr(r.value,i))}return t.filter(r=>!e.has(r))}function aD(n){let t=n;for(;t._sourceSegment;)t=t._sourceSegment;return t}function lD(n){let t=n,e=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)t=t._sourceSegment,e+=t._segmentIndexShift?t._segmentIndexShift:0;return e-1}function uD(n){return n.data||{}}function cD(n){return n.resolve||{}}function Zf(n){return Jr(t=>{const e=n(t);return e?Qe(e).pipe(ee(()=>t)):B(t)})}class z1 extends class q1{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const Xf=new F("ROUTES");class dD{constructor(t,e,r,i){this.injector=t,this.compiler=e,this.onLoadStartListener=r,this.onLoadEndListener=i}load(t,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const i=this.loadModuleFactory(e.loadChildren).pipe(ee(s=>{this.onLoadEndListener&&this.onLoadEndListener(e);const o=s.create(t);return new Wf(Mb(o.injector.get(Xf,void 0,G.Self|G.Optional)).map(Qf),o)}),tr(s=>{throw e._loader$=void 0,s}));return e._loader$=new sP(i,()=>new Xe).pipe(mb()),e._loader$}loadModuleFactory(t){return Ln(t()).pipe($e(e=>e instanceof Ev?B(e):Qe(this.compiler.compileModuleAsync(e))))}}class K1{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function Q1(n){throw n}function Y1(n,t,e){return t.parse("/")}function fD(n,t){return B(null)}const Z1={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},X1={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Lt=(()=>{class n{constructor(e,r,i,s,o,a,l){this.rootComponentType=e,this.urlSerializer=r,this.rootContexts=i,this.location=s,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Xe,this.errorHandler=Q1,this.malformedUriErrorHandler=Y1,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:fD,afterPreactivation:fD},this.urlHandlingStrategy=new K1,this.routeReuseStrategy=new z1,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=o.get(Yn),this.console=o.get(sC);const d=o.get(ce);this.isNgZoneEnabled=d instanceof ce&&ce.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=function EP(){return new ei(new J([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new dD(o,a,f=>this.triggerEvent(new Db(f)),f=>this.triggerEvent(new Eb(f))),this.routerState=Hb(this.currentUrlTree,this.rootComponentType),this.transitions=new tn({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 e;return null===(e=this.location.getState())||void 0===e?void 0:e.\u0275routerPageId}setupNavigations(e){const r=this.events;return e.pipe(kn(i=>0!==i.id),ee(i=>Object.assign(Object.assign({},i),{extractedUrl:this.urlHandlingStrategy.extract(i.rawUrl)})),Jr(i=>{let s=!1,o=!1;return B(i).pipe(et(a=>{this.currentNavigation={id:a.id,initialUrl:a.currentRawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Jr(a=>{const l=this.browserUrlTree.toString(),u=!this.navigated||a.extractedUrl.toString()!==l||l!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||u)&&this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return Bl(a.source)&&(this.browserUrlTree=a.extractedUrl),B(a).pipe(Jr(d=>{const f=this.transitions.getValue();return r.next(new Pf(d.id,this.serializeUrl(d.extractedUrl),d.source,d.restoredState)),f!==this.transitions.getValue()?Dn:Promise.resolve(d)}),function v1(n,t,e,r){return Jr(i=>function m1(n,t,e,r,i){return new y1(n,t,e,r,i).apply()}(n,t,e,i.extractedUrl,r).pipe(ee(s=>Object.assign(Object.assign({},i),{urlAfterRedirects:s}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),et(d=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:d.urlAfterRedirects})}),function B1(n,t,e,r,i){return $e(s=>function N1(n,t,e,r,i="emptyOnly",s="legacy"){try{const o=new k1(n,t,e,r,i,s).recognize();return null===o?sD(new O1):B(o)}catch(o){return sD(o)}}(n,t,s.urlAfterRedirects,e(s.urlAfterRedirects),r,i).pipe(ee(o=>Object.assign(Object.assign({},s),{targetSnapshot:o}))))}(this.rootComponentType,this.config,d=>this.serializeUrl(d),this.paramsInheritanceStrategy,this.relativeLinkResolution),et(d=>{if("eager"===this.urlUpdateStrategy){if(!d.extras.skipLocationChange){const h=this.urlHandlingStrategy.merge(d.urlAfterRedirects,d.rawUrl);this.setBrowserUrl(h,d)}this.browserUrlTree=d.urlAfterRedirects}const f=new cP(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);r.next(f)}));if(u&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:f,extractedUrl:h,source:g,restoredState:m,extras:_}=a,v=new Pf(f,this.serializeUrl(h),g,m);r.next(v);const y=Hb(h,this.rootComponentType).snapshot;return B(Object.assign(Object.assign({},a),{targetSnapshot:y,urlAfterRedirects:h,extras:Object.assign(Object.assign({},_),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=a.rawUrl,a.resolve(null),Dn}),Zf(a=>{const{targetSnapshot:l,id:u,extractedUrl:c,rawUrl:d,extras:{skipLocationChange:f,replaceUrl:h}}=a;return this.hooks.beforePreactivation(l,{navigationId:u,appliedUrlTree:c,rawUrlTree:d,skipLocationChange:!!f,replaceUrl:!!h})}),et(a=>{const l=new dP(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(l)}),ee(a=>Object.assign(Object.assign({},a),{guards:C1(a.targetSnapshot,a.currentSnapshot,this.rootContexts)})),function x1(n,t){return $e(e=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:s,canDeactivateChecks:o}}=e;return 0===o.length&&0===s.length?B(Object.assign(Object.assign({},e),{guardsResult:!0})):function A1(n,t,e,r){return Qe(n).pipe($e(i=>function R1(n,t,e,r,i){const s=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return s&&0!==s.length?B(s.map(a=>{const l=Vl(a,t,i);let u;if(function s1(n){return n&&wr(n.canDeactivate)}(l))u=Ln(l.canDeactivate(n,t,e,r));else{if(!wr(l))throw new Error("Invalid CanDeactivate guard");u=Ln(l(n,t,e,r))}return u.pipe(ds())})).pipe(Io()):B(!0)}(i.component,i.route,e,t,r)),ds(i=>!0!==i,!0))}(o,r,i,n).pipe($e(a=>a&&function e1(n){return"boolean"==typeof n}(a)?function M1(n,t,e,r){return Qe(t).pipe(cs(i=>Nf(function T1(n,t){return null!==n&&t&&t(new gP(n)),B(!0)}(i.route.parent,r),function S1(n,t){return null!==n&&t&&t(new yP(n)),B(!0)}(i.route,r),function F1(n,t,e){const r=t[t.length-1],s=t.slice(0,t.length-1).reverse().map(o=>function b1(n){const t=n.routeConfig?n.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:n,guards:t}:null}(o)).filter(o=>null!==o).map(o=>gb(()=>B(o.guards.map(l=>{const u=Vl(l,o.node,e);let c;if(function r1(n){return n&&wr(n.canActivateChild)}(u))c=Ln(u.canActivateChild(r,n));else{if(!wr(u))throw new Error("Invalid CanActivateChild guard");c=Ln(u(r,n))}return c.pipe(ds())})).pipe(Io())));return B(s).pipe(Io())}(n,i.path,e),function I1(n,t,e){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return B(!0);const i=r.map(s=>gb(()=>{const o=Vl(s,t,e);let a;if(function n1(n){return n&&wr(n.canActivate)}(o))a=Ln(o.canActivate(t,n));else{if(!wr(o))throw new Error("Invalid CanActivate guard");a=Ln(o(t,n))}return a.pipe(ds())}));return B(i).pipe(Io())}(n,i.route,e))),ds(i=>!0!==i,!0))}(r,s,n,t):B(a)),ee(a=>Object.assign(Object.assign({},e),{guardsResult:a})))})}(this.ngModule.injector,a=>this.triggerEvent(a)),et(a=>{if(ri(a.guardsResult)){const u=Lf(`Redirecting to "${this.serializeUrl(a.guardsResult)}"`);throw u.url=a.guardsResult,u}const l=new fP(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.triggerEvent(l)}),kn(a=>!!a.guardsResult||(this.restoreHistory(a),this.cancelNavigationTransition(a,""),!1)),Zf(a=>{if(a.guards.canActivateChecks.length)return B(a).pipe(et(l=>{const u=new hP(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(u)}),Jr(l=>{let u=!1;return B(l).pipe(function j1(n,t){return $e(e=>{const{targetSnapshot:r,guards:{canActivateChecks:i}}=e;if(!i.length)return B(e);let s=0;return Qe(i).pipe(cs(o=>function H1(n,t,e,r){return function U1(n,t,e,r){const i=Object.keys(n);if(0===i.length)return B({});const s={};return Qe(i).pipe($e(o=>function G1(n,t,e,r){const i=Vl(n,t,r);return Ln(i.resolve?i.resolve(t,e):i(t,e))}(n[o],t,e,r).pipe(et(a=>{s[o]=a}))),kf(1),$e(()=>Object.keys(s).length===i.length?B(s):Dn))}(n._resolve,n,t,r).pipe(ee(s=>(n._resolvedData=s,n.data=Object.assign(Object.assign({},n.data),Ub(n,e).resolve),null)))}(o.route,r,n,t)),et(()=>s++),kf(1),$e(o=>s===i.length?B(e):Dn))})}(this.paramsInheritanceStrategy,this.ngModule.injector),et({next:()=>u=!0,complete:()=>{u||(this.restoreHistory(l),this.cancelNavigationTransition(l,"At least one route resolver didn't emit any value."))}}))}),et(l=>{const u=new pP(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(u)}))}),Zf(a=>{const{targetSnapshot:l,id:u,extractedUrl:c,rawUrl:d,extras:{skipLocationChange:f,replaceUrl:h}}=a;return this.hooks.afterPreactivation(l,{navigationId:u,appliedUrlTree:c,rawUrlTree:d,skipLocationChange:!!f,replaceUrl:!!h})}),ee(a=>{const l=function HP(n,t,e){const r=Mo(n,t._root,e?e._root:void 0);return new jb(r,t)}(this.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return Object.assign(Object.assign({},a),{targetRouterState:l})}),et(a=>{this.currentUrlTree=a.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),this.routerState=a.targetRouterState,"deferred"===this.urlUpdateStrategy&&(a.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,a),this.browserUrlTree=a.urlAfterRedirects)}),((n,t,e)=>ee(r=>(new XP(t,r.targetRouterState,r.currentRouterState,e).activate(n),r)))(this.rootContexts,this.routeReuseStrategy,a=>this.triggerEvent(a)),et({next(){s=!0},complete(){s=!0}}),Cb(()=>{var a;s||o||this.cancelNavigationTransition(i,`Navigation ID ${i.id} is not equal to the current navigation id ${this.navigationId}`),(null===(a=this.currentNavigation)||void 0===a?void 0:a.id)===i.id&&(this.currentNavigation=null)}),tr(a=>{if(o=!0,function CP(n){return n&&n[xb]}(a)){const l=ri(a.url);l||(this.navigated=!0,this.restoreHistory(i,!0));const u=new bb(i.id,this.serializeUrl(i.extractedUrl),a.message);r.next(u),l?setTimeout(()=>{const c=this.urlHandlingStrategy.merge(a.url,this.rawUrlTree),d={skipLocationChange:i.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Bl(i.source)};this.scheduleNavigation(c,"imperative",null,d,{resolve:i.resolve,reject:i.reject,promise:i.promise})},0):i.resolve(!1)}else{this.restoreHistory(i,!0);const l=new uP(i.id,this.serializeUrl(i.extractedUrl),a);r.next(l);try{i.resolve(this.errorHandler(a))}catch(u){i.reject(u)}}return Dn}))}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}setTransition(e){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const r="popstate"===e.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{var i;const s={replaceUrl:!0},o=(null===(i=e.state)||void 0===i?void 0:i.navigationId)?e.state:null;if(o){const l=Object.assign({},o);delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(s.state=l)}const a=this.parseUrl(e.url);this.scheduleNavigation(a,r,o,s)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){Zb(e),this.config=e.map(Qf),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(e,r={}){const{relativeTo:i,queryParams:s,fragment:o,queryParamsHandling:a,preserveFragment:l}=r,u=i||this.routerState.root,c=l?this.currentUrlTree.fragment:o;let d=null;switch(a){case"merge":d=Object.assign(Object.assign({},this.currentUrlTree.queryParams),s);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}return null!==d&&(d=this.removeEmptyProps(d)),function $P(n,t,e,r,i){if(0===e.length)return $f(t.root,t.root,t,r,i);const s=function qP(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new zb(!0,0,n);let t=0,e=!1;const r=n.reduce((i,s,o)=>{if("object"==typeof s&&null!=s){if(s.outlets){const a={};return tt(s.outlets,(l,u)=>{a[u]="string"==typeof l?l.split("/"):l}),[...i,{outlets:a}]}if(s.segmentPath)return[...i,s.segmentPath]}return"string"!=typeof s?[...i,s]:0===o?(s.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?e=!0:".."===a?t++:""!=a&&i.push(a))}),i):[...i,s]},[]);return new zb(e,t,r)}(e);if(s.toRoot())return $f(t.root,new J([],{}),t,r,i);const o=function zP(n,t,e){if(n.isAbsolute)return new qf(t.root,!0,0);if(-1===e.snapshot._lastPathIndex){const s=e.snapshot._urlSegment;return new qf(s,s===t.root,0)}const r=Fl(n.commands[0])?0:1;return function WP(n,t,e){let r=n,i=t,s=e;for(;s>i;){if(s-=i,r=r.parent,!r)throw new Error("Invalid number of '../'");i=r.segments.length}return new qf(r,!1,i-s)}(e.snapshot._urlSegment,e.snapshot._lastPathIndex+r,n.numberOfDoubleDots)}(s,t,n),a=o.processChildren?Rl(o.segmentGroup,o.index,s.commands):Wb(o.segmentGroup,o.index,s.commands);return $f(o.segmentGroup,a,t,r,i)}(u,this.currentUrlTree,e,d,null!=c?c:null)}navigateByUrl(e,r={skipLocationChange:!1}){const i=ri(e)?e:this.parseUrl(e),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,"imperative",null,r)}navigate(e,r={skipLocationChange:!1}){return function J1(n){for(let t=0;t<n.length;t++){const e=n[t];if(null==e)throw new Error(`The requested path contains ${e} segment at index ${t}`)}}(e),this.navigateByUrl(this.createUrlTree(e,r),r)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){let r;try{r=this.urlSerializer.parse(e)}catch(i){r=this.malformedUriErrorHandler(i,this.urlSerializer,e)}return r}isActive(e,r){let i;if(i=!0===r?Object.assign({},Z1):!1===r?Object.assign({},X1):r,ri(e))return Ib(this.currentUrlTree,e,i);const s=this.parseUrl(e);return Ib(this.currentUrlTree,s,i)}removeEmptyProps(e){return Object.keys(e).reduce((r,i)=>{const s=e[i];return null!=s&&(r[i]=s),r},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new wo(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,e.resolve(!0)},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}scheduleNavigation(e,r,i,s,o){var a,l,u;if(this.disposed)return Promise.resolve(!1);const c=this.transitions.value,d=Bl(r)&&c&&!Bl(c.source),f=c.rawUrl.toString()===e.toString(),h=c.id===(null===(a=this.currentNavigation)||void 0===a?void 0:a.id);if(d&&f&&h)return Promise.resolve(!0);let m,_,v;o?(m=o.resolve,_=o.reject,v=o.promise):v=new Promise((T,q)=>{m=T,_=q});const y=++this.navigationId;let E;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(i=this.location.getState()),E=i&&i.\u0275routerPageId?i.\u0275routerPageId:s.replaceUrl||s.skipLocationChange?null!==(l=this.browserPageId)&&void 0!==l?l:0:(null!==(u=this.browserPageId)&&void 0!==u?u:0)+1):E=0,this.setTransition({id:y,targetPageId:E,source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:s,resolve:m,reject:_,promise:v,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),v.catch(T=>Promise.reject(T))}setBrowserUrl(e,r){const i=this.urlSerializer.serialize(e),s=Object.assign(Object.assign({},r.extras.state),this.generateNgRouterState(r.id,r.targetPageId));this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl?this.location.replaceState(i,"",s):this.location.go(i,"",s)}restoreHistory(e,r=!1){var i,s;if("computed"===this.canceledNavigationResolution){const o=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(i=this.currentNavigation)||void 0===i?void 0:i.finalUrl)||0===o?this.currentUrlTree===(null===(s=this.currentNavigation)||void 0===s?void 0:s.finalUrl)&&0===o&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(o)}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(e,r){const i=new bb(e.id,this.serializeUrl(e.extractedUrl),r);this.triggerEvent(i),e.resolve(!1)}generateNgRouterState(e,r){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:r}:{navigationId:e}}}return n.\u0275fac=function(e){_d()},n.\u0275prov=w({token:n,factory:n.\u0275fac}),n})();function Bl(n){return"imperative"!==n}let jl=(()=>{class n{constructor(e,r,i,s,o){this.router=e,this.route=r,this.tabIndexAttribute=i,this.renderer=s,this.el=o,this.commands=null,this.onChanges=new Xe,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(e){if(null!=this.tabIndexAttribute)return;const r=this.renderer,i=this.el.nativeElement;null!==e?r.setAttribute(i,"tabindex",e):r.removeAttribute(i,"tabindex")}ngOnChanges(e){this.onChanges.next(this)}set routerLink(e){null!=e?(this.commands=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const e={skipLocationChange:ps(this.skipLocationChange),replaceUrl:ps(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:ps(this.preserveFragment)})}}return n.\u0275fac=function(e){return new(e||n)(p(Lt),p(ni),Mi("tabindex"),p(mn),p($))},n.\u0275dir=b({type:n,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,r){1&e&&je("click",function(){return r.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[st]}),n})();function ps(n){return""===n||!!n}class hD{}class pD{preload(t,e){return B(null)}}let gD=(()=>{class n{constructor(e,r,i,s){this.router=e,this.injector=i,this.preloadingStrategy=s,this.loader=new dD(i,r,l=>e.triggerEvent(new Db(l)),l=>e.triggerEvent(new Eb(l)))}setUpPreloading(){this.subscription=this.router.events.pipe(kn(e=>e instanceof wo),cs(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(Yn);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,r){const i=[];for(const s of r)if(s.loadChildren&&!s.canLoad&&s._loadedConfig){const o=s._loadedConfig;i.push(this.processRoutes(o.module,o.routes))}else s.loadChildren&&!s.canLoad?i.push(this.preloadConfig(e,s)):s.children&&i.push(this.processRoutes(e,s.children));return Qe(i).pipe(Ms(),ee(s=>{}))}preloadConfig(e,r){return this.preloadingStrategy.preload(r,()=>(r._loadedConfig?B(r._loadedConfig):this.loader.load(e.injector,r)).pipe($e(s=>(r._loadedConfig=s,this.processRoutes(s.module,s.routes)))))}}return n.\u0275fac=function(e){return new(e||n)(D(Lt),D(nl),D(Je),D(hD))},n.\u0275prov=w({token:n,factory:n.\u0275fac}),n})(),eh=(()=>{class n{constructor(e,r,i={}){this.router=e,this.viewportScroller=r,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.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(e=>{e instanceof Pf?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof wo&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof wb&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,r){this.router.triggerEvent(new wb(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return n.\u0275fac=function(e){_d()},n.\u0275prov=w({token:n,factory:n.\u0275fac}),n})();const ii=new F("ROUTER_CONFIGURATION"),mD=new F("ROUTER_FORROOT_GUARD"),rL=[ff,{provide:Nb,useClass:kb},{provide:Lt,useFactory:function lL(n,t,e,r,i,s,o={},a,l){const u=new Lt(null,n,t,e,r,i,Mb(s));return a&&(u.urlHandlingStrategy=a),l&&(u.routeReuseStrategy=l),function uL(n,t){n.errorHandler&&(t.errorHandler=n.errorHandler),n.malformedUriErrorHandler&&(t.malformedUriErrorHandler=n.malformedUriErrorHandler),n.onSameUrlNavigation&&(t.onSameUrlNavigation=n.onSameUrlNavigation),n.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=n.paramsInheritanceStrategy),n.relativeLinkResolution&&(t.relativeLinkResolution=n.relativeLinkResolution),n.urlUpdateStrategy&&(t.urlUpdateStrategy=n.urlUpdateStrategy),n.canceledNavigationResolution&&(t.canceledNavigationResolution=n.canceledNavigationResolution)}(o,u),o.enableTracing&&u.events.subscribe(c=>{var d,f;null===(d=console.group)||void 0===d||d.call(console,`Router Event: ${c.constructor.name}`),console.log(c.toString()),console.log(c),null===(f=console.groupEnd)||void 0===f||f.call(console)}),u},deps:[Nb,Fo,ff,Je,nl,Xf,ii,[class W1{},new Ft],[class $1{},new Ft]]},Fo,{provide:ni,useFactory:function cL(n){return n.routerState.root},deps:[Lt]},gD,pD,class nL{preload(t,e){return e().pipe(tr(()=>B(null)))}},{provide:ii,useValue:{enableTracing:!1}}];function iL(){return new dC("Router",Lt)}let yD=(()=>{class n{constructor(e,r){}static forRoot(e,r){return{ngModule:n,providers:[rL,_D(e),{provide:mD,useFactory:aL,deps:[[Lt,new Ft,new $r]]},{provide:ii,useValue:r||{}},{provide:ls,useFactory:oL,deps:[Zr,[new zs(df),new Ft],ii]},{provide:eh,useFactory:sL,deps:[Lt,dk,ii]},{provide:hD,useExisting:r&&r.preloadingStrategy?r.preloadingStrategy:pD},{provide:dC,multi:!0,useFactory:iL},[th,{provide:tl,multi:!0,useFactory:dL,deps:[th]},{provide:vD,useFactory:fL,deps:[th]},{provide:Zd,multi:!0,useExisting:vD}]]}}static forChild(e){return{ngModule:n,providers:[_D(e)]}}}return n.\u0275fac=function(e){return new(e||n)(D(mD,8),D(Lt,8))},n.\u0275mod=De({type:n}),n.\u0275inj=Ce({}),n})();function sL(n,t,e){return e.scrollOffset&&t.setOffset(e.scrollOffset),new eh(n,t,e)}function oL(n,t,e={}){return e.useHash?new QO(n,t):new OC(n,t)}function aL(n){return"guarded"}function _D(n){return[{provide:wM,multi:!0,useValue:n},{provide:Xf,multi:!0,useValue:n}]}let th=(()=>{class n{constructor(e){this.injector=e,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new Xe}appInitializer(){return this.injector.get(zO,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let r=null;const i=new Promise(a=>r=a),s=this.injector.get(Lt),o=this.injector.get(ii);return"disabled"===o.initialNavigation?(s.setUpLocationChangeListener(),r(!0)):"enabled"===o.initialNavigation||"enabledBlocking"===o.initialNavigation?(s.hooks.afterPreactivation=()=>this.initNavigation?B(null):(this.initNavigation=!0,r(!0),this.resultOfPreactivationDone),s.initialNavigation()):r(!0),i})}bootstrapListener(e){const r=this.injector.get(ii),i=this.injector.get(gD),s=this.injector.get(eh),o=this.injector.get(Lt),a=this.injector.get(vo);e===a.components[0]&&(("enabledNonBlocking"===r.initialNavigation||void 0===r.initialNavigation)&&o.initialNavigation(),i.setUpPreloading(),s.init(),o.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return n.\u0275fac=function(e){return new(e||n)(D(Je))},n.\u0275prov=w({token:n,factory:n.\u0275fac}),n})();function dL(n){return n.appInitializer.bind(n)}function fL(n){return n.bootstrapListener.bind(n)}const vD=new F("Router Initializer"),pL=new F("cdk-dir-doc",{providedIn:"root",factory:function gL(){return $s(ye)}}),mL=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let nh=(()=>{class n{constructor(e){if(this.value="ltr",this.change=new we,e){const i=e.documentElement?e.documentElement.dir:null;this.value=function yL(n){const t=(null==n?void 0:n.toLowerCase())||"";return"auto"===t&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?mL.test(navigator.language)?"rtl":"ltr":"rtl"===t?"rtl":"ltr"}((e.body?e.body.dir:null)||i||"ltr")}}ngOnDestroy(){this.change.complete()}}return n.\u0275fac=function(e){return new(e||n)(D(pL,8))},n.\u0275prov=w({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),rh=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=De({type:n}),n.\u0275inj=Ce({}),n})();function CD(n){for(let t in n){let e=n[t]||"";switch(t){case"display":n.display="flex"===e?["-webkit-flex","flex"]:"inline-flex"===e?["-webkit-inline-flex","inline-flex"]:e;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":n["-webkit-"+t]=e;break;case"flex-direction":e=e||"row",n["-webkit-flex-direction"]=e,n["flex-direction"]=e;break;case"order":n.order=n["-webkit-"+t]=isNaN(+e)?"0":e}}return n}const ih="inline",Hl=["row","column","row-reverse","column-reverse"];function bD(n){let[t,e,r]=DD(n);return function vL(n,t=null,e=!1){return{display:e?"inline-flex":"flex","box-sizing":"border-box","flex-direction":n,"flex-wrap":t||null}}(t,e,r)}function DD(n){n=n?n.toLowerCase():"";let[t,e,r]=n.split(" ");return Hl.find(i=>i===t)||(t=Hl[0]),e===ih&&(e=r!==ih?r:"",r=ih),[t,_L(e),!!r]}function ko(n){let[t]=DD(n);return t.indexOf("row")>-1}function _L(n){if(n)switch(n.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":n="wrap-reverse";break;case"no":case"none":case"nowrap":n="nowrap";break;default:n="wrap"}return n}function ir(n,...t){if(null==n)throw TypeError("Cannot convert undefined or null to object");for(let e of t)if(null!=e)for(let r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);return n}const bL={provide:Zd,useFactory:function CL(n,t){return()=>{if(Xr(t)){const e=Array.from(n.querySelectorAll(`[class*=${ED}]`)),r=/\bflex-layout-.+?\b/g;e.forEach(i=>{i.classList.contains(`${ED}ssr`)&&i.parentNode?i.parentNode.removeChild(i):i.className.replace(r,"")})}}},deps:[ye,Xt],multi:!0},ED="flex-layout-";let sh=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=De({type:n}),n.\u0275inj=Ce({providers:[bL]}),n})();class si{constructor(t=!1,e="all",r="",i="",s=0){this.matches=t,this.mediaQuery=e,this.mqAlias=r,this.suffix=i,this.priority=s,this.property=""}clone(){return new si(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let DL=(()=>{class n{constructor(){this.stylesheet=new Map}addStyleToElement(e,r,i){const s=this.stylesheet.get(e);s?s.set(r,i):this.stylesheet.set(e,new Map([[r,i]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(e,r){const i=this.stylesheet.get(e);let s="";if(i){const o=i.get(r);("number"==typeof o||"string"==typeof o)&&(s=o+"")}return s}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=w({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const oh={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[]},xr=new F("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>oh}),gs=new F("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),ah=new F("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function wD(n,t){return n=n?n.clone():new si,t&&(n.mqAlias=t.alias,n.mediaQuery=t.mediaQuery,n.suffix=t.suffix,n.priority=t.priority),n}class Ne{constructor(){this.shouldCache=!0}sideEffect(t,e,r){}}let be=(()=>{class n{constructor(e,r,i,s){this._serverStylesheet=e,this._serverModuleLoaded=r,this._platformId=i,this.layoutConfig=s}applyStyleToElement(e,r,i=null){let s={};"string"==typeof r&&(s[r]=i,r=s),s=this.layoutConfig.disableVendorPrefixes?r:CD(r),this._applyMultiValueStyleToElement(s,e)}applyStyleToElements(e,r=[]){const i=this.layoutConfig.disableVendorPrefixes?e:CD(e);r.forEach(s=>{this._applyMultiValueStyleToElement(i,s)})}getFlowDirection(e){const r="flex-direction";let i=this.lookupStyle(e,r);return[i||"row",this.lookupInlineStyle(e,r)||us(this._platformId)&&this._serverModuleLoaded?i:""]}hasWrap(e){return"wrap"===this.lookupStyle(e,"flex-wrap")}lookupAttributeValue(e,r){return e.getAttribute(r)||""}lookupInlineStyle(e,r){return Xr(this._platformId)?e.style.getPropertyValue(r):this._getServerStyle(e,r)}lookupStyle(e,r,i=!1){let s="";return e&&((s=this.lookupInlineStyle(e,r))||(Xr(this._platformId)?i||(s=getComputedStyle(e).getPropertyValue(r)):this._serverModuleLoaded&&(s=this._serverStylesheet.getStyleForElement(e,r)))),s?s.trim():""}_applyMultiValueStyleToElement(e,r){Object.keys(e).sort().forEach(i=>{const s=e[i],o=Array.isArray(s)?s:[s];o.sort();for(let a of o)a=a?a+"":"",Xr(this._platformId)||!this._serverModuleLoaded?Xr(this._platformId)?r.style.setProperty(i,a):this._setServerStyle(r,i,a):this._serverStylesheet.addStyleToElement(r,i,a)})}_setServerStyle(e,r,i){r=r.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const s=this._readStyleAttribute(e);s[r]=i||"",this._writeStyleAttribute(e,s)}_getServerStyle(e,r){return this._readStyleAttribute(e)[r]||""}_readStyleAttribute(e){const r={},i=e.getAttribute("style");if(i){const s=i.split(/;+/g);for(let o=0;o<s.length;o++){const a=s[o].trim();if(a.length>0){const l=a.indexOf(":");if(-1===l)throw new Error(`Invalid CSS style: ${a}`);r[a.substr(0,l).trim()]=a.substr(l+1).trim()}}}return r}_writeStyleAttribute(e,r){let i="";for(const s in r)r[s]&&(i+=s+":"+r[s]+";");e.setAttribute("style",i)}}return n.\u0275fac=function(e){return new(e||n)(D(DL),D(gs),D(Xt),D(xr))},n.\u0275prov=w({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Po(n,t){return(t&&t.priority||0)-(n&&n.priority||0)}function EL(n,t){return(n.priority||0)-(t.priority||0)}let lh=(()=>{class n{constructor(e,r,i){this._zone=e,this._platformId=r,this._document=i,this.source=new tn(new si(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const e=[];return this.registry.forEach((r,i)=>{r.matches&&e.push(i)}),e}isActive(e){const r=this.registry.get(e);return r?r.matches:this.registerQuery(e).some(i=>i.matches)}observe(e,r=!1){if(e&&e.length){const i=this._observable$.pipe(kn(o=>!r||e.indexOf(o.mediaQuery)>-1));return ta(new de(o=>{const a=this.registerQuery(e);if(a.length){const l=a.pop();a.forEach(u=>{o.next(u)}),this.source.next(l)}o.complete()}),i)}return this._observable$}registerQuery(e){const r=Array.isArray(e)?e:[e],i=[];return function wL(n,t){const e=n.filter(r=>!xD[r]);if(e.length>0){const r=e.join(", ");try{const i=t.createElement("style");i.setAttribute("type","text/css"),i.styleSheet||i.appendChild(t.createTextNode(`\n/*\n  @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n  see http://bit.ly/2sd4HMP\n*/\n@media ${r} {.fx-query-test{ }}\n`)),t.head.appendChild(i),e.forEach(s=>xD[s]=i)}catch(i){console.error(i)}}}(r,this._document),r.forEach(s=>{const o=l=>{this._zone.run(()=>this.source.next(new si(l.matches,s)))};let a=this.registry.get(s);a||(a=this.buildMQL(s),a.addListener(o),this.pendingRemoveListenerFns.push(()=>a.removeListener(o)),this.registry.set(s,a)),a.matches&&i.push(new si(!0,s))}),i}ngOnDestroy(){let e;for(;e=this.pendingRemoveListenerFns.pop();)e()}buildMQL(e){return function xL(n,t){return t&&window.matchMedia("all").addListener?window.matchMedia(n):{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{},onchange:null,addEventListener(){},removeEventListener(){},dispatchEvent:()=>!1}}(e,Xr(this._platformId))}}return n.\u0275fac=function(e){return new(e||n)(D(ce),D(Xt),D(ye))},n.\u0275prov=w({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const xD={},AL=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],AD="(orientation: portrait) and (max-width: 599.98px)",MD="(orientation: landscape) and (max-width: 959.98px)",SD="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",TD="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",ID="(orientation: portrait) and (min-width: 840px)",FD="(orientation: landscape) and (min-width: 1280px)",sr={HANDSET:`${AD}, ${MD}`,TABLET:`${SD} , ${TD}`,WEB:`${ID}, ${FD} `,HANDSET_PORTRAIT:`${AD}`,TABLET_PORTRAIT:`${SD} `,WEB_PORTRAIT:`${ID}`,HANDSET_LANDSCAPE:`${MD}`,TABLET_LANDSCAPE:`${TD}`,WEB_LANDSCAPE:`${FD}`},ML=[{alias:"handset",priority:2e3,mediaQuery:sr.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:sr.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:sr.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:sr.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:sr.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:sr.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:sr.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:sr.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:sr.WEB_PORTRAIT,overlapping:!0}],SL=/(\.|-|_)/g;function TL(n){let t=n.length>0?n.charAt(0):"",e=n.length>1?n.slice(1):"";return t.toUpperCase()+e}const OL=new F("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const n=$s(ah),t=$s(xr),e=[].concat.apply([],(n||[]).map(i=>Array.isArray(i)?i:[i]));return function RL(n,t=[]){const e={};return n.forEach(r=>{e[r.alias]=r}),t.forEach(r=>{e[r.alias]?ir(e[r.alias],r):e[r.alias]=r}),function FL(n){return n.forEach(t=>{t.suffix||(t.suffix=function IL(n){return n.replace(SL,"|").split("|").map(TL).join("")}(t.alias),t.overlapping=!!t.overlapping)}),n}(Object.keys(e).map(r=>e[r]))}((t.disableDefaultBps?[]:AL).concat(t.addOrientationBps?ML:[]),e)}});let uh=(()=>{class n{constructor(e){this.findByMap=new Map,this.items=[...e].sort(EL)}findByAlias(e){return e?this.findWithPredicate(e,r=>r.alias==e):null}findByQuery(e){return this.findWithPredicate(e,r=>r.mediaQuery==e)}get overlappings(){return this.items.filter(e=>1==e.overlapping)}get aliases(){return this.items.map(e=>e.alias)}get suffixes(){return this.items.map(e=>e.suffix?e.suffix:"")}findWithPredicate(e,r){let i=this.findByMap.get(e);return i||(i=this.items.find(r)||null,this.findByMap.set(e,i)),i||null}}return n.\u0275fac=function(e){return new(e||n)(D(OL))},n.\u0275prov=w({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const ms="print",NL={alias:ms,mediaQuery:ms,priority:1e3};let kL=(()=>{class n{constructor(e,r,i){this.breakpoints=e,this.layoutConfig=r,this._document=i,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.isPrinting=!1,this.queue=new PL,this.deactivations=[]}withPrintQuery(e){return[...e,ms]}isPrintEvent(e){return e.mediaQuery.startsWith(ms)}get printAlias(){return this.layoutConfig.printWithBreakpoints||[]}get printBreakPoints(){return this.printAlias.map(e=>this.breakpoints.findByAlias(e)).filter(e=>null!==e)}getEventBreakpoints({mediaQuery:e}){const r=this.breakpoints.findByQuery(e);return(r?[...this.printBreakPoints,r]:this.printBreakPoints).sort(Po)}updateEvent(e){let r=this.breakpoints.findByQuery(e.mediaQuery);return this.isPrintEvent(e)&&(r=this.getEventBreakpoints(e)[0],e.mediaQuery=r?r.mediaQuery:""),wD(e,r)}registerBeforeAfterPrintHooks(e){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const r=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(e,this.getEventBreakpoints(new si(!0,ms))),e.updateStyles())},i=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(e),e.updateStyles())};this._document.defaultView.addEventListener("beforeprint",r),this._document.defaultView.addEventListener("afterprint",i),this.beforePrintEventListeners.push(r),this.afterPrintEventListeners.push(i)}interceptEvents(e){return this.registerBeforeAfterPrintHooks(e),r=>{this.isPrintEvent(r)?r.matches&&!this.isPrinting?(this.startPrinting(e,this.getEventBreakpoints(r)),e.updateStyles()):!r.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(e),e.updateStyles()):this.collectActivations(r)}}blockPropagation(){return e=>!(this.isPrinting||this.isPrintEvent(e))}startPrinting(e,r){this.isPrinting=!0,e.activatedBreakpoints=this.queue.addPrintBreakpoints(r)}stopPrinting(e){e.activatedBreakpoints=this.deactivations,this.deactivations=[],this.queue.clear(),this.isPrinting=!1}collectActivations(e){if(!this.isPrinting||this.isPrintingBeforeAfterEvent)if(e.matches)this.isPrintingBeforeAfterEvent||(this.deactivations=[]);else{const r=this.breakpoints.findByQuery(e.mediaQuery);r&&(this.deactivations.push(r),this.deactivations.sort(Po))}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("beforeprint",e)),this.afterPrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("afterprint",e)))}}return n.\u0275fac=function(e){return new(e||n)(D(uh),D(xr),D(ye))},n.\u0275prov=w({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class PL{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(t){return t.push(NL),t.sort(Po),t.forEach(e=>this.addBreakpoint(e)),this.printBreakpoints}addBreakpoint(t){t&&void 0===this.printBreakpoints.find(r=>r.mediaQuery===t.mediaQuery)&&(this.printBreakpoints=function LL(n){return!!n&&n.mediaQuery.startsWith(ms)}(t)?[t,...this.printBreakpoints]:[...this.printBreakpoints,t])}clear(){this.printBreakpoints=[]}}let xe=(()=>{class n{constructor(e,r,i){this.matchMedia=e,this.breakpoints=r,this.hook=i,this.activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new Xe,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?this.activatedBreakpoints[0].alias:""}onMediaChange(e){const r=this.findByQuery(e.mediaQuery);r&&((e=wD(e,r)).matches&&-1===this.activatedBreakpoints.indexOf(r)?(this.activatedBreakpoints.push(r),this.activatedBreakpoints.sort(Po),this.updateStyles()):!e.matches&&-1!==this.activatedBreakpoints.indexOf(r)&&(this.activatedBreakpoints.splice(this.activatedBreakpoints.indexOf(r),1),this.activatedBreakpoints.sort(Po),this.updateStyles()))}init(e,r,i,s,o=[]){RD(this.updateMap,e,r,i),RD(this.clearMap,e,r,s),this.buildElementKeyMap(e,r),this.watchExtraTriggers(e,r,o)}getValue(e,r,i){const s=this.elementMap.get(e);if(s){const o=void 0!==i?s.get(i):this.getActivatedValues(s,r);if(o)return o.get(r)}}hasValue(e,r){const i=this.elementMap.get(e);if(i){const s=this.getActivatedValues(i,r);if(s)return void 0!==s.get(r)||!1}return!1}setValue(e,r,i,s){let o=this.elementMap.get(e);if(o){const l=(o.get(s)||new Map).set(r,i);o.set(s,l),this.elementMap.set(e,o)}else o=(new Map).set(s,(new Map).set(r,i)),this.elementMap.set(e,o);const a=this.getValue(e,r);void 0!==a&&this.updateElement(e,r,a)}trackValue(e,r){return this.subject.asObservable().pipe(kn(i=>i.element===e&&i.key===r))}updateStyles(){this.elementMap.forEach((e,r)=>{const i=new Set(this.elementKeyMap.get(r));let s=this.getActivatedValues(e);s&&s.forEach((o,a)=>{this.updateElement(r,a,o),i.delete(a)}),i.forEach(o=>{if(s=this.getActivatedValues(e,o),s){const a=s.get(o);this.updateElement(r,o,a)}else this.clearElement(r,o)})})}clearElement(e,r){const i=this.clearMap.get(e);if(i){const s=i.get(r);s&&(s(),this.subject.next({element:e,key:r,value:""}))}}updateElement(e,r,i){const s=this.updateMap.get(e);if(s){const o=s.get(r);o&&(o(i),this.subject.next({element:e,key:r,value:i}))}}releaseElement(e){const r=this.watcherMap.get(e);r&&(r.forEach(s=>s.unsubscribe()),this.watcherMap.delete(e));const i=this.elementMap.get(e);i&&(i.forEach((s,o)=>i.delete(o)),this.elementMap.delete(e))}triggerUpdate(e,r){const i=this.elementMap.get(e);if(i){const s=this.getActivatedValues(i,r);s&&(r?this.updateElement(e,r,s.get(r)):s.forEach((o,a)=>this.updateElement(e,a,o)))}}buildElementKeyMap(e,r){let i=this.elementKeyMap.get(e);i||(i=new Set,this.elementKeyMap.set(e,i)),i.add(r)}watchExtraTriggers(e,r,i){if(i&&i.length){let s=this.watcherMap.get(e);if(s||(s=new Map,this.watcherMap.set(e,s)),!s.get(r)){const a=ta(...i).subscribe(()=>{const l=this.getValue(e,r);this.updateElement(e,r,l)});s.set(r,a)}}}findByQuery(e){return this.breakpoints.findByQuery(e)}getActivatedValues(e,r){for(let s=0;s<this.activatedBreakpoints.length;s++){const a=e.get(this.activatedBreakpoints[s].alias);if(a&&(void 0===r||a.has(r)&&null!=a.get(r)))return a}const i=e.get("");return void 0===r||i&&i.has(r)?i:void 0}observeActivations(){const r=this.breakpoints.items.map(i=>i.mediaQuery);this.matchMedia.observe(this.hook.withPrintQuery(r)).pipe(et(this.hook.interceptEvents(this)),kn(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return n.\u0275fac=function(e){return new(e||n)(D(lh),D(uh),D(kL))},n.\u0275prov=w({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function RD(n,t,e,r){if(void 0!==r){let i=n.get(t);i||(i=new Map,n.set(t,i)),i.set(e,r)}}let Se=(()=>{class n{constructor(e,r,i,s){this.elementRef=e,this.styleBuilder=r,this.styler=i,this.marshal=s,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new Xe,this.styleCache=new Map}get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,this.marshal.activatedAlias)}ngOnChanges(e){Object.keys(e).forEach(r=>{if(-1!==this.inputs.indexOf(r)){const i=r.split(".").slice(1).join(".");this.setValue(e[r].currentValue,i)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(e=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),e)}addStyles(e,r){const i=this.styleBuilder,s=i.shouldCache;let o=this.styleCache.get(e);(!o||!s)&&(o=i.buildStyles(e,r),s&&this.styleCache.set(e,o)),this.mru=Object.assign({},o),this.applyStyleToElement(o),i.sideEffect(e,o,r)}clearStyles(){Object.keys(this.mru).forEach(e=>{this.mru[e]=""}),this.applyStyleToElement(this.mru),this.mru={}}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(e,r=!1){if(e){const[i,s]=this.styler.getFlowDirection(e);if(!s&&r){const o=bD(i);this.styler.applyStyleToElements(o,[e])}return i.trim()}return"row"}hasWrap(e){return this.styler.hasWrap(e)}applyStyleToElement(e,r,i=this.nativeElement){this.styler.applyStyleToElement(i,e,r)}setValue(e,r){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,r)}updateWithValue(e){this.currentValue!==e&&(this.addStyles(e),this.currentValue=e)}}return n.\u0275fac=function(e){return new(e||n)(p($),p(Ne),p(be),p(xe))},n.\u0275dir=b({type:n,features:[st]}),n})();function or(n){return Ge((t,e)=>{$t(n).subscribe(new Le(e,()=>e.complete(),As)),!e.closed&&t.subscribe(e)})}let jL=(()=>{class n extends Ne{buildStyles(e){return bD(e)}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=R(n)))(r||n)}}(),n.\u0275prov=w({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const HL=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"];let UL=(()=>{class n extends Se{constructor(e,r,i,s){super(e,i,r,s),this.DIRECTIVE_KEY="layout",this.styleCache=GL,this.init()}}return n.\u0275fac=function(e){return new(e||n)(p($),p(be),p(jL),p(xe))},n.\u0275dir=b({type:n,features:[x]}),n})(),kD=(()=>{class n extends UL{constructor(){super(...arguments),this.inputs=HL}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=R(n)))(r||n)}}(),n.\u0275dir=b({type:n,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[x]}),n})();const GL=new Map,PD={"margin-left":null,"margin-right":null,"margin-top":null,"margin-bottom":null};let $L=(()=>{class n extends Ne{constructor(e){super(),this._styler=e}buildStyles(e,r){return e.endsWith(Ul)?function XL(n,t){const[e,r]=n.split(" "),s=u=>`-${u}`;let o="0px",a=s(r||e),l="0px";return"rtl"===t?l=s(e):o=s(e),{margin:`0px ${o} ${a} ${l}`}}(e=e.slice(0,e.indexOf(Ul)),r.directionality):{}}sideEffect(e,r,i){const s=i.items;if(e.endsWith(Ul)){const o=function ZL(n,t){const[e,r]=n.split(" ");let s="0px",a="0px";return"rtl"===t?a=e:s=e,{padding:`0px ${s} ${r||e} ${a}`}}(e=e.slice(0,e.indexOf(Ul)),i.directionality);this._styler.applyStyleToElements(o,i.items)}else{const o=s.pop(),a=function JL(n,t){const e=VD(t.directionality,t.layout),r=Object.assign({},PD);return r[e]=n,r}(e,i);this._styler.applyStyleToElements(a,s),this._styler.applyStyleToElements(PD,[o])}}}return n.\u0275fac=function(e){return new(e||n)(D(be))},n.\u0275prov=w({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const qL=["fxLayoutGap","fxLayoutGap.xs","fxLayoutGap.sm","fxLayoutGap.md","fxLayoutGap.lg","fxLayoutGap.xl","fxLayoutGap.lt-sm","fxLayoutGap.lt-md","fxLayoutGap.lt-lg","fxLayoutGap.lt-xl","fxLayoutGap.gt-xs","fxLayoutGap.gt-sm","fxLayoutGap.gt-md","fxLayoutGap.gt-lg"];let zL=(()=>{class n extends Se{constructor(e,r,i,s,o,a){super(e,o,s,a),this.zone=r,this.directionality=i,this.styleUtils=s,this.layout="row",this.DIRECTIVE_KEY="layout-gap",this.observerSubject=new Xe;const l=[this.directionality.change,this.observerSubject.asObservable()];this.init(l),this.marshal.trackValue(this.nativeElement,"layout").pipe(or(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}get childrenNodes(){const e=this.nativeElement.children,r=[];for(let i=e.length;i--;)r[i]=e[i];return r}ngAfterContentInit(){this.buildChildObservable(),this.triggerUpdate()}ngOnDestroy(){super.ngOnDestroy(),this.observer&&this.observer.disconnect()}onLayoutChange(e){const i=e.value.split(" ");this.layout=i[0],Hl.find(s=>s===this.layout)||(this.layout="row"),this.triggerUpdate()}updateWithValue(e){const r=this.childrenNodes.filter(i=>1===i.nodeType&&this.willDisplay(i)).sort((i,s)=>{const o=+this.styler.lookupStyle(i,"order"),a=+this.styler.lookupStyle(s,"order");return isNaN(o)||isNaN(a)||o===a?0:o>a?1:-1});if(r.length>0){const i=this.directionality.value,s=this.layout;"row"===s&&"rtl"===i?this.styleCache=WL:"row"===s&&"rtl"!==i?this.styleCache=QL:"column"===s&&"rtl"===i?this.styleCache=KL:"column"===s&&"rtl"!==i&&(this.styleCache=YL),this.addStyles(e,{directionality:i,items:r,layout:s})}}clearStyles(){const e=Object.keys(this.mru).length>0,r=e?"padding":VD(this.directionality.value,this.layout);e&&super.clearStyles(),this.styleUtils.applyStyleToElements({[r]:""},this.childrenNodes)}willDisplay(e){const r=this.marshal.getValue(e,"show-hide");return!0===r||void 0===r&&"none"!==this.styleUtils.lookupStyle(e,"display")}buildChildObservable(){this.zone.runOutsideAngular(()=>{"undefined"!=typeof MutationObserver&&(this.observer=new MutationObserver(e=>{e.some(i=>i.addedNodes&&i.addedNodes.length>0||i.removedNodes&&i.removedNodes.length>0)&&this.observerSubject.next()}),this.observer.observe(this.nativeElement,{childList:!0}))})}}return n.\u0275fac=function(e){return new(e||n)(p($),p(ce),p(nh),p(be),p($L),p(xe))},n.\u0275dir=b({type:n,features:[x]}),n})(),LD=(()=>{class n extends zL{constructor(){super(...arguments),this.inputs=qL}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=R(n)))(r||n)}}(),n.\u0275dir=b({type:n,selectors:[["","fxLayoutGap",""],["","fxLayoutGap.xs",""],["","fxLayoutGap.sm",""],["","fxLayoutGap.md",""],["","fxLayoutGap.lg",""],["","fxLayoutGap.xl",""],["","fxLayoutGap.lt-sm",""],["","fxLayoutGap.lt-md",""],["","fxLayoutGap.lt-lg",""],["","fxLayoutGap.lt-xl",""],["","fxLayoutGap.gt-xs",""],["","fxLayoutGap.gt-sm",""],["","fxLayoutGap.gt-md",""],["","fxLayoutGap.gt-lg",""]],inputs:{fxLayoutGap:"fxLayoutGap","fxLayoutGap.xs":"fxLayoutGap.xs","fxLayoutGap.sm":"fxLayoutGap.sm","fxLayoutGap.md":"fxLayoutGap.md","fxLayoutGap.lg":"fxLayoutGap.lg","fxLayoutGap.xl":"fxLayoutGap.xl","fxLayoutGap.lt-sm":"fxLayoutGap.lt-sm","fxLayoutGap.lt-md":"fxLayoutGap.lt-md","fxLayoutGap.lt-lg":"fxLayoutGap.lt-lg","fxLayoutGap.lt-xl":"fxLayoutGap.lt-xl","fxLayoutGap.gt-xs":"fxLayoutGap.gt-xs","fxLayoutGap.gt-sm":"fxLayoutGap.gt-sm","fxLayoutGap.gt-md":"fxLayoutGap.gt-md","fxLayoutGap.gt-lg":"fxLayoutGap.gt-lg"},features:[x]}),n})();const WL=new Map,KL=new Map,QL=new Map,YL=new Map,Ul=" grid";function VD(n,t){switch(t){case"column":return"margin-bottom";case"column-reverse":return"margin-top";case"row":default:return"rtl"===n?"margin-left":"margin-right";case"row-reverse":return"rtl"===n?"margin-right":"margin-left"}}let IV=(()=>{class n extends Ne{buildStyles(e,r){const i={},[s,o]=e.split(" ");switch(s){case"center":i["justify-content"]="center";break;case"space-around":i["justify-content"]="space-around";break;case"space-between":i["justify-content"]="space-between";break;case"space-evenly":i["justify-content"]="space-evenly";break;case"end":case"flex-end":i["justify-content"]="flex-end";break;default:i["justify-content"]="flex-start"}switch(o){case"start":case"flex-start":i["align-items"]=i["align-content"]="flex-start";break;case"center":i["align-items"]=i["align-content"]="center";break;case"end":case"flex-end":i["align-items"]=i["align-content"]="flex-end";break;case"space-between":i["align-content"]="space-between",i["align-items"]="stretch";break;case"space-around":i["align-content"]="space-around",i["align-items"]="stretch";break;case"baseline":i["align-content"]="stretch",i["align-items"]="baseline";break;default:i["align-items"]=i["align-content"]="stretch"}return ir(i,{display:r.inline?"inline-flex":"flex","flex-direction":r.layout,"box-sizing":"border-box","max-width":"stretch"===o?ko(r.layout)?null:"100%":null,"max-height":"stretch"===o&&ko(r.layout)?"100%":null})}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=R(n)))(r||n)}}(),n.\u0275prov=w({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const FV=["fxLayoutAlign","fxLayoutAlign.xs","fxLayoutAlign.sm","fxLayoutAlign.md","fxLayoutAlign.lg","fxLayoutAlign.xl","fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg"];let RV=(()=>{class n extends Se{constructor(e,r,i,s){super(e,i,r,s),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe(or(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(e){const r=this.layout||"row",i=this.inline;"row"===r&&i?this.styleCache=LV:"row"!==r||i?"row-reverse"===r&&i?this.styleCache=BV:"row-reverse"!==r||i?"column"===r&&i?this.styleCache=VV:"column"!==r||i?"column-reverse"===r&&i?this.styleCache=jV:"column-reverse"===r&&!i&&(this.styleCache=PV):this.styleCache=NV:this.styleCache=kV:this.styleCache=OV,this.addStyles(e,{layout:r,inline:i})}onLayoutChange(e){const r=e.value.split(" ");this.layout=r[0],this.inline=e.value.includes("inline"),Hl.find(i=>i===this.layout)||(this.layout="row"),this.triggerUpdate()}}return n.\u0275fac=function(e){return new(e||n)(p($),p(be),p(IV),p(xe))},n.\u0275dir=b({type:n,features:[x]}),n})(),ch=(()=>{class n extends RV{constructor(){super(...arguments),this.inputs=FV}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=R(n)))(r||n)}}(),n.\u0275dir=b({type:n,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm":"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},features:[x]}),n})();const OV=new Map,NV=new Map,kV=new Map,PV=new Map,LV=new Map,VV=new Map,BV=new Map,jV=new Map;let BD=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=De({type:n}),n.\u0275inj=Ce({imports:[[sh,rh]]}),n})();function jD(...n){const t=Gp(n),{args:e,keys:r}=fb(n),i=new de(s=>{const{length:o}=e;if(!o)return void s.complete();const a=new Array(o);let l=o,u=o;for(let c=0;c<o;c++){let d=!1;$t(e[c]).subscribe(new Le(s,f=>{d||(d=!0,u--),a[c]=f},()=>l--,void 0,()=>{(!l||!d)&&(u||s.next(r?hb(r,a):a),s.complete())}))}});return t?i.pipe(Of(t)):i}let HD=(()=>{class n{constructor(e,r){this._renderer=e,this._elementRef=r,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(e,r){this._renderer.setProperty(this._elementRef.nativeElement,e,r)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return n.\u0275fac=function(e){return new(e||n)(p(mn),p($))},n.\u0275dir=b({type:n}),n})(),oi=(()=>{class n extends HD{}return n.\u0275fac=function(){let t;return function(r){return(t||(t=R(n)))(r||n)}}(),n.\u0275dir=b({type:n,features:[x]}),n})();const Vn=new F("NgValueAccessor"),UV={provide:Vn,useExisting:ge(()=>Gl),multi:!0},$V=new F("CompositionEventMode");let Gl=(()=>{class n extends HD{constructor(e,r,i){super(e,r),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function GV(){const n=Nn()?Nn().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(e){this.setProperty("value",null==e?"":e)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return n.\u0275fac=function(e){return new(e||n)(p(mn),p($),p($V,8))},n.\u0275dir=b({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,r){1&e&&je("input",function(s){return r._handleInput(s.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(s){return r._compositionEnd(s.target.value)})},features:[pe([UV]),x]}),n})();function Ar(n){return null==n||0===n.length}function GD(n){return null!=n&&"number"==typeof n.length}const ct=new F("NgValidators"),Mr=new F("NgAsyncValidators"),qV=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class zV{static min(t){return function $D(n){return t=>{if(Ar(t.value)||Ar(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e<n?{min:{min:n,actual:t.value}}:null}}(t)}static max(t){return function qD(n){return t=>{if(Ar(t.value)||Ar(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e>n?{max:{max:n,actual:t.value}}:null}}(t)}static required(t){return function zD(n){return Ar(n.value)?{required:!0}:null}(t)}static requiredTrue(t){return function WD(n){return!0===n.value?null:{required:!0}}(t)}static email(t){return function KD(n){return Ar(n.value)||qV.test(n.value)?null:{email:!0}}(t)}static minLength(t){return function QD(n){return t=>Ar(t.value)||!GD(t.value)?null:t.value.length<n?{minlength:{requiredLength:n,actualLength:t.value.length}}:null}(t)}static maxLength(t){return function YD(n){return t=>GD(t.value)&&t.value.length>n?{maxlength:{requiredLength:n,actualLength:t.value.length}}:null}(t)}static pattern(t){return function ZD(n){if(!n)return Lo;let t,e;return"string"==typeof n?(e="","^"!==n.charAt(0)&&(e+="^"),e+=n,"$"!==n.charAt(n.length-1)&&(e+="$"),t=new RegExp(e)):(e=n.toString(),t=n),r=>{if(Ar(r.value))return null;const i=r.value;return t.test(i)?null:{pattern:{requiredPattern:e,actualValue:i}}}}(t)}static nullValidator(t){return null}static compose(t){return rE(t)}static composeAsync(t){return iE(t)}}function Lo(n){return null}function XD(n){return null!=n}function JD(n){const t=oo(n)?Qe(n):n;return Cd(t),t}function eE(n){let t={};return n.forEach(e=>{t=null!=e?Object.assign(Object.assign({},t),e):t}),0===Object.keys(t).length?null:t}function tE(n,t){return t.map(e=>e(n))}function nE(n){return n.map(t=>function WV(n){return!n.validate}(t)?t:e=>t.validate(e))}function rE(n){if(!n)return null;const t=n.filter(XD);return 0==t.length?null:function(e){return eE(tE(e,t))}}function dh(n){return null!=n?rE(nE(n)):null}function iE(n){if(!n)return null;const t=n.filter(XD);return 0==t.length?null:function(e){return jD(tE(e,t).map(JD)).pipe(ee(eE))}}function fh(n){return null!=n?iE(nE(n)):null}function sE(n,t){return null===n?[t]:Array.isArray(n)?[...n,t]:[n,t]}function oE(n){return n._rawValidators}function aE(n){return n._rawAsyncValidators}function hh(n){return n?Array.isArray(n)?n:[n]:[]}function $l(n,t){return Array.isArray(n)?n.includes(t):n===t}function lE(n,t){const e=hh(t);return hh(n).forEach(i=>{$l(e,i)||e.push(i)}),e}function uE(n,t){return hh(t).filter(e=>!$l(n,e))}class cE{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=dh(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=fh(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}class ar extends cE{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class vt extends cE{get formDirective(){return null}get path(){return null}}class dE{constructor(t){this._cd=t}is(t){var e,r,i;return"submitted"===t?!!(null===(e=this._cd)||void 0===e?void 0:e.submitted):!!(null===(i=null===(r=this._cd)||void 0===r?void 0:r.control)||void 0===i?void 0:i[t])}}let fE=(()=>{class n extends dE{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(p(ar,2))},n.\u0275dir=b({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,r){2&e&&Qn("ng-untouched",r.is("untouched"))("ng-touched",r.is("touched"))("ng-pristine",r.is("pristine"))("ng-dirty",r.is("dirty"))("ng-valid",r.is("valid"))("ng-invalid",r.is("invalid"))("ng-pending",r.is("pending"))},features:[x]}),n})(),hE=(()=>{class n extends dE{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(p(vt,10))},n.\u0275dir=b({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,r){2&e&&Qn("ng-untouched",r.is("untouched"))("ng-touched",r.is("touched"))("ng-pristine",r.is("pristine"))("ng-dirty",r.is("dirty"))("ng-valid",r.is("valid"))("ng-invalid",r.is("invalid"))("ng-pending",r.is("pending"))("ng-submitted",r.is("submitted"))},features:[x]}),n})();function Vo(n,t){mh(n,t),t.valueAccessor.writeValue(n.value),function tB(n,t){t.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&gE(n,t)})}(n,t),function rB(n,t){const e=(r,i)=>{t.valueAccessor.writeValue(r),i&&t.viewToModelUpdate(r)};n.registerOnChange(e),t._registerOnDestroy(()=>{n._unregisterOnChange(e)})}(n,t),function nB(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&gE(n,t),"submit"!==n.updateOn&&n.markAsTouched()})}(n,t),function eB(n,t){if(t.valueAccessor.setDisabledState){const e=r=>{t.valueAccessor.setDisabledState(r)};n.registerOnDisabledChange(e),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}(n,t)}function Wl(n,t,e=!0){const r=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(r),t.valueAccessor.registerOnTouched(r)),Ql(n,t),n&&(t._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function Kl(n,t){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function mh(n,t){const e=oE(n);null!==t.validator?n.setValidators(sE(e,t.validator)):"function"==typeof e&&n.setValidators([e]);const r=aE(n);null!==t.asyncValidator?n.setAsyncValidators(sE(r,t.asyncValidator)):"function"==typeof r&&n.setAsyncValidators([r]);const i=()=>n.updateValueAndValidity();Kl(t._rawValidators,i),Kl(t._rawAsyncValidators,i)}function Ql(n,t){let e=!1;if(null!==n){if(null!==t.validator){const i=oE(n);if(Array.isArray(i)&&i.length>0){const s=i.filter(o=>o!==t.validator);s.length!==i.length&&(e=!0,n.setValidators(s))}}if(null!==t.asyncValidator){const i=aE(n);if(Array.isArray(i)&&i.length>0){const s=i.filter(o=>o!==t.asyncValidator);s.length!==i.length&&(e=!0,n.setAsyncValidators(s))}}}const r=()=>{};return Kl(t._rawValidators,r),Kl(t._rawAsyncValidators,r),e}function gE(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function mE(n,t){mh(n,t)}function yE(n,t){n._syncPendingControls(),t.forEach(e=>{const r=e.control;"submit"===r.updateOn&&r._pendingChange&&(e.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function Yl(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}const Bo="VALID",Zl="INVALID",ys="PENDING",jo="DISABLED";function Ch(n){return(Dh(n)?n.validators:n)||null}function _E(n){return Array.isArray(n)?dh(n):n||null}function bh(n,t){return(Dh(t)?t.asyncValidators:n)||null}function vE(n){return Array.isArray(n)?fh(n):n||null}function Dh(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}const CE=n=>n instanceof wE,Eh=n=>n instanceof xh;function bE(n){return CE(n)?n.value:n.getRawValue()}function DE(n,t){const e=Eh(n),r=n.controls;if(!(e?Object.keys(r):r).length)throw new ne(1e3,"");if(!r[t])throw new ne(1001,"")}function EE(n,t){Eh(n),n._forEachChild((r,i)=>{if(void 0===t[i])throw new ne(1002,"")})}class wh{constructor(t,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=_E(this._rawValidators),this._composedAsyncValidatorFn=vE(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Bo}get invalid(){return this.status===Zl}get pending(){return this.status==ys}get disabled(){return this.status===jo}get enabled(){return this.status!==jo}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=_E(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=vE(t)}addValidators(t){this.setValidators(lE(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(lE(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(uE(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(uE(t,this._rawAsyncValidators))}hasValidator(t){return $l(this._rawValidators,t)}hasAsyncValidator(t){return $l(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=ys,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=jo,this.errors=null,this._forEachChild(r=>{r.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=Bo,this._forEachChild(r=>{r.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Bo||this.status===ys)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?jo:Bo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=ys,this._hasOwnPendingAsyncValidator=!0;const e=JD(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function aB(n,t,e){if(null==t||(Array.isArray(t)||(t=t.split(e)),Array.isArray(t)&&0===t.length))return null;let r=n;return t.forEach(i=>{r=Eh(r)?r.controls.hasOwnProperty(i)?r.controls[i]:null:(n=>n instanceof uB)(r)&&r.at(i)||null}),r}(this,t,".")}getError(t,e){const r=e?this.get(e):this;return r&&r.errors?r.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new we,this.statusChanges=new we}_calculateStatus(){return this._allControlsDisabled()?jo:this.errors?Zl:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ys)?ys:this._anyControlsHaveStatus(Zl)?Zl:Bo}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){Dh(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class wE extends wh{constructor(t=null,e,r){super(Ch(e),bh(r,e)),this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Yl(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Yl(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class xh extends wh{constructor(t,e,r){super(Ch(e),bh(r,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,r={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){EE(this,t),Object.keys(t).forEach(r=>{DE(this,r),this.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(r=>{this.controls[r]&&this.controls[r].patchValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((r,i)=>{r.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,r)=>(t[r]=bE(e),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(e,r)=>!!r._syncPendingControls()||e);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const r=this.controls[e];r&&t(r,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const e of Object.keys(this.controls)){const r=this.controls[e];if(this.contains(e)&&t(r))return!0}return!1}_reduceValue(){return this._reduceChildren({},(t,e,r)=>((e.enabled||this.disabled)&&(t[r]=e.value),t))}_reduceChildren(t,e){let r=t;return this._forEachChild((i,s)=>{r=e(r,i,s)}),r}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class uB extends wh{constructor(t,e,r){super(Ch(e),bh(r,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[t]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,r={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){EE(this,t),t.forEach((r,i)=>{DE(this,i),this.at(i).setValue(r,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((r,i)=>{this.at(i)&&this.at(i).patchValue(r,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((r,i)=>{r.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>bE(t))}clear(t={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_syncPendingControls(){let t=this.controls.reduce((e,r)=>!!r._syncPendingControls()||e,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((e,r)=>{t(e,r)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const cB={provide:vt,useExisting:ge(()=>Uo)},Ho=(()=>Promise.resolve(null))();let Uo=(()=>{class n extends vt{constructor(e,r){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new we,this.form=new xh({},dh(e),fh(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Ho.then(()=>{const r=this._findContainer(e.path);e.control=r.registerControl(e.name,e.control),Vo(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Ho.then(()=>{const r=this._findContainer(e.path);r&&r.removeControl(e.name),Yl(this._directives,e)})}addFormGroup(e){Ho.then(()=>{const r=this._findContainer(e.path),i=new xh({});mE(i,e),r.registerControl(e.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Ho.then(()=>{const r=this._findContainer(e.path);r&&r.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,r){Ho.then(()=>{this.form.get(e.path).setValue(r)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,yE(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return n.\u0275fac=function(e){return new(e||n)(p(ct,10),p(Mr,10))},n.\u0275dir=b({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,r){1&e&&je("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[pe([cB]),x]}),n})();const fB={provide:ar,useExisting:ge(()=>Ah)},ME=(()=>Promise.resolve(null))();let Ah=(()=>{class n extends ar{constructor(e,r,i,s){super(),this.control=new wE,this._registered=!1,this.update=new we,this._parent=e,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=function _h(n,t){if(!t)return null;let e,r,i;return Array.isArray(t),t.forEach(s=>{s.constructor===Gl?e=s:function oB(n){return Object.getPrototypeOf(n.constructor)===oi}(s)?r=s:i=s}),i||r||e||null}(0,s)}ngOnChanges(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),function yh(n,t){if(!n.hasOwnProperty("model"))return!1;const e=n.model;return!!e.isFirstChange()||!Object.is(t,e.currentValue)}(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?function zl(n,t){return[...t.path,n]}(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Vo(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){ME.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1})})}_updateDisabled(e){const r=e.isDisabled.currentValue,i=""===r||r&&"false"!==r;ME.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable()})}}return n.\u0275fac=function(e){return new(e||n)(p(vt,9),p(ct,10),p(Mr,10),p(Vn,10))},n.\u0275dir=b({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[pe([fB]),x,st]}),n})(),SE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=b({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),n})(),IE=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=De({type:n}),n.\u0275inj=Ce({}),n})();const _B={provide:vt,useExisting:ge(()=>Xl)};let Xl=(()=>{class n extends vt{constructor(e,r){super(),this.validators=e,this.asyncValidators=r,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new we,this._setValidators(e),this._setAsyncValidators(r)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Ql(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const r=this.form.get(e.path);return Vo(r,e),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),r}getControl(e){return this.form.get(e.path)}removeControl(e){Wl(e.control||null,e,!1),Yl(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,r){this.form.get(e.path).setValue(r)}onSubmit(e){return this.submitted=!0,yE(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const r=e.control,i=this.form.get(e.path);r!==i&&(Wl(r||null,e),CE(i)&&(Vo(i,e),e.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const r=this.form.get(e.path);mE(r,e),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const r=this.form.get(e.path);r&&function iB(n,t){return Ql(n,t)}(r,e)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){mh(this.form,this),this._oldForm&&Ql(this._oldForm,this)}_checkFormPresent(){}}return n.\u0275fac=function(e){return new(e||n)(p(ct,10),p(Mr,10))},n.\u0275dir=b({type:n,selectors:[["","formGroup",""]],hostBindings:function(e,r){1&e&&je("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[pe([_B]),x,st]}),n})(),PB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=De({type:n}),n.\u0275inj=Ce({imports:[[IE]]}),n})(),LB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=De({type:n}),n.\u0275inj=Ce({imports:[PB]}),n})();function xt(n){return null!=n&&"false"!=`${n}`}function Rh(n){return n instanceof $?n.nativeElement:n}class jB extends bt{constructor(t,e){super()}schedule(t,e=0){return this}}const Jl={setInterval(...n){const{delegate:t}=Jl;return((null==t?void 0:t.setInterval)||setInterval)(...n)},clearInterval(n){const{delegate:t}=Jl;return((null==t?void 0:t.clearInterval)||clearInterval)(n)},delegate:void 0},KE={now:()=>(KE.delegate||Date).now(),delegate:void 0};class $o{constructor(t,e=$o.now){this.schedulerActionCtor=t,this.now=e}schedule(t,e=0,r){return new this.schedulerActionCtor(this,t).schedule(r,e)}}$o.now=KE.now;const GB=new class UB extends $o{constructor(t,e=$o.now){super(t,e),this.actions=[],this._active=!1,this._scheduled=void 0}flush(t){const{actions:e}=this;if(this._active)return void e.push(t);let r;this._active=!0;do{if(r=t.execute(t.state,t.delay))break}while(t=e.shift());if(this._active=!1,r){for(;t=e.shift();)t.unsubscribe();throw r}}}(class HB extends jB{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const r=this.id,i=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(i,r,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,this.id,e),this}requestAsyncId(t,e,r=0){return Jl.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,e,r=0){if(null!=r&&this.delay===r&&!1===this.pending)return e;Jl.clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(t,e);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let i,r=!1;try{this.work(t)}catch(s){r=!0,i=s||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),i}unsubscribe(){if(!this.closed){const{id:t,scheduler:e}=this,{actions:r}=e;this.work=this.state=this.scheduler=null,this.pending=!1,gi(r,this),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null,super.unsubscribe()}}});let Oh,QE=(()=>{class n{create(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=w({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),qB=(()=>{class n{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,r)=>this._cleanupObserver(r))}observe(e){const r=Rh(e);return new de(i=>{const o=this._observeElement(r).subscribe(i);return()=>{o.unsubscribe(),this._unobserveElement(r)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const r=new Xe,i=this._mutationObserverFactory.create(s=>r.next(s));i&&i.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:i,stream:r,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:r,stream:i}=this._observedElements.get(e);r&&r.disconnect(),i.complete(),this._observedElements.delete(e)}}}return n.\u0275fac=function(e){return new(e||n)(D(QE))},n.\u0275prov=w({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),zB=(()=>{class n{constructor(e,r,i){this._contentObserver=e,this._elementRef=r,this._ngZone=i,this.event=new we,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=xt(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=function VB(n,t=0){return function BB(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}(n)?Number(n):t}(e),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(function $B(n,t=GB){return Ge((e,r)=>{let i=null,s=null,o=null;const a=()=>{if(i){i.unsubscribe(),i=null;const u=s;s=null,r.next(u)}};function l(){const u=o+n,c=t.now();if(c<u)return i=this.schedule(void 0,u-c),void r.add(i);a()}e.subscribe(new Le(r,u=>{s=u,o=t.now(),i||(i=t.schedule(l,n),r.add(i))},()=>{a(),r.complete()},void 0,()=>{s=i=null}))})}(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){var e;null===(e=this._currentSubscription)||void 0===e||e.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(p(qB),p($),p(ce))},n.\u0275dir=b({type:n,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),n})(),WB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=De({type:n}),n.\u0275inj=Ce({providers:[QE]}),n})();try{Oh="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(n){Oh=!1}let _s,eu=(()=>{class n{constructor(e){this._platformId=e,this.isBrowser=this._platformId?Xr(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Oh)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return n.\u0275fac=function(e){return new(e||n)(D(Xt))},n.\u0275prov=w({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),KB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=De({type:n}),n.\u0275inj=Ce({}),n})();const ZE=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function XE(){if(_s)return _s;if("object"!=typeof document||!document)return _s=new Set(ZE),_s;let n=document.createElement("input");return _s=new Set(ZE.filter(t=>(n.setAttribute("type",t),n.type===t))),_s}let qo;function tu(n){return function QB(){if(null==qo&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>qo=!0}))}finally{qo=qo||!1}return qo}()?n:!!n.capture}const nw="cdk-high-contrast-black-on-white",rw="cdk-high-contrast-white-on-black",kh="cdk-high-contrast-active";let dj=(()=>{class n{constructor(e,r){this._platform=e,this._document=r}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const r=this._document.defaultView||window,i=r&&r.getComputedStyle?r.getComputedStyle(e):null,s=(i&&i.backgroundColor||"").replace(/ /g,"");switch(e.remove(),s){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(kh),e.remove(nw),e.remove(rw),this._hasCheckedHighContrastMode=!0;const r=this.getHighContrastMode();1===r?(e.add(kh),e.add(nw)):2===r&&(e.add(kh),e.add(rw))}}}return n.\u0275fac=function(e){return new(e||n)(D(eu),D(ye))},n.\u0275prov=w({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const hj=new F("mat-sanity-checks",{providedIn:"root",factory:function fj(){return!0}});let zo=(()=>{class n{constructor(e,r,i){this._sanityChecks=r,this._document=i,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!function ZB(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return n.\u0275fac=function(e){return new(e||n)(D(dj),D(hj,8),D(ye))},n.\u0275mod=De({type:n}),n.\u0275inj=Ce({imports:[[rh],rh]}),n})();function sw(n,t){return class extends n{constructor(...e){super(...e),this.defaultColor=t,this.color=t}get color(){return this._color}set color(e){const r=e||this.defaultColor;r!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),r&&this._elementRef.nativeElement.classList.add(`mat-${r}`),this._color=r)}}}function pj(n){return class extends n{constructor(...t){super(...t),this.stateChanges=new Xe,this.errorState=!1}updateErrorState(){const t=this.errorState,s=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);s!==t&&(this.errorState=s,this.stateChanges.next())}}}let ow=(()=>{class n{isErrorState(e,r){return!!(e&&e.invalid&&(e.touched||r&&r.submitted))}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=w({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Cj=["addListener","removeListener"],bj=["addEventListener","removeEventListener"],Dj=["on","off"];function Lh(n,t,e,r){if(se(e)&&(r=e,e=void 0),r)return Lh(n,t,e).pipe(Of(r));const[i,s]=function xj(n){return se(n.addEventListener)&&se(n.removeEventListener)}(n)?bj.map(o=>a=>n[o](t,a,e)):function Ej(n){return se(n.addListener)&&se(n.removeListener)}(n)?Cj.map(cw(n,t)):function wj(n){return se(n.on)&&se(n.off)}(n)?Dj.map(cw(n,t)):[];if(!i&&Fu(n))return $e(o=>Lh(o,t,e))($t(n));if(!i)throw new TypeError("Invalid event target");return new de(o=>{const a=(...l)=>o.next(1<l.length?l:l[0]);return i(a),()=>s(a)})}function cw(n,t){return e=>r=>n[e](t,r)}class dw{}const lr="*";function Mj(n,t){return{type:7,name:n,definitions:t,options:{}}}function Sj(n,t=null){return{type:4,styles:t,timings:n}}function fw(n,t=null){return{type:2,steps:n,options:t}}function ru(n){return{type:6,styles:n,offset:null}}function Tj(n,t,e){return{type:0,name:n,styles:t,options:e}}function Ij(n,t,e=null){return{type:1,expr:n,animation:t,options:e}}function hw(n){Promise.resolve(null).then(n)}class vs{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(){hw(()=>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(r=>r()),e.length=0}}class pw{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,r=0,i=0;const s=this.players.length;0==s?hw(()=>this._onFinish()):this.players.forEach(o=>{o.onDone(()=>{++e==s&&this._onFinish()}),o.onDestroy(()=>{++r==s&&this._onDestroy()}),o.onStart(()=>{++i==s&&this._onStart()})}),this.totalTime=this.players.reduce((o,a)=>Math.max(o,a.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(r=>{const i=r.totalTime?Math.min(1,e/r.totalTime):1;r.setPosition(i)})}getPosition(){const t=this.players.reduce((e,r)=>null===e||r.totalTime>e.totalTime?r:e,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(r=>r()),e.length=0}}function gw(){return"undefined"!=typeof window&&void 0!==window.document}function Bh(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Sr(n){switch(n.length){case 0:return new vs;case 1:return n[0];default:return new pw(n)}}function mw(n,t,e,r,i={},s={}){const o=[],a=[];let l=-1,u=null;if(r.forEach(c=>{const d=c.offset,f=d==l,h=f&&u||{};Object.keys(c).forEach(g=>{let m=g,_=c[g];if("offset"!==g)switch(m=t.normalizePropertyName(m,o),_){case"!":_=i[g];break;case lr:_=s[g];break;default:_=t.normalizeStyleValue(g,m,_,o)}h[m]=_}),f||a.push(h),u=h,l=d}),o.length){const c="\n - ";throw new Error(`Unable to animate due to the following errors:${c}${o.join(c)}`)}return a}function jh(n,t,e,r){switch(t){case"start":n.onStart(()=>r(e&&Hh(e,"start",n)));break;case"done":n.onDone(()=>r(e&&Hh(e,"done",n)));break;case"destroy":n.onDestroy(()=>r(e&&Hh(e,"destroy",n)))}}function Hh(n,t,e){const r=e.totalTime,s=Uh(n.element,n.triggerName,n.fromState,n.toState,t||n.phaseName,null==r?n.totalTime:r,!!e.disabled),o=n._data;return null!=o&&(s._data=o),s}function Uh(n,t,e,r,i="",s=0,o){return{element:n,triggerName:t,fromState:e,toState:r,phaseName:i,totalTime:s,disabled:!!o}}function Vt(n,t,e){let r;return n instanceof Map?(r=n.get(t),r||n.set(t,r=e)):(r=n[t],r||(r=n[t]=e)),r}function yw(n){const t=n.indexOf(":");return[n.substring(1,t),n.substr(t+1)]}let Gh=(n,t)=>!1,_w=(n,t,e)=>[];(Bh()||"undefined"!=typeof Element)&&(Gh=gw()?(n,t)=>{for(;t&&t!==document.documentElement;){if(t===n)return!0;t=t.parentNode||t.host}return!1}:(n,t)=>n.contains(t),_w=(n,t,e)=>{if(e)return Array.from(n.querySelectorAll(t));const r=n.querySelector(t);return r?[r]:[]});let li=null,vw=!1;function $h(n){li||(li=function Rj(){return"undefined"!=typeof document?document.body:null}()||{},vw=!!li.style&&"WebkitAppearance"in li.style);let t=!0;return li.style&&!function Fj(n){return"ebkit"==n.substring(1,6)}(n)&&(t=n in li.style,!t&&vw&&(t="Webkit"+n.charAt(0).toUpperCase()+n.substr(1)in li.style)),t}const qh=Gh,zh=_w;function Cw(n){const t={};return Object.keys(n).forEach(e=>{const r=e.replace(/([a-z])([A-Z])/g,"$1-$2");t[r]=n[e]}),t}let bw=(()=>{class n{validateStyleProperty(e){return $h(e)}matchesElement(e,r){return!1}containsElement(e,r){return qh(e,r)}query(e,r,i){return zh(e,r,i)}computeStyle(e,r,i){return i||""}animate(e,r,i,s,o,a=[],l){return new vs(i,s)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=w({token:n,factory:n.\u0275fac}),n})(),Wh=(()=>{class n{}return n.NOOP=new bw,n})();const Kh="ng-enter",iu="ng-leave",su="ng-trigger",ou=".ng-trigger",Ew="ng-animating",Qh=".ng-animating";function ui(n){if("number"==typeof n)return n;const t=n.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:Yh(parseFloat(t[1]),t[2])}function Yh(n,t){return"s"===t?1e3*n:n}function au(n,t,e){return n.hasOwnProperty("duration")?n:function kj(n,t,e){let i,s=0,o="";if("string"==typeof n){const a=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return t.push(`The provided timing value "${n}" is invalid.`),{duration:0,delay:0,easing:""};i=Yh(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(s=Yh(parseFloat(l),a[4]));const u=a[5];u&&(o=u)}else i=n;if(!e){let a=!1,l=t.length;i<0&&(t.push("Duration values below 0 are not allowed for this animation step."),a=!0),s<0&&(t.push("Delay values below 0 are not allowed for this animation step."),a=!0),a&&t.splice(l,0,`The provided timing value "${n}" is invalid.`)}return{duration:i,delay:s,easing:o}}(n,t,e)}function Cs(n,t={}){return Object.keys(n).forEach(e=>{t[e]=n[e]}),t}function Tr(n,t,e={}){if(t)for(let r in n)e[r]=n[r];else Cs(n,e);return e}function xw(n,t,e){return e?t+":"+e+";":""}function Aw(n){let t="";for(let e=0;e<n.style.length;e++){const r=n.style.item(e);t+=xw(0,r,n.style.getPropertyValue(r))}for(const e in n.style)n.style.hasOwnProperty(e)&&!e.startsWith("_")&&(t+=xw(0,Vj(e),n.style[e]));n.setAttribute("style",t)}function Bn(n,t,e){n.style&&(Object.keys(t).forEach(r=>{const i=Xh(r);e&&!e.hasOwnProperty(r)&&(e[r]=n.style[i]),n.style[i]=t[r]}),Bh()&&Aw(n))}function ci(n,t){n.style&&(Object.keys(t).forEach(e=>{const r=Xh(e);n.style[r]=""}),Bh()&&Aw(n))}function Ko(n){return Array.isArray(n)?1==n.length?n[0]:fw(n):n}const Zh=new RegExp("{{\\s*(.+?)\\s*}}","g");function Mw(n){let t=[];if("string"==typeof n){let e;for(;e=Zh.exec(n);)t.push(e[1]);Zh.lastIndex=0}return t}function lu(n,t,e){const r=n.toString(),i=r.replace(Zh,(s,o)=>{let a=t[o];return t.hasOwnProperty(o)||(e.push(`Please provide a value for the animation param ${o}`),a=""),a.toString()});return i==r?n:i}function uu(n){const t=[];let e=n.next();for(;!e.done;)t.push(e.value),e=n.next();return t}const Lj=/-+([a-z0-9])/g;function Xh(n){return n.replace(Lj,(...t)=>t[1].toUpperCase())}function Vj(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Sw(n,t){return 0===n||0===t}function Tw(n,t,e){const r=Object.keys(e);if(r.length&&t.length){let s=t[0],o=[];if(r.forEach(a=>{s.hasOwnProperty(a)||o.push(a),s[a]=e[a]}),o.length)for(var i=1;i<t.length;i++){let a=t[i];o.forEach(function(l){a[l]=Jh(n,l)})}}return t}function Bt(n,t,e){switch(t.type){case 7:return n.visitTrigger(t,e);case 0:return n.visitState(t,e);case 1:return n.visitTransition(t,e);case 2:return n.visitSequence(t,e);case 3:return n.visitGroup(t,e);case 4:return n.visitAnimate(t,e);case 5:return n.visitKeyframes(t,e);case 6:return n.visitStyle(t,e);case 8:return n.visitReference(t,e);case 9:return n.visitAnimateChild(t,e);case 10:return n.visitAnimateRef(t,e);case 11:return n.visitQuery(t,e);case 12:return n.visitStagger(t,e);default:throw new Error(`Unable to resolve animation metadata node #${t.type}`)}}function Jh(n,t){return window.getComputedStyle(n)[t]}function Bj(n,t){const e=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(r=>function jj(n,t,e){if(":"==n[0]){const l=function Hj(n,t){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,r)=>parseFloat(r)>parseFloat(e);case":decrement":return(e,r)=>parseFloat(r)<parseFloat(e);default:return t.push(`The transition alias value "${n}" is not supported`),"* => *"}}(n,e);if("function"==typeof l)return void t.push(l);n=l}const r=n.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return e.push(`The provided transition expression "${n}" is not supported`),t;const i=r[1],s=r[2],o=r[3];t.push(Iw(i,o));"<"==s[0]&&!("*"==i&&"*"==o)&&t.push(Iw(o,i))}(r,e,t)):e.push(n),e}const du=new Set(["true","1"]),fu=new Set(["false","0"]);function Iw(n,t){const e=du.has(n)||fu.has(n),r=du.has(t)||fu.has(t);return(i,s)=>{let o="*"==n||n==i,a="*"==t||t==s;return!o&&e&&"boolean"==typeof i&&(o=i?du.has(n):fu.has(n)),!a&&r&&"boolean"==typeof s&&(a=s?du.has(t):fu.has(t)),o&&a}}const Uj=new RegExp("s*:selfs*,?","g");function ep(n,t,e){return new Gj(n).build(t,e)}class Gj{constructor(t){this._driver=t}build(t,e){const r=new zj(e);return this._resetContextStyleTimingState(r),Bt(this,Ko(t),r)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let r=e.queryCount=0,i=e.depCount=0;const s=[],o=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),0==a.type){const l=a,u=l.name;u.toString().split(/\s*,\s*/).forEach(c=>{l.name=c,s.push(this.visitState(l,e))}),l.name=u}else if(1==a.type){const l=this.visitTransition(a,e);r+=l.queryCount,i+=l.depCount,o.push(l)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:s,transitions:o,queryCount:r,depCount:i,options:null}}visitState(t,e){const r=this.visitStyle(t.styles,e),i=t.options&&t.options.params||null;if(r.containsDynamicStyles){const s=new Set,o=i||{};if(r.styles.forEach(a=>{if(hu(a)){const l=a;Object.keys(l).forEach(u=>{Mw(l[u]).forEach(c=>{o.hasOwnProperty(c)||s.add(c)})})}}),s.size){const a=uu(s.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${a.join(", ")}`)}}return{type:0,name:t.name,style:r,options:i?{params:i}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const r=Bt(this,Ko(t.animation),e);return{type:1,matchers:Bj(t.expr,e.errors),animation:r,queryCount:e.queryCount,depCount:e.depCount,options:di(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(r=>Bt(this,r,e)),options:di(t.options)}}visitGroup(t,e){const r=e.currentTime;let i=0;const s=t.steps.map(o=>{e.currentTime=r;const a=Bt(this,o,e);return i=Math.max(i,e.currentTime),a});return e.currentTime=i,{type:3,steps:s,options:di(t.options)}}visitAnimate(t,e){const r=function Kj(n,t){let e=null;if(n.hasOwnProperty("duration"))e=n;else if("number"==typeof n)return tp(au(n,t).duration,0,"");const r=n;if(r.split(/\s+/).some(s=>"{"==s.charAt(0)&&"{"==s.charAt(1))){const s=tp(0,0,"");return s.dynamic=!0,s.strValue=r,s}return e=e||au(r,t),tp(e.duration,e.delay,e.easing)}(t.timings,e.errors);e.currentAnimateTimings=r;let i,s=t.styles?t.styles:ru({});if(5==s.type)i=this.visitKeyframes(s,e);else{let o=t.styles,a=!1;if(!o){a=!0;const u={};r.easing&&(u.easing=r.easing),o=ru(u)}e.currentTime+=r.duration+r.delay;const l=this.visitStyle(o,e);l.isEmptyStep=a,i=l}return e.currentAnimateTimings=null,{type:4,timings:r,style:i,options:null}}visitStyle(t,e){const r=this._makeStyleAst(t,e);return this._validateStyleAst(r,e),r}_makeStyleAst(t,e){const r=[];Array.isArray(t.styles)?t.styles.forEach(o=>{"string"==typeof o?o==lr?r.push(o):e.errors.push(`The provided style string value ${o} is not allowed.`):r.push(o)}):r.push(t.styles);let i=!1,s=null;return r.forEach(o=>{if(hu(o)){const a=o,l=a.easing;if(l&&(s=l,delete a.easing),!i)for(let u in a)if(a[u].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:r,easing:s,offset:t.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(t,e){const r=e.currentAnimateTimings;let i=e.currentTime,s=e.currentTime;r&&s>0&&(s-=r.duration+r.delay),t.styles.forEach(o=>{"string"!=typeof o&&Object.keys(o).forEach(a=>{if(!this._driver.validateStyleProperty(a))return void e.errors.push(`The provided animation property "${a}" is not a supported CSS property for animations`);const l=e.collectedStyles[e.currentQuerySelector],u=l[a];let c=!0;u&&(s!=i&&s>=u.startTime&&i<=u.endTime&&(e.errors.push(`The CSS property "${a}" that exists between the times of "${u.startTime}ms" and "${u.endTime}ms" is also being animated in a parallel animation between the times of "${s}ms" and "${i}ms"`),c=!1),s=u.startTime),c&&(l[a]={startTime:s,endTime:i}),e.options&&function Pj(n,t,e){const r=t.params||{},i=Mw(n);i.length&&i.forEach(s=>{r.hasOwnProperty(s)||e.push(`Unable to resolve the local animation param ${s} in the given list of values`)})}(o[a],e.options,e.errors)})})}visitKeyframes(t,e){const r={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),r;let s=0;const o=[];let a=!1,l=!1,u=0;const c=t.steps.map(v=>{const y=this._makeStyleAst(v,e);let E=null!=y.offset?y.offset:function Wj(n){if("string"==typeof n)return null;let t=null;if(Array.isArray(n))n.forEach(e=>{if(hu(e)&&e.hasOwnProperty("offset")){const r=e;t=parseFloat(r.offset),delete r.offset}});else if(hu(n)&&n.hasOwnProperty("offset")){const e=n;t=parseFloat(e.offset),delete e.offset}return t}(y.styles),T=0;return null!=E&&(s++,T=y.offset=E),l=l||T<0||T>1,a=a||T<u,u=T,o.push(T),y});l&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),a&&e.errors.push("Please ensure that all keyframe offsets are in order");const d=t.steps.length;let f=0;s>0&&s<d?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==s&&(f=1/(d-1));const h=d-1,g=e.currentTime,m=e.currentAnimateTimings,_=m.duration;return c.forEach((v,y)=>{const E=f>0?y==h?1:f*y:o[y],T=E*_;e.currentTime=g+m.delay+T,m.duration=T,this._validateStyleAst(v,e),v.offset=E,r.styles.push(v)}),r}visitReference(t,e){return{type:8,animation:Bt(this,Ko(t.animation),e),options:di(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:di(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:di(t.options)}}visitQuery(t,e){const r=e.currentQuerySelector,i=t.options||{};e.queryCount++,e.currentQuery=t;const[s,o]=function $j(n){const t=!!n.split(/\s*,\s*/).find(e=>":self"==e);return t&&(n=n.replace(Uj,"")),n=n.replace(/@\*/g,ou).replace(/@\w+/g,e=>ou+"-"+e.substr(1)).replace(/:animating/g,Qh),[n,t]}(t.selector);e.currentQuerySelector=r.length?r+" "+s:s,Vt(e.collectedStyles,e.currentQuerySelector,{});const a=Bt(this,Ko(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=r,{type:11,selector:s,limit:i.limit||0,optional:!!i.optional,includeSelf:o,animation:a,originalSelector:t.selector,options:di(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const r="full"===t.timings?{duration:0,delay:0,easing:"full"}:au(t.timings,e.errors,!0);return{type:12,animation:Bt(this,Ko(t.animation),e),timings:r,options:null}}}class zj{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 hu(n){return!Array.isArray(n)&&"object"==typeof n}function di(n){return n?(n=Cs(n)).params&&(n.params=function qj(n){return n?Cs(n):null}(n.params)):n={},n}function tp(n,t,e){return{duration:n,delay:t,easing:e}}function np(n,t,e,r,i,s,o=null,a=!1){return{type:1,element:n,keyframes:t,preStyleProps:e,postStyleProps:r,duration:i,delay:s,totalTime:i+s,easing:o,subTimeline:a}}class pu{constructor(){this._map=new Map}get(t){return this._map.get(t)||[]}append(t,e){let r=this._map.get(t);r||this._map.set(t,r=[]),r.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const Zj=new RegExp(":enter","g"),Jj=new RegExp(":leave","g");function rp(n,t,e,r,i,s={},o={},a,l,u=[]){return(new eH).buildKeyframes(n,t,e,r,i,s,o,a,l,u)}class eH{buildKeyframes(t,e,r,i,s,o,a,l,u,c=[]){u=u||new pu;const d=new ip(t,e,u,i,s,c,[]);d.options=l,d.currentTimeline.setStyles([o],null,d.errors,l),Bt(this,r,d);const f=d.timelines.filter(h=>h.containsAnimation());if(Object.keys(a).length){let h;for(let g=f.length-1;g>=0;g--){const m=f[g];if(m.element===e){h=m;break}}h&&!h.allowOnlyTimelineStyles()&&h.setStyles([a],null,d.errors,l)}return f.length?f.map(h=>h.buildKeyframes()):[np(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const r=e.subInstructions.get(e.element);if(r){const i=e.createSubContext(t.options),s=e.currentTimeline.currentTime,o=this._visitSubInstructions(r,i,i.options);s!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t}visitAnimateRef(t,e){const r=e.createSubContext(t.options);r.transformIntoNewTimeline(),this.visitReference(t.animation,r),e.transformIntoNewTimeline(r.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,r){let s=e.currentTimeline.currentTime;const o=null!=r.duration?ui(r.duration):null,a=null!=r.delay?ui(r.delay):null;return 0!==o&&t.forEach(l=>{const u=e.appendInstructionToTimeline(l,o,a);s=Math.max(s,u.duration+u.delay)}),s}visitReference(t,e){e.updateOptions(t.options,!0),Bt(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const r=e.subContextCount;let i=e;const s=t.options;if(s&&(s.params||s.delay)&&(i=e.createSubContext(s),i.transformIntoNewTimeline(),null!=s.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=gu);const o=ui(s.delay);i.delayNextStep(o)}t.steps.length&&(t.steps.forEach(o=>Bt(this,o,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const r=[];let i=e.currentTimeline.currentTime;const s=t.options&&t.options.delay?ui(t.options.delay):0;t.steps.forEach(o=>{const a=e.createSubContext(t.options);s&&a.delayNextStep(s),Bt(this,o,a),i=Math.max(i,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(o=>e.currentTimeline.mergeTimelineCollectedStyles(o)),e.transformIntoNewTimeline(i),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const r=t.strValue;return au(e.params?lu(r,e.params,e.errors):r,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const r=e.currentAnimateTimings=this._visitTiming(t.timings,e),i=e.currentTimeline;r.delay&&(e.incrementTime(r.delay),i.snapshotCurrentStyles());const s=t.style;5==s.type?this.visitKeyframes(s,e):(e.incrementTime(r.duration),this.visitStyle(s,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const r=e.currentTimeline,i=e.currentAnimateTimings;!i&&r.getCurrentStyleProperties().length&&r.forwardFrame();const s=i&&i.easing||t.easing;t.isEmptyStep?r.applyEmptyStep(s):r.setStyles(t.styles,s,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const r=e.currentAnimateTimings,i=e.currentTimeline.duration,s=r.duration,a=e.createSubContext().currentTimeline;a.easing=r.easing,t.styles.forEach(l=>{a.forwardTime((l.offset||0)*s),a.setStyles(l.styles,l.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(i+s),e.previousNode=t}visitQuery(t,e){const r=e.currentTimeline.currentTime,i=t.options||{},s=i.delay?ui(i.delay):0;s&&(6===e.previousNode.type||0==r&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=gu);let o=r;const a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((u,c)=>{e.currentQueryIndex=c;const d=e.createSubContext(t.options,u);s&&d.delayNextStep(s),u===e.element&&(l=d.currentTimeline),Bt(this,t.animation,d),d.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,d.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(o),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const r=e.parentContext,i=e.currentTimeline,s=t.timings,o=Math.abs(s.duration),a=o*(e.currentQueryTotal-1);let l=o*e.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":l=a-l;break;case"full":l=r.currentStaggerTime}const c=e.currentTimeline;l&&c.delayNextStep(l);const d=c.currentTime;Bt(this,t.animation,e),e.previousNode=t,r.currentStaggerTime=i.currentTime-d+(i.startTime-r.currentTimeline.startTime)}}const gu={};class ip{constructor(t,e,r,i,s,o,a,l){this._driver=t,this.element=e,this.subInstructions=r,this._enterClassName=i,this._leaveClassName=s,this.errors=o,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=gu,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new mu(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const r=t;let i=this.options;null!=r.duration&&(i.duration=ui(r.duration)),null!=r.delay&&(i.delay=ui(r.delay));const s=r.params;if(s){let o=i.params;o||(o=this.options.params={}),Object.keys(s).forEach(a=>{(!e||!o.hasOwnProperty(a))&&(o[a]=lu(s[a],o,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const r=t.params={};Object.keys(e).forEach(i=>{r[i]=e[i]})}}return t}createSubContext(t=null,e,r){const i=e||this.element,s=new ip(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||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=gu,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,r){const i={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=r?r:0)+t.delay,easing:""},s=new tH(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(s),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,r,i,s,o){let a=[];if(i&&a.push(this.element),t.length>0){t=(t=t.replace(Zj,"."+this._enterClassName)).replace(Jj,"."+this._leaveClassName);let u=this._driver.query(this.element,t,1!=r);0!==r&&(u=r<0?u.slice(u.length+r,u.length):u.slice(0,r)),a.push(...u)}return!s&&0==a.length&&o.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),a}}class mu{constructor(t,e,r,i){this._driver=t,this.element=e,this.startTime=r,this._elementTimelineStylesLookup=i,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 mu(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||lr,this._currentKeyframe[e]=lr}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,r,i){e&&(this._previousKeyframe.easing=e);const s=i&&i.params||{},o=function nH(n,t){const e={};let r;return n.forEach(i=>{"*"===i?(r=r||Object.keys(t),r.forEach(s=>{e[s]=lr})):Tr(i,!1,e)}),e}(t,this._globalTimelineStyles);Object.keys(o).forEach(a=>{const l=lu(o[a],s,r);this._pendingStyles[a]=l,this._localTimelineStyles.hasOwnProperty(a)||(this._backFill[a]=this._globalTimelineStyles.hasOwnProperty(a)?this._globalTimelineStyles[a]:lr),this._updateStyle(a,l)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(r=>{this._currentKeyframe[r]=t[r]}),Object.keys(this._localTimelineStyles).forEach(r=>{this._currentKeyframe.hasOwnProperty(r)||(this._currentKeyframe[r]=this._localTimelineStyles[r])}))}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 r=this._styleSummary[e],i=t._styleSummary[e];(!r||i.time>r.time)&&this._updateStyle(e,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,r=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((a,l)=>{const u=Tr(a,!0);Object.keys(u).forEach(c=>{const d=u[c];"!"==d?t.add(c):d==lr&&e.add(c)}),r||(u.offset=l/this.duration),i.push(u)});const s=t.size?uu(t.values()):[],o=e.size?uu(e.values()):[];if(r){const a=i[0],l=Cs(a);a.offset=0,l.offset=1,i=[a,l]}return np(this.element,i,s,o,this.duration,this.startTime,this.easing,!1)}}class tH extends mu{constructor(t,e,r,i,s,o,a=!1){super(t,e,o.delay),this.keyframes=r,this.preStyleProps=i,this.postStyleProps=s,this._stretchStartingKeyframe=a,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:r,easing:i}=this.timings;if(this._stretchStartingKeyframe&&e){const s=[],o=r+e,a=e/o,l=Tr(t[0],!1);l.offset=0,s.push(l);const u=Tr(t[0],!1);u.offset=Ow(a),s.push(u);const c=t.length-1;for(let d=1;d<=c;d++){let f=Tr(t[d],!1);f.offset=Ow((e+f.offset*r)/o),s.push(f)}r=o,e=0,i="",t=s}return np(this.element,t,this.preStyleProps,this.postStyleProps,r,e,i,!0)}}function Ow(n,t=3){const e=Math.pow(10,t-1);return Math.round(n*e)/e}class sp{}class rH extends sp{normalizePropertyName(t,e){return Xh(t)}normalizeStyleValue(t,e,r,i){let s="";const o=r.toString().trim();if(iH[e]&&0!==r&&"0"!==r)if("number"==typeof r)s="px";else{const a=r.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&i.push(`Please provide a CSS unit value for ${t}:${r}`)}return o+s}}const iH=(()=>function sH(n){const t={};return n.forEach(e=>t[e]=!0),t}("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 Nw(n,t,e,r,i,s,o,a,l,u,c,d,f){return{type:0,element:n,triggerName:t,isRemovalTransition:i,fromState:e,fromStyles:s,toState:r,toStyles:o,timelines:a,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:d,errors:f}}const op={};class kw{constructor(t,e,r){this._triggerName=t,this.ast=e,this._stateStyles=r}match(t,e,r,i){return function oH(n,t,e,r,i){return n.some(s=>s(t,e,r,i))}(this.ast.matchers,t,e,r,i)}buildStyles(t,e,r){const i=this._stateStyles["*"],s=this._stateStyles[t],o=i?i.buildStyles(e,r):{};return s?s.buildStyles(e,r):o}build(t,e,r,i,s,o,a,l,u,c){const d=[],f=this.ast.options&&this.ast.options.params||op,g=this.buildStyles(r,a&&a.params||op,d),m=l&&l.params||op,_=this.buildStyles(i,m,d),v=new Set,y=new Map,E=new Map,T="void"===i,q={params:Object.assign(Object.assign({},f),m)},Ae=c?[]:rp(t,e,this.ast.animation,s,o,g,_,q,u,d);let Te=0;if(Ae.forEach(Ht=>{Te=Math.max(Ht.duration+Ht.delay,Te)}),d.length)return Nw(e,this._triggerName,r,i,T,g,_,[],[],y,E,Te,d);Ae.forEach(Ht=>{const Ut=Ht.element,Ds=Vt(y,Ut,{});Ht.preStyleProps.forEach(bn=>Ds[bn]=!0);const ur=Vt(E,Ut,{});Ht.postStyleProps.forEach(bn=>ur[bn]=!0),Ut!==e&&v.add(Ut)});const jt=uu(v.values());return Nw(e,this._triggerName,r,i,T,g,_,Ae,jt,y,E,Te)}}class aH{constructor(t,e,r){this.styles=t,this.defaultParams=e,this.normalizer=r}buildStyles(t,e){const r={},i=Cs(this.defaultParams);return Object.keys(t).forEach(s=>{const o=t[s];null!=o&&(i[s]=o)}),this.styles.styles.forEach(s=>{if("string"!=typeof s){const o=s;Object.keys(o).forEach(a=>{let l=o[a];l.length>1&&(l=lu(l,i,e));const u=this.normalizer.normalizePropertyName(a,e);l=this.normalizer.normalizeStyleValue(a,u,l,e),r[u]=l})}}),r}}class uH{constructor(t,e,r){this.name=t,this.ast=e,this._normalizer=r,this.transitionFactories=[],this.states={},e.states.forEach(i=>{this.states[i.name]=new aH(i.style,i.options&&i.options.params||{},r)}),Pw(this.states,"true","1"),Pw(this.states,"false","0"),e.transitions.forEach(i=>{this.transitionFactories.push(new kw(t,i,this.states))}),this.fallbackTransition=function cH(n,t,e){return new kw(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(o,a)=>!0],options:null,queryCount:0,depCount:0},t)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,r,i){return this.transitionFactories.find(o=>o.match(t,e,r,i))||null}matchStyles(t,e,r){return this.fallbackTransition.buildStyles(t,e,r)}}function Pw(n,t,e){n.hasOwnProperty(t)?n.hasOwnProperty(e)||(n[e]=n[t]):n.hasOwnProperty(e)&&(n[t]=n[e])}const dH=new pu;class fH{constructor(t,e,r){this.bodyNode=t,this._driver=e,this._normalizer=r,this._animations={},this._playersById={},this.players=[]}register(t,e){const r=[],i=ep(this._driver,e,r);if(r.length)throw new Error(`Unable to build the animation due to the following errors: ${r.join("\n")}`);this._animations[t]=i}_buildPlayer(t,e,r){const i=t.element,s=mw(0,this._normalizer,0,t.keyframes,e,r);return this._driver.animate(i,s,t.duration,t.delay,t.easing,[],!0)}create(t,e,r={}){const i=[],s=this._animations[t];let o;const a=new Map;if(s?(o=rp(this._driver,e,s,Kh,iu,{},{},r,dH,i),o.forEach(c=>{const d=Vt(a,c.element,{});c.postStyleProps.forEach(f=>d[f]=null)})):(i.push("The requested animation doesn't exist or has already been destroyed"),o=[]),i.length)throw new Error(`Unable to create the animation due to the following errors: ${i.join("\n")}`);a.forEach((c,d)=>{Object.keys(c).forEach(f=>{c[f]=this._driver.computeStyle(d,f,lr)})});const u=Sr(o.map(c=>{const d=a.get(c.element);return this._buildPlayer(c,{},d)}));return this._playersById[t]=u,u.onDestroy(()=>this.destroy(t)),this.players.push(u),u}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const r=this.players.indexOf(e);r>=0&&this.players.splice(r,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,r,i){const s=Uh(e,"","","");return jh(this._getPlayer(t),r,s,i),()=>{}}command(t,e,r,i){if("register"==r)return void this.register(t,i[0]);if("create"==r)return void this.create(t,e,i[0]||{});const s=this._getPlayer(t);switch(r){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(i[0]));break;case"destroy":this.destroy(t)}}}const Lw="ng-animate-queued",ap="ng-animate-disabled",yH=[],Vw={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},_H={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},rn="__ng_removed";class lp{constructor(t,e=""){this.namespaceId=e;const r=t&&t.hasOwnProperty("value");if(this.value=function DH(n){return null!=n?n:null}(r?t.value:t),r){const s=Cs(t);delete s.value,this.options=s}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const r=this.options.params;Object.keys(e).forEach(i=>{null==r[i]&&(r[i]=e[i])})}}}const Qo="void",up=new lp(Qo);class vH{constructor(t,e,r){this.id=t,this.hostElement=e,this._engine=r,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,sn(e,this._hostClassName)}listen(t,e,r,i){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${r}" because the animation trigger "${e}" doesn't exist!`);if(null==r||0==r.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if(!function EH(n){return"start"==n||"done"==n}(r))throw new Error(`The provided animation trigger event "${r}" for the animation trigger "${e}" is not supported!`);const s=Vt(this._elementListeners,t,[]),o={name:e,phase:r,callback:i};s.push(o);const a=Vt(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(sn(t,su),sn(t,su+"-"+e),a[e]=up),()=>{this._engine.afterFlush(()=>{const l=s.indexOf(o);l>=0&&s.splice(l,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,r,i=!0){const s=this._getTrigger(e),o=new cp(this.id,e,t);let a=this._engine.statesByElement.get(t);a||(sn(t,su),sn(t,su+"-"+e),this._engine.statesByElement.set(t,a={}));let l=a[e];const u=new lp(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),a[e]=u,l||(l=up),u.value!==Qo&&l.value===u.value){if(!function AH(n,t){const e=Object.keys(n),r=Object.keys(t);if(e.length!=r.length)return!1;for(let i=0;i<e.length;i++){const s=e[i];if(!t.hasOwnProperty(s)||n[s]!==t[s])return!1}return!0}(l.params,u.params)){const m=[],_=s.matchStyles(l.value,l.params,m),v=s.matchStyles(u.value,u.params,m);m.length?this._engine.reportError(m):this._engine.afterFlush(()=>{ci(t,_),Bn(t,v)})}return}const f=Vt(this._engine.playersByElement,t,[]);f.forEach(m=>{m.namespaceId==this.id&&m.triggerName==e&&m.queued&&m.destroy()});let h=s.matchTransition(l.value,u.value,t,u.params),g=!1;if(!h){if(!i)return;h=s.fallbackTransition,g=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:h,fromState:l,toState:u,player:o,isFallbackTransition:g}),g||(sn(t,Lw),o.onStart(()=>{bs(t,Lw)})),o.onDone(()=>{let m=this.players.indexOf(o);m>=0&&this.players.splice(m,1);const _=this._engine.playersByElement.get(t);if(_){let v=_.indexOf(o);v>=0&&_.splice(v,1)}}),this.players.push(o),f.push(o),o}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,r)=>{delete e[t]}),this._elementListeners.forEach((e,r)=>{this._elementListeners.set(r,e.filter(i=>i.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(r=>r.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const r=this._engine.driver.query(t,ou,!0);r.forEach(i=>{if(i[rn])return;const s=this._engine.fetchNamespacesByElement(i);s.size?s.forEach(o=>o.triggerLeaveAnimation(i,e,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(t,e,r,i){const s=this._engine.statesByElement.get(t),o=new Map;if(s){const a=[];if(Object.keys(s).forEach(l=>{if(o.set(l,s[l].value),this._triggers[l]){const u=this.trigger(t,l,Qo,i);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,o),r&&Sr(a).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),r=this._engine.statesByElement.get(t);if(e&&r){const i=new Set;e.forEach(s=>{const o=s.name;if(i.has(o))return;i.add(o);const l=this._triggers[o].fallbackTransition,u=r[o]||up,c=new lp(Qo),d=new cp(this.id,o,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:o,transition:l,fromState:u,toState:c,player:d,isFallbackTransition:!0})})}}removeNode(t,e){const r=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let i=!1;if(r.totalAnimations){const s=r.players.length?r.playersByQueriedElement.get(t):[];if(s&&s.length)i=!0;else{let o=t;for(;o=o.parentNode;)if(r.statesByElement.get(o)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(t),i)r.markElementAsRemoved(this.id,t,!1,e);else{const s=t[rn];(!s||s===Vw)&&(r.afterFlush(()=>this.clearElementCache(t)),r.destroyInnerAnimations(t),r._onRemovalComplete(t,e))}}insertNode(t,e){sn(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(r=>{const i=r.player;if(i.destroyed)return;const s=r.element,o=this._elementListeners.get(s);o&&o.forEach(a=>{if(a.name==r.triggerName){const l=Uh(s,r.triggerName,r.fromState.value,r.toState.value);l._data=t,jh(r.player,a.phase,l,a.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):e.push(r)}),this._queue=[],e.sort((r,i)=>{const s=r.transition.ast.depCount,o=i.transition.ast.depCount;return 0==s||0==o?s-o:this._engine.driver.containsElement(r.element,i.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(r=>r.element===t)||e,e}}class CH{constructor(t,e,r){this.bodyNode=t,this.driver=e,this._normalizer=r,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=(i,s)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(r=>{r.queued&&t.push(r)})}),t}createNamespace(t,e){const r=new vH(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(r,e):(this.newHostElements.set(e,r),this.collectEnterElement(e)),this._namespaceLookup[t]=r}_balanceNamespaceList(t,e){const r=this._namespaceList.length-1;if(r>=0){let i=!1;for(let s=r;s>=0;s--)if(this.driver.containsElement(this._namespaceList[s].hostElement,e)){this._namespaceList.splice(s+1,0,t),i=!0;break}i||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let r=this._namespaceLookup[t];return r||(r=this.createNamespace(t,e)),r}registerTrigger(t,e,r){let i=this._namespaceLookup[t];i&&i.register(e,r)&&this.totalAnimations++}destroy(t,e){if(!t)return;const r=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(r.hostElement),delete this._namespaceLookup[t];const i=this._namespaceList.indexOf(r);i>=0&&this._namespaceList.splice(i,1)}),this.afterFlushAnimationsDone(()=>r.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,r=this.statesByElement.get(t);if(r){const i=Object.keys(r);for(let s=0;s<i.length;s++){const o=r[i[s]].namespaceId;if(o){const a=this._fetchNamespace(o);a&&e.add(a)}}}return e}trigger(t,e,r,i){if(yu(e)){const s=this._fetchNamespace(t);if(s)return s.trigger(e,r,i),!0}return!1}insertNode(t,e,r,i){if(!yu(e))return;const s=e[rn];if(s&&s.setForRemoval){s.setForRemoval=!1,s.setForMove=!0;const o=this.collectedLeaveElements.indexOf(e);o>=0&&this.collectedLeaveElements.splice(o,1)}if(t){const o=this._fetchNamespace(t);o&&o.insertNode(e,r)}i&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),sn(t,ap)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),bs(t,ap))}removeNode(t,e,r,i){if(yu(e)){const s=t?this._fetchNamespace(t):null;if(s?s.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i),r){const o=this.namespacesByHostElement.get(e);o&&o.id!==t&&o.removeNode(e,i)}}else this._onRemovalComplete(e,i)}markElementAsRemoved(t,e,r,i,s){this.collectedLeaveElements.push(e),e[rn]={namespaceId:t,setForRemoval:i,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:s}}listen(t,e,r,i,s){return yu(e)?this._fetchNamespace(t).listen(e,r,i,s):()=>{}}_buildInstruction(t,e,r,i,s){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,r,i,t.fromState.options,t.toState.options,e,s)}destroyInnerAnimations(t){let e=this.driver.query(t,ou,!0);e.forEach(r=>this.destroyActiveAnimationsForElement(r)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,Qh,!0),e.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return Sr(this.players).onDone(()=>t());t()})}processLeaveNode(t){var e;const r=t[rn];if(r&&r.setForRemoval){if(t[rn]=Vw,r.namespaceId){this.destroyInnerAnimations(t);const i=this._fetchNamespace(r.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,r.setForRemoval)}(null===(e=t.classList)||void 0===e?void 0:e.contains(ap))&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,i)=>this._balanceNamespaceList(r,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;r<this.collectedEnterElements.length;r++)sn(this.collectedEnterElements[r],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const r=[];try{e=this._flushAnimations(r,t)}finally{for(let i=0;i<r.length;i++)r[i]()}}else for(let r=0;r<this.collectedLeaveElements.length;r++)this.processLeaveNode(this.collectedLeaveElements[r]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(r=>r()),this._flushFns=[],this._whenQuietFns.length){const r=this._whenQuietFns;this._whenQuietFns=[],e.length?Sr(e).onDone(()=>{r.forEach(i=>i())}):r.forEach(i=>i())}}reportError(t){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${t.join("\n")}`)}_flushAnimations(t,e){const r=new pu,i=[],s=new Map,o=[],a=new Map,l=new Map,u=new Map,c=new Set;this.disabledNodes.forEach(I=>{c.add(I);const O=this.driver.query(I,".ng-animate-queued",!0);for(let k=0;k<O.length;k++)c.add(O[k])});const d=this.bodyNode,f=Array.from(this.statesByElement.keys()),h=Hw(f,this.collectedEnterElements),g=new Map;let m=0;h.forEach((I,O)=>{const k=Kh+m++;g.set(O,k),I.forEach(oe=>sn(oe,k))});const _=[],v=new Set,y=new Set;for(let I=0;I<this.collectedLeaveElements.length;I++){const O=this.collectedLeaveElements[I],k=O[rn];k&&k.setForRemoval&&(_.push(O),v.add(O),k.hasAnimation?this.driver.query(O,".ng-star-inserted",!0).forEach(oe=>v.add(oe)):y.add(O))}const E=new Map,T=Hw(f,Array.from(v));T.forEach((I,O)=>{const k=iu+m++;E.set(O,k),I.forEach(oe=>sn(oe,k))}),t.push(()=>{h.forEach((I,O)=>{const k=g.get(O);I.forEach(oe=>bs(oe,k))}),T.forEach((I,O)=>{const k=E.get(O);I.forEach(oe=>bs(oe,k))}),_.forEach(I=>{this.processLeaveNode(I)})});const q=[],Ae=[];for(let I=this._namespaceList.length-1;I>=0;I--)this._namespaceList[I].drainQueuedTransitions(e).forEach(k=>{const oe=k.player,Ze=k.element;if(q.push(oe),this.collectedEnterElements.length){const Ct=Ze[rn];if(Ct&&Ct.setForMove){if(Ct.previousTriggersValues&&Ct.previousTriggersValues.has(k.triggerName)){const hi=Ct.previousTriggersValues.get(k.triggerName),Or=this.statesByElement.get(k.element);Or&&Or[k.triggerName]&&(Or[k.triggerName].value=hi)}return void oe.destroy()}}const jn=!d||!this.driver.containsElement(d,Ze),Gt=E.get(Ze),Rr=g.get(Ze),Ie=this._buildInstruction(k,r,Rr,Gt,jn);if(Ie.errors&&Ie.errors.length)return void Ae.push(Ie);if(jn)return oe.onStart(()=>ci(Ze,Ie.fromStyles)),oe.onDestroy(()=>Bn(Ze,Ie.toStyles)),void i.push(oe);if(k.isFallbackTransition)return oe.onStart(()=>ci(Ze,Ie.fromStyles)),oe.onDestroy(()=>Bn(Ze,Ie.toStyles)),void i.push(oe);const Bx=[];Ie.timelines.forEach(Ct=>{Ct.stretchStartingKeyframe=!0,this.disabledNodes.has(Ct.element)||Bx.push(Ct)}),Ie.timelines=Bx,r.append(Ze,Ie.timelines),o.push({instruction:Ie,player:oe,element:Ze}),Ie.queriedElements.forEach(Ct=>Vt(a,Ct,[]).push(oe)),Ie.preStyleProps.forEach((Ct,hi)=>{const Or=Object.keys(Ct);if(Or.length){let pi=l.get(hi);pi||l.set(hi,pi=new Set),Or.forEach(bp=>pi.add(bp))}}),Ie.postStyleProps.forEach((Ct,hi)=>{const Or=Object.keys(Ct);let pi=u.get(hi);pi||u.set(hi,pi=new Set),Or.forEach(bp=>pi.add(bp))})});if(Ae.length){const I=[];Ae.forEach(O=>{I.push(`@${O.triggerName} has failed due to:\n`),O.errors.forEach(k=>I.push(`- ${k}\n`))}),q.forEach(O=>O.destroy()),this.reportError(I)}const Te=new Map,jt=new Map;o.forEach(I=>{const O=I.element;r.has(O)&&(jt.set(O,O),this._beforeAnimationBuild(I.player.namespaceId,I.instruction,Te))}),i.forEach(I=>{const O=I.element;this._getPreviousPlayers(O,!1,I.namespaceId,I.triggerName,null).forEach(oe=>{Vt(Te,O,[]).push(oe),oe.destroy()})});const Ht=_.filter(I=>Gw(I,l,u)),Ut=new Map;jw(Ut,this.driver,y,u,lr).forEach(I=>{Gw(I,l,u)&&Ht.push(I)});const ur=new Map;h.forEach((I,O)=>{jw(ur,this.driver,new Set(I),l,"!")}),Ht.forEach(I=>{const O=Ut.get(I),k=ur.get(I);Ut.set(I,Object.assign(Object.assign({},O),k))});const bn=[],Es=[],ws={};o.forEach(I=>{const{element:O,player:k,instruction:oe}=I;if(r.has(O)){if(c.has(O))return k.onDestroy(()=>Bn(O,oe.toStyles)),k.disabled=!0,k.overrideTotalTime(oe.totalTime),void i.push(k);let Ze=ws;if(jt.size>1){let Gt=O;const Rr=[];for(;Gt=Gt.parentNode;){const Ie=jt.get(Gt);if(Ie){Ze=Ie;break}Rr.push(Gt)}Rr.forEach(Ie=>jt.set(Ie,Ze))}const jn=this._buildAnimation(k.namespaceId,oe,Te,s,ur,Ut);if(k.setRealPlayer(jn),Ze===ws)bn.push(k);else{const Gt=this.playersByElement.get(Ze);Gt&&Gt.length&&(k.parentPlayer=Sr(Gt)),i.push(k)}}else ci(O,oe.fromStyles),k.onDestroy(()=>Bn(O,oe.toStyles)),Es.push(k),c.has(O)&&i.push(k)}),Es.forEach(I=>{const O=s.get(I.element);if(O&&O.length){const k=Sr(O);I.setRealPlayer(k)}}),i.forEach(I=>{I.parentPlayer?I.syncPlayerEvents(I.parentPlayer):I.destroy()});for(let I=0;I<_.length;I++){const O=_[I],k=O[rn];if(bs(O,iu),k&&k.hasAnimation)continue;let oe=[];if(a.size){let jn=a.get(O);jn&&jn.length&&oe.push(...jn);let Gt=this.driver.query(O,Qh,!0);for(let Rr=0;Rr<Gt.length;Rr++){let Ie=a.get(Gt[Rr]);Ie&&Ie.length&&oe.push(...Ie)}}const Ze=oe.filter(jn=>!jn.destroyed);Ze.length?wH(this,O,Ze):this.processLeaveNode(O)}return _.length=0,bn.forEach(I=>{this.players.push(I),I.onDone(()=>{I.destroy();const O=this.players.indexOf(I);this.players.splice(O,1)}),I.play()}),bn}elementContainsData(t,e){let r=!1;const i=e[rn];return i&&i.setForRemoval&&(r=!0),this.playersByElement.has(e)&&(r=!0),this.playersByQueriedElement.has(e)&&(r=!0),this.statesByElement.has(e)&&(r=!0),this._fetchNamespace(t).elementContainsData(e)||r}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,r,i,s){let o=[];if(e){const a=this.playersByQueriedElement.get(t);a&&(o=a)}else{const a=this.playersByElement.get(t);if(a){const l=!s||s==Qo;a.forEach(u=>{u.queued||!l&&u.triggerName!=i||o.push(u)})}}return(r||i)&&(o=o.filter(a=>!(r&&r!=a.namespaceId||i&&i!=a.triggerName))),o}_beforeAnimationBuild(t,e,r){const s=e.element,o=e.isRemovalTransition?void 0:t,a=e.isRemovalTransition?void 0:e.triggerName;for(const l of e.timelines){const u=l.element,c=u!==s,d=Vt(r,u,[]);this._getPreviousPlayers(u,c,o,a,e.toState).forEach(h=>{const g=h.getRealPlayer();g.beforeDestroy&&g.beforeDestroy(),h.destroy(),d.push(h)})}ci(s,e.fromStyles)}_buildAnimation(t,e,r,i,s,o){const a=e.triggerName,l=e.element,u=[],c=new Set,d=new Set,f=e.timelines.map(g=>{const m=g.element;c.add(m);const _=m[rn];if(_&&_.removedBeforeQueried)return new vs(g.duration,g.delay);const v=m!==l,y=function xH(n){const t=[];return Uw(n,t),t}((r.get(m)||yH).map(Te=>Te.getRealPlayer())).filter(Te=>!!Te.element&&Te.element===m),E=s.get(m),T=o.get(m),q=mw(0,this._normalizer,0,g.keyframes,E,T),Ae=this._buildPlayer(g,q,y);if(g.subTimeline&&i&&d.add(m),v){const Te=new cp(t,a,m);Te.setRealPlayer(Ae),u.push(Te)}return Ae});u.forEach(g=>{Vt(this.playersByQueriedElement,g.element,[]).push(g),g.onDone(()=>function bH(n,t,e){let r;if(n instanceof Map){if(r=n.get(t),r){if(r.length){const i=r.indexOf(e);r.splice(i,1)}0==r.length&&n.delete(t)}}else if(r=n[t],r){if(r.length){const i=r.indexOf(e);r.splice(i,1)}0==r.length&&delete n[t]}return r}(this.playersByQueriedElement,g.element,g))}),c.forEach(g=>sn(g,Ew));const h=Sr(f);return h.onDestroy(()=>{c.forEach(g=>bs(g,Ew)),Bn(l,e.toStyles)}),d.forEach(g=>{Vt(i,g,[]).push(h)}),h}_buildPlayer(t,e,r){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,r):new vs(t.duration,t.delay)}}class cp{constructor(t,e,r){this.namespaceId=t,this.triggerName=e,this.element=r,this._player=new vs,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(r=>jh(t,e,void 0,r))}),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){Vt(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 yu(n){return n&&1===n.nodeType}function Bw(n,t){const e=n.style.display;return n.style.display=null!=t?t:"none",e}function jw(n,t,e,r,i){const s=[];e.forEach(l=>s.push(Bw(l)));const o=[];r.forEach((l,u)=>{const c={};l.forEach(d=>{const f=c[d]=t.computeStyle(u,d,i);(!f||0==f.length)&&(u[rn]=_H,o.push(u))}),n.set(u,c)});let a=0;return e.forEach(l=>Bw(l,s[a++])),o}function Hw(n,t){const e=new Map;if(n.forEach(a=>e.set(a,[])),0==t.length)return e;const i=new Set(t),s=new Map;function o(a){if(!a)return 1;let l=s.get(a);if(l)return l;const u=a.parentNode;return l=e.has(u)?u:i.has(u)?1:o(u),s.set(a,l),l}return t.forEach(a=>{const l=o(a);1!==l&&e.get(l).push(a)}),e}function sn(n,t){var e;null===(e=n.classList)||void 0===e||e.add(t)}function bs(n,t){var e;null===(e=n.classList)||void 0===e||e.remove(t)}function wH(n,t,e){Sr(e).onDone(()=>n.processLeaveNode(t))}function Uw(n,t){for(let e=0;e<n.length;e++){const r=n[e];r instanceof pw?Uw(r.players,t):t.push(r)}}function Gw(n,t,e){const r=e.get(n);if(!r)return!1;let i=t.get(n);return i?r.forEach(s=>i.add(s)):t.set(n,r),e.delete(n),!0}class _u{constructor(t,e,r){this.bodyNode=t,this._driver=e,this._normalizer=r,this._triggerCache={},this.onRemovalComplete=(i,s)=>{},this._transitionEngine=new CH(t,e,r),this._timelineEngine=new fH(t,e,r),this._transitionEngine.onRemovalComplete=(i,s)=>this.onRemovalComplete(i,s)}registerTrigger(t,e,r,i,s){const o=t+"-"+i;let a=this._triggerCache[o];if(!a){const l=[],u=ep(this._driver,s,l);if(l.length)throw new Error(`The animation trigger "${i}" has failed to build due to the following errors:\n - ${l.join("\n - ")}`);a=function lH(n,t,e){return new uH(n,t,e)}(i,u,this._normalizer),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(e,i,a)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,r,i){this._transitionEngine.insertNode(t,e,r,i)}onRemove(t,e,r,i){this._transitionEngine.removeNode(t,e,i||!1,r)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,r,i){if("@"==r.charAt(0)){const[s,o]=yw(r);this._timelineEngine.command(s,e,o,i)}else this._transitionEngine.trigger(t,e,r,i)}listen(t,e,r,i,s){if("@"==r.charAt(0)){const[o,a]=yw(r);return this._timelineEngine.listen(o,e,a,s)}return this._transitionEngine.listen(t,e,r,i,s)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function $w(n,t){let e=null,r=null;return Array.isArray(t)&&t.length?(e=dp(t[0]),t.length>1&&(r=dp(t[t.length-1]))):t&&(e=dp(t)),e||r?new MH(n,e,r):null}let MH=(()=>{class n{constructor(e,r,i){this._element=e,this._startStyles=r,this._endStyles=i,this._state=0;let s=n.initialStylesByElement.get(e);s||n.initialStylesByElement.set(e,s={}),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&Bn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Bn(this._element,this._initialStyles),this._endStyles&&(Bn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(ci(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(ci(this._element,this._endStyles),this._endStyles=null),Bn(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function dp(n){let t=null;const e=Object.keys(n);for(let r=0;r<e.length;r++){const i=e[r];SH(i)&&(t=t||{},t[i]=n[i])}return t}function SH(n){return"display"===n||"position"===n}const qw="animation",zw="animationend";class FH{constructor(t,e,r,i,s,o,a){this._element=t,this._name=e,this._duration=r,this._delay=i,this._easing=s,this._fillMode=o,this._onDoneFn=a,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=l=>this._handleCallback(l)}apply(){(function RH(n,t){const e=hp(n,"").trim();let r=0;e.length&&(r=function NH(n,t){let e=0;for(let r=0;r<n.length;r++)n.charAt(r)===t&&e++;return e}(e,",")+1,t=`${e}, ${t}`),vu(n,"",t)})(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),Qw(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){Ww(this._element,this._name,"paused")}resume(){Ww(this._element,this._name,"running")}setPosition(t){const e=Kw(this._element,this._name);this._position=t*this._duration,vu(this._element,"Delay",`-${this._position}ms`,e)}getPosition(){return this._position}_handleCallback(t){const e=t._ngTestManualTimestamp||Date.now(),r=1e3*parseFloat(t.elapsedTime.toFixed(3));t.animationName==this._name&&Math.max(e-this._startTime,0)>=this._delay&&r>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),Qw(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function OH(n,t){const r=hp(n,"").split(","),i=fp(r,t);i>=0&&(r.splice(i,1),vu(n,"",r.join(",")))}(this._element,this._name))}}function Ww(n,t,e){vu(n,"PlayState",e,Kw(n,t))}function Kw(n,t){const e=hp(n,"");return e.indexOf(",")>0?fp(e.split(","),t):fp([e],t)}function fp(n,t){for(let e=0;e<n.length;e++)if(n[e].indexOf(t)>=0)return e;return-1}function Qw(n,t,e){e?n.removeEventListener(zw,t):n.addEventListener(zw,t)}function vu(n,t,e,r){const i=qw+t;if(null!=r){const s=n.style[i];if(s.length){const o=s.split(",");o[r]=e,e=o.join(",")}}n.style[i]=e}function hp(n,t){return n.style[qw+t]||""}class Yw{constructor(t,e,r,i,s,o,a,l){this.element=t,this.keyframes=e,this.animationName=r,this._duration=i,this._delay=s,this._finalStyles=a,this._specialStyles=l,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=o||"linear",this.totalTime=i+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 FH(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(r=>r()),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach(r=>{"offset"!=r&&(t[r]=e?this._finalStyles[r]:Jh(this.element,r))})}this.currentSnapshot=t}}class LH extends vs{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=Cw(e)}init(){this.__initialized||!this._startingStyles||(this.__initialized=!0,Object.keys(this._styles).forEach(t=>{this._startingStyles[t]=this.element.style[t]}),super.init())}play(){!this._startingStyles||(this.init(),Object.keys(this._styles).forEach(t=>this.element.style.setProperty(t,this._styles[t])),super.play())}destroy(){!this._startingStyles||(Object.keys(this._startingStyles).forEach(t=>{const e=this._startingStyles[t];e?this.element.style.setProperty(t,e):this.element.style.removeProperty(t)}),this._startingStyles=null,super.destroy())}}class Xw{constructor(){this._count=0}validateStyleProperty(t){return $h(t)}matchesElement(t,e){return!1}containsElement(t,e){return qh(t,e)}query(t,e,r){return zh(t,e,r)}computeStyle(t,e,r){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,r){r=r.map(a=>Cw(a));let i=`@keyframes ${e} {\n`,s="";r.forEach(a=>{s=" ";const l=parseFloat(a.offset);i+=`${s}${100*l}% {\n`,s+=" ",Object.keys(a).forEach(u=>{const c=a[u];switch(u){case"offset":return;case"easing":return void(c&&(i+=`${s}animation-timing-function: ${c};\n`));default:return void(i+=`${s}${u}: ${c};\n`)}}),i+=`${s}}\n`}),i+="}\n";const o=document.createElement("style");return o.textContent=i,o}animate(t,e,r,i,s,o=[],a){const l=o.filter(_=>_ instanceof Yw),u={};Sw(r,i)&&l.forEach(_=>{let v=_.currentSnapshot;Object.keys(v).forEach(y=>u[y]=v[y])});const c=function jH(n){let t={};return n&&(Array.isArray(n)?n:[n]).forEach(r=>{Object.keys(r).forEach(i=>{"offset"==i||"easing"==i||(t[i]=r[i])})}),t}(e=Tw(t,e,u));if(0==r)return new LH(t,c);const d="gen_css_kf_"+this._count++,f=this.buildKeyframeElement(t,d,e);(function BH(n){var t;const e=null===(t=n.getRootNode)||void 0===t?void 0:t.call(n);return"undefined"!=typeof ShadowRoot&&e instanceof ShadowRoot?e:document.head})(t).appendChild(f);const g=$w(t,e),m=new Yw(t,e,d,r,i,s,c,g);return m.onDestroy(()=>function HH(n){n.parentNode.removeChild(n)}(f)),m}}class ex{constructor(t,e,r,i){this.element=t,this.keyframes=e,this.options=r,this._specialStyles=i,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=r.duration,this._delay=r.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,r){return t.animate(e,r)}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={};if(this.hasStarted()){const e=this._finalKeyframe;Object.keys(e).forEach(r=>{"offset"!=r&&(t[r]=this._finished?e[r]:Jh(this.element,r))})}this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(r=>r()),e.length=0}}class UH{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(tx().toString()),this._cssKeyframesDriver=new Xw}validateStyleProperty(t){return $h(t)}matchesElement(t,e){return!1}containsElement(t,e){return qh(t,e)}query(t,e,r){return zh(t,e,r)}computeStyle(t,e,r){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,r,i,s,o=[],a){if(!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,r,i,s,o);const c={duration:r,delay:i,fill:0==i?"both":"forwards"};s&&(c.easing=s);const d={},f=o.filter(g=>g instanceof ex);Sw(r,i)&&f.forEach(g=>{let m=g.currentSnapshot;Object.keys(m).forEach(_=>d[_]=m[_])});const h=$w(t,e=Tw(t,e=e.map(g=>Tr(g,!1)),d));return new ex(t,e,c,h)}}function tx(){return gw()&&Element.prototype.animate||{}}let $H=(()=>{class n extends dw{constructor(e,r){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(r.body,{id:"0",encapsulation:an.None,styles:[],data:{animation:[]}})}build(e){const r=this._nextAnimationId.toString();this._nextAnimationId++;const i=Array.isArray(e)?fw(e):e;return nx(this._renderer,null,r,"register",[i]),new qH(r,this._renderer)}}return n.\u0275fac=function(e){return new(e||n)(D(ho),D(ye))},n.\u0275prov=w({token:n,factory:n.\u0275fac}),n})();class qH extends class Aj{}{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new zH(this._id,t,e||{},this._renderer)}}class zH{constructor(t,e,r,i){this.id=t,this.element=e,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",r)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return nx(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 nx(n,t,e,r,i){return n.setProperty(t,`@@${e}:${r}`,i)}const rx="@.disabled";let WH=(()=>{class n{constructor(e,r,i){this.delegate=e,this.engine=r,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),r.onRemovalComplete=(s,o)=>{const a=null==o?void 0:o.parentNode(s);a&&o.removeChild(a,s)}}createRenderer(e,r){const s=this.delegate.createRenderer(e,r);if(!(e&&r&&r.data&&r.data.animation)){let c=this._rendererCache.get(s);return c||(c=new ix("",s,this.engine),this._rendererCache.set(s,c)),c}const o=r.id,a=r.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);const l=c=>{Array.isArray(c)?c.forEach(l):this.engine.registerTrigger(o,a,e,c.name,c)};return r.data.animation.forEach(l),new KH(this,a,s,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,r,i){e>=0&&e<this._microtaskId?this._zone.run(()=>r(i)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(s=>{const[o,a]=s;o(a)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([r,i]))}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 n.\u0275fac=function(e){return new(e||n)(D(ho),D(_u),D(ce))},n.\u0275prov=w({token:n,factory:n.\u0275fac}),n})();class ix{constructor(t,e,r){this.namespaceId=t,this.delegate=e,this.engine=r,this.destroyNode=this.delegate.destroyNode?i=>e.destroyNode(i):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,r,i=!0){this.delegate.insertBefore(t,e,r),this.engine.onInsert(this.namespaceId,e,t,i)}removeChild(t,e,r){this.engine.onRemove(this.namespaceId,e,this.delegate,r)}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,r,i){this.delegate.setAttribute(t,e,r,i)}removeAttribute(t,e,r){this.delegate.removeAttribute(t,e,r)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,r,i){this.delegate.setStyle(t,e,r,i)}removeStyle(t,e,r){this.delegate.removeStyle(t,e,r)}setProperty(t,e,r){"@"==e.charAt(0)&&e==rx?this.disableAnimations(t,!!r):this.delegate.setProperty(t,e,r)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,r){return this.delegate.listen(t,e,r)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class KH extends ix{constructor(t,e,r,i){super(e,r,i),this.factory=t,this.namespaceId=e}setProperty(t,e,r){"@"==e.charAt(0)?"."==e.charAt(1)&&e==rx?this.disableAnimations(t,r=void 0===r||!!r):this.engine.process(this.namespaceId,t,e.substr(1),r):this.delegate.setProperty(t,e,r)}listen(t,e,r){if("@"==e.charAt(0)){const i=function QH(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(t);let s=e.substr(1),o="";return"@"!=s.charAt(0)&&([s,o]=function YH(n){const t=n.indexOf(".");return[n.substring(0,t),n.substr(t+1)]}(s)),this.engine.listen(this.namespaceId,i,s,o,a=>{this.factory.scheduleListenerCallback(a._data||-1,r,a)})}return this.delegate.listen(t,e,r)}}let ZH=(()=>{class n extends _u{constructor(e,r,i){super(e.body,r,i)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(e){return new(e||n)(D(ye),D(Wh),D(sp))},n.\u0275prov=w({token:n,factory:n.\u0275fac}),n})();const pp=new F("AnimationModuleType"),sx=[{provide:dw,useClass:$H},{provide:sp,useFactory:function JH(){return new rH}},{provide:_u,useClass:ZH},{provide:ho,useFactory:function e2(n,t,e){return new WH(n,t,e)},deps:[bl,_u,ce]}],ox=[{provide:Wh,useFactory:function XH(){return function GH(){return"function"==typeof tx()}()?new UH:new Xw}},{provide:pp,useValue:"BrowserAnimations"},...sx],t2=[{provide:Wh,useClass:bw},{provide:pp,useValue:"NoopAnimations"},...sx];let n2=(()=>{class n{static withConfig(e){return{ngModule:n,providers:e.disableAnimations?t2:ox}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=De({type:n}),n.\u0275inj=Ce({providers:ox,imports:[lb]}),n})();const r2=["connectionContainer"],i2=["inputContainer"],s2=["label"];function o2(n,t){1&n&&(vr(0),L(1,"div",14),lt(2,"div",15),lt(3,"div",16),lt(4,"div",17),V(),L(5,"div",18),lt(6,"div",15),lt(7,"div",16),lt(8,"div",17),V(),Cr())}function a2(n,t){if(1&n){const e=so();L(0,"div",19),je("cdkObserveContent",function(){return Os(e),Pt().updateOutlineGap()}),Fn(1,1),V()}2&n&&ie("cdkObserveContentDisabled","outline"!=Pt().appearance)}function l2(n,t){if(1&n&&(vr(0),Fn(1,2),L(2,"span"),ut(3),V(),Cr()),2&n){const e=Pt(2);te(3),Kr(e._control.placeholder)}}function u2(n,t){1&n&&Fn(0,3,["*ngSwitchCase","true"])}function c2(n,t){1&n&&(L(0,"span",23),ut(1," *"),V())}function d2(n,t){if(1&n){const e=so();L(0,"label",20,21),je("cdkObserveContent",function(){return Os(e),Pt().updateOutlineGap()}),Be(2,l2,4,1,"ng-container",12),Be(3,u2,1,0,"ng-content",12),Be(4,c2,2,0,"span",22),V()}if(2&n){const e=Pt();Qn("mat-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),ie("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),kt("for",e._control.id)("aria-owns",e._control.id),te(2),ie("ngSwitchCase",!1),te(1),ie("ngSwitchCase",!0),te(1),ie("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function f2(n,t){1&n&&(L(0,"div",24),Fn(1,4),V())}function h2(n,t){if(1&n&&(L(0,"div",25),lt(1,"span",26),V()),2&n){const e=Pt();te(1),Qn("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function p2(n,t){1&n&&(L(0,"div"),Fn(1,5),V()),2&n&&ie("@transitionMessages",Pt()._subscriptAnimationState)}function g2(n,t){if(1&n&&(L(0,"div",30),ut(1),V()),2&n){const e=Pt(2);ie("id",e._hintLabelId),te(1),Kr(e.hintLabel)}}function m2(n,t){if(1&n&&(L(0,"div",27),Be(1,g2,2,2,"div",28),Fn(2,6),lt(3,"div",29),Fn(4,7),V()),2&n){const e=Pt();ie("@transitionMessages",e._subscriptAnimationState),te(1),ie("ngIf",e.hintLabel)}}const y2=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],_2=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],v2=new F("MatError"),C2={transitionMessages:Mj("transitionMessages",[Tj("enter",ru({opacity:1,transform:"translateY(0%)"})),Ij("void => enter",[ru({opacity:0,transform:"translateY(-5px)"}),Sj("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let gp=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=b({type:n}),n})();const b2=new F("MatHint");let mp=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=b({type:n,selectors:[["mat-label"]]}),n})(),D2=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=b({type:n,selectors:[["mat-placeholder"]]}),n})();const E2=new F("MatPrefix"),ax=new F("MatSuffix");let w2=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=b({type:n,selectors:[["","matSuffix",""]],features:[pe([{provide:ax,useExisting:n}])]}),n})(),lx=0;const A2=sw(class{constructor(n){this._elementRef=n}},"primary"),M2=new F("MAT_FORM_FIELD_DEFAULT_OPTIONS"),cx=new F("MatFormField");let S2=(()=>{class n extends A2{constructor(e,r,i,s,o,a,l){super(e),this._changeDetectorRef=r,this._dir=i,this._defaults=s,this._platform=o,this._ngZone=a,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new Xe,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+lx++,this._labelId="mat-form-field-label-"+lx++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==l,this.appearance=s&&s.appearance?s.appearance:"legacy",this._hideRequiredMarker=!(!s||null==s.hideRequiredMarker)&&s.hideRequiredMarker}get appearance(){return this._appearance}set appearance(e){const r=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&r!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=xt(e)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe(wl(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(or(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(or(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),ta(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(wl(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(wl(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(or(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){const r=this._control?this._control.ngControl:null;return r&&r[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Lh(this._label.nativeElement,"transitionend").pipe(mi(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const r=this._hintChildren?this._hintChildren.find(s=>"start"===s.align):null,i=this._hintChildren?this._hintChildren.find(s=>"end"===s.align):null;r?e.push(r.id):this._hintLabel&&e.push(this._hintLabelId),i&&e.push(i.id)}else this._errorChildren&&e.push(...this._errorChildren.map(r=>r.id));this._control.setDescribedByIds(e)}}_validateControlChild(){}updateOutlineGap(){const e=this._label?this._label.nativeElement:null,r=this._connectionContainerRef.nativeElement,i=".mat-form-field-outline-start",s=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){const c=r.querySelectorAll(`${i}, ${s}`);for(let d=0;d<c.length;d++)c[d].style.width="0";return}if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let o=0,a=0;const l=r.querySelectorAll(i),u=r.querySelectorAll(s);if(this._label&&this._label.nativeElement.children.length){const c=r.getBoundingClientRect();if(0===c.width&&0===c.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const d=this._getStartEnd(c),f=e.children,h=this._getStartEnd(f[0].getBoundingClientRect());let g=0;for(let m=0;m<f.length;m++)g+=f[m].offsetWidth;o=Math.abs(h-d)-5,a=g>0?.75*g+10:0}for(let c=0;c<l.length;c++)l[c].style.width=`${o}px`;for(let c=0;c<u.length;c++)u[c].style.width=`${a}px`;this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}_getStartEnd(e){return this._dir&&"rtl"===this._dir.value?e.right:e.left}_isAttachedToDOM(){const e=this._elementRef.nativeElement;if(e.getRootNode){const r=e.getRootNode();return r&&r!==e}return document.documentElement.contains(e)}}return n.\u0275fac=function(e){return new(e||n)(p($),p(rl),p(nh,8),p(M2,8),p(eu),p(ce),p(pp,8))},n.\u0275cmp=Vr({type:n,selectors:[["mat-form-field"]],contentQueries:function(e,r,i){if(1&e&&(Zt(i,gp,5),Zt(i,gp,7),Zt(i,mp,5),Zt(i,mp,7),Zt(i,D2,5),Zt(i,v2,5),Zt(i,b2,5),Zt(i,E2,5),Zt(i,ax,5)),2&e){let s;mt(s=yt())&&(r._controlNonStatic=s.first),mt(s=yt())&&(r._controlStatic=s.first),mt(s=yt())&&(r._labelChildNonStatic=s.first),mt(s=yt())&&(r._labelChildStatic=s.first),mt(s=yt())&&(r._placeholderChild=s.first),mt(s=yt())&&(r._errorChildren=s),mt(s=yt())&&(r._hintChildren=s),mt(s=yt())&&(r._prefixChildren=s),mt(s=yt())&&(r._suffixChildren=s)}},viewQuery:function(e,r){if(1&e&&(Za(r2,7),Za(i2,5),Za(s2,5)),2&e){let i;mt(i=yt())&&(r._connectionContainerRef=i.first),mt(i=yt())&&(r._inputContainerRef=i.first),mt(i=yt())&&(r._label=i.first)}},hostAttrs:[1,"mat-form-field"],hostVars:40,hostBindings:function(e,r){2&e&&Qn("mat-form-field-appearance-standard","standard"==r.appearance)("mat-form-field-appearance-fill","fill"==r.appearance)("mat-form-field-appearance-outline","outline"==r.appearance)("mat-form-field-appearance-legacy","legacy"==r.appearance)("mat-form-field-invalid",r._control.errorState)("mat-form-field-can-float",r._canLabelFloat())("mat-form-field-should-float",r._shouldLabelFloat())("mat-form-field-has-label",r._hasFloatingLabel())("mat-form-field-hide-placeholder",r._hideControlPlaceholder())("mat-form-field-disabled",r._control.disabled)("mat-form-field-autofilled",r._control.autofilled)("mat-focused",r._control.focused)("ng-untouched",r._shouldForward("untouched"))("ng-touched",r._shouldForward("touched"))("ng-pristine",r._shouldForward("pristine"))("ng-dirty",r._shouldForward("dirty"))("ng-valid",r._shouldForward("valid"))("ng-invalid",r._shouldForward("invalid"))("ng-pending",r._shouldForward("pending"))("_mat-animation-noopable",!r._animationsEnabled)},inputs:{color:"color",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel",floatLabel:"floatLabel"},exportAs:["matFormField"],features:[pe([{provide:cx,useExisting:n}]),x],ngContentSelectors:_2,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(e,r){1&e&&(Dd(y2),L(0,"div",0),L(1,"div",1,2),je("click",function(s){return r._control.onContainerClick&&r._control.onContainerClick(s)}),Be(3,o2,9,0,"ng-container",3),Be(4,a2,2,1,"div",4),L(5,"div",5,6),Fn(7),L(8,"span",7),Be(9,d2,5,16,"label",8),V(),V(),Be(10,f2,2,0,"div",9),V(),Be(11,h2,2,4,"div",10),L(12,"div",11),Be(13,p2,2,1,"div",12),Be(14,m2,5,2,"div",13),V(),V()),2&e&&(te(3),ie("ngIf","outline"==r.appearance),te(1),ie("ngIf",r._prefixChildren.length),te(5),ie("ngIf",r._hasFloatingLabel()),te(1),ie("ngIf",r._suffixChildren.length),te(1),ie("ngIf","outline"!=r.appearance),te(1),ie("ngSwitch",r._getDisplayedMessages()),te(1),ie("ngSwitchCase","error"),te(1),ie("ngSwitchCase","hint"))},directives:[Df,zB,ml,zC],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}\n",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-form-field-flex{outline:dashed 3px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\n','.mat-input-element{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element:not([type=password])::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{opacity:0}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\n',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px)}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\n",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{border:3px dashed}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\n",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\n"],encapsulation:2,data:{animation:[C2.transitionMessages]},changeDetection:0}),n})(),yp=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=De({type:n}),n.\u0275inj=Ce({imports:[[QC,zo,WB],zo]}),n})();const dx=tu({passive:!0});let T2=(()=>{class n{constructor(e,r){this._platform=e,this._ngZone=r,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return Dn;const r=Rh(e),i=this._monitoredElements.get(r);if(i)return i.subject;const s=new Xe,o="cdk-text-field-autofilled",a=l=>{"cdk-text-field-autofill-start"!==l.animationName||r.classList.contains(o)?"cdk-text-field-autofill-end"===l.animationName&&r.classList.contains(o)&&(r.classList.remove(o),this._ngZone.run(()=>s.next({target:l.target,isAutofilled:!1}))):(r.classList.add(o),this._ngZone.run(()=>s.next({target:l.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{r.addEventListener("animationstart",a,dx),r.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(r,{subject:s,unlisten:()=>{r.removeEventListener("animationstart",a,dx)}}),s}stopMonitoring(e){const r=Rh(e),i=this._monitoredElements.get(r);i&&(i.unlisten(),i.subject.complete(),r.classList.remove("cdk-text-field-autofill-monitored"),r.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(r))}ngOnDestroy(){this._monitoredElements.forEach((e,r)=>this.stopMonitoring(r))}}return n.\u0275fac=function(e){return new(e||n)(D(eu),D(ce))},n.\u0275prov=w({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),fx=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=De({type:n}),n.\u0275inj=Ce({imports:[[KB]]}),n})();const I2=new F("MAT_INPUT_VALUE_ACCESSOR"),F2=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let R2=0;const O2=pj(class{constructor(n,t,e,r){this._defaultErrorStateMatcher=n,this._parentForm=t,this._parentFormGroup=e,this.ngControl=r}});let N2=(()=>{class n extends O2{constructor(e,r,i,s,o,a,l,u,c,d){super(a,s,o,i),this._elementRef=e,this._platform=r,this._autofillMonitor=u,this._formField=d,this._uid="mat-input-"+R2++,this.focused=!1,this.stateChanges=new Xe,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(g=>XE().has(g));const f=this._elementRef.nativeElement,h=f.nodeName.toLowerCase();this._inputValueAccessor=l||f,this._previousNativeValue=this.value,this.id=this.id,r.IOS&&c.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",g=>{const m=g.target;!m.value&&0===m.selectionStart&&0===m.selectionEnd&&(m.setSelectionRange(1,1),m.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===h,this._isTextarea="textarea"===h,this._isInFormField=!!d,this._isNativeSelect&&(this.controlType=f.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=xt(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){var e,r,i,s;return null!==(s=null!==(e=this._required)&&void 0!==e?e:null===(i=null===(r=this.ngControl)||void 0===r?void 0:r.control)||void 0===i?void 0:i.hasValidator(zV.required))&&void 0!==s&&s}set required(e){this._required=xt(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&XE().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=xt(e)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var e,r;const i=(null===(r=null===(e=this._formField)||void 0===e?void 0:e._hideControlPlaceholder)||void 0===r?void 0:r.call(e))?null:this.placeholder;if(i!==this._previousPlaceholder){const s=this._elementRef.nativeElement;this._previousPlaceholder=i,i?s.setAttribute("placeholder",i):s.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){F2.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,r=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&r&&r.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}}return n.\u0275fac=function(e){return new(e||n)(p($),p(eu),p(ar,10),p(Uo,8),p(Xl,8),p(ow),p(I2,10),p(T2),p(ce),p(cx,8))},n.\u0275dir=b({type:n,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(e,r){1&e&&je("focus",function(){return r._focusChanged(!0)})("blur",function(){return r._focusChanged(!1)})("input",function(){return r._onInput()}),2&e&&(Md("disabled",r.disabled)("required",r.required),kt("id",r.id)("data-placeholder",r.placeholder)("name",r.name||null)("readonly",r.readonly&&!r._isNativeSelect||null)("aria-invalid",r.empty&&r.required?null:r.errorState)("aria-required",r.required),Qn("mat-input-server",r._isServer)("mat-native-select-inline",r._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[pe([{provide:gp,useExisting:n}]),x,st]}),n})(),k2=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=De({type:n}),n.\u0275inj=Ce({providers:[ow],imports:[[fx,yp,zo],fx,yp]}),n})();class L2{}class Ir{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(e=>{const r=e.indexOf(":");if(r>0){const i=e.slice(0,r),s=i.toLowerCase(),o=e.slice(r+1).trim();this.maybeSetNormalizedName(i,s),this.headers.has(s)?this.headers.get(s).push(o):this.headers.set(s,[o])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let r=t[e];const i=e.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(this.headers.set(i,r),this.maybeSetNormalizedName(e,i))})}: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 Ir?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 Ir;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof Ir?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 r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,e);const i=("a"===t.op?this.headers.get(e):void 0)||[];i.push(...r),this.headers.set(e,i);break;case"d":const s=t.value;if(s){let o=this.headers.get(e);if(!o)return;o=o.filter(a=>-1===s.indexOf(a)),0===o.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}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 V2{encodeKey(t){return hx(t)}encodeValue(t){return hx(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const j2=/%(\d[a-f0-9])/gi,H2={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function hx(n){return encodeURIComponent(n).replace(j2,(t,e)=>{var r;return null!==(r=H2[e])&&void 0!==r?r:t})}function px(n){return`${n}`}class Fr{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new V2,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function B2(n,t){const e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(i=>{const s=i.indexOf("="),[o,a]=-1==s?[t.decodeKey(i),""]:[t.decodeKey(i.slice(0,s)),t.decodeValue(i.slice(s+1))],l=e.get(o)||[];l.push(a),e.set(o,l)}),e}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const r=t.fromObject[e];this.map.set(e,Array.isArray(r)?r:[r])})):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(r=>{const i=t[r];Array.isArray(i)?i.forEach(s=>{e.push({param:r,value:s,op:"a"})}):e.push({param:r,value:i,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(r=>e+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new Fr({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(px(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let r=this.map.get(t.param)||[];const i=r.indexOf(px(t.value));-1!==i&&r.splice(i,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class U2{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}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function gx(n){return"undefined"!=typeof ArrayBuffer&&n instanceof ArrayBuffer}function mx(n){return"undefined"!=typeof Blob&&n instanceof Blob}function yx(n){return"undefined"!=typeof FormData&&n instanceof FormData}class Yo{constructor(t,e,r,i){let s;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function G2(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==r?r:null,s=i):s=r,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 Ir),this.context||(this.context=new U2),this.params){const o=this.params.toString();if(0===o.length)this.urlWithParams=e;else{const a=e.indexOf("?");this.urlWithParams=e+(-1===a?"?":a<e.length-1?"&":"")+o}}else this.params=new Fr,this.urlWithParams=e}serializeBody(){return null===this.body?null:gx(this.body)||mx(this.body)||yx(this.body)||function $2(n){return"undefined"!=typeof URLSearchParams&&n instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Fr?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||yx(this.body)?null:mx(this.body)?this.body.type||null:gx(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Fr?"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 r=t.method||this.method,i=t.url||this.url,s=t.responseType||this.responseType,o=void 0!==t.body?t.body:this.body,a=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,l=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let u=t.headers||this.headers,c=t.params||this.params;const d=null!==(e=t.context)&&void 0!==e?e:this.context;return void 0!==t.setHeaders&&(u=Object.keys(t.setHeaders).reduce((f,h)=>f.set(h,t.setHeaders[h]),u)),t.setParams&&(c=Object.keys(t.setParams).reduce((f,h)=>f.set(h,t.setParams[h]),c)),new Yo(r,i,o,{params:c,headers:u,context:d,reportProgress:l,responseType:s,withCredentials:a})}}var nt=(()=>((nt=nt||{})[nt.Sent=0]="Sent",nt[nt.UploadProgress=1]="UploadProgress",nt[nt.ResponseHeader=2]="ResponseHeader",nt[nt.DownloadProgress=3]="DownloadProgress",nt[nt.Response=4]="Response",nt[nt.User=5]="User",nt))();class _p extends class q2{constructor(t,e=200,r="OK"){this.headers=t.headers||new Ir,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}{constructor(t={}){super(t),this.type=nt.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new _p({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})}}function vp(n,t){return{body:t,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials}}let vx=(()=>{class n{constructor(e){this.handler=e}request(e,r,i={}){let s;if(e instanceof Yo)s=e;else{let l,u;l=i.headers instanceof Ir?i.headers:new Ir(i.headers),i.params&&(u=i.params instanceof Fr?i.params:new Fr({fromObject:i.params})),s=new Yo(e,r,void 0!==i.body?i.body:null,{headers:l,context:i.context,params:u,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials})}const o=B(s).pipe(cs(l=>this.handler.handle(l)));if(e instanceof Yo||"events"===i.observe)return o;const a=o.pipe(kn(l=>l instanceof _p));switch(i.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return a.pipe(ee(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(ee(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(ee(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(ee(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(e,r={}){return this.request("DELETE",e,r)}get(e,r={}){return this.request("GET",e,r)}head(e,r={}){return this.request("HEAD",e,r)}jsonp(e,r){return this.request("JSONP",e,{params:(new Fr).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,r={}){return this.request("OPTIONS",e,r)}patch(e,r,i={}){return this.request("PATCH",e,vp(i,r))}post(e,r,i={}){return this.request("POST",e,vp(i,r))}put(e,r,i={}){return this.request("PUT",e,vp(i,r))}}return n.\u0275fac=function(e){return new(e||n)(D(L2))},n.\u0275prov=w({token:n,factory:n.\u0275fac}),n})();const W2=["*"];let bu;function Zo(n){var t;return(null===(t=function K2(){if(void 0===bu&&(bu=null,"undefined"!=typeof window)){const n=window;void 0!==n.trustedTypes&&(bu=n.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return bu}())||void 0===t?void 0:t.createHTML(n))||n}function Cx(n){return Error(`Unable to find icon with the name "${n}"`)}function bx(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function Dx(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}class fi{constructor(t,e,r){this.url=t,this.svgText=e,this.options=r}}let Du=(()=>{class n{constructor(e,r,i,s){this._httpClient=e,this._sanitizer=r,this._errorHandler=s,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=i}addSvgIcon(e,r,i){return this.addSvgIconInNamespace("",e,r,i)}addSvgIconLiteral(e,r,i){return this.addSvgIconLiteralInNamespace("",e,r,i)}addSvgIconInNamespace(e,r,i,s){return this._addSvgIconConfig(e,r,new fi(i,null,s))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,r,i,s){const o=this._sanitizer.sanitize(ae.HTML,i);if(!o)throw Dx(i);const a=Zo(o);return this._addSvgIconConfig(e,r,new fi("",a,s))}addSvgIconSet(e,r){return this.addSvgIconSetInNamespace("",e,r)}addSvgIconSetLiteral(e,r){return this.addSvgIconSetLiteralInNamespace("",e,r)}addSvgIconSetInNamespace(e,r,i){return this._addSvgIconSetConfig(e,new fi(r,null,i))}addSvgIconSetLiteralInNamespace(e,r,i){const s=this._sanitizer.sanitize(ae.HTML,r);if(!s)throw Dx(r);const o=Zo(s);return this._addSvgIconSetConfig(e,new fi("",o,i))}registerFontClassAlias(e,r=e){return this._fontCssClassesByAlias.set(e,r),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const r=this._sanitizer.sanitize(ae.RESOURCE_URL,e);if(!r)throw bx(e);const i=this._cachedIconsByUrl.get(r);return i?B(Eu(i)):this._loadSvgIconFromConfig(new fi(e,null)).pipe(et(s=>this._cachedIconsByUrl.set(r,s)),ee(s=>Eu(s)))}getNamedSvgIcon(e,r=""){const i=Ex(r,e);let s=this._svgIconConfigs.get(i);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(r,e),s)return this._svgIconConfigs.set(i,s),this._getSvgFromConfig(s);const o=this._iconSetConfigs.get(r);return o?this._getSvgFromIconSetConfigs(e,o):function P2(n,t){const e=se(n)?n:()=>n,r=i=>i.error(e());return new de(t?i=>t.schedule(r,0,i):r)}(Cx(i))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?B(Eu(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(ee(r=>Eu(r)))}_getSvgFromIconSetConfigs(e,r){const i=this._extractIconWithNameFromAnySet(e,r);return i?B(i):jD(r.filter(o=>!o.svgText).map(o=>this._loadSvgIconSetFromConfig(o).pipe(tr(a=>{const u=`Loading icon set URL: ${this._sanitizer.sanitize(ae.RESOURCE_URL,o.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(u)),B(null)})))).pipe(ee(()=>{const o=this._extractIconWithNameFromAnySet(e,r);if(!o)throw Cx(e);return o}))}_extractIconWithNameFromAnySet(e,r){for(let i=r.length-1;i>=0;i--){const s=r[i];if(s.svgText&&s.svgText.toString().indexOf(e)>-1){const o=this._svgElementFromConfig(s),a=this._extractSvgIconFromSet(o,e,s.options);if(a)return a}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(et(r=>e.svgText=r),ee(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?B(null):this._fetchIcon(e).pipe(et(r=>e.svgText=r))}_extractSvgIconFromSet(e,r,i){const s=e.querySelector(`[id="${r}"]`);if(!s)return null;const o=s.cloneNode(!0);if(o.removeAttribute("id"),"svg"===o.nodeName.toLowerCase())return this._setSvgAttributes(o,i);if("symbol"===o.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(o),i);const a=this._svgElementFromString(Zo("<svg></svg>"));return a.appendChild(o),this._setSvgAttributes(a,i)}_svgElementFromString(e){const r=this._document.createElement("DIV");r.innerHTML=e;const i=r.querySelector("svg");if(!i)throw Error("<svg> tag not found");return i}_toSvgElement(e){const r=this._svgElementFromString(Zo("<svg></svg>")),i=e.attributes;for(let s=0;s<i.length;s++){const{name:o,value:a}=i[s];"id"!==o&&r.setAttribute(o,a)}for(let s=0;s<e.childNodes.length;s++)e.childNodes[s].nodeType===this._document.ELEMENT_NODE&&r.appendChild(e.childNodes[s].cloneNode(!0));return r}_setSvgAttributes(e,r){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),r&&r.viewBox&&e.setAttribute("viewBox",r.viewBox),e}_fetchIcon(e){var r;const{url:i,options:s}=e,o=null!==(r=null==s?void 0:s.withCredentials)&&void 0!==r&&r;if(!this._httpClient)throw function Q2(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}();if(null==i)throw Error(`Cannot fetch icon from URL "${i}".`);const a=this._sanitizer.sanitize(ae.RESOURCE_URL,i);if(!a)throw bx(i);const l=this._inProgressUrlFetches.get(a);if(l)return l;const u=this._httpClient.get(a,{responseType:"text",withCredentials:o}).pipe(ee(c=>Zo(c)),Cb(()=>this._inProgressUrlFetches.delete(a)),Wp());return this._inProgressUrlFetches.set(a,u),u}_addSvgIconConfig(e,r,i){return this._svgIconConfigs.set(Ex(e,r),i),this}_addSvgIconSetConfig(e,r){const i=this._iconSetConfigs.get(e);return i?i.push(r):this._iconSetConfigs.set(e,[r]),this}_svgElementFromConfig(e){if(!e.svgElement){const r=this._svgElementFromString(e.svgText);this._setSvgAttributes(r,e.options),e.svgElement=r}return e.svgElement}_getIconConfigFromResolvers(e,r){for(let i=0;i<this._resolvers.length;i++){const s=this._resolvers[i](r,e);if(s)return Z2(s)?new fi(s.url,null,s.options):new fi(s,null)}}}return n.\u0275fac=function(e){return new(e||n)(D(vx,8),D(Dl),D(ye,8),D(zn))},n.\u0275prov=w({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Eu(n){return n.cloneNode(!0)}function Ex(n,t){return n+":"+t}function Z2(n){return!(!n.url||!n.options)}const X2=sw(class{constructor(n){this._elementRef=n}}),J2=new F("mat-icon-location",{providedIn:"root",factory:function eU(){const n=$s(ye),t=n?n.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}}),wx=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],tU=wx.map(n=>`[${n}]`).join(", "),nU=/^url\(['"]?#(.*?)['"]?\)$/;let rU=(()=>{class n extends X2{constructor(e,r,i,s,o){super(e),this._iconRegistry=r,this._location=s,this._errorHandler=o,this._inline=!1,this._currentIconFetch=bt.EMPTY,i||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=xt(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const r=this._cleanupFontValue(e);r!==this._fontSet&&(this._fontSet=r,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const r=this._cleanupFontValue(e);r!==this._fontIcon&&(this._fontIcon=r,this._updateFontIconClasses())}_splitIconName(e){if(!e)return["",""];const r=e.split(":");switch(r.length){case 1:return["",r[0]];case 2:return r;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const r=this._location.getPathname();r!==this._previousPath&&(this._previousPath=r,this._prependPathToReferences(r))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const r=e.querySelectorAll("style");for(let s=0;s<r.length;s++)r[s].textContent+=" ";const i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let r=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();r--;){const i=e.childNodes[r];(1!==i.nodeType||"svg"===i.nodeName.toLowerCase())&&i.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,r=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();r!=this._previousFontSetClass&&(this._previousFontSetClass&&e.classList.remove(this._previousFontSetClass),r&&e.classList.add(r),this._previousFontSetClass=r),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const r=this._elementsWithExternalReferences;r&&r.forEach((i,s)=>{i.forEach(o=>{s.setAttribute(o.name,`url('${e}#${o.value}')`)})})}_cacheChildrenWithExternalReferences(e){const r=e.querySelectorAll(tU),i=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let s=0;s<r.length;s++)wx.forEach(o=>{const a=r[s],l=a.getAttribute(o),u=l?l.match(nU):null;if(u){let c=i.get(a);c||(c=[],i.set(a,c)),c.push({name:o,value:u[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[r,i]=this._splitIconName(e);r&&(this._svgNamespace=r),i&&(this._svgName=i),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(i,r).pipe(mi(1)).subscribe(s=>this._setSvgElement(s),s=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${r}:${i}! ${s.message}`))})}}}return n.\u0275fac=function(e){return new(e||n)(p($),p(Du),Mi("aria-hidden"),p(J2),p(zn))},n.\u0275cmp=Vr({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,r){2&e&&(kt("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet),Qn("mat-icon-inline",r.inline)("mat-icon-no-color","primary"!==r.color&&"accent"!==r.color&&"warn"!==r.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[x],ngContentSelectors:W2,decls:1,vars:0,template:function(e,r){1&e&&(Dd(),Fn(0))},styles:[".mat-icon{-webkit-user-select:none;-moz-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),n})(),iU=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=De({type:n}),n.\u0275inj=Ce({imports:[[zo],zo]}),n})();function sU(n,t){1&n&&(vr(0),lt(1,"img",13),Cr())}function oU(n,t){if(1&n&&(L(0,"div"),lt(1,"h3",24),V()),2&n){const e=t.$implicit;te(1),Ed("innerHTML",e,om)}}function aU(n,t){if(1&n&&(vr(0),L(1,"div",23),L(2,"h1"),ut(3),V(),Be(4,oU,2,1,"div",10),V(),Cr()),2&n){const e=t.$implicit;te(3),Kr(e.title),te(1),ie("ngForOf",e.description)}}function lU(n,t){if(1&n&&(L(0,"div",14),L(1,"div",15),lt(2,"img",16),V(),L(3,"h2"),ut(4),V(),L(5,"h3",17),L(6,"h1"),ut(7,"Como Funciona"),V(),lt(8,"p",18),V(),L(9,"div",19),Be(10,aU,5,2,"ng-container",10),V(),L(11,"div",20),L(12,"a",21),ut(13,"Compartilhe Agora Via Whatsapp"),V(),V(),L(14,"div",22),L(15,"a",21),ut(16,"Reportar Golpe"),V(),V(),L(17,"p"),ut(18,"*Conte\xfado produzido com a colabora\xe7\xe3o de informa\xe7\xf5es das Pol\xedcias Civis do Distrito Federal (PC/DF) e do Rio Grande do Sul (PC/RS)."),V(),V()),2&n){const e=Pt();te(2),ie("src",e.selectedGolpe.img,mr),te(2),Kr(e.selectedGolpe.title),te(4),ie("innerText",e.selectedGolpe.description),te(2),ie("ngForOf",e.selectedGolpe.steps),te(2),ie("href","https://api.whatsapp.com/send?text=Saiba como se proteger de golpes!! acesse https://golpes.org?g="+e.selectedGolpe.id,mr),te(3),ie("href","https://airtable.com/shrRgqT7toNlyleJ5",mr)}}function uU(n,t){1&n&&(L(0,"div",25),ut(1,"N\xe3o encontramos nenhum golpe com esse nome"),V())}const cU=function(n){return{g:n}};function dU(n,t){if(1&n){const e=so();vr(0),L(1,"div",26),je("click",function(){return Os(e),Pt().scrollUp()}),lt(2,"img",16),L(3,"span"),ut(4),V(),V(),Cr()}if(2&n){const e=t.$implicit;te(1),ie("queryParams",Mv(3,cU,e.id)),te(1),ie("src",e.img,mr),te(2),Kr(e.title)}}function fU(n,t){1&n&&(L(0,"div",22),L(1,"a",21),ut(2,"Reportar Golpe"),V(),V()),2&n&&(te(1),ie("href","https://airtable.com/shrRgqT7toNlyleJ5",mr))}function hU(n,t){if(1&n){const e=so();vr(0),L(1,"img",27),je("click",function(){return Os(e),Pt().scrollUp()}),V(),Cr()}}const pU=[{path:"",component:(()=>{class n{constructor(e){this.route=e,this.golpes=[{id:"WhatsApp",title:"WhatsApp",description:"Os criminosos vinculam uma imagem de perfil da v\xedtima, geralmente retirada do seu pr\xf3prio perfil de WhatsApp ou redes sociais. Com uma conta falsa, eles se passam pela v\xedtima e solicitam dinheiro para amigos, familiares e conhecidos.",img:"https://i.ibb.co/cNnHyRc/Ellipse-50.png",steps:[{title:"Como Prevenir?",description:["Ajuste a visualiza\xe7\xe3o da imagem da conta do WhatsApp apenas para contatos autorizados;","Fique atento a mensagens de conhecidos ou familiares solicitando dep\xf3sito e/ou transfer\xeancias banc\xe1rias (ainda mais se for em nome de terceiros);","Desconfie de contas com fotos de conhecidos, mas com n\xfameros diferentes;"]},{title:"O que Fazer?",description:['Registre um Boletim de Ocorr\xeancia e denunciar ao WhatsApp atrav\xe9s do e-mail: suporte@whatsapp.com. Tamb\xe9m \xe9 poss\xedvel denunciar clicando no n\xfamero do golpe, clicar no campo "Dados do contato" e clicar em "denunciar". Avisar familiares e conhecidos, no caso de detectar que est\xe3o utilizando seu nome para aplicar o golpe.']}]},{id:"GolpeDoAmor",title:"Golpe do Amor",description:"Os golpistas buscam dados de suas v\xedtimas em aplicativos de relacionamento e namoro.\n\n        O primeiro contato \xe9 feito pelo site de relacionamento e depois pelo WhatsApp.\n\n        - Ap\xf3s iniciar conversas amorosas com fotos de uma pessoa fict\xedcia, surgem as falsas declara\xe7\xf5es de amor e conversas sobre o desejo de se mudar para o Brasil e assim poder viver perto da v\xedtima;\n\n        - Na sequ\xeancia, pedem o endere\xe7o residencial da v\xedtima e depois afirmam que est\xe3o enviando uma caixa (muitas vezes mandam fotos) com joias, numer\xe1rios e outros itens, que supostamente foram retidos pela Receita Federal. Para retir\xe1-la, a v\xedtima precisa fazer um dep\xf3sito de um valor, que geralmente varia de R$ 2.500 a R$ 4.000.\n\n        - Em alguns casos, o golpista afirma que tem um intermedi\xe1rio no envio da tal caixa e pede que todo o dep\xf3sito ou parte dele seja feito no nome dessa pessoa. Fazem amea\xe7as \xe0 v\xedtima e seus familiares caso n\xe3o efetue o dep\xf3sito.",img:"https://i.ibb.co/YRrrYCx/Ellipse-49.png",steps:[{title:"Como Prevenir?",description:["Nunca compartilhe fotos e v\xeddeos \xedntimas atrav\xe9s de mensagens;"]},{title:"O que Fazer?",description:["Se for v\xedtima de extors\xe3o, procure a Delegacia de Pol\xedcia mais pr\xf3xima;","N\xe3o deposite o valor solicitado."]}]},{id:"FalsoEmprestimo",title:"Falso Empr\xe9stimo",description:"Os criminosos fazem an\xfancios em redes sociais se passando por institui\xe7\xf5es financeiras de cr\xe9dito r\xe1pido com ofertas tentadoras.\n      - Ap\xf3s contato da v\xedtima, os criminosos solicitam o pagamento de uma taxa para a libera\xe7\xe3o do empr\xe9stimo;\n      - S\xe3o solicitados diversos pagamentos, at\xe9 que v\xedtima perceba que se trata de um golpe e pare de pagar.",img:"https://i.ibb.co/9tC3ZD1/Ellipse-48.png",steps:[{title:"Como Prevenir?",description:["Institui\xe7\xf5es financeiras nunca solicitam pagamentos pr\xe9vios para a libera\xe7\xe3o de valores;","Sempre desconfie de ofertas imperd\xedveis, na d\xfavida, procure os canais de comunica\xe7\xe3o da institui\xe7\xe3o."]},{title:"O que Fazer?",description:["Registre um Boletim de Ocorr\xeancia"]}]},{id:"plataformaCompraVenda",title:"Golpe OLX",description:"A v\xedtima faz um an\xfancio em plataformas de compra/venda online e deixa o n\xfamero de contato acess\xedvel ao p\xfablico; Os criminosos, de posse do n\xfamero, se passam pelo suporte da plataforma e pedem para que a v\xedtima passe um c\xf3digo de valida\xe7\xe3o recebido por mensagem;\n      O c\xf3digo recebido \xe9 de autentica\xe7\xe3o do WhatsApp da v\xedtima, que ter\xe1 o 'aplicativo clonado, caso passe o c\xf3digo recebido ao criminoso.",img:"assets/images/logo.png",steps:[{title:"Como Prevenir?",description:["Nunca informe c\xf3digos recebidos por mensagem para ningu\xe9m e habilite a autentica\xe7\xe3o de dois fatores em sua conta;","Na d\xfavida, entre em contato atrav\xe9s dos canais oficiais da plataforma."]},{title:"O que Fazer?",description:['Registre um Boletim de Ocorr\xeancia e denunciar ao WhatsApp atrav\xe9s do e-mail: suporte@whatsapp.com, tamb\xe9m \xe9 poss\xedvel denunciar clicando no n\xfamero do golpe, clicar no campo "Dados do contato" e clicar em "denunciar".\n            Ap\xf3s o envio do e-mail, realize o procedimento para recupera\xe7\xe3o da conta sucessivas vezes, para bloquear a conta e o criminoso n\xe3o conseguir mais utiliz\xe1-la.']}]},{id:"linksFalsos",title:"Golpe dos links falsos",description:"Atrav\xe9s de mensagens os criminosos dizem que a v\xedtima se enquadrou para o recebimento de alguma promo\xe7\xe3o, sorteio, aux\xedlio emergencial, ou encaminham algum alerta dizendo que ocorreu uma opera\xe7\xe3o indevida em sua conta.\n      \u2013 O criminoso ent\xe3o encaminha um link malicioso dizendo que deve ser acessado para que a v\xedtima receba o pr\xeamio o benef\xedcio ou para evitar que a conta seja bloqueada;\n      \u2013 Ao acionar o link, a v\xedtima \xe9 redirecionada para sites falsos de cadastros, ou baixa automaticamente aplicativos maliciosos no telefone, todos com objetivo de obter informa\xe7\xf5es pessoais da v\xedtima;",img:"assets/images/logo.png",steps:[{title:"Como Prevenir?",description:["Sempre desconfie de links encaminhados via WhatsApp ou SMS, na d\xfavida, entre em contato direto com os canais oficiais de comunica\xe7\xe3o;"]},{title:"O que Fazer?",description:["No caso de acionar o link ou realizar o cadastro em algum site, informe seu banco e leve seu telefone em alguma assist\xeancia para verificar a exist\xeancia de aplicativos maliciosos."]}]},{id:"intermediadorVendas",title:"Golpe do falso intermediador de vendas",description:"O criminoso consegue o telefone da v\xedtima em sites de vendas online;\n      Ele copia o an\xfancio feito pela v\xedtima e cria um novo an\xfancio falso, entretanto, com o valor mais baixo.\n      - O golpista diz que comprar\xe1 o bem anunciado e que pagar\xe1 uma d\xedvida que possui com algum cliente, s\xf3cio, amigo ou irm\xe3o, e, portanto, pede sil\xeancio no momento de apresentar o objeto para a segunda v\xedtima, prometendo algum lucro financeiro nesta negocia\xe7\xe3o silenciosa;\n      - A v\xedtima interessada em comprar tamb\xe9m \xe9 orientada a se manter em sil\xeancio e por isso ganhar\xe1 um desconto;\n      - Com o enredo pronto, o criminoso fornece contas de terceiro para receber o pagamento;\n      \u2013 Ap\xf3s recebido valor, o criminoso combina de assinar o recibo em cart\xf3rio com ambas as v\xedtimas, as quais descobrem que ca\xedram em um golpe.",img:"assets/images/logo.png",steps:[{title:"Como Prevenir?",description:["Mantenha sempre um di\xe1logo aberto com o vendedor/comprador;","Fa\xe7a quest\xe3o de ver o bem pessoalmente;","Busque outras formas de confirmar que realmente a pessoa que esta vendendo \xe9 a mesma que esta sendo feita a negocia\xe7\xe3o;","Confirme se a conta informada pertence ao vendedor, ou algum familiar pr\xf3ximo (filho, esposa, pai, m\xe3e, etc.);","Quando dispon\xedvel, utilize os meios de pagamentos oferecidos pelas plataformas de venda."]},{title:"O que Fazer?",description:["Registre um Boletim de Ocorr\xeancia"]}]},{id:"falsoSequestro",title:"Golpe do falso sequestro",description:"Os criminosos ligam para a v\xedtima se passando por algum familiar. Com voz de choro, o suposto familiar diz que foi sequestrado e que os criminosos v\xe3o tirar a sua vida. A v\xedtima, assustada, acaba informando o nome de familiares aos criminosos, informa\xe7\xe3o utilizada por eles para dar mais autenticidade ao golpe;\n      \u2013 Os criminosos solicitam o dep\xf3sito de valores em algumas contas ou pedem que coloquem cr\xe9ditos em alguns n\xfameros telef\xf4nicos;\n      \u2013 Em algumas modalidades, os criminosos determinam que a v\xedtima saia de casa, v\xe1 at\xe9 um local reservado, que n\xe3o alerte ningu\xe9m e que n\xe3o entre em contato com seus familiares. Solicitam ent\xe3o o telefone de outra pessoa da fam\xedlia, para que este consiga o dinheiro solicitado;\n      \u2013 De posse do telefone de outro familiar, o criminoso entra em contato, dizendo que sequestrou a v\xedtima, esta, incomunic\xe1vel e fora de casa, n\xe3o consegue entrar em contato, deixando a impress\xe3o que realmente foi sequestrada;",img:"assets/images/logo.png",steps:[{title:"Como Prevenir?",description:["No caso de receber alguma liga\xe7\xe3o deste tipo, desligue e tente entrar em contato com o familiar que supostamente foi sequestrado;","Na d\xfavida, solicite ajuda a algu\xe9m pr\xf3ximo para entrar em contato com o familiar; o nervosismo pode induzir a v\xedtima a erro, algu\xe9m que n\xe3o esteja sofrendo o golpe pode ajudar a localiz\xe1-lo e perceber que se trata de um golpe;","Caso n\xe3o consiga entrar em contato com o familiar, procure em locais pr\xf3ximos, como shoppings, pra\xe7as, bares e at\xe9 mesmo hot\xe9is, \xe0s vezes o familiar supostamente sequestrado tamb\xe9m esta sendo induzido a erro."]},{title:"O que Fazer?",description:["Registre um Boletim de Ocorr\xeancia"]}]},{id:"trocaCartao",title:"Golpe da troca do cart\xe3o",description:"Os criminosos entram em contato com a v\xedtima se passando pela institui\xe7\xe3o financeira do cart\xe3o de cr\xe9dito e alegam que houve uma compra duvidosa.\n       Com isso, solicitam que a v\xedtima ligue no n\xfamero indicado no verso do cart\xe3o para efetuar o seu cancelamento.\n\n      - O golpista continua na linha, coloca uma m\xfasica similar \xe0quela utilizada pela institui\xe7\xe3o banc\xe1ria e solicita algumas informa\xe7\xf5es. Sem perceber a v\xedtima repassa dados pessoais e a senha do cart\xe3o;\n\n      - Na sequ\xeancia, o golpista informa que um funcion\xe1rio da institui\xe7\xe3o ir\xe1 at\xe9 \xe0 resid\xeancia da v\xedtima para efetuar a troca do cart\xe3o;\n\n      - De posse do cart\xe3o, os criminosos efetuam diversas transa\xe7\xf5es banc\xe1rias.",img:"assets/images/logo.png",steps:[{title:"Como Prevenir?",description:["Nunca forne\xe7a seus dados pessoais ou banc\xe1rios via telefone;","Caso receba liga\xe7\xf5es de institui\xe7\xf5es financeiras, dirija-se \xe0 ag\xeancia banc\xe1ria para confirmar a informa\xe7\xe3o;","Na impossibilidade de se dirigir at\xe9 uma ag\xeancia, encerre a liga\xe7\xe3o, espere alguns minutos e entre em contato com os canais oficiais do estabelecimento."]},{title:"O que Fazer?",description:["Registre um boletim de ocorr\xeancia"]}]},{id:"falsoSiteLeilao",title:"Golpe do falso site de leil\xe3o",description:"Os criminosos criam sites falsos de leil\xe3o de ve\xedculos e vinculam imagens oficiais do Detran e do Tribunal de Justi\xe7a para dar veracidade.\n      Eles utilizam endere\xe7os onlines como: leil\xe3o-oficial, leil\xe3o-detran-oficial, entre outros.\n\n      - A negocia\xe7\xe3o ocorre via aplicativo de mensagens;\n\n      - O dep\xf3sito \xe9 realizado em contas banc\xe1rias de terceiros.",img:"assets/images/logo.png",steps:[{title:"Como Prevenir?",description:["Nunca deposite valores antecipadamente e n\xe3o caia na tenta\xe7\xe3o de comprar ve\xedculos com valores abaixo do mercado;","Veja o ve\xedculo antes de fechar o neg\xf3cio;","V\xe1 at\xe9 o endere\xe7o indicado nos sites para confirmar que se trata de um local oficial de leil\xe3o. Se for em outra cidade, entre em contato com a Pol\xedcia da cidade e tente confirmar se existe este estabelecimento."]},{title:"O que Fazer?",description:["Entre em contato com o Detran da sua cidade, ou se dirija at\xe9 a Delegacia de Pol\xedcia mais pr\xf3xima para confirmar a informa\xe7\xe3o;"]}]},{id:"sextorsao",title:"Golpe da sextors\xe3o/nudes",description:"Os golpistas estudam o perfil de suas v\xedtimas atrav\xe9s das redes sociais.\n      Geralmente as v\xedtimas em potencial s\xe3o homens (podendo tamb\xe9m ser mulheres) de meia idade ou mais, casados e com c\xedrculo familiar, amigos ou profissional vis\xedvel nas redes sociais.\n      O golpista utiliza um perfil falso, muitas vezes com a fotografia de uma jovem bonita e atraente. O contato inicial quase sempre ocorre atrav\xe9s do Facebook onde eles come\xe7am uma amizade.\n      Logo a conversa privada passa para o WhatsApp onde a mo\xe7a encaminha fotos \xedntimas suas e pede para que a v\xedtima fa\xe7a o mesmo.\n      A partir dai, outro golpista entra em cena:\n      o suposto pai ou padrasto da jovem, alegando que ela \xe9 \u201cmenor de idade\u201d e que a v\xedtima estaria praticando pedofilia atrav\xe9s da internet, inicia a extors\xe3o.\n      Para que o caso n\xe3o seja levado \xe0 pol\xedcia, ou para que as fotos \xedntimas e as conversas privadas n\xe3o sejam compartilhadas com a esposa, parentes ou amigos da v\xedtima, o golpista exige que seja paga certa quantia em dinheiro por meio de dep\xf3sito banc\xe1rio.\n      *ATEN\xc7\xc3O:Algumas vezes os golpistas tamb\xe9m se fazem passar por supostos advogados, policiais civis ou delegados, alegando que as fotos j\xe1 fazem parte de uma investiga\xe7\xe3o policial e solicitam dep\xf3sitos em dinheiro para\n      que o \u201cinqu\xe9rito\u201d seja arquivado. A v\xedtima, temendo ser presa ou \xe0 exposi\xe7\xe3o social cede \xe0 extors\xe3o e acaba fazendo o dep\xf3sito dos valores solicitados pelos golpistas.",img:"assets/images/logo.png",steps:[{title:"Como Prevenir?",description:["Nunca compartilhe fotos \xedntimas pela internet. Depois de compartilhado, a foto ou o v\xeddeo podem circular entre milhares de pessoas;","Desconfie sempre de solicita\xe7\xf5es de amizade, atrav\xe9s das redes sociais, de pessoas que voc\xea n\xe3o conhece;","N\xe3o forne\xe7a seus dados pessoais (como nome completo, CPF, RG, endere\xe7o, n\xfamero de conta banc\xe1ria e senha) para estranhos, em liga\xe7\xf5es telef\xf4nicas, mensagens SMS ou WhatsApp;","Cuidado com opera\xe7\xf5es banc\xe1rias (dep\xf3sitos ou transfer\xeancias em dinheiro) para pessoas do seu c\xedrculo familiar ou de amigos, principalmente quando isso \xe9 solicitado exclusivamente atrav\xe9s do WhatsApp;"]},{title:"O que Fazer?",description:["Se voc\xea sabe de algu\xe9m que pode estar praticando algum destes golpes, denuncie pelo telefone 181 ou WhatsApp da Pol\xedcia Civil (48) 98844-0011 ou procure a Delegacia de Pol\xedcia mais pr\xf3xima;\n            Caso voc\xea tenha sido v\xedtima de algum destes golpes, procure imediatamente a Pol\xedcia Civil. Voc\xea tamb\xe9m pode registrar o boletim de ocorr\xeancia atrav\xe9s da Delegacia de Pol\xedcia Virtual de Santa Catarina, acess\xedvel em:\n            https://delegaciavirtual.sc.gov.br/inicio.aspx."]}]},{id:"clonagemWhatsapp",title:"Golpe da clonagem do whatsapp",description:"Os criminosos possuem diversas formas de obter o n\xfamero de telefone das v\xedtimas, mas o mais usual \xe9 que seja retirado de an\xfancios em plataformas de sites de compras ou an\xfancios p\xfablicos em redes sociais.\n      O golpista se passa por funcion\xe1rio da plataforma de an\xfancio e, sob o pretexto de corrigir uma duplicidade no an\xfancio com valores diferentes, ou mesmo ativar o an\xfancio, solicita \xe0 v\xedtima para que informe seus dados pessoais (nome, RG, CPF, endere\xe7o) e um c\xf3digo de 6 d\xedgitos que receber\xe1 no telefone.\n      Esse c\xf3digo, na verdade, \xe9 uma verifica\xe7\xe3o do WhatsApp, ou seja, a partir do fornecimento dessa chave o golpista desviar\xe1 o WhatsApp da v\xedtima para o aplicativo dele.\n      Nesse caso a v\xedtima perde o acesso ao aplicativo de mensagens.\n      A partir disso o criminoso se passa pela v\xedtima e, alegando algum problema na conta ou com cart\xe3o de cr\xe9dito bloqueado solicita dinheiro emprestado se comprometendo a pagar no dia seguinte.\n      O parente ou amigo da v\xedtima, acreditando estar falando com a pessoa de sua confian\xe7a, acaba transferindo o dinheiro para a conta banc\xe1ria informada, e assim se torna tamb\xe9m v\xedtima do golpe.",img:"assets/images/logo.png",steps:[{title:"Como Prevenir?",description:["Habilite a \u201cconfirma\xe7\xe3o em duas etapas\u201d no aplicativo WhatsApp. Para isso, dentro do seu aplicativo clique em \u201cconfigura\xe7\xf5es/ajustes\u201d e depois clique em \u201cconta\u201d, escolha a op\xe7\xe3o \u201cconfirma\xe7\xe3o em duas etapas\u201d e habilite a senha de 6 d\xedgitos num\xe9ricos. Isso impede que golpistas fa\xe7am a clonagem do WhatsApp.","**Esse c\xf3digo num\xe9rico \xe9 uma senha, portanto n\xe3o envie para ningu\xe9m."]},{title:"O que Fazer?",description:["Caso tenha enviado o c\xf3digo recebido por torpedo SMS e ca\xeddo no golpe, encaminhe um e-mail para: support@whatsapp.com pedindo a desativa\xe7\xe3o tempor\xe1ria de sua conta do WhatsApp. Posteriormente, ap\xf3s receber o e-mail do WhatsApp no prazo de 30 dias, configure-o novamente com o seu n\xfamero de celular. Caso voc\xea receba uma mensagem de algum amigo ou parente solicitando empr\xe9stimo em dinheiro, ou dep\xf3sito de algum valor em uma determinada conta, verifique com cautela a veracidade desta solicita\xe7\xe3o. E, caso seja verdade, antes de qualquer confirma\xe7\xe3o de dep\xf3sito, verifique o destinat\xe1rio (nome, CPF, ag\xeancia banc\xe1ria)."]}]},{id:"bilhetePremiado",title:"Golpe do bilhete premiado",description:"A v\xedtima, geralmente pessoa idosa, \xe9 abordada por uma pessoa com apar\xeancia humilde, que pede algumas informa\xe7\xf5es, dizendo ter um bilhete de loteria premiado.\n      O criminoso, supostamente ganhador da loteria, alega ter medo de ser enganado na hora de resgatar o pr\xeamio ou que tem a\xe7\xf5es na justi\xe7a que o impediriam de receber o pr\xeamio.\n      Em seguida entra em cena um segundo golpista, um sujeito bem arrumado, que diz ter ouvido a conversa.\n      A partir da\xed se inicia toda uma encena\xe7\xe3o, onde o segundo golpista simula falar com algu\xe9m da Caixa Econ\xf4mica Federal para confirmar a legitimidade do pr\xeamio.\n      Ent\xe3o, ele sugere que a v\xedtima fique com o bilhete premiado, mas, em contrapartida, repasse algum dinheiro para o suposto ganhador.\n      Geralmente eles acompanham a v\xedtima at\xe9 uma ag\xeancia banc\xe1ria para fazer o saque do dinheiro, ou a transfer\xeancia como garantia de que o humilde suposto ganhador n\xe3o seja enganado, e ent\xe3o entregam o bilhete premiado.",img:"assets/images/logo.png",steps:[{title:"Como Prevenir?",description:["Caso se depare com algu\xe9m pedindo ajuda em situa\xe7\xe3o semelhante diga que n\xe3o pode ajudar e procure uma Delegacia de Pol\xedcia mais pr\xf3xima para informar o fato.","*ATEN\xc7\xc3O: Saiba que n\xe3o se ganha dinheiro f\xe1cil, principalmente em abordagens de rua por desconhecidos. Sempre desconfie!"]},{title:"O que Fazer?",description:["Chame a pol\xedcia"]}]},{id:"parenteCarroQuebrado",title:"Golpe do parente que quebrou o carro",description:"O golpista liga aleatoriamente para as vitimas, geralmente no per\xedodo noturno.\n      Independentemente de quem atende o telefone, o golpista logo fala: \u201coi tio (a), ou oi primo (a), sabe quem est\xe1 falando?\n      Caso a v\xedtima diga um nome, achando ser algum sobrinho ou outro parente distante, j\xe1 deu ao golpista o que ele queria.\n      Muitas vezes a v\xedtima fala que n\xe3o se recorda e ent\xe3o o golpista usa do artif\xedcio \u201cnossa, n\xe3o lembra mais de mim!\u201d, dialogando com a v\xedtima at\xe9 que seja poss\xedvel extrair dela um nome de um parente que mora distante.\n      Com isso, ele forja uma hist\xf3ria de que estaria viajando ou chegando pr\xf3ximo \xe0 cidade onde a v\xedtima reside, e relata que sofreu algum acidente ou que o carro de quebrou.\n      Ent\xe3o o criminoso solicita que a v\xedtima fa\xe7a uma transfer\xeancia em dinheiro para determinada conta banc\xe1ria do mec\xe2nico, do guincho ou da borracharia onde o ve\xedculo est\xe1 sendo consertado.\n      Ele promete devolver o dinheiro no dia seguinte quando chegar \xe0 cidade da v\xedtima.",img:"assets/images/logo.png",steps:[{title:"Como Prevenir?",description:["N\xe3o fa\xe7a transfer\xeancias ou entregue dinheiro para terceiros;","Desligue o telefone e fa\xe7a contato com o familiar que voc\xea achava estar falando. Caso a pessoa esteja realmente em apuros, voc\xea ainda poder\xe1ajud\xe1-la."]},{title:"O que Fazer?",description:["Reporte no golpes.org"]}]},{id:"depositoEnvelopeVazio",title:"Golpe do dep\xf3sito com envelope vazio",description:"Geralmente a v\xedtima fez algum tipo de an\xfancio para a venda de um determinado bem/objeto em sites de compras pela internet ou atrav\xe9s de redes sociais.\n      Ap\xf3s a negocia\xe7\xe3o, o golpista simula o dep\xf3sito do valor acertado inserindo um envelope vazio no caixa eletr\xf4nico (ou na lot\xe9rica).\n      O golpista ent\xe3o encaminha uma fotografia do comprovante de dep\xf3sito e a v\xedtima confirma o recebimento em consulta \xe0 sua conta pelo aplicativo do banco.\n      Como a verifica\xe7\xe3o banc\xe1ria do dep\xf3sito demora algumas horas ou, \xe0s vezes, \xe9 feita apenas no pr\xf3ximo dia \xfatil, o valor fica aparecendo como depositado at\xe9 que se verifique que dep\xf3sito n\xe3o foi satisfeito.\n      Assim, a v\xedtima efetua a entrega do bem/objeto (normalmente o golpista manda um motorista de aplicativo para apanhar o objeto no mesmo dia do dep\xf3sito).",img:"assets/images/logo.png",steps:[{title:"Como Prevenir?",description:["Quando realizada uma negocia\xe7\xe3o pela internet aguarde sempre a compensa\xe7\xe3o do dep\xf3sito banc\xe1rio. Se poss\xedvel, aguarde at\xe9 o pr\xf3ximo dia \xfatil para que haja a confirma\xe7\xe3o da entrada do dinheiro na conta. Isso vale para qualquer situa\xe7\xe3o.","*ATEN\xc7\xc3O: O golpe do envelope vazio tamb\xe9m \xe9 aplicado de outras formas. Geralmente, o golpista se passa por uma suposta autoridade p\xfablica ou servidor de algum \xf3rg\xe3o p\xfablico. \xc9 um golpe bastante comum, por exemplo, na \xe9poca das elei\xe7\xf5es. O golpista se passa por suposto servidor da justi\xe7a eleitoral ou promotor, requisitando os servi\xe7os de \u201cmotorista\u201d de alguma institui\xe7\xe3o ou empresa, sob o pagamento de supostas di\xe1rias para a fiscaliza\xe7\xe3o de se\xe7\xf5es eleitorais nos munic\xedpios da regi\xe3o. O dep\xf3sito dos valores (di\xe1rias) \xe9 feito de forma antecipada diretamente na conta do \u201cmotorista\u201d, e o golpista envia a foto do comprovante. Logo em seguida, o golpista novamente entra em contato alegando que, por equ\xedvoco, efetuou o dep\xf3sito de valor superior e necessita que seja imediatamente restitu\xedda a diferen\xe7a por se tratar de verba p\xfablica. Ocorre que a v\xedtima confirma o recebimento em consulta \xe0 sua conta pelo aplicativo do banco. Como a verifica\xe7\xe3o banc\xe1ria do dep\xf3sito demora algumas horas ou, \xe0s vezes, \xe9 feita apenas no pr\xf3ximo dia \xfatil, o valor fica aparecendo como depositado at\xe9 que se verifique que o dep\xf3sito n\xe3o foi satisfeito. Assim, a v\xedtima acreditando se tratar de uma situa\xe7\xe3o real, efetua a transfer\xeancia do valor recebido a mais. *ATEN\xc7\xc3O: Nenhum servidor p\xfablico, de qualquer \xf3rg\xe3o que seja, requisitar\xe1 servi\xe7os de \u201cmotorista\u201d por telefone mediante pagamento de di\xe1rias antecipadas. "]},{title:"O que Fazer?",description:["Reporte no golpes.org e fa\xe7a um BO"]}]},{id:"falsaLiga\xe7\xe3oBanco",title:"Golpe da falsa liga\xe7\xe3o do banco",description:"O golpista liga para a v\xedtima como se fosse o banco no qual a v\xedtima possui conta, fala que precisa liberar algumas chaves de acesso e passa um endere\xe7o de site supostamente do banco, para ela acessar.\n      Este site \xe9 falso e redireciona a v\xedtima para uma p\xe1gina semelhante a p\xe1gina oficial, mas que pertence ao golpista, o qual vai roubar todas as credenciais da v\xedtima, como n\xfamero da conta e senhas.\n      Ap\xf3s a v\xedtima digitar os seus dados na p\xe1gina falsa e de posse dessas informa\xe7\xf5es, o golpista transfere todo o dinheiro da conta da v\xedtima para sua conta.",img:"assets/images/logo.png",steps:[{title:"Como Prevenir?",description:["Nunca forne\xe7a dados pessoais ou realize atendimentos banc\xe1rios de liga\xe7\xf5es recebidas no telefone, caso seja urgente, ligue para o n\xfamero do banco ou v\xe1 pessoalmente na ag\xeancia."]},{title:"O que Fazer?",description:["Procure uma Delegacia de Pol\xedcia mais pr\xf3xima para informar o fato."]}]},{id:"golpeDoMecanico",title:"Golpe do Mec\xe2nico",description:"-O golpe do mec\xe2nico se inicia com um suposto mec\xe2nico te abordando no tr\xe2nsito e dizendo que o seu carro est\xe1 com problemas e at\xe9 que pode ter ca\xeddo uma pe\xe7a. Neste momento muitas confiam no golpista e deixam que o carro seja examinado.,\n                    -Na sequ\xeancia, o golpista pode, por exemplo, desligar o fio da bateria e a\xed que o carro realmente apresenta defeito. Depois disso, o suposto mec\xe2nico realiza o conserto e acaba cobrando muito mais.,\n                    - Muitas vezes a \xfanica coisa que ele faz \xe9 religar o fio da bateria ou ent\xe3o o que ele mesmo desligou para acusar suposto defeito.,\n                    -O golpista muitas das vezes pode ser um frentista, querendo resolver um problema que ele mesmo cria em seu ve\xedculo, fazendo barulhos na lataria do carro.",img:"assets/images/logo.png",steps:[{title:"Como Prevenir?",description:["-Evite consertar seu ve\xedculo em mec\xe2nicos desconhecidos, leve a um de sua confian\xe7a;","-Desconfie quando afirmarem que seu carro est\xe1 quebrado, pois muitas pessoas acabam se convencendo pelas palavras do golpista e nem chegam a se questionar se o entranho que acabou de abord\xe1-la de fato \xe9 mec\xe2nico;","-Antes de consertar seu ve\xedculo fa\xe7a um or\xe7amento, mesmo que precise consertar na rua, n\xe3o aceite qualquer manuten\xe7\xe3o sem um or\xe7amento;","-Fa\xe7a revis\xf5es peri\xf3dicas e evite problemas com seu carro;","-Sempre desconfie de abordagem no tr\xe2nsito, n\xe3o confie na primeira informa\xe7\xe3o que voc\xea receber de um desconhecido at\xe9 mesmo de um frentista, mesmo que pare\xe7a convincente;"]},{title:"O que Fazer?",description:["Reporte no golpes.org e fa\xe7a um BO."]}]}],this.searchText="",this.onHome=!0,this.route.queryParams.subscribe(r=>{r.g?(this.golpes.map(i=>{i.id===r.g&&(this.selectedGolpe=i)}),this.onHome=!1):this.onHome=!0})}ngOnInit(){}get filteredList(){return this.searchText?this.golpes.filter(e=>e.title.toLocaleUpperCase().includes(this.searchText.toLocaleUpperCase())):this.golpes}scrollUp(){window.scrollTo({top:0,behavior:"smooth"})}}return n.\u0275fac=function(e){return new(e||n)(p(ni))},n.\u0275cmp=Vr({type:n,selectors:[["app-template"]],decls:19,vars:7,consts:[[1,"template-container"],[4,"ngIf","ngIfElse"],["ActiveGolpe",""],["fxLayout","column","fxLayoutAlign","center center",1,"search-box"],[1,"search"],["appearance","outline"],["autocomplete","off","name","text","type","text","matInput","","placeholder","Ex: WhatsApp",3,"ngModel","ngModelChange"],["matSuffix",""],["fxLayout","row","fxLayoutAlign","space-around start",1,"list"],["class","not-found",4,"ngIf"],[4,"ngFor","ngForOf"],["class","reportar-golpe",4,"ngIf"],[4,"ngIf"],["routerLink","/","src","assets/images/app-background.png","alt","",2,"width","100%","height","100%"],["fxLayout","column","fxLayoutAlign","center center",1,"selected-golpe"],[1,"img-content"],["alt","",3,"src"],[1,"step","mb-step"],[3,"innerText"],["fxLayout","column","fxLayoutGap","20px"],[1,"whats-link"],["target","_blank","data-text","Saiba como se proteger de golpes!! acesse https://golpes-org",2,"text-decoration","none",3,"href"],[1,"reportar-golpe"],["fxLayout","column",1,"step"],[3,"innerHTML"],[1,"not-found"],["routerLink","/","fxLayout","column","fxLayoutAlign","center center",3,"queryParams","click"],["routerLink","/","src","assets/images/app-background.png","alt","",2,"width","100%","height","100%",3,"click"]],template:function(e,r){if(1&e&&(L(0,"div",0),Be(1,sU,2,0,"ng-container",1),Be(2,lU,19,6,"ng-template",null,2,Hv),L(4,"div",3),ut(5," Digite na barra de busca o golpe que deseja obter informa\xe7\xf5es! "),L(6,"div",4),L(7,"form"),L(8,"mat-form-field",5),L(9,"mat-label"),ut(10,"Pesquisar Golpe"),V(),L(11,"input",6),je("ngModelChange",function(s){return r.searchText=s}),V(),L(12,"mat-icon",7),ut(13,"search"),V(),V(),V(),V(),L(14,"div",8),Be(15,uU,2,0,"div",9),Be(16,dU,5,5,"ng-container",10),V(),V(),Be(17,fU,3,1,"div",11),Be(18,hU,2,0,"ng-container",12),V()),2&e){const i=function qy(n){return function Di(n,t){return n[t]}(function XA(){return j.lFrame.contextLView}(),20+n)}(3);te(1),ie("ngIf",r.onHome)("ngIfElse",i),te(10),ie("ngModel",r.searchText),te(4),ie("ngIf",!r.filteredList.length),te(1),ie("ngForOf",r.filteredList),te(1),ie("ngIf",r.onHome),te(1),ie("ngIf",!r.onHome)}},directives:[Df,jl,kD,ch,LD,GC,SE,hE,Uo,S2,mp,N2,Gl,fE,Ah,rU,w2],styles:[".template-container[_ngcontent-%COMP%]{width:100vw;max-width:450px;min-height:100vh;margin:0;background-size:cover}.search-box[_ngcontent-%COMP%]{padding:0 25px;font-size:25px;font-family:opendyslexic!important;font-weight:700;text-align:center;gap:25px}.search-box[_ngcontent-%COMP%]   .search[_ngcontent-%COMP%]{width:100%;background-color:#fff;border-radius:5px}.search-box[_ngcontent-%COMP%]   .search[_ngcontent-%COMP%]   .mat-form-field[_ngcontent-%COMP%]{width:100%;font-size:16px}.list[_ngcontent-%COMP%]{font-size:18px;max-width:100vw;flex-wrap:wrap;gap:10px}.list[_ngcontent-%COMP%]   .not-found[_ngcontent-%COMP%]{width:100%;font-size:14px;opacity:.7}.list[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{width:30%;gap:10px;padding-bottom:20px}.list[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:70px;height:70px}.selected-golpe[_ngcontent-%COMP%]{font-family:opendyslexic!important;padding:15px}.selected-golpe[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{margin:0 0 10px;text-align:center;font-size:30px}.selected-golpe[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{margin:0 0 10px}.selected-golpe[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin:0}.selected-golpe[_ngcontent-%COMP%]   .step[_ngcontent-%COMP%]{background-color:#fff;padding:20px 10px 30px;border-radius:15px;gap:10px;box-shadow:#444 1px 7px}.mb-step[_ngcontent-%COMP%]{margin-bottom:20px!important}.whats-link[_ngcontent-%COMP%]{margin-top:15px;font-family:opendyslexic!important;font-size:20px;display:flex;justify-content:center;align-items:center;width:100%;padding:25px 0;background-color:#228b22;border-radius:15px}.whats-link[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#fff;text-decoration:none}.reportar-golpe[_ngcontent-%COMP%]{margin-top:15px;font-family:opendyslexic!important;font-size:20px;display:flex;justify-content:center;align-items:center;width:100%;padding:25px 0;background-color:#000;border-radius:15px}.reportar-golpe[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#fff;text-decoration:none}"]}),n})()}];let gU=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=De({type:n}),n.\u0275inj=Ce({imports:[[yD.forRoot(pU)],yD]}),n})(),mU=(()=>{class n{constructor(){this.title="golpes-front"}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=Vr({type:n,selectors:[["app-root"]],decls:2,vars:0,consts:[["fxLayoutAlign","center center"]],template:function(e,r){1&e&&(L(0,"div",0),lt(1,"router-outlet"),V())},directives:[ch,Kf],styles:[""]}),n})(),Ix=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=De({type:n}),n.\u0275inj=Ce({imports:[[sh]]}),n})(),Vx=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=De({type:n}),n.\u0275inj=Ce({imports:[[sh]]}),n})(),n$=(()=>{class n{constructor(e,r){us(r)&&!e&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(e,r=[]){return{ngModule:n,providers:e.serverLoaded?[{provide:xr,useValue:Object.assign(Object.assign({},oh),e)},{provide:ah,useValue:r,multi:!0},{provide:gs,useValue:!0}]:[{provide:xr,useValue:Object.assign(Object.assign({},oh),e)},{provide:ah,useValue:r,multi:!0}]}}}return n.\u0275fac=function(e){return new(e||n)(D(gs),D(Xt))},n.\u0275mod=De({type:n}),n.\u0275inj=Ce({imports:[[BD,Ix,Vx],BD,Ix,Vx]}),n})(),r$=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=De({type:n,bootstrap:[mU]}),n.\u0275inj=Ce({providers:[],imports:[[lb,n2,LB,gU,n$,yp,k2,iU]]}),n})();(function yO(){yC=!1})(),Lk().bootstrapModule(r$).catch(n=>console.error(n))}},se=>{se(se.s=30)}]);