diff --git a/angular.json b/angular.json
index 73f6a14..71b8700 100644
--- a/angular.json
+++ b/angular.json
@@ -12,7 +12,7 @@
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
- "outputPath": "dist/NG-Store-Angular",
+ "outputPath": "docs",
"baseHref": "/NG-Store-Angular/",
"index": "src/index.html",
"main": "src/main.ts",
diff --git a/docs/3rdpartylicenses.txt b/docs/3rdpartylicenses.txt
index fe0b1a1..1a0be82 100644
--- a/docs/3rdpartylicenses.txt
+++ b/docs/3rdpartylicenses.txt
@@ -66,6 +66,31 @@ MIT
@angular/router
MIT
+bootstrap
+MIT
+The MIT License (MIT)
+
+Copyright (c) 2011-2024 The Bootstrap Authors
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+
rxjs
Apache-2.0
Apache License
diff --git a/docs/404.html b/docs/404.html
index a180631..c87186a 100644
--- a/docs/404.html
+++ b/docs/404.html
@@ -1,13 +1,13 @@
NG Store
-
+
-
+
diff --git a/docs/main.js b/docs/main.js
index d73f963..5d81042 100644
--- a/docs/main.js
+++ b/docs/main.js
@@ -1 +1 @@
-"use strict";(self.webpackChunkprojeto_angular=self.webpackChunkprojeto_angular||[]).push([[179],{745:()=>{function ie(n){return"function"==typeof n}function co(n){const t=n(i=>{Error.call(i),i.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const Vs=co(n=>function(t){n(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function er(n,e){if(n){const t=n.indexOf(e);0<=t&&n.splice(t,1)}}class Ye{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const o of t)o.remove(this);else t.remove(this);const{initialTeardown:i}=this;if(ie(i))try{i()}catch(o){e=o instanceof Vs?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{Zp(o)}catch(s){e=e??[],s instanceof Vs?e=[...e,...s.errors]:e.push(s)}}if(e)throw new Vs(e)}}add(e){var t;if(e&&e!==this)if(this.closed)Zp(e);else{if(e instanceof Ye){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(e)}}_hasParent(e){const{_parentage:t}=this;return t===e||Array.isArray(t)&&t.includes(e)}_addParent(e){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e}_removeParent(e){const{_parentage:t}=this;t===e?this._parentage=null:Array.isArray(t)&&er(t,e)}remove(e){const{_finalizers:t}=this;t&&er(t,e),e instanceof Ye&&e._removeParent(this)}}Ye.EMPTY=(()=>{const n=new Ye;return n.closed=!0,n})();const Yp=Ye.EMPTY;function Kp(n){return n instanceof Ye||n&&"closed"in n&&ie(n.remove)&&ie(n.add)&&ie(n.unsubscribe)}function Zp(n){ie(n)?n():n.unsubscribe()}const xi={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Bs={setTimeout(n,e,...t){const{delegate:i}=Bs;return i?.setTimeout?i.setTimeout(n,e,...t):setTimeout(n,e,...t)},clearTimeout(n){const{delegate:e}=Bs;return(e?.clearTimeout||clearTimeout)(n)},delegate:void 0};function Xp(n){Bs.setTimeout(()=>{const{onUnhandledError:e}=xi;if(!e)throw n;e(n)})}function Oc(){}const pM=Pc("C",void 0,void 0);function Pc(n,e,t){return{kind:n,value:e,error:t}}let Ci=null;function js(n){if(xi.useDeprecatedSynchronousErrorHandling){const e=!Ci;if(e&&(Ci={errorThrown:!1,error:null}),n(),e){const{errorThrown:t,error:i}=Ci;if(Ci=null,t)throw i}}else n()}class kc extends Ye{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Kp(e)&&e.add(this)):this.destination=xM}static create(e,t,i){return new uo(e,t,i)}next(e){this.isStopped?Lc(function gM(n){return Pc("N",n,void 0)}(e),this):this._next(e)}error(e){this.isStopped?Lc(function mM(n){return Pc("E",void 0,n)}(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Lc(pM,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const vM=Function.prototype.bind;function Nc(n,e){return vM.call(n,e)}class yM{constructor(e){this.partialObserver=e}next(e){const{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(i){Hs(i)}}error(e){const{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(i){Hs(i)}else Hs(e)}complete(){const{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(t){Hs(t)}}}class uo extends kc{constructor(e,t,i){let r;if(super(),ie(e)||!e)r={next:e??void 0,error:t??void 0,complete:i??void 0};else{let o;this&&xi.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),r={next:e.next&&Nc(e.next,o),error:e.error&&Nc(e.error,o),complete:e.complete&&Nc(e.complete,o)}):r=e}this.destination=new yM(r)}}function Hs(n){xi.useDeprecatedSynchronousErrorHandling?function _M(n){xi.useDeprecatedSynchronousErrorHandling&&Ci&&(Ci.errorThrown=!0,Ci.error=n)}(n):Xp(n)}function Lc(n,e){const{onStoppedNotification:t}=xi;t&&Bs.setTimeout(()=>t(n,e))}const xM={closed:!0,next:Oc,error:function bM(n){throw n},complete:Oc},Vc="function"==typeof Symbol&&Symbol.observable||"@@observable";function wi(n){return n}function Qp(n){return 0===n.length?wi:1===n.length?n[0]:function(t){return n.reduce((i,r)=>r(i),t)}}let _e=(()=>{class n{constructor(t){t&&(this._subscribe=t)}lift(t){const i=new n;return i.source=this,i.operator=t,i}subscribe(t,i,r){const o=function DM(n){return n&&n instanceof kc||function wM(n){return n&&ie(n.next)&&ie(n.error)&&ie(n.complete)}(n)&&Kp(n)}(t)?t:new uo(t,i,r);return js(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(i){t.error(i)}}forEach(t,i){return new(i=Jp(i))((r,o)=>{const s=new uo({next:a=>{try{t(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(t){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(t)}[Vc](){return this}pipe(...t){return Qp(t)(this)}toPromise(t){return new(t=Jp(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return n.create=e=>new n(e),n})();function Jp(n){var e;return null!==(e=n??xi.Promise)&&void 0!==e?e:Promise}const MM=co(n=>function(){n(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Re=(()=>{class n extends _e{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new em(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new MM}next(t){js(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){js(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:i}=this;for(;i.length;)i.shift().error(t)}})}complete(){js(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:i,isStopped:r,observers:o}=this;return i||r?Yp:(this.currentObservers=null,o.push(t),new Ye(()=>{this.currentObservers=null,er(o,t)}))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new _e;return t.source=this,t}}return n.create=(e,t)=>new em(e,t),n})();class em extends Re{constructor(e,t){super(),this.destination=e,this.source=t}next(e){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===i||i.call(t,e)}error(e){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===i||i.call(t,e)}complete(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)}_subscribe(e){var t,i;return null!==(i=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==i?i:Yp}}function tm(n){return ie(n?.lift)}function Fe(n){return e=>{if(tm(e))return e.lift(function(t){try{return n(t,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function De(n,e,t,i,r){return new EM(n,e,t,i,r)}class EM extends kc{constructor(e,t,i,r,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(l){e.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(e=this.onFinalize)||void 0===e||e.call(this))}}}function $(n,e){return Fe((t,i)=>{let r=0;t.subscribe(De(i,o=>{i.next(n.call(e,o,r++))}))})}function Jn(n){return this instanceof Jn?(this.v=n,this):new Jn(n)}function om(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,e=n[Symbol.asyncIterator];return e?e.call(n):(n=function Uc(n){var e="function"==typeof Symbol&&Symbol.iterator,t=e&&n[e],i=0;if(t)return t.call(n);if(n&&"number"==typeof n.length)return{next:function(){return n&&i>=n.length&&(n=void 0),{value:n&&n[i++],done:!n}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(n),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(o){t[o]=n[o]&&function(s){return new Promise(function(a,l){!function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}(a,l,(s=n[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const $c=n=>n&&"number"==typeof n.length&&"function"!=typeof n;function sm(n){return ie(n?.then)}function am(n){return ie(n[Vc])}function lm(n){return Symbol.asyncIterator&&ie(n?.[Symbol.asyncIterator])}function cm(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 dm=function YM(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function um(n){return ie(n?.[dm])}function fm(n){return function rm(n,e,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(n,e||[]),o=[];return r={},a("next"),a("throw"),a("return",function s(p){return function(g){return Promise.resolve(g).then(p,u)}}),r[Symbol.asyncIterator]=function(){return this},r;function a(p,g){i[p]&&(r[p]=function(_){return new Promise(function(y,C){o.push([p,_,y,C])>1||l(p,_)})},g&&(r[p]=g(r[p])))}function l(p,g){try{!function c(p){p.value instanceof Jn?Promise.resolve(p.value.v).then(d,u):f(o[0][2],p)}(i[p](g))}catch(_){f(o[0][3],_)}}function d(p){l("next",p)}function u(p){l("throw",p)}function f(p,g){p(g),o.shift(),o.length&&l(o[0][0],o[0][1])}}(this,arguments,function*(){const t=n.getReader();try{for(;;){const{value:i,done:r}=yield Jn(t.read());if(r)return yield Jn(void 0);yield yield Jn(i)}}finally{t.releaseLock()}})}function hm(n){return ie(n?.getReader)}function pt(n){if(n instanceof _e)return n;if(null!=n){if(am(n))return function KM(n){return new _e(e=>{const t=n[Vc]();if(ie(t.subscribe))return t.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(n);if($c(n))return function ZM(n){return new _e(e=>{for(let t=0;t{n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,Xp)})}(n);if(lm(n))return pm(n);if(um(n))return function QM(n){return new _e(e=>{for(const t of n)if(e.next(t),e.closed)return;e.complete()})}(n);if(hm(n))return function JM(n){return pm(fm(n))}(n)}throw cm(n)}function pm(n){return new _e(e=>{(function eE(n,e){var t,i,r,o;return function nm(n,e,t,i){return new(t||(t=Promise))(function(o,s){function a(d){try{c(i.next(d))}catch(u){s(u)}}function l(d){try{c(i.throw(d))}catch(u){s(u)}}function c(d){d.done?o(d.value):function r(o){return o instanceof t?o:new t(function(s){s(o)})}(d.value).then(a,l)}c((i=i.apply(n,e||[])).next())})}(this,void 0,void 0,function*(){try{for(t=om(n);!(i=yield t.next()).done;)if(e.next(i.value),e.closed)return}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=t.return)&&(yield o.call(t))}finally{if(r)throw r.error}}e.complete()})})(n,e).catch(t=>e.error(t))})}function Sn(n,e,t,i=0,r=!1){const o=e.schedule(function(){t(),r?n.add(this.schedule(null,i)):this.unsubscribe()},i);if(n.add(o),!r)return o}function We(n,e,t=1/0){return ie(e)?We((i,r)=>$((o,s)=>e(i,o,r,s))(pt(n(i,r))),t):("number"==typeof e&&(t=e),Fe((i,r)=>function tE(n,e,t,i,r,o,s,a){const l=[];let c=0,d=0,u=!1;const f=()=>{u&&!l.length&&!c&&e.complete()},p=_=>c{o&&e.next(_),c++;let y=!1;pt(t(_,d++)).subscribe(De(e,C=>{r?.(C),o?p(C):e.next(C)},()=>{y=!0},void 0,()=>{if(y)try{for(c--;l.length&&cg(C)):g(C)}f()}catch(C){e.error(C)}}))};return n.subscribe(De(e,p,()=>{u=!0,f()})),()=>{a?.()}}(i,r,n,t)))}function tr(n=1/0){return We(wi,n)}const dn=new _e(n=>n.complete());function mm(n){return n&&ie(n.schedule)}function zc(n){return n[n.length-1]}function gm(n){return ie(zc(n))?n.pop():void 0}function fo(n){return mm(zc(n))?n.pop():void 0}function _m(n,e=0){return Fe((t,i)=>{t.subscribe(De(i,r=>Sn(i,n,()=>i.next(r),e),()=>Sn(i,n,()=>i.complete(),e),r=>Sn(i,n,()=>i.error(r),e)))})}function vm(n,e=0){return Fe((t,i)=>{i.add(n.schedule(()=>t.subscribe(i),e))})}function ym(n,e){if(!n)throw new Error("Iterable cannot be null");return new _e(t=>{Sn(t,e,()=>{const i=n[Symbol.asyncIterator]();Sn(t,e,()=>{i.next().then(r=>{r.done?t.complete():t.next(r.value)})},0,!0)})})}function Le(n,e){return e?function cE(n,e){if(null!=n){if(am(n))return function rE(n,e){return pt(n).pipe(vm(e),_m(e))}(n,e);if($c(n))return function sE(n,e){return new _e(t=>{let i=0;return e.schedule(function(){i===n.length?t.complete():(t.next(n[i++]),t.closed||this.schedule())})})}(n,e);if(sm(n))return function oE(n,e){return pt(n).pipe(vm(e),_m(e))}(n,e);if(lm(n))return ym(n,e);if(um(n))return function aE(n,e){return new _e(t=>{let i;return Sn(t,e,()=>{i=n[dm](),Sn(t,e,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){return void t.error(s)}o?t.complete():t.next(r)},0,!0)}),()=>ie(i?.return)&&i.return()})}(n,e);if(hm(n))return function lE(n,e){return ym(fm(n),e)}(n,e)}throw cm(n)}(n,e):pt(n)}function bm(...n){const e=fo(n),t=function iE(n,e){return"number"==typeof zc(n)?n.pop():e}(n,1/0),i=n;return i.length?1===i.length?pt(i[0]):tr(t)(Le(i,e)):dn}function Gc(n,e,...t){if(!0===e)return void n();if(!1===e)return;const i=new uo({next:()=>{i.unsubscribe(),n()}});return e(...t).subscribe(i)}function ge(n){for(let e in n)if(n[e]===ge)return e;throw Error("Could not find renamed property on target object.")}function Wc(n,e){for(const t in e)e.hasOwnProperty(t)&&!n.hasOwnProperty(t)&&(n[t]=e[t])}function ve(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(ve).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const e=n.toString();if(null==e)return""+e;const t=e.indexOf("\n");return-1===t?e:e.substring(0,t)}function qc(n,e){return null==n||""===n?null===e?"":e:null==e||""===e?n:n+" "+e}const dE=ge({__forward_ref__:ge});function ye(n){return n.__forward_ref__=ye,n.toString=function(){return ve(this())},n}function B(n){return Yc(n)?n():n}function Yc(n){return"function"==typeof n&&n.hasOwnProperty(dE)&&n.__forward_ref__===ye}function Kc(n){return n&&!!n.\u0275providers}const Us="https://g.co/ng/security#xss";class w extends Error{constructor(e,t){super($s(e,t)),this.code=e}}function $s(n,e){return`NG0${Math.abs(n)}${e?": "+e.trim():""}`}function z(n){return"string"==typeof n?n:null==n?"":String(n)}function zs(n,e){throw new w(-201,!1)}function Nt(n,e){null==n&&function fe(n,e,t,i){throw new Error(`ASSERTION ERROR: ${n}`+(null==i?"":` [Expected=> ${t} ${i} ${e} <=Actual]`))}(e,n,null,"!=")}function T(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function he(n){return{providers:n.providers||[],imports:n.imports||[]}}function Gs(n){return Cm(n,Ws)||Cm(n,Dm)}function Cm(n,e){return n.hasOwnProperty(e)?n[e]:null}function wm(n){return n&&(n.hasOwnProperty(Zc)||n.hasOwnProperty(vE))?n[Zc]:null}const Ws=ge({\u0275prov:ge}),Zc=ge({\u0275inj:ge}),Dm=ge({ngInjectableDef:ge}),vE=ge({ngInjectorDef:ge});var j=(()=>((j=j||{})[j.Default=0]="Default",j[j.Host=1]="Host",j[j.Self=2]="Self",j[j.SkipSelf=4]="SkipSelf",j[j.Optional=8]="Optional",j))();let Xc;function Lt(n){const e=Xc;return Xc=n,e}function Mm(n,e,t){const i=Gs(n);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:t&j.Optional?null:void 0!==e?e:void zs(ve(n))}const Ce=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),ho={},Qc="__NG_DI_FLAG__",qs="ngTempTokenPath",bE="ngTokenPath",xE=/\n/gm,CE="\u0275",Em="__source";let po;function nr(n){const e=po;return po=n,e}function wE(n,e=j.Default){if(void 0===po)throw new w(-203,!1);return null===po?Mm(n,void 0,e):po.get(n,e&j.Optional?null:void 0,e)}function M(n,e=j.Default){return(function yE(){return Xc}()||wE)(B(n),e)}function Y(n,e=j.Default){return M(n,Ys(e))}function Ys(n){return typeof n>"u"||"number"==typeof n?n:0|(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)}function Jc(n){const e=[];for(let t=0;t((un=un||{})[un.OnPush=0]="OnPush",un[un.Default=1]="Default",un))(),Zt=(()=>{return(n=Zt||(Zt={}))[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",Zt;var n})();const Tn={},le=[],Ks=ge({\u0275cmp:ge}),ed=ge({\u0275dir:ge}),td=ge({\u0275pipe:ge}),Im=ge({\u0275mod:ge}),An=ge({\u0275fac:ge}),go=ge({__NG_ELEMENT_ID__:ge});let SE=0;function wt(n){return In(()=>{const e=Am(n),t={...e,decls:n.decls,vars:n.vars,template:n.template,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,onPush:n.changeDetection===un.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&n.dependencies||null,getStandaloneInjector:null,data:n.data||{},encapsulation:n.encapsulation||Zt.Emulated,id:"c"+SE++,styles:n.styles||le,_:null,schemas:n.schemas||null,tView:null};Rm(t);const i=n.dependencies;return t.directiveDefs=Zs(i,!1),t.pipeDefs=Zs(i,!0),t})}function TE(n){return pe(n)||et(n)}function AE(n){return null!==n}function me(n){return In(()=>({type:n.type,bootstrap:n.bootstrap||le,declarations:n.declarations||le,imports:n.imports||le,exports:n.exports||le,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function Tm(n,e){if(null==n)return Tn;const t={};for(const i in n)if(n.hasOwnProperty(i)){let r=n[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),t[r]=i,e&&(e[r]=o)}return t}function k(n){return In(()=>{const e=Am(n);return Rm(e),e})}function pe(n){return n[Ks]||null}function et(n){return n[ed]||null}function gt(n){return n[td]||null}function Dt(n,e){const t=n[Im]||null;if(!t&&!0===e)throw new Error(`Type ${ve(n)} does not have '\u0275mod' property.`);return t}function Am(n){const e={};return{type:n.type,providersResolver:null,factory:null,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:e,exportAs:n.exportAs||null,standalone:!0===n.standalone,selectors:n.selectors||le,viewQuery:n.viewQuery||null,features:n.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Tm(n.inputs,e),outputs:Tm(n.outputs)}}function Rm(n){n.features?.forEach(e=>e(n))}function Zs(n,e){if(!n)return null;const t=e?gt:TE;return()=>("function"==typeof n?n():n).map(i=>t(i)).filter(AE)}const Rn=0,O=1,K=2,Te=3,Xt=4,Di=5,tt=6,rr=7,Oe=8,Xs=9,Qs=10,Q=11,nd=12,_o=13,Fm=14,or=15,nt=16,vo=17,sr=18,fn=19,yo=20,Om=21,we=22,id=1,Pm=2,Js=7,ea=8,ar=9,lt=10;function Mt(n){return Array.isArray(n)&&"object"==typeof n[id]}function Qt(n){return Array.isArray(n)&&!0===n[id]}function rd(n){return 0!=(4&n.flags)}function bo(n){return n.componentOffset>-1}function ta(n){return 1==(1&n.flags)}function Jt(n){return!!n.template}function FE(n){return 0!=(256&n[K])}function Mi(n,e){return n.hasOwnProperty(An)?n[An]:null}class kE{constructor(e,t,i){this.previousValue=e,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function Vt(){return Lm}function Lm(n){return n.type.prototype.ngOnChanges&&(n.setInput=LE),NE}function NE(){const n=Bm(this),e=n?.current;if(e){const t=n.previous;if(t===Tn)n.previous=e;else for(let i in e)t[i]=e[i];n.current=null,this.ngOnChanges(e)}}function LE(n,e,t,i){const r=this.declaredInputs[t],o=Bm(n)||function VE(n,e){return n[Vm]=e}(n,{previous:Tn,current:null}),s=o.current||(o.current={}),a=o.previous,l=a[r];s[r]=new kE(l&&l.currentValue,e,a===Tn),n[i]=e}Vt.ngInherit=!0;const Vm="__ngSimpleChanges__";function Bm(n){return n[Vm]||null}const Bt=function(n,e,t){},jm="svg";function Ke(n){for(;Array.isArray(n);)n=n[Rn];return n}function Et(n,e){return Ke(e[n.index])}function Um(n,e){return n.data[e]}function _t(n,e){const t=e[n];return Mt(t)?t:t[Rn]}function ia(n){return 64==(64&n[K])}function ti(n,e){return null==e?null:n[e]}function $m(n){n[sr]=0}function sd(n,e){n[Di]+=e;let t=n,i=n[Te];for(;null!==i&&(1===e&&1===t[Di]||-1===e&&0===t[Di]);)i[Di]+=e,t=i,i=i[Te]}const G={lFrame:Jm(null),bindingsEnabled:!0};function Gm(){return G.bindingsEnabled}function E(){return G.lFrame.lView}function ne(){return G.lFrame.tView}function Ze(){let n=Wm();for(;null!==n&&64===n.type;)n=n.parent;return n}function Wm(){return G.lFrame.currentTNode}function hn(n,e){const t=G.lFrame;t.currentTNode=n,t.isParent=e}function ad(){return G.lFrame.isParent}function ld(){G.lFrame.isParent=!1}function JE(n,e){const t=G.lFrame;t.bindingIndex=t.bindingRootIndex=n,cd(e)}function cd(n){G.lFrame.currentDirectiveIndex=n}function Zm(){return G.lFrame.currentQueryIndex}function ud(n){G.lFrame.currentQueryIndex=n}function tS(n){const e=n[O];return 2===e.type?e.declTNode:1===e.type?n[tt]:null}function Xm(n,e,t){if(t&j.SkipSelf){let r=e,o=n;for(;!(r=r.parent,null!==r||t&j.Host||(r=tS(o),null===r||(o=o[or],10&r.type))););if(null===r)return!1;e=r,n=o}const i=G.lFrame=Qm();return i.currentTNode=e,i.lView=n,!0}function fd(n){const e=Qm(),t=n[O];G.lFrame=e,e.currentTNode=t.firstChild,e.lView=n,e.tView=t,e.contextLView=n,e.bindingIndex=t.bindingStartIndex,e.inI18n=!1}function Qm(){const n=G.lFrame,e=null===n?null:n.child;return null===e?Jm(n):e}function Jm(n){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return null!==n&&(n.child=e),e}function eg(){const n=G.lFrame;return G.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const tg=eg;function hd(){const n=eg();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 dt(){return G.lFrame.selectedIndex}function Ei(n){G.lFrame.selectedIndex=n}function ra(n,e){for(let t=e.directiveStart,i=e.directiveEnd;t=i)break}else e[l]<0&&(n[sr]+=65536),(a>11>16&&(3&n[K])===e){n[K]+=2048,Bt(4,a,o);try{o.call(a)}finally{Bt(5,a,o)}}}else{Bt(4,a,o);try{o.call(a)}finally{Bt(5,a,o)}}}const dr=-1;class Co{constructor(e,t,i){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}function gd(n,e,t){let i=0;for(;ie){s=o-1;break}}}for(;o>16}(n),i=e;for(;t>0;)i=i[or],t--;return i}let _d=!0;function ca(n){const e=_d;return _d=n,e}const cg=255,dg=5;let hS=0;const pn={};function da(n,e){const t=ug(n,e);if(-1!==t)return t;const i=e[O];i.firstCreatePass&&(n.injectorIndex=e.length,vd(i.data,n),vd(e,null),vd(i.blueprint,null));const r=yd(n,e),o=n.injectorIndex;if(lg(r)){const s=aa(r),a=la(r,e),l=a[O].data;for(let c=0;c<8;c++)e[o+c]=a[s+c]|l[s+c]}return e[o+8]=r,o}function vd(n,e){n.push(0,0,0,0,0,0,0,0,e)}function ug(n,e){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===e[n.injectorIndex+8]?-1:n.injectorIndex}function yd(n,e){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let t=0,i=null,r=e;for(;null!==r;){if(i=vg(r),null===i)return dr;if(t++,r=r[or],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return dr}function bd(n,e,t){!function pS(n,e,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(go)&&(i=t[go]),null==i&&(i=t[go]=hS++);const r=i&cg;e.data[n+(r>>dg)]|=1<=0?e&cg:vS:e}(t);if("function"==typeof o){if(!Xm(e,n,i))return i&j.Host?fg(r,0,i):hg(e,t,i,r);try{const s=o(i);if(null!=s||i&j.Optional)return s;zs()}finally{tg()}}else if("number"==typeof o){let s=null,a=ug(n,e),l=dr,c=i&j.Host?e[nt][tt]:null;for((-1===a||i&j.SkipSelf)&&(l=-1===a?yd(n,e):e[a+8],l!==dr&&_g(i,!1)?(s=e[O],a=aa(l),e=la(l,e)):a=-1);-1!==a;){const d=e[O];if(gg(o,a,d.data)){const u=gS(a,e,t,s,i,c);if(u!==pn)return u}l=e[a+8],l!==dr&&_g(i,e[O].data[a+8]===c)&&gg(o,a,e)?(s=d,a=aa(l),e=la(l,e)):a=-1}}return r}function gS(n,e,t,i,r,o){const s=e[O],a=s.data[n+8],d=ua(a,s,t,null==i?bo(a)&&_d:i!=s&&0!=(3&a.type),r&j.Host&&o===a);return null!==d?Si(e,s,d,a):pn}function ua(n,e,t,i,r){const o=n.providerIndexes,s=e.data,a=1048575&o,l=n.directiveStart,d=o>>20,f=r?a+d:n.directiveEnd;for(let p=i?a:a+d;p=l&&g.type===t)return p}if(r){const p=s[l];if(p&&Jt(p)&&p.type===t)return l}return null}function Si(n,e,t,i){let r=n[t];const o=e.data;if(function cS(n){return n instanceof Co}(r)){const s=r;s.resolving&&function uE(n,e){const t=e?`. Dependency path: ${e.join(" > ")} > ${n}`:"";throw new w(-200,`Circular dependency in DI detected for ${n}${t}`)}(function ue(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():z(n)}(o[t]));const a=ca(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?Lt(s.injectImpl):null;Xm(n,i,j.Default);try{r=n[t]=s.factory(void 0,o,n,i),e.firstCreatePass&&t>=i.directiveStart&&function aS(n,e,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=e.type.prototype;if(i){const s=Lm(e);(t.preOrderHooks??(t.preOrderHooks=[])).push(n,s),(t.preOrderCheckHooks??(t.preOrderCheckHooks=[])).push(n,s)}r&&(t.preOrderHooks??(t.preOrderHooks=[])).push(0-n,r),o&&((t.preOrderHooks??(t.preOrderHooks=[])).push(n,o),(t.preOrderCheckHooks??(t.preOrderCheckHooks=[])).push(n,o))}(t,o[t],e)}finally{null!==l&&Lt(l),ca(a),s.resolving=!1,tg()}}return r}function gg(n,e,t){return!!(t[e+(n>>dg)]&1<{const e=xd(B(n));return e&&e()}:Mi(n)}function vg(n){const e=n[O],t=e.type;return 2===t?e.declTNode:1===t?n[tt]:null}const hr="__parameters__";function mr(n,e,t){return In(()=>{const i=function Cd(n){return function(...t){if(n){const i=n(...t);for(const r in i)this[r]=i[r]}}}(e);function r(...o){if(this instanceof r)return i.apply(this,o),this;const s=new r(...o);return a.annotation=s,a;function a(l,c,d){const u=l.hasOwnProperty(hr)?l[hr]:Object.defineProperty(l,hr,{value:[]})[hr];for(;u.length<=d;)u.push(null);return(u[d]=u[d]||[]).push(s),l}}return t&&(r.prototype=Object.create(t.prototype)),r.prototype.ngMetadataName=n,r.annotationCls=r,r})}class I{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=T({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Ii(n,e){n.forEach(t=>Array.isArray(t)?Ii(t,e):e(t))}function bg(n,e,t){e>=n.length?n.push(t):n.splice(e,0,t)}function ha(n,e){return e>=n.length-1?n.pop():n.splice(e,1)[0]}function Eo(n,e){const t=[];for(let i=0;i=0?n[1|i]=t:(i=~i,function wS(n,e,t,i){let r=n.length;if(r==e)n.push(t,i);else if(1===r)n.push(i,n[0]),n[0]=t;else{for(r--,n.push(n[r-1],n[r]);r>e;)n[r]=n[r-2],r--;n[e]=t,n[e+1]=i}}(n,i,e,t)),i}function Dd(n,e){const t=gr(n,e);if(t>=0)return n[1|t]}function gr(n,e){return function xg(n,e,t){let i=0,r=n.length>>t;for(;r!==i;){const o=i+(r-i>>1),s=n[o<e?r=o:i=o+1}return~(r<({token:n})),-1),Pn=mo(mr("Optional"),8),_r=mo(mr("SkipSelf"),4);var vt=(()=>((vt=vt||{})[vt.Important=1]="Important",vt[vt.DashCase=2]="DashCase",vt))();const Td=new Map;let GS=0;const Rd="__ngContext__";function it(n,e){Mt(e)?(n[Rd]=e[yo],function qS(n){Td.set(n[yo],n)}(e)):n[Rd]=e}let Fd;function Od(n,e){return Fd(n,e)}function Ao(n){const e=n[Te];return Qt(e)?e[Te]:e}function Pd(n){return Hg(n[_o])}function kd(n){return Hg(n[Xt])}function Hg(n){for(;null!==n&&!Qt(n);)n=n[Xt];return n}function yr(n,e,t,i,r){if(null!=i){let o,s=!1;Qt(i)?o=i:Mt(i)&&(s=!0,i=i[Rn]);const a=Ke(i);0===n&&null!==t?null==r?qg(e,t,a):Ti(e,t,a,r||null,!0):1===n&&null!==t?Ti(e,t,a,r||null,!0):2===n?function Ud(n,e,t){const i=va(n,e);i&&function hI(n,e,t,i){n.removeChild(e,t,i)}(n,i,e,t)}(e,a,s):3===n&&e.destroyNode(a),null!=o&&function gI(n,e,t,i,r){const o=t[Js];o!==Ke(t)&&yr(e,n,i,o,r);for(let a=lt;a0&&(n[t-1][Xt]=i[Xt]);const o=ha(n,lt+e);!function oI(n,e){Ro(n,e,e[Q],2,null,null),e[Rn]=null,e[tt]=null}(i[O],i);const s=o[fn];null!==s&&s.detachView(o[O]),i[Te]=null,i[Xt]=null,i[K]&=-65}return i}function zg(n,e){if(!(128&e[K])){const t=e[Q];t.destroyNode&&Ro(n,e,t,3,null,null),function lI(n){let e=n[_o];if(!e)return Bd(n[O],n);for(;e;){let t=null;if(Mt(e))t=e[_o];else{const i=e[lt];i&&(t=i)}if(!t){for(;e&&!e[Xt]&&e!==n;)Mt(e)&&Bd(e[O],e),e=e[Te];null===e&&(e=n),Mt(e)&&Bd(e[O],e),t=e&&e[Xt]}e=t}}(e)}}function Bd(n,e){if(!(128&e[K])){e[K]&=-65,e[K]|=128,function fI(n,e){let t;if(null!=n&&null!=(t=n.destroyHooks))for(let i=0;i=0?i[r=s]():i[r=-s].unsubscribe(),o+=2}else{const s=i[r=t[o+1]];t[o].call(s)}if(null!==i){for(let o=r+1;o-1){const{encapsulation:o}=n.data[i.directiveStart+r];if(o===Zt.None||o===Zt.Emulated)return null}return Et(i,t)}}(n,e.parent,t)}function Ti(n,e,t,i,r){n.insertBefore(e,t,i,r)}function qg(n,e,t){n.appendChild(e,t)}function Yg(n,e,t,i,r){null!==i?Ti(n,e,t,i,r):qg(n,e,t)}function va(n,e){return n.parentNode(e)}function Kg(n,e,t){return Xg(n,e,t)}let jd,Gd,Ca,Xg=function Zg(n,e,t){return 40&n.type?Et(n,t):null};function ya(n,e,t,i){const r=Gg(n,i,e),o=e[Q],a=Kg(i.parent||e[tt],i,e);if(null!=r)if(Array.isArray(t))for(let l=0;ln,createScript:n=>n,createScriptURL:n=>n})}catch{}return Ca}()?.createScriptURL(n)||n}class Ai{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Us})`}}function It(n){return n instanceof Ai?n.changingThisBreaksApplicationSecurity:n}function mn(n,e){const t=function II(n){return n instanceof Ai&&n.getTypeName()||null}(n);if(null!=t&&t!==e){if("ResourceURL"===t&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${t} (see ${Us})`)}return t===e}const LI=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var ce=(()=>((ce=ce||{})[ce.NONE=0]="NONE",ce[ce.HTML=1]="HTML",ce[ce.STYLE=2]="STYLE",ce[ce.SCRIPT=3]="SCRIPT",ce[ce.URL=4]="URL",ce[ce.RESOURCE_URL=5]="RESOURCE_URL",ce))();function p_(n){const e=Oo();return e?e.sanitize(ce.URL,n)||"":mn(n,"URL")?It(n):function wa(n){return(n=String(n)).match(LI)?n:"unsafe:"+n}(z(n))}function m_(n){const e=Oo();if(e)return s_(e.sanitize(ce.RESOURCE_URL,n)||"");if(mn(n,"ResourceURL"))return s_(It(n));throw new w(904,!1)}function Oo(){const n=E();return n&&n[nd]}const Ma=new I("ENVIRONMENT_INITIALIZER"),__=new I("INJECTOR",-1),v_=new I("INJECTOR_DEF_TYPES");class y_{get(e,t=ho){if(t===ho){const i=new Error(`NullInjectorError: No provider for ${ve(e)}!`);throw i.name="NullInjectorError",i}return t}}function KI(...n){return{\u0275providers:b_(0,n),\u0275fromNgModule:!0}}function b_(n,...e){const t=[],i=new Set;let r;return Ii(e,o=>{const s=o;Zd(s,t,[],i)&&(r||(r=[]),r.push(s))}),void 0!==r&&x_(r,t),t}function x_(n,e){for(let t=0;t{e.push(o)})}}function Zd(n,e,t,i){if(!(n=B(n)))return!1;let r=null,o=wm(n);const s=!o&&pe(n);if(o||s){if(s&&!s.standalone)return!1;r=n}else{const l=n.ngModule;if(o=wm(l),!o)return!1;r=l}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)Zd(c,e,t,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{Ii(o.imports,d=>{Zd(d,e,t,i)&&(c||(c=[]),c.push(d))})}finally{}void 0!==c&&x_(c,e)}if(!a){const c=Mi(r)||(()=>new r);e.push({provide:r,useFactory:c,deps:le},{provide:v_,useValue:r,multi:!0},{provide:Ma,useValue:()=>M(r),multi:!0})}const l=o.providers;null==l||a||Xd(l,d=>{e.push(d)})}}return r!==n&&void 0!==n.providers}function Xd(n,e){for(let t of n)Kc(t)&&(t=t.\u0275providers),Array.isArray(t)?Xd(t,e):e(t)}const ZI=ge({provide:String,useValue:ge});function Qd(n){return null!==n&&"object"==typeof n&&ZI in n}function Ri(n){return"function"==typeof n}const Jd=new I("Set Injector scope."),Ea={},QI={};let eu;function Sa(){return void 0===eu&&(eu=new y_),eu}class Nn{}class D_ extends Nn{get destroyed(){return this._destroyed}constructor(e,t,i,r){super(),this.parent=t,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,nu(e,s=>this.processProvider(s)),this.records.set(__,xr(void 0,this)),r.has("environment")&&this.records.set(Nn,xr(void 0,this));const o=this.records.get(Jd);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(v_.multi,le,j.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const e of this._ngOnDestroyHooks)e.ngOnDestroy();for(const e of this._onDestroyHooks)e()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(e){this._onDestroyHooks.push(e)}runInContext(e){this.assertNotDestroyed();const t=nr(this),i=Lt(void 0);try{return e()}finally{nr(t),Lt(i)}}get(e,t=ho,i=j.Default){this.assertNotDestroyed(),i=Ys(i);const r=nr(this),o=Lt(void 0);try{if(!(i&j.SkipSelf)){let a=this.records.get(e);if(void 0===a){const l=function iT(n){return"function"==typeof n||"object"==typeof n&&n instanceof I}(e)&&Gs(e);a=l&&this.injectableDefInScope(l)?xr(tu(e),Ea):null,this.records.set(e,a)}if(null!=a)return this.hydrate(e,a)}return(i&j.Self?Sa():this.parent).get(e,t=i&j.Optional&&t===ho?null:t)}catch(s){if("NullInjectorError"===s.name){if((s[qs]=s[qs]||[]).unshift(ve(e)),r)throw s;return function ME(n,e,t,i){const r=n[qs];throw e[Em]&&r.unshift(e[Em]),n.message=function EE(n,e,t,i=null){n=n&&"\n"===n.charAt(0)&&n.charAt(1)==CE?n.slice(2):n;let r=ve(e);if(Array.isArray(e))r=e.map(ve).join(" -> ");else if("object"==typeof e){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):ve(a)))}r=`{${o.join(", ")}}`}return`${t}${i?"("+i+")":""}[${r}]: ${n.replace(xE,"\n ")}`}("\n"+n.message,r,t,i),n[bE]=r,n[qs]=null,n}(s,e,"R3InjectorError",this.source)}throw s}finally{Lt(o),nr(r)}}resolveInjectorInitializers(){const e=nr(this),t=Lt(void 0);try{const i=this.get(Ma.multi,le,j.Self);for(const r of i)r()}finally{nr(e),Lt(t)}}toString(){const e=[],t=this.records;for(const i of t.keys())e.push(ve(i));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new w(205,!1)}processProvider(e){let t=Ri(e=B(e))?e:B(e&&e.provide);const i=function eT(n){return Qd(n)?xr(void 0,n.useValue):xr(M_(n),Ea)}(e);if(Ri(e)||!0!==e.multi)this.records.get(t);else{let r=this.records.get(t);r||(r=xr(void 0,Ea,!0),r.factory=()=>Jc(r.multi),this.records.set(t,r)),t=e,r.multi.push(e)}this.records.set(t,i)}hydrate(e,t){return t.value===Ea&&(t.value=QI,t.value=t.factory()),"object"==typeof t.value&&t.value&&function nT(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}injectableDefInScope(e){if(!e.providedIn)return!1;const t=B(e.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}}function tu(n){const e=Gs(n),t=null!==e?e.factory:Mi(n);if(null!==t)return t;if(n instanceof I)throw new w(204,!1);if(n instanceof Function)return function JI(n){const e=n.length;if(e>0)throw Eo(e,"?"),new w(204,!1);const t=function _E(n){return n&&(n[Ws]||n[Dm])||null}(n);return null!==t?()=>t.factory(n):()=>new n}(n);throw new w(204,!1)}function M_(n,e,t){let i;if(Ri(n)){const r=B(n);return Mi(r)||tu(r)}if(Qd(n))i=()=>B(n.useValue);else if(function w_(n){return!(!n||!n.useFactory)}(n))i=()=>n.useFactory(...Jc(n.deps||[]));else if(function C_(n){return!(!n||!n.useExisting)}(n))i=()=>M(B(n.useExisting));else{const r=B(n&&(n.useClass||n.provide));if(!function tT(n){return!!n.deps}(n))return Mi(r)||tu(r);i=()=>new r(...Jc(n.deps))}return i}function xr(n,e,t=!1){return{factory:n,value:e,multi:t?[]:void 0}}function nu(n,e){for(const t of n)Array.isArray(t)?nu(t,e):t&&Kc(t)?nu(t.\u0275providers,e):e(t)}class rT{}class E_{}class sT{resolveComponentFactory(e){throw function oT(n){const e=Error(`No component factory found for ${ve(n)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=n,e}(e)}}let Cr=(()=>{class n{}return n.NULL=new sT,n})();function aT(){return wr(Ze(),E())}function wr(n,e){return new Pe(Et(n,e))}let Pe=(()=>{class n{constructor(t){this.nativeElement=t}}return n.__NG_ELEMENT_ID__=aT,n})();function lT(n){return n instanceof Pe?n.nativeElement:n}class Po{}let Ln=(()=>{class n{}return n.__NG_ELEMENT_ID__=()=>function cT(){const n=E(),t=_t(Ze().index,n);return(Mt(t)?t:n)[Q]}(),n})(),dT=(()=>{class n{}return n.\u0275prov=T({token:n,providedIn:"root",factory:()=>null}),n})();class Fi{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const uT=new Fi("15.2.10"),iu={},ru="ngOriginalError";function ou(n){return n[ru]}class ni{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e);this._console.error("ERROR",e),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(e){let t=e&&ou(e);for(;t&&ou(t);)t=ou(t);return t||null}}function Vn(n){return n instanceof Function?n():n}function T_(n,e,t){let i=n.length;for(;;){const r=n.indexOf(e,t);if(-1===r)return r;if(0===r||n.charCodeAt(r-1)<=32){const o=e.length;if(r+o===i||n.charCodeAt(r+o)<=32)return r}t=r+1}}const A_="ng-template";function CT(n,e,t){let i=0,r=!0;for(;io?"":r[u+1].toLowerCase();const p=8&i?f:null;if(p&&-1!==T_(p,c,0)||2&i&&c!==f){if(en(i))return!1;s=!0}}}}else{if(!s&&!en(i)&&!en(l))return!1;if(s&&en(l))continue;s=!1,i=l|1&i}}return en(i)||s}function en(n){return 0==(1&n)}function MT(n,e,t,i){if(null===e)return-1;let r=0;if(i||!t){let o=!1;for(;r-1)for(t++;t0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!en(s)&&(e+=O_(o,r),r=""),i=s,o=o||!en(i);t++}return""!==r&&(e+=O_(o,r)),e}const W={};function k_(n,e,t,i){if(!i)if(3==(3&e[K])){const o=n.preOrderCheckHooks;null!==o&&oa(e,o,t)}else{const o=n.preOrderHooks;null!==o&&sa(e,o,0,t)}Ei(t)}function B_(n,e=null,t=null,i){const r=j_(n,e,t,i);return r.resolveInjectorInitializers(),r}function j_(n,e=null,t=null,i,r=new Set){const o=[t||le,KI(n)];return i=i||("object"==typeof n?void 0:ve(n)),new D_(o,e||Sa(),i||null,r)}let Tt=(()=>{class n{static create(t,i){if(Array.isArray(t))return B_({name:""},i,t,"");{const r=t.name??"";return B_({name:r},t.parent,t.providers,r)}}}return n.THROW_IF_NOT_FOUND=ho,n.NULL=new y_,n.\u0275prov=T({token:n,providedIn:"any",factory:()=>M(__)}),n.__NG_ELEMENT_ID__=-1,n})();function D(n,e=j.Default){const t=E();return null===t?M(n,e):pg(Ze(),t,B(n),e)}function Y_(n,e){const t=n.contentQueries;if(null!==t)for(let i=0;iwe&&k_(n,e,we,!1),Bt(s?2:0,r),t(i,r)}finally{Ei(o),Bt(s?3:1,r)}}function fu(n,e,t){if(rd(e)){const r=e.directiveEnd;for(let o=e.directiveStart;o0;){const t=n[--e];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,i,o)}}(n,e,i,ko(n,t,r.hostVars,W),r)}function gn(n,e,t,i,r,o){const s=Et(n,e);!function vu(n,e,t,i,r,o,s){if(null==o)n.removeAttribute(e,r,t);else{const a=null==s?z(o):s(o,i||"",r);n.setAttribute(e,r,a,t)}}(e[Q],s,o,n.value,t,i,r)}function _A(n,e,t,i,r,o){const s=o[e];if(null!==s){const a=i.setInput;for(let l=0;l0&&yu(t)}}function yu(n){for(let i=Pd(n);null!==i;i=kd(i))for(let r=lt;r0&&yu(o)}const t=n[O].components;if(null!==t)for(let i=0;i0&&yu(r)}}function CA(n,e){const t=_t(e,n),i=t[O];(function wA(n,e){for(let t=e.length;t-1&&(Vd(e,i),ha(t,i))}this._attachedToViewContainer=!1}zg(this._lView[O],this._lView)}onDestroy(e){X_(this._lView[O],this._lView,null,e)}markForCheck(){Fa(this._cdRefInjectingView||this._lView)}detach(){this._lView[K]&=-65}reattach(){this._lView[K]|=64}detectChanges(){Oa(this._lView[O],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new w(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function aI(n,e){Ro(n,e,e[Q],2,null,null)}(this._lView[O],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new w(902,!1);this._appRef=e}}class DA extends No{constructor(e){super(e),this._view=e}detectChanges(){const e=this._view;Oa(e[O],e,e[Oe],!1)}checkNoChanges(){}get context(){return null}}class av extends Cr{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=pe(e);return new Lo(t,this.ngModule)}}function lv(n){const e=[];for(let t in n)n.hasOwnProperty(t)&&e.push({propName:n[t],templateName:t});return e}class EA{constructor(e,t){this.injector=e,this.parentInjector=t}get(e,t,i){i=Ys(i);const r=this.injector.get(e,iu,i);return r!==iu||t===iu?r:this.parentInjector.get(e,t,i)}}class Lo extends E_{get inputs(){return lv(this.componentDef.inputs)}get outputs(){return lv(this.componentDef.outputs)}constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=function RT(n){return n.map(AT).join(",")}(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}create(e,t,i,r){let o=(r=r||this.ngModule)instanceof Nn?r:r?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new EA(e,o):e,a=s.get(Po,null);if(null===a)throw new w(407,!1);const l=s.get(dT,null),c=a.createRenderer(null,this.componentDef),d=this.componentDef.selectors[0][0]||"div",u=i?function tA(n,e,t){return n.selectRootElement(e,t===Zt.ShadowDom)}(c,i,this.componentDef.encapsulation):Ld(c,d,function MA(n){const e=n.toLowerCase();return"svg"===e?jm:"math"===e?"math":null}(d)),f=this.componentDef.onPush?288:272,p=mu(0,null,null,1,0,null,null,null,null,null),g=Ta(null,p,null,f,null,null,a,c,l,s,null);let _,y;fd(g);try{const C=this.componentDef;let S,b=null;C.findHostDirectiveDefs?(S=[],b=new Map,C.findHostDirectiveDefs(C,S,b),S.push(C)):S=[C];const F=function IA(n,e){const t=n[O],i=we;return n[i]=e,Er(t,i,2,"#host",null)}(g,u),ee=function TA(n,e,t,i,r,o,s,a){const l=r[O];!function AA(n,e,t,i){for(const r of n)e.mergedAttrs=wo(e.mergedAttrs,r.hostAttrs);null!==e.mergedAttrs&&(Pa(e,e.mergedAttrs,!0),null!==t&&n_(i,t,e))}(i,n,e,s);const c=o.createRenderer(e,t),d=Ta(r,Z_(t),null,t.onPush?32:16,r[n.index],n,o,c,a||null,null,null);return l.firstCreatePass&&_u(l,n,i.length-1),Ra(r,d),r[n.index]=d}(F,u,C,S,g,a,c);y=Um(p,we),u&&function FA(n,e,t,i){if(i)gd(n,t,["ng-version",uT.full]);else{const{attrs:r,classes:o}=function FT(n){const e=[],t=[];let i=1,r=2;for(;i0&&t_(n,t,o.join(" "))}}(c,C,u,i),void 0!==t&&function OA(n,e,t){const i=n.projection=[];for(let r=0;r=0;i--){const r=n[i];r.hostVars=e+=r.hostVars,r.hostAttrs=wo(r.hostAttrs,t=wo(t,r.hostAttrs))}}(i)}function Cu(n){return n===Tn?{}:n===le?[]:n}function NA(n,e){const t=n.viewQuery;n.viewQuery=t?(i,r)=>{e(i,r),t(i,r)}:e}function LA(n,e){const t=n.contentQueries;n.contentQueries=t?(i,r,o)=>{e(i,r,o),t(i,r,o)}:e}function VA(n,e){const t=n.hostBindings;n.hostBindings=t?(i,r)=>{e(i,r),t(i,r)}:e}function rt(n,e,t){return!Object.is(n[e],t)&&(n[e]=t,!0)}function Ut(n,e,t,i){const r=E();return rt(r,function cr(){return G.lFrame.bindingIndex++}(),e)&&(ne(),gn(function Me(){const n=G.lFrame;return Um(n.tView,n.selectedIndex)}(),r,n,e,t,i)),Ut}function Du(n,e,t,i,r){const s=r?"class":"style";xu(n,t,e.inputs[s],s,i)}function h(n,e,t,i){const r=E(),o=ne(),s=we+n,a=r[Q],l=o.firstCreatePass?function QA(n,e,t,i,r,o){const s=e.consts,l=Er(e,n,2,i,ti(s,r));return function gu(n,e,t,i){if(Gm()){const r=null===i?null:{"":-1},o=function uA(n,e){const t=n.directiveRegistry;let i=null,r=null;if(t)for(let o=0;os(Ke(F[i.index])):i.index;let b=null;if(!s&&a&&(b=function t1(n,e,t,i){const r=n.cleanup;if(null!=r)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(n,e,r,i.index)),null!==b)(b.__ngLastListenerFn__||b).__ngNextListenerFn__=o,b.__ngLastListenerFn__=o,f=!1;else{o=Iv(i,e,d,o,!1);const F=t.listen(y,r,o);u.push(o,F),c&&c.push(r,S,C,C+1)}}else o=Iv(i,e,d,o,!1);const p=i.outputs;let g;if(f&&null!==p&&(g=p[r])){const _=g.length;if(_)for(let y=0;y<_;y+=2){const ee=e[g[y]][g[y+1]].subscribe(o),ae=u.length;u.push(o,ee),c&&c.push(r,i.index,ae,-(ae+1))}}}(o,r,r[Q],s,n,e,i),Rt}function Sv(n,e,t,i){try{return Bt(6,e,t),!1!==t(i)}catch(r){return sv(n,r),!1}finally{Bt(7,e,t)}}function Iv(n,e,t,i,r){return function o(s){if(s===Function)return i;Fa(n.componentOffset>-1?_t(n.index,e):e);let l=Sv(e,t,i,s),c=o.__ngNextListenerFn__;for(;c;)l=Sv(e,t,c,s)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&(s.preventDefault(),s.returnValue=!1),l}}function r1(n,e){let t=null;const i=function ET(n){const e=n.attrs;if(null!=e){const t=e.indexOf(5);if(!(1&t))return e[t+1]}return null}(n);for(let r=0;r>17&32767}function Tu(n){return 2|n}function ki(n){return(131068&n)>>2}function Au(n,e){return-131069&n|e<<2}function Ru(n){return 1|n}function Vv(n,e,t,i,r){const o=n[t+1],s=null===e;let a=i?ii(o):ki(o),l=!1;for(;0!==a&&(!1===l||s);){const d=n[a+1];d1(n[a],e)&&(l=!0,n[a+1]=i?Ru(d):Tu(d)),a=i?ii(d):ki(d)}l&&(n[t+1]=i?Tu(o):Ru(o))}function d1(n,e){return null===n||null==e||(Array.isArray(n)?n[1]:n)===e||!(!Array.isArray(n)||"string"!=typeof e)&&gr(n,e)>=0}function Fu(n,e,t){return nn(n,e,t,!1),Fu}function Ni(n,e){return nn(n,e,null,!0),Ni}function nn(n,e,t,i){const r=E(),o=ne(),s=function On(n){const e=G.lFrame,t=e.bindingIndex;return e.bindingIndex=e.bindingIndex+n,t}(2);o.firstUpdatePass&&function Wv(n,e,t,i){const r=n.data;if(null===r[t+1]){const o=r[dt()],s=function Gv(n,e){return e>=n.expandoStartIndex}(n,t);(function Zv(n,e){return 0!=(n.flags&(e?8:16))})(o,i)&&null===e&&!s&&(e=!1),e=function y1(n,e,t,i){const r=function dd(n){const e=G.lFrame.currentDirectiveIndex;return-1===e?null:n[e]}(n);let o=i?e.residualClasses:e.residualStyles;if(null===r)0===(i?e.classBindings:e.styleBindings)&&(t=jo(t=Ou(null,n,e,t,i),e.attrs,i),o=null);else{const s=e.directiveStylingLast;if(-1===s||n[s]!==r)if(t=Ou(r,n,e,t,i),null===o){let l=function b1(n,e,t){const i=t?e.classBindings:e.styleBindings;if(0!==ki(i))return n[ii(i)]}(n,e,i);void 0!==l&&Array.isArray(l)&&(l=Ou(null,n,e,l[1],i),l=jo(l,e.attrs,i),function x1(n,e,t,i){n[ii(t?e.classBindings:e.styleBindings)]=i}(n,e,i,l))}else o=function C1(n,e,t){let i;const r=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0)&&(c=!0)):d=t,r)if(0!==l){const f=ii(n[a+1]);n[i+1]=Va(f,a),0!==f&&(n[f+1]=Au(n[f+1],i)),n[a+1]=function s1(n,e){return 131071&n|e<<17}(n[a+1],i)}else n[i+1]=Va(a,0),0!==a&&(n[a+1]=Au(n[a+1],i)),a=i;else n[i+1]=Va(l,0),0===a?a=i:n[l+1]=Au(n[l+1],i),l=i;c&&(n[i+1]=Tu(n[i+1])),Vv(n,d,i,!0),Vv(n,d,i,!1),function c1(n,e,t,i,r){const o=r?n.residualClasses:n.residualStyles;null!=o&&"string"==typeof e&&gr(o,e)>=0&&(t[i+1]=Ru(t[i+1]))}(e,d,n,i,o),s=Va(a,l),o?e.classBindings=s:e.styleBindings=s}(r,o,e,t,s,i)}}(o,n,s,i),e!==W&&rt(r,s,e)&&function Yv(n,e,t,i,r,o,s,a){if(!(3&e.type))return;const l=n.data,c=l[a+1],d=function a1(n){return 1==(1&n)}(c)?Kv(l,e,t,r,ki(c),s):void 0;Ba(d)||(Ba(o)||function o1(n){return 2==(2&n)}(c)&&(o=Kv(l,null,t,r,a,s)),function _I(n,e,t,i,r){if(e)r?n.addClass(t,i):n.removeClass(t,i);else{let o=-1===i.indexOf("-")?void 0:vt.DashCase;null==r?n.removeStyle(t,i,o):("string"==typeof r&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=vt.Important),n.setStyle(t,i,r,o))}}(i,s,function na(n,e){return Ke(e[n])}(dt(),t),r,o))}(o,o.data[dt()],r,r[Q],n,r[s+1]=function E1(n,e){return null==n||""===n||("string"==typeof e?n+=e:"object"==typeof n&&(n=ve(It(n)))),n}(e,t),i,s)}function Ou(n,e,t,i,r){let o=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a0;){const l=n[r],c=Array.isArray(l),d=c?l[1]:l,u=null===d;let f=t[r+1];f===W&&(f=u?le:void 0);let p=u?Dd(f,i):d===i?f:void 0;if(c&&!Ba(p)&&(p=Dd(l,i)),Ba(p)&&(a=p,s))return a;const g=n[r+1];r=s?ii(g):ki(g)}if(null!==e){let l=o?e.residualClasses:e.residualStyles;null!=l&&(a=Dd(l,i))}return a}function Ba(n){return void 0!==n}function v(n,e=""){const t=E(),i=ne(),r=n+we,o=i.firstCreatePass?Er(i,r,1,e,null):i.data[r],s=t[r]=function Nd(n,e){return n.createText(e)}(t[Q],e);ya(i,t,s,o),hn(o,!1)}const Vr="en-US";let yy=Vr;function Lu(n,e,t,i,r){if(n=B(n),Array.isArray(n))for(let o=0;o>20;if(Ri(n)||!n.multi){const p=new Co(l,r,D),g=Bu(a,e,r?d:d+f,u);-1===g?(bd(da(c,s),o,a),Vu(o,n,e.length),e.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),t.push(p),s.push(p)):(t[g]=p,s[g]=p)}else{const p=Bu(a,e,d+f,u),g=Bu(a,e,d,d+f),y=g>=0&&t[g];if(r&&!y||!r&&!(p>=0&&t[p])){bd(da(c,s),o,a);const C=function zR(n,e,t,i,r){const o=new Co(n,t,D);return o.multi=[],o.index=e,o.componentProviders=0,zy(o,r,i&&!t),o}(r?$R:UR,t.length,r,i,l);!r&&y&&(t[g].providerFactory=C),Vu(o,n,e.length,0),e.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),t.push(C),s.push(C)}else Vu(o,n,p>-1?p:g,zy(t[r?g:p],l,!r&&i));!r&&i&&y&&t[g].componentProviders++}}}function Vu(n,e,t,i){const r=Ri(e),o=function XI(n){return!!n.useClass}(e);if(r||o){const l=(o?B(e.useClass):e).prototype.ngOnDestroy;if(l){const c=n.destroyHooks||(n.destroyHooks=[]);if(!r&&e.multi){const d=c.indexOf(t);-1===d?c.push(t,[i,l]):c[d+1].push(i,l)}else c.push(t,l)}}}function zy(n,e,t){return t&&n.componentProviders++,n.multi.push(e)-1}function Bu(n,e,t,i){for(let r=t;r{t.providersResolver=(i,r)=>function HR(n,e,t){const i=ne();if(i.firstCreatePass){const r=Jt(n);Lu(t,i.data,i.blueprint,r,!0),Lu(e,i.data,i.blueprint,r,!1)}}(i,r?r(n):n,e)}}class Br{}class Gy{}class Wy extends Br{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new av(this);const i=Dt(e);this._bootstrapComponents=Vn(i.bootstrap),this._r3Injector=j_(e,t,[{provide:Br,useValue:this},{provide:Cr,useValue:this.componentFactoryResolver}],ve(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class Hu extends Gy{constructor(e){super(),this.moduleType=e}create(e){return new Wy(this.moduleType,e)}}class WR extends Br{constructor(e,t,i){super(),this.componentFactoryResolver=new av(this),this.instance=null;const r=new D_([...e,{provide:Br,useValue:this},{provide:Cr,useValue:this.componentFactoryResolver}],t||Sa(),i,new Set(["environment"]));this.injector=r,r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}}function za(n,e,t=null){return new WR(n,e,t).injector}let qR=(()=>{class n{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t.id)){const i=b_(0,t.type),r=i.length>0?za([i],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t.id,r)}return this.cachedInjectors.get(t.id)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}}return n.\u0275prov=T({token:n,providedIn:"environment",factory:()=>new n(M(Nn))}),n})();function Uu(n){n.getStandaloneInjector=e=>e.get(qR).getOrCreateStandaloneInjector(n)}function zu(n){return e=>{setTimeout(n,void 0,e)}}const Ee=class yF extends Re{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,i){let r=e,o=t||(()=>null),s=i;if(e&&"object"==typeof e){const l=e;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=zu(o),r&&(r=zu(r)),s&&(s=zu(s)));const a=super.subscribe({next:r,error:o,complete:s});return e instanceof Ye&&e.add(a),a}};function bF(){return this._results[Symbol.iterator]()}class Gu{get changes(){return this._changes||(this._changes=new Ee)}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=Gu.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=bF)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){const i=this;i.dirty=!1;const r=function jt(n){return n.flat(Number.POSITIVE_INFINITY)}(e);(this._changesDetected=!function xS(n,e,t){if(n.length!==e.length)return!1;for(let i=0;i{class n{}return n.__NG_ELEMENT_ID__=wF,n})();const xF=jn,CF=class extends xF{constructor(e,t,i){super(),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=i}createEmbeddedView(e,t){const i=this._declarationTContainer.tView,r=Ta(this._declarationLView,i,e,16,null,i.declTNode,null,null,null,null,t||null);r[vo]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[fn];return null!==s&&(r[fn]=s.createEmbeddedView(i)),uu(i,r,e),new No(r)}};function wF(){return Ga(Ze(),E())}function Ga(n,e){return 4&n.type?new CF(e,n,wr(n,e)):null}let on=(()=>{class n{}return n.__NG_ELEMENT_ID__=DF,n})();function DF(){return sb(Ze(),E())}const MF=on,rb=class extends MF{constructor(e,t,i){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=i}get element(){return wr(this._hostTNode,this._hostLView)}get injector(){return new ur(this._hostTNode,this._hostLView)}get parentInjector(){const e=yd(this._hostTNode,this._hostLView);if(lg(e)){const t=la(e,this._hostLView),i=aa(e);return new ur(t[O].data[i+8],t)}return new ur(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const t=ob(this._lContainer);return null!==t&&t[e]||null}get length(){return this._lContainer.length-lt}createEmbeddedView(e,t,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const s=e.createEmbeddedView(t||{},o);return this.insert(s,r),s}createComponent(e,t,i,r,o){const s=e&&!function Mo(n){return"function"==typeof n}(e);let a;if(s)a=t;else{const u=t||{};a=u.index,i=u.injector,r=u.projectableNodes,o=u.environmentInjector||u.ngModuleRef}const l=s?e:new Lo(pe(e)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const f=(s?c:this.parentInjector).get(Nn,null);f&&(o=f)}const d=l.create(c,r,void 0,o);return this.insert(d.hostView,a),d}insert(e,t){const i=e._lView,r=i[O];if(function $E(n){return Qt(n[Te])}(i)){const d=this.indexOf(e);if(-1!==d)this.detach(d);else{const u=i[Te],f=new rb(u,u[tt],u[Te]);f.detach(f.indexOf(e))}}const o=this._adjustIndex(t),s=this._lContainer;!function cI(n,e,t,i){const r=lt+i,o=t.length;i>0&&(t[r-1][Xt]=e),i0)i.push(s[a/2]);else{const c=o[a+1],d=e[-l];for(let u=lt;u{class n{constructor(t){this.appInits=t,this.resolve=Ka,this.reject=Ka,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r})}runInitializers(){if(this.initialized)return;const t=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r{o.subscribe({complete:a,error:l})});t.push(s)}}Promise.all(t).then(()=>{i()}).catch(r=>{this.reject(r)}),0===t.length&&i(),this.initialized=!0}}return n.\u0275fac=function(t){return new(t||n)(M(Za,8))},n.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Ko=new I("AppId",{providedIn:"root",factory:function Ab(){return`${sf()}${sf()}${sf()}`}});function sf(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Rb=new I("Platform Initializer"),af=new I("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),lf=new I("AnimationModuleType");let QF=(()=>{class n{log(t){console.log(t)}warn(t){console.warn(t)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();const bn=new I("LocaleId",{providedIn:"root",factory:()=>Y(bn,j.Optional|j.SkipSelf)||function JF(){return typeof $localize<"u"&&$localize.locale||Vr}()});class tO{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}let Fb=(()=>{class n{compileModuleSync(t){return new Hu(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const i=this.compileModuleSync(t),o=Vn(Dt(t).declarations).reduce((s,a)=>{const l=pe(a);return l&&s.push(new Lo(l)),s},[]);return new tO(i,o)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const rO=(()=>Promise.resolve(0))();function cf(n){typeof Zone>"u"?rO.then(()=>{n&&n.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}class re{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ee(!1),this.onMicrotaskEmpty=new Ee(!1),this.onStable=new Ee(!1),this.onError=new Ee(!1),typeof Zone>"u")throw new w(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&t,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function oO(){let n=Ce.requestAnimationFrame,e=Ce.cancelAnimationFrame;if(typeof Zone<"u"&&n&&e){const t=n[Zone.__symbol__("OriginalDelegate")];t&&(n=t);const i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function lO(n){const e=()=>{!function aO(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(Ce,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,uf(n),n.isCheckStableRunning=!0,df(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),uf(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,i,r,o,s,a)=>{try{return kb(n),t.invokeTask(r,o,s,a)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||n.shouldCoalesceRunChangeDetection)&&e(),Nb(n)}},onInvoke:(t,i,r,o,s,a,l)=>{try{return kb(n),t.invoke(r,o,s,a,l)}finally{n.shouldCoalesceRunChangeDetection&&e(),Nb(n)}},onHasTask:(t,i,r,o)=>{t.hasTask(r,o),i===r&&("microTask"==o.change?(n._hasPendingMicrotasks=o.microTask,uf(n),df(n)):"macroTask"==o.change&&(n.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,i,r,o)=>(t.handleError(r,o),n.runOutsideAngular(()=>n.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!re.isInAngularZone())throw new w(909,!1)}static assertNotInAngularZone(){if(re.isInAngularZone())throw new w(909,!1)}run(e,t,i){return this._inner.run(e,t,i)}runTask(e,t,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,e,sO,Ka,Ka);try{return o.runTask(s,t,i)}finally{o.cancelTask(s)}}runGuarded(e,t,i){return this._inner.runGuarded(e,t,i)}runOutsideAngular(e){return this._outer.run(e)}}const sO={};function df(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 uf(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function kb(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function Nb(n){n._nesting--,df(n)}class cO{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ee,this.onMicrotaskEmpty=new Ee,this.onStable=new Ee,this.onError=new Ee}run(e,t,i){return e.apply(t,i)}runGuarded(e,t,i){return e.apply(t,i)}runOutsideAngular(e){return e()}runTask(e,t,i,r){return e.apply(t,i)}}const Lb=new I(""),Qa=new I("");let pf,ff=(()=>{class n{constructor(t,i,r){this._ngZone=t,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,pf||(function dO(n){pf=n}(r),r.addToWindow(i)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=typeof Zone>"u"?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:()=>{re.assertNotInAngularZone(),cf(()=>{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())cf(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(t)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),t(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:r})}whenStable(t,i,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,i,r){return[]}}return n.\u0275fac=function(t){return new(t||n)(M(re),M(hf),M(Qa))},n.\u0275prov=T({token:n,factory:n.\u0275fac}),n})(),hf=(()=>{class n{constructor(){this._applications=new Map}registerApplication(t,i){this._applications.set(t,i)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,i=!0){return pf?.findTestabilityInTree(this,t,i)??null}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();const Hn=!1;let ri=null;const Vb=new I("AllowMultipleToken"),mf=new I("PlatformDestroyListeners"),Bb=new I("appBootstrapListener");class jb{constructor(e,t){this.name=e,this.token=t}}function Ub(n,e,t=[]){const i=`Platform: ${e}`,r=new I(i);return(o=[])=>{let s=gf();if(!s||s.injector.get(Vb,!1)){const a=[...t,...o,{provide:r,useValue:!0}];n?n(a):function hO(n){if(ri&&!ri.get(Vb,!1))throw new w(400,!1);ri=n;const e=n.get(zb);(function Hb(n){const e=n.get(Rb,null);e&&e.forEach(t=>t())})(n)}(function $b(n=[],e){return Tt.create({name:e,providers:[{provide:Jd,useValue:"platform"},{provide:mf,useValue:new Set([()=>ri=null])},...n]})}(a,i))}return function mO(n){const e=gf();if(!e)throw new w(401,!1);return e}()}}function gf(){return ri?.get(zb)??null}let zb=(()=>{class n{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,i){const r=function Wb(n,e){let t;return t="noop"===n?new cO:("zone.js"===n?void 0:n)||new re(e),t}(i?.ngZone,function Gb(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!n||!n.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!n||!n.ngZoneRunCoalescing)||!1}}(i)),o=[{provide:re,useValue:r}];return r.run(()=>{const s=Tt.create({providers:o,parent:this.injector,name:t.moduleType.name}),a=t.create(s),l=a.injector.get(ni,null);if(!l)throw new w(402,!1);return r.runOutsideAngular(()=>{const c=r.onError.subscribe({next:d=>{l.handleError(d)}});a.onDestroy(()=>{Ja(this._modules,a),c.unsubscribe()})}),function qb(n,e,t){try{const i=t();return Bo(i)?i.catch(r=>{throw e.runOutsideAngular(()=>n.handleError(r)),r}):i}catch(i){throw e.runOutsideAngular(()=>n.handleError(i)),i}}(l,r,()=>{const c=a.injector.get(Xa);return c.runInitializers(),c.donePromise.then(()=>(function by(n){Nt(n,"Expected localeId to be defined"),"string"==typeof n&&(yy=n.toLowerCase().replace(/_/g,"-"))}(a.injector.get(bn,Vr)||Vr),this._moduleDoBootstrap(a),a))})})}bootstrapModule(t,i=[]){const r=Yb({},i);return function uO(n,e,t){const i=new Hu(t);return Promise.resolve(i)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(t){const i=t.injector.get(Ur);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!t.instance.ngDoBootstrap)throw new w(-403,!1);t.instance.ngDoBootstrap(i)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new w(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const t=this._injector.get(mf,null);t&&(t.forEach(i=>i()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return n.\u0275fac=function(t){return new(t||n)(M(Tt))},n.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();function Yb(n,e){return Array.isArray(e)?e.reduce(Yb,n):{...n,...e}}let Ur=(()=>{class n{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(t,i,r){this._zone=t,this._injector=i,this._exceptionHandler=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new _e(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new _e(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{re.assertNotInAngularZone(),cf(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const c=this._zone.onUnstable.subscribe(()=>{re.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),c.unsubscribe()}});this.isStable=bm(o,s.pipe(function xm(n={}){const{connector:e=(()=>new Re),resetOnError:t=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=n;return o=>{let s,a,l,c=0,d=!1,u=!1;const f=()=>{a?.unsubscribe(),a=void 0},p=()=>{f(),s=l=void 0,d=u=!1},g=()=>{const _=s;p(),_?.unsubscribe()};return Fe((_,y)=>{c++,!u&&!d&&f();const C=l=l??e();y.add(()=>{c--,0===c&&!u&&!d&&(a=Gc(g,r))}),C.subscribe(y),!s&&c>0&&(s=new uo({next:S=>C.next(S),error:S=>{u=!0,f(),a=Gc(p,t,S),C.error(S)},complete:()=>{d=!0,f(),a=Gc(p,i),C.complete()}}),pt(_).subscribe(s))})(o)}}()))}bootstrap(t,i){const r=t instanceof E_;if(!this._injector.get(Xa).done){!r&&function ir(n){const e=pe(n)||et(n)||gt(n);return null!==e&&e.standalone}(t);throw new w(405,Hn)}let s;s=r?t:this._injector.get(Cr).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function fO(n){return n.isBoundToModule}(s)?void 0:this._injector.get(Br),c=s.create(Tt.NULL,[],i||s.selector,a),d=c.location.nativeElement,u=c.injector.get(Lb,null);return u?.registerApplication(d),c.onDestroy(()=>{this.detachView(c.hostView),Ja(this.components,c),u?.unregisterApplication(d)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new w(101,!1);try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const i=t;this._views.push(i),i.attachToAppRef(this)}detachView(t){const i=t;Ja(this._views,i),i.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const i=this._injector.get(Bb,[]);i.push(...this._bootstrapListeners),i.forEach(r=>r(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Ja(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new w(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return n.\u0275fac=function(t){return new(t||n)(M(re),M(Nn),M(ni))},n.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Ja(n,e){const t=n.indexOf(e);t>-1&&n.splice(t,1)}let Zo=(()=>{class n{}return n.__NG_ELEMENT_ID__=_O,n})();function _O(n){return function vO(n,e,t){if(bo(n)&&!t){const i=_t(n.index,e);return new No(i,i)}return 47&n.type?new No(e[nt],e):null}(Ze(),E(),16==(16&n))}const RO=Ub(null,"core",[]);let FO=(()=>{class n{constructor(t){}}return n.\u0275fac=function(t){return new(t||n)(M(Ur))},n.\u0275mod=me({type:n}),n.\u0275inj=he({}),n})();function $r(n){return"boolean"==typeof n?n:null!=n&&"false"!==n}let xf=null;function Un(){return xf}class kO{}const oe=new I("DocumentToken");let Cf=(()=>{class n{historyGo(t){throw new Error("Not implemented")}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=T({token:n,factory:function(){return function NO(){return M(s0)}()},providedIn:"platform"}),n})();const LO=new I("Location Initialized");let s0=(()=>{class n extends Cf{constructor(t){super(),this._doc=t,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Un().getBaseHref(this._doc)}onPopState(t){const i=Un().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",t,!1),()=>i.removeEventListener("popstate",t)}onHashChange(t){const i=Un().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",t,!1),()=>i.removeEventListener("hashchange",t)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(t){this._location.pathname=t}pushState(t,i,r){a0()?this._history.pushState(t,i,r):this._location.hash=r}replaceState(t,i,r){a0()?this._history.replaceState(t,i,r):this._location.hash=r}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}return n.\u0275fac=function(t){return new(t||n)(M(oe))},n.\u0275prov=T({token:n,factory:function(){return function VO(){return new s0(M(oe))}()},providedIn:"platform"}),n})();function a0(){return!!window.history.pushState}function wf(n,e){if(0==n.length)return e;if(0==e.length)return n;let t=0;return n.endsWith("/")&&t++,e.startsWith("/")&&t++,2==t?n+e.substring(1):1==t?n+e:n+"/"+e}function l0(n){const e=n.match(/#|\?|$/),t=e&&e.index||n.length;return n.slice(0,t-("/"===n[t-1]?1:0))+n.slice(t)}function $n(n){return n&&"?"!==n[0]?"?"+n:n}let Bi=(()=>{class n{historyGo(t){throw new Error("Not implemented")}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=T({token:n,factory:function(){return Y(d0)},providedIn:"root"}),n})();const c0=new I("appBaseHref");let d0=(()=>{class n extends Bi{constructor(t,i){super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??Y(oe).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return wf(this._baseHref,t)}path(t=!1){const i=this._platformLocation.pathname+$n(this._platformLocation.search),r=this._platformLocation.hash;return r&&t?`${i}${r}`:i}pushState(t,i,r,o){const s=this.prepareExternalUrl(r+$n(o));this._platformLocation.pushState(t,i,s)}replaceState(t,i,r,o){const s=this.prepareExternalUrl(r+$n(o));this._platformLocation.replaceState(t,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}}return n.\u0275fac=function(t){return new(t||n)(M(Cf),M(c0,8))},n.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),BO=(()=>{class n extends Bi{constructor(t,i){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=i&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let i=this._platformLocation.hash;return null==i&&(i="#"),i.length>0?i.substring(1):i}prepareExternalUrl(t){const i=wf(this._baseHref,t);return i.length>0?"#"+i:i}pushState(t,i,r,o){let s=this.prepareExternalUrl(r+$n(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,i,s)}replaceState(t,i,r,o){let s=this.prepareExternalUrl(r+$n(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}}return n.\u0275fac=function(t){return new(t||n)(M(Cf),M(c0,8))},n.\u0275prov=T({token:n,factory:n.\u0275fac}),n})(),il=(()=>{class n{constructor(t){this._subject=new Ee,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;const i=this._locationStrategy.getBaseHref();this._basePath=function UO(n){if(new RegExp("^(https?:)?//").test(n)){const[,t]=n.split(/\/\/[^\/]+/);return t}return n}(l0(u0(i))),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,i=""){return this.path()==this.normalize(t+$n(i))}normalize(t){return n.stripTrailingSlash(function HO(n,e){if(!n||!e.startsWith(n))return e;const t=e.substring(n.length);return""===t||["/",";","?","#"].includes(t[0])?t:e}(this._basePath,u0(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,i="",r=null){this._locationStrategy.pushState(r,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+$n(i)),r)}replaceState(t,i="",r=null){this._locationStrategy.replaceState(r,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+$n(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{const i=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",i){this._urlChangeListeners.forEach(r=>r(t,i))}subscribe(t,i,r){return this._subject.subscribe({next:t,error:i,complete:r})}}return n.normalizeQueryParams=$n,n.joinWithSlash=wf,n.stripTrailingSlash=l0,n.\u0275fac=function(t){return new(t||n)(M(Bi))},n.\u0275prov=T({token:n,factory:function(){return function jO(){return new il(M(Bi))}()},providedIn:"root"}),n})();function u0(n){return n.replace(/\/index.html$/,"")}let hl=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=me({type:n}),n.\u0275inj=he({}),n})();const S0="browser";let ak=(()=>{class n{}return n.\u0275prov=T({token:n,providedIn:"root",factory:()=>new lk(M(oe),window)}),n})();class lk{constructor(e,t){this.document=e,this.window=t,this.offset=()=>[0,0]}setOffset(e){this.offset=Array.isArray(e)?()=>e:e}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(!this.supportsScrolling())return;const t=function ck(n,e){const t=n.getElementById(e)||n.getElementsByName(e)[0];if(t)return t;if("function"==typeof n.createTreeWalker&&n.body&&(n.body.createShadowRoot||n.body.attachShadow)){const i=n.createTreeWalker(n.body,NodeFilter.SHOW_ELEMENT);let r=i.currentNode;for(;r;){const o=r.shadowRoot;if(o){const s=o.getElementById(e)||o.querySelector(`[name="${e}"]`);if(s)return s}r=i.nextNode()}}return null}(this.document,e);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}scrollToElement(e){const t=e.getBoundingClientRect(),i=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(i-o[0],r-o[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const e=I0(this.window.history)||I0(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function I0(n){return Object.getOwnPropertyDescriptor(n,"scrollRestoration")}class Lk extends kO{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class jf extends Lk{static makeCurrent(){!function PO(n){xf||(xf=n)}(new jf)}onAndCancel(e,t,i){return e.addEventListener(t,i,!1),()=>{e.removeEventListener(t,i,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getBaseHref(e){const t=function Vk(){return ts=ts||document.querySelector("base"),ts?ts.getAttribute("href"):null}();return null==t?null:function Bk(n){gl=gl||document.createElement("a"),gl.setAttribute("href",n);const e=gl.pathname;return"/"===e.charAt(0)?e:`/${e}`}(t)}resetBaseElement(){ts=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return function MP(n,e){e=encodeURIComponent(e);for(const t of n.split(";")){const i=t.indexOf("="),[r,o]=-1==i?[t,""]:[t.slice(0,i),t.slice(i+1)];if(r.trim()===e)return decodeURIComponent(o)}return null}(document.cookie,e)}}let gl,ts=null;const O0=new I("TRANSITION_ID"),Hk=[{provide:Za,useFactory:function jk(n,e,t){return()=>{t.get(Xa).donePromise.then(()=>{const i=Un(),r=e.querySelectorAll(`style[ng-transition="${n}"]`);for(let o=0;o{class n{build(){return new XMLHttpRequest}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=T({token:n,factory:n.\u0275fac}),n})();const _l=new I("EventManagerPlugins");let vl=(()=>{class n{constructor(t,i){this._zone=i,this._eventNameToPlugin=new Map,t.forEach(r=>{r.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,i,r){return this._findPluginFor(i).addEventListener(t,i,r)}addGlobalEventListener(t,i,r){return this._findPluginFor(i).addGlobalEventListener(t,i,r)}getZone(){return this._zone}_findPluginFor(t){const i=this._eventNameToPlugin.get(t);if(i)return i;const r=this._plugins;for(let o=0;o{class n{constructor(){this.usageCount=new Map}addStyles(t){for(const i of t)1===this.changeUsageCount(i,1)&&this.onStyleAdded(i)}removeStyles(t){for(const i of t)0===this.changeUsageCount(i,-1)&&this.onStyleRemoved(i)}onStyleRemoved(t){}onStyleAdded(t){}getAllStyles(){return this.usageCount.keys()}changeUsageCount(t,i){const r=this.usageCount;let o=r.get(t)??0;return o+=i,o>0?r.set(t,o):r.delete(t),o}ngOnDestroy(){for(const t of this.getAllStyles())this.onStyleRemoved(t);this.usageCount.clear()}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=T({token:n,factory:n.\u0275fac}),n})(),ns=(()=>{class n extends k0{constructor(t){super(),this.doc=t,this.styleRef=new Map,this.hostNodes=new Set,this.resetHostNodes()}onStyleAdded(t){for(const i of this.hostNodes)this.addStyleToHost(i,t)}onStyleRemoved(t){const i=this.styleRef;i.get(t)?.forEach(o=>o.remove()),i.delete(t)}ngOnDestroy(){super.ngOnDestroy(),this.styleRef.clear(),this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const i of this.getAllStyles())this.addStyleToHost(t,i)}removeHost(t){this.hostNodes.delete(t)}addStyleToHost(t,i){const r=this.doc.createElement("style");r.textContent=i,t.appendChild(r);const o=this.styleRef.get(i);o?o.push(r):this.styleRef.set(i,[r])}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}}return n.\u0275fac=function(t){return new(t||n)(M(oe))},n.\u0275prov=T({token:n,factory:n.\u0275fac}),n})();const Hf={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Uf=/%COMP%/g,V0=new I("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function B0(n,e){return e.flat(100).map(t=>t.replace(Uf,n))}function j0(n){return e=>{if("__ngUnwrap__"===e)return n;!1===n(e)&&(e.preventDefault(),e.returnValue=!1)}}let yl=(()=>{class n{constructor(t,i,r,o){this.eventManager=t,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestory=o,this.rendererByCompId=new Map,this.defaultRenderer=new $f(t)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;const r=this.getOrCreateRenderer(t,i);return r instanceof $0?r.applyToHost(t):r instanceof zf&&r.applyStyles(),r}getOrCreateRenderer(t,i){const r=this.rendererByCompId;let o=r.get(i.id);if(!o){const s=this.eventManager,a=this.sharedStylesHost,l=this.removeStylesOnCompDestory;switch(i.encapsulation){case Zt.Emulated:o=new $0(s,a,i,this.appId,l);break;case Zt.ShadowDom:return new Zk(s,a,t,i);default:o=new zf(s,a,i,l)}o.onDestroy=()=>r.delete(i.id),r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}begin(){}end(){}}return n.\u0275fac=function(t){return new(t||n)(M(vl),M(ns),M(Ko),M(V0))},n.\u0275prov=T({token:n,factory:n.\u0275fac}),n})();class $f{constructor(e){this.eventManager=e,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(e,t){return t?document.createElementNS(Hf[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){(U0(e)?e.content:e).appendChild(t)}insertBefore(e,t,i){e&&(U0(e)?e.content:e).insertBefore(t,i)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let i="string"==typeof e?document.querySelector(e):e;if(!i)throw new Error(`The selector "${e}" did not match any elements`);return t||(i.textContent=""),i}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,i,r){if(r){t=r+":"+t;const o=Hf[r];o?e.setAttributeNS(o,t,i):e.setAttribute(t,i)}else e.setAttribute(t,i)}removeAttribute(e,t,i){if(i){const r=Hf[i];r?e.removeAttributeNS(r,t):e.removeAttribute(`${i}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,i,r){r&(vt.DashCase|vt.Important)?e.style.setProperty(t,i,r&vt.Important?"important":""):e.style[t]=i}removeStyle(e,t,i){i&vt.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,i){e[t]=i}setValue(e,t){e.nodeValue=t}listen(e,t,i){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,j0(i)):this.eventManager.addEventListener(e,t,j0(i))}}function U0(n){return"TEMPLATE"===n.tagName&&void 0!==n.content}class Zk extends $f{constructor(e,t,i,r){super(e),this.sharedStylesHost=t,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=B0(r.id,r.styles);for(const s of o){const a=document.createElement("style");a.textContent=s,this.shadowRoot.appendChild(a)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,i){return super.insertBefore(this.nodeOrShadowRoot(e),t,i)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class zf extends $f{constructor(e,t,i,r,o=i.id){super(e),this.sharedStylesHost=t,this.removeStylesOnCompDestory=r,this.rendererUsageCount=0,this.styles=B0(o,i.styles)}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){this.removeStylesOnCompDestory&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,0===this.rendererUsageCount&&this.onDestroy?.())}}class $0 extends zf{constructor(e,t,i,r,o){const s=r+"-"+i.id;super(e,t,i,o,s),this.contentAttr=function qk(n){return"_ngcontent-%COMP%".replace(Uf,n)}(s),this.hostAttr=function Yk(n){return"_nghost-%COMP%".replace(Uf,n)}(s)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,t){const i=super.createElement(e,t);return super.setAttribute(i,this.contentAttr,""),i}}let Xk=(()=>{class n extends P0{constructor(t){super(t)}supports(t){return!0}addEventListener(t,i,r){return t.addEventListener(i,r,!1),()=>this.removeEventListener(t,i,r)}removeEventListener(t,i,r){return t.removeEventListener(i,r)}}return n.\u0275fac=function(t){return new(t||n)(M(oe))},n.\u0275prov=T({token:n,factory:n.\u0275fac}),n})();const z0=["alt","control","meta","shift"],Qk={"\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"},Jk={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let eN=(()=>{class n extends P0{constructor(t){super(t)}supports(t){return null!=n.parseEventName(t)}addEventListener(t,i,r){const o=n.parseEventName(i),s=n.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Un().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const i=t.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=n._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),z0.forEach(c=>{const d=i.indexOf(c);d>-1&&(i.splice(d,1),s+=c+".")}),s+=o,0!=i.length||0===o.length)return null;const l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(t,i){let r=Qk[t.key]||t.key,o="";return i.indexOf("code.")>-1&&(r=t.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),z0.forEach(s=>{s!==r&&(0,Jk[s])(t)&&(o+=s+".")}),o+=r,o===i)}static eventCallback(t,i,r){return o=>{n.matchEventFullKeyCode(o,t)&&r.runGuarded(()=>i(o))}}static _normalizeKey(t){return"esc"===t?"escape":t}}return n.\u0275fac=function(t){return new(t||n)(M(oe))},n.\u0275prov=T({token:n,factory:n.\u0275fac}),n})();const rN=Ub(RO,"browser",[{provide:af,useValue:S0},{provide:Rb,useValue:function tN(){jf.makeCurrent()},multi:!0},{provide:oe,useFactory:function iN(){return function CI(n){Gd=n}(document),document},deps:[]}]),q0=new I(""),Y0=[{provide:Qa,useClass:class Uk{addToWindow(e){Ce.getAngularTestability=(i,r=!0)=>{const o=e.findTestabilityInTree(i,r);if(null==o)throw new Error("Could not find testability for element.");return o},Ce.getAllAngularTestabilities=()=>e.getAllTestabilities(),Ce.getAllAngularRootElements=()=>e.getAllRootElements(),Ce.frameworkStabilizers||(Ce.frameworkStabilizers=[]),Ce.frameworkStabilizers.push(i=>{const r=Ce.getAllAngularTestabilities();let o=r.length,s=!1;const a=function(l){s=s||l,o--,0==o&&i(s)};r.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(e,t,i){return null==t?null:e.getTestability(t)??(i?Un().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null)}},deps:[]},{provide:Lb,useClass:ff,deps:[re,hf,Qa]},{provide:ff,useClass:ff,deps:[re,hf,Qa]}],K0=[{provide:Jd,useValue:"root"},{provide:ni,useFactory:function nN(){return new ni},deps:[]},{provide:_l,useClass:Xk,multi:!0,deps:[oe,re,af]},{provide:_l,useClass:eN,multi:!0,deps:[oe]},{provide:yl,useClass:yl,deps:[vl,ns,Ko,V0]},{provide:Po,useExisting:yl},{provide:k0,useExisting:ns},{provide:ns,useClass:ns,deps:[oe]},{provide:vl,useClass:vl,deps:[_l,re]},{provide:class dk{},useClass:$k,deps:[]},[]];let Z0=(()=>{class n{constructor(t){}static withServerTransition(t){return{ngModule:n,providers:[{provide:Ko,useValue:t.appId},{provide:O0,useExisting:Ko},Hk]}}}return n.\u0275fac=function(t){return new(t||n)(M(q0,12))},n.\u0275mod=me({type:n}),n.\u0275inj=he({providers:[...K0,...Y0],imports:[hl,FO]}),n})(),X0=(()=>{class n{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}}return n.\u0275fac=function(t){return new(t||n)(M(oe))},n.\u0275prov=T({token:n,factory:function(t){let i=null;return i=t?new t:function sN(){return new X0(M(oe))}(),i},providedIn:"root"}),n})();function N(...n){return Le(n,fo(n))}typeof window<"u"&&window;class cn extends Re{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return!t.closed&&e.next(this._value),t}getValue(){const{hasError:e,thrownError:t,_value:i}=this;if(e)throw t;return this._throwIfClosed(),i}next(e){super.next(this._value=e)}}const bl=co(n=>function(){n(this),this.name="EmptyError",this.message="no elements in sequence"}),{isArray:fN}=Array,{getPrototypeOf:hN,prototype:pN,keys:mN}=Object;function tx(n){if(1===n.length){const e=n[0];if(fN(e))return{args:e,keys:null};if(function gN(n){return n&&"object"==typeof n&&hN(n)===pN}(e)){const t=mN(e);return{args:t.map(i=>e[i]),keys:t}}}return{args:n,keys:null}}const{isArray:_N}=Array;function Yf(n){return $(e=>function vN(n,e){return _N(e)?n(...e):n(e)}(n,e))}function nx(n,e){return n.reduce((t,i,r)=>(t[i]=e[r],t),{})}function Kf(...n){const e=fo(n),t=gm(n),{args:i,keys:r}=tx(n);if(0===i.length)return Le([],e);const o=new _e(function yN(n,e,t=wi){return i=>{ix(e,()=>{const{length:r}=n,o=new Array(r);let s=r,a=r;for(let l=0;l{const c=Le(n[l],e);let d=!1;c.subscribe(De(i,u=>{o[l]=u,d||(d=!0,a--),a||i.next(t(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}(i,e,r?s=>nx(r,s):wi));return t?o.pipe(Yf(t)):o}function ix(n,e,t){n?Sn(t,n,e):e()}function xl(...n){return function bN(){return tr(1)}()(Le(n,fo(n)))}function rx(n){return new _e(e=>{pt(n()).subscribe(e)})}function zr(n,e){const t=ie(n)?n:()=>n,i=r=>r.error(t());return new _e(e?r=>e.schedule(i,0,r):i)}function Zf(){return Fe((n,e)=>{let t=null;n._refCount++;const i=De(e,void 0,void 0,void 0,()=>{if(!n||n._refCount<=0||0<--n._refCount)return void(t=null);const r=n._connection,o=t;t=null,r&&(!o||r===o)&&r.unsubscribe(),e.unsubscribe()});n.subscribe(i),i.closed||(t=n.connect())})}class ox extends _e{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,tm(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new Ye;const t=this.getSubject();e.add(this.source.subscribe(De(t,void 0,()=>{this._teardown(),t.complete()},i=>{this._teardown(),t.error(i)},()=>this._teardown()))),e.closed&&(this._connection=null,e=Ye.EMPTY)}return e}refCount(){return Zf()(this)}}function xn(n,e){return Fe((t,i)=>{let r=null,o=0,s=!1;const a=()=>s&&!r&&i.complete();t.subscribe(De(i,l=>{r?.unsubscribe();let c=0;const d=o++;pt(n(l,d)).subscribe(r=De(i,u=>i.next(e?e(l,u,d,c++):u),()=>{r=null,a()}))},()=>{s=!0,a()}))})}function si(n){return n<=0?()=>dn:Fe((e,t)=>{let i=0;e.subscribe(De(t,r=>{++i<=n&&(t.next(r),n<=i&&t.complete())}))})}function Xf(...n){const e=fo(n);return Fe((t,i)=>{(e?xl(n,t,e):xl(n,t)).subscribe(i)})}function Gt(n,e){return Fe((t,i)=>{let r=0;t.subscribe(De(i,o=>n.call(e,o,r++)&&i.next(o)))})}function Cl(n){return Fe((e,t)=>{let i=!1;e.subscribe(De(t,r=>{i=!0,t.next(r)},()=>{i||t.next(n),t.complete()}))})}function sx(n=xN){return Fe((e,t)=>{let i=!1;e.subscribe(De(t,r=>{i=!0,t.next(r)},()=>i?t.complete():t.error(n())))})}function xN(){return new bl}function ai(n,e){const t=arguments.length>=2;return i=>i.pipe(n?Gt((r,o)=>n(r,o,i)):wi,si(1),t?Cl(e):sx(()=>new bl))}function li(n,e){return ie(e)?We(n,e,1):We(n,1)}function Ge(n,e,t){const i=ie(n)||e||t?{next:n,error:e,complete:t}:n;return i?Fe((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(De(o,l=>{var c;null===(c=i.next)||void 0===c||c.call(i,l),o.next(l)},()=>{var l;a=!1,null===(l=i.complete)||void 0===l||l.call(i),o.complete()},l=>{var c;a=!1,null===(c=i.error)||void 0===c||c.call(i,l),o.error(l)},()=>{var l,c;a&&(null===(l=i.unsubscribe)||void 0===l||l.call(i)),null===(c=i.finalize)||void 0===c||c.call(i)}))}):wi}function Gn(n){return Fe((e,t)=>{let o,i=null,r=!1;i=e.subscribe(De(t,void 0,void 0,s=>{o=pt(n(s,Gn(n)(e))),i?(i.unsubscribe(),i=null,o.subscribe(t)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(t))})}function ax(n,e){return Fe(function CN(n,e,t,i,r){return(o,s)=>{let a=t,l=e,c=0;o.subscribe(De(s,d=>{const u=c++;l=a?n(l,d,u):(a=!0,d),i&&s.next(l)},r&&(()=>{a&&s.next(l),s.complete()})))}}(n,e,arguments.length>=2,!0))}function Qf(n){return n<=0?()=>dn:Fe((e,t)=>{let i=[];e.subscribe(De(t,r=>{i.push(r),n{for(const r of i)t.next(r);t.complete()},void 0,()=>{i=null}))})}function lx(n,e){const t=arguments.length>=2;return i=>i.pipe(n?Gt((r,o)=>n(r,o,i)):wi,Qf(1),t?Cl(e):sx(()=>new bl))}function wl(n){return Fe((e,t)=>{try{e.subscribe(t)}finally{t.add(n)}})}const q="primary",is=Symbol("RouteTitle");class MN{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t[0]:t}return null}getAll(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function Gr(n){return new MN(n)}function EN(n,e,t){const i=t.path.split("/");if(i.length>n.length||"full"===t.pathMatch&&(e.hasChildren()||i.lengthi[o]===r)}return n===e}function dx(n){return Array.prototype.concat.apply([],n)}function ux(n){return n.length>0?n[n.length-1]:null}function Qe(n,e){for(const t in n)n.hasOwnProperty(t)&&e(n[t],t)}function ci(n){return Su(n)?n:Bo(n)?Le(Promise.resolve(n)):N(n)}const Dl=!1,IN={exact:function px(n,e,t){if(!ji(n.segments,e.segments)||!Ml(n.segments,e.segments,t)||n.numberOfChildren!==e.numberOfChildren)return!1;for(const i in e.children)if(!n.children[i]||!px(n.children[i],e.children[i],t))return!1;return!0},subset:mx},fx={exact:function TN(n,e){return Cn(n,e)},subset:function AN(n,e){return Object.keys(e).length<=Object.keys(n).length&&Object.keys(e).every(t=>cx(n[t],e[t]))},ignored:()=>!0};function hx(n,e,t){return IN[t.paths](n.root,e.root,t.matrixParams)&&fx[t.queryParams](n.queryParams,e.queryParams)&&!("exact"===t.fragment&&n.fragment!==e.fragment)}function mx(n,e,t){return gx(n,e,e.segments,t)}function gx(n,e,t,i){if(n.segments.length>t.length){const r=n.segments.slice(0,t.length);return!(!ji(r,t)||e.hasChildren()||!Ml(r,t,i))}if(n.segments.length===t.length){if(!ji(n.segments,t)||!Ml(n.segments,t,i))return!1;for(const r in e.children)if(!n.children[r]||!mx(n.children[r],e.children[r],i))return!1;return!0}{const r=t.slice(0,n.segments.length),o=t.slice(n.segments.length);return!!(ji(n.segments,r)&&Ml(n.segments,r,i)&&n.children[q])&&gx(n.children[q],e,o,i)}}function Ml(n,e,t){return e.every((i,r)=>fx[t](n[r].parameters,i.parameters))}class di{constructor(e=new J([],{}),t={},i=null){this.root=e,this.queryParams=t,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Gr(this.queryParams)),this._queryParamMap}toString(){return ON.serialize(this)}}class J{constructor(e,t){this.segments=e,this.children=t,this.parent=null,Qe(t,(i,r)=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return El(this)}}class rs{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=Gr(this.parameters)),this._parameterMap}toString(){return yx(this)}}function ji(n,e){return n.length===e.length&&n.every((t,i)=>t.path===e[i].path)}let os=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=T({token:n,factory:function(){return new Jf},providedIn:"root"}),n})();class Jf{parse(e){const t=new UN(e);return new di(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){const t=`/${ss(e.root,!0)}`,i=function NN(n){const e=Object.keys(n).map(t=>{const i=n[t];return Array.isArray(i)?i.map(r=>`${Sl(t)}=${Sl(r)}`).join("&"):`${Sl(t)}=${Sl(i)}`}).filter(t=>!!t);return e.length?`?${e.join("&")}`:""}(e.queryParams);return`${t}${i}${"string"==typeof e.fragment?`#${function PN(n){return encodeURI(n)}(e.fragment)}`:""}`}}const ON=new Jf;function El(n){return n.segments.map(e=>yx(e)).join("/")}function ss(n,e){if(!n.hasChildren())return El(n);if(e){const t=n.children[q]?ss(n.children[q],!1):"",i=[];return Qe(n.children,(r,o)=>{o!==q&&i.push(`${o}:${ss(r,!1)}`)}),i.length>0?`${t}(${i.join("//")})`:t}{const t=function FN(n,e){let t=[];return Qe(n.children,(i,r)=>{r===q&&(t=t.concat(e(i,r)))}),Qe(n.children,(i,r)=>{r!==q&&(t=t.concat(e(i,r)))}),t}(n,(i,r)=>r===q?[ss(n.children[q],!1)]:[`${r}:${ss(i,!1)}`]);return 1===Object.keys(n.children).length&&null!=n.children[q]?`${El(n)}/${t[0]}`:`${El(n)}/(${t.join("//")})`}}function _x(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Sl(n){return _x(n).replace(/%3B/gi,";")}function eh(n){return _x(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Il(n){return decodeURIComponent(n)}function vx(n){return Il(n.replace(/\+/g,"%20"))}function yx(n){return`${eh(n.path)}${function kN(n){return Object.keys(n).map(e=>`;${eh(e)}=${eh(n[e])}`).join("")}(n.parameters)}`}const LN=/^[^\/()?;=#]+/;function Tl(n){const e=n.match(LN);return e?e[0]:""}const VN=/^[^=?]+/,jN=/^[^]+/;class UN{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new J([],{}):new J([],this.parseChildren())}parseQueryParams(){const e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(i[q]=new J(e,t)),i}parseSegment(){const e=Tl(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new w(4009,Dl);return this.capture(e),new rs(Il(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=Tl(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){const r=Tl(this.remaining);r&&(i=r,this.capture(i))}e[Il(t)]=Il(i)}parseQueryParam(e){const t=function BN(n){const e=n.match(VN);return e?e[0]:""}(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){const s=function HN(n){const e=n.match(jN);return e?e[0]:""}(this.remaining);s&&(i=s,this.capture(i))}const r=vx(t),o=vx(i);if(e.hasOwnProperty(r)){let s=e[r];Array.isArray(s)||(s=[s],e[r]=s),s.push(o)}else e[r]=o}parseParens(e){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=Tl(this.remaining),r=this.remaining[i.length];if("/"!==r&&")"!==r&&";"!==r)throw new w(4010,Dl);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=q);const s=this.parseChildren();t[o]=1===Object.keys(s).length?s[q]:new J([],s),this.consumeOptional("//")}return t}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}capture(e){if(!this.consumeOptional(e))throw new w(4011,Dl)}}function th(n){return n.segments.length>0?new J([],{[q]:n}):n}function Al(n){const e={};for(const i of Object.keys(n.children)){const o=Al(n.children[i]);(o.segments.length>0||o.hasChildren())&&(e[i]=o)}return function $N(n){if(1===n.numberOfChildren&&n.children[q]){const e=n.children[q];return new J(n.segments.concat(e.segments),e.children)}return n}(new J(n.segments,e))}function Hi(n){return n instanceof di}const nh=!1;function zN(n,e,t,i,r){if(0===t.length)return Wr(e.root,e.root,e.root,i,r);const o=function Dx(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new wx(!0,0,n);let e=0,t=!1;const i=n.reduce((r,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return Qe(o.outlets,(l,c)=>{a[c]="string"==typeof l?l.split("/"):l}),[...r,{outlets:a}]}if(o.segmentPath)return[...r,o.segmentPath]}return"string"!=typeof o?[...r,o]:0===s?(o.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?t=!0:".."===a?e++:""!=a&&r.push(a))}),r):[...r,o]},[]);return new wx(t,e,i)}(t);return o.toRoot()?Wr(e.root,e.root,new J([],{}),i,r):function s(l){const c=function WN(n,e,t,i){if(n.isAbsolute)return new qr(e.root,!0,0);if(-1===i)return new qr(t,t===e.root,0);return function Mx(n,e,t){let i=n,r=e,o=t;for(;o>r;){if(o-=r,i=i.parent,!i)throw new w(4005,nh&&"Invalid number of '../'");r=i.segments.length}return new qr(i,!1,r-o)}(t,i+(as(n.commands[0])?0:1),n.numberOfDoubleDots)}(o,e,n.snapshot?._urlSegment,l),d=c.processChildren?Yr(c.segmentGroup,c.index,o.commands):ih(c.segmentGroup,c.index,o.commands);return Wr(e.root,c.segmentGroup,d,i,r)}(n.snapshot?._lastPathIndex)}function as(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function ls(n){return"object"==typeof n&&null!=n&&n.outlets}function Wr(n,e,t,i,r){let s,o={};i&&Qe(i,(l,c)=>{o[c]=Array.isArray(l)?l.map(d=>`${d}`):`${l}`}),s=n===e?t:Cx(n,e,t);const a=th(Al(s));return new di(a,o,r)}function Cx(n,e,t){const i={};return Qe(n.children,(r,o)=>{i[o]=r===e?t:Cx(r,e,t)}),new J(n.segments,i)}class wx{constructor(e,t,i){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=i,e&&i.length>0&&as(i[0]))throw new w(4003,nh&&"Root segment cannot have matrix parameters");const r=i.find(ls);if(r&&r!==ux(i))throw new w(4004,nh&&"{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class qr{constructor(e,t,i){this.segmentGroup=e,this.processChildren=t,this.index=i}}function ih(n,e,t){if(n||(n=new J([],{})),0===n.segments.length&&n.hasChildren())return Yr(n,e,t);const i=function YN(n,e,t){let i=0,r=e;const o={match:!1,pathIndex:0,commandIndex:0};for(;r=t.length)return o;const s=n.segments[r],a=t[i];if(ls(a))break;const l=`${a}`,c=i0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!Sx(l,c,s))return o;i+=2}else{if(!Sx(l,{},s))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(n,e,t),r=t.slice(i.commandIndex);if(i.match&&i.pathIndex{"string"==typeof o&&(o=[o]),null!==o&&(r[s]=ih(n.children[s],e,o))}),Qe(n.children,(o,s)=>{void 0===i[s]&&(r[s]=o)}),new J(n.segments,r)}}function rh(n,e,t){const i=n.segments.slice(0,e);let r=0;for(;r{"string"==typeof t&&(t=[t]),null!==t&&(e[i]=rh(new J([],{}),0,t))}),e}function Ex(n){const e={};return Qe(n,(t,i)=>e[i]=`${t}`),e}function Sx(n,e,t){return n==t.path&&Cn(e,t.parameters)}const cs="imperative";class wn{constructor(e,t){this.id=e,this.url=t}}class oh extends wn{constructor(e,t,i="imperative",r=null){super(e,t),this.type=0,this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Ui extends wn{constructor(e,t,i){super(e,t),this.urlAfterRedirects=i,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Rl extends wn{constructor(e,t,i,r){super(e,t),this.reason=i,this.code=r,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Fl extends wn{constructor(e,t,i,r){super(e,t),this.reason=i,this.code=r,this.type=16}}class sh extends wn{constructor(e,t,i,r){super(e,t),this.error=i,this.target=r,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ZN extends wn{constructor(e,t,i,r){super(e,t),this.urlAfterRedirects=i,this.state=r,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class XN extends wn{constructor(e,t,i,r){super(e,t),this.urlAfterRedirects=i,this.state=r,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class QN extends wn{constructor(e,t,i,r,o){super(e,t),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class JN extends wn{constructor(e,t,i,r){super(e,t),this.urlAfterRedirects=i,this.state=r,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class eL extends wn{constructor(e,t,i,r){super(e,t),this.urlAfterRedirects=i,this.state=r,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class tL{constructor(e){this.route=e,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class nL{constructor(e){this.route=e,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class iL{constructor(e){this.snapshot=e,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class rL{constructor(e){this.snapshot=e,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class oL{constructor(e){this.snapshot=e,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class sL{constructor(e){this.snapshot=e,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ix{constructor(e,t,i){this.routerEvent=e,this.position=t,this.anchor=i,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let cL=(()=>{class n{createUrlTree(t,i,r,o,s,a){return zN(t||i.root,r,o,s,a)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=T({token:n,factory:n.\u0275fac}),n})(),uL=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=T({token:n,factory:function(e){return cL.\u0275fac(e)},providedIn:"root"}),n})();class Tx{constructor(e){this._root=e}get root(){return this._root.value}parent(e){const t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}children(e){const t=ah(e,this._root);return t?t.children.map(i=>i.value):[]}firstChild(e){const t=ah(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=lh(e,this._root);return t.length<2?[]:t[t.length-2].children.map(r=>r.value).filter(r=>r!==e)}pathFromRoot(e){return lh(e,this._root).map(t=>t.value)}}function ah(n,e){if(n===e.value)return e;for(const t of e.children){const i=ah(n,t);if(i)return i}return null}function lh(n,e){if(n===e.value)return[e];for(const t of e.children){const i=lh(n,t);if(i.length)return i.unshift(e),i}return[]}class Wn{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function Kr(n){const e={};return n&&n.children.forEach(t=>e[t.value.outlet]=t),e}class Ax extends Tx{constructor(e,t){super(e),this.snapshot=t,ch(this,e)}toString(){return this.snapshot.toString()}}function Rx(n,e){const t=function fL(n,e){const s=new Ol([],{},{},"",{},q,e,null,n.root,-1,{});return new Ox("",new Wn(s,[]))}(n,e),i=new cn([new rs("",{})]),r=new cn({}),o=new cn({}),s=new cn({}),a=new cn(""),l=new Zr(i,r,s,a,o,q,e,t.root);return l.snapshot=t.root,new Ax(new Wn(l,[]),t)}class Zr{constructor(e,t,i,r,o,s,a,l){this.url=e,this.params=t,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.title=this.data?.pipe($(c=>c[is]))??N(void 0),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($(e=>Gr(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe($(e=>Gr(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Fx(n,e="emptyOnly"){const t=n.pathFromRoot;let i=0;if("always"!==e)for(i=t.length-1;i>=1;){const r=t[i],o=t[i-1];if(r.routeConfig&&""===r.routeConfig.path)i--;else{if(o.component)break;i--}}return function hL(n){return n.reduce((e,t)=>({params:{...e.params,...t.params},data:{...e.data,...t.data},resolve:{...t.data,...e.resolve,...t.routeConfig?.data,...t._resolvedData}}),{params:{},data:{},resolve:{}})}(t.slice(i))}class Ol{get title(){return this.data?.[is]}constructor(e,t,i,r,o,s,a,l,c,d,u){this.url=e,this.params=t,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._urlSegment=c,this._lastPathIndex=d,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Gr(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Gr(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ox extends Tx{constructor(e,t){super(t),this.url=e,ch(this,t)}toString(){return Px(this._root)}}function ch(n,e){e.value._routerState=n,e.children.forEach(t=>ch(n,t))}function Px(n){const e=n.children.length>0?` { ${n.children.map(Px).join(", ")} } `:"";return`${n.value}${e}`}function dh(n){if(n.snapshot){const e=n.snapshot,t=n._futureSnapshot;n.snapshot=t,Cn(e.queryParams,t.queryParams)||n.queryParams.next(t.queryParams),e.fragment!==t.fragment&&n.fragment.next(t.fragment),Cn(e.params,t.params)||n.params.next(t.params),function SN(n,e){if(n.length!==e.length)return!1;for(let t=0;tCn(t.parameters,e[i].parameters))}(n.url,e.url);return t&&!(!n.parent!=!e.parent)&&(!n.parent||uh(n.parent,e.parent))}function ds(n,e,t){if(t&&n.shouldReuseRoute(e.value,t.value.snapshot)){const i=t.value;i._futureSnapshot=e.value;const r=function mL(n,e,t){return e.children.map(i=>{for(const r of t.children)if(n.shouldReuseRoute(i.value,r.value.snapshot))return ds(n,i,r);return ds(n,i)})}(n,e,t);return new Wn(i,r)}{if(n.shouldAttach(e.value)){const o=n.retrieve(e.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>ds(n,a)),s}}const i=function gL(n){return new Zr(new cn(n.url),new cn(n.params),new cn(n.queryParams),new cn(n.fragment),new cn(n.data),n.outlet,n.component,n)}(e.value),r=e.children.map(o=>ds(n,o));return new Wn(i,r)}}const fh="ngNavigationCancelingError";function kx(n,e){const{redirectTo:t,navigationBehaviorOptions:i}=Hi(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,r=Nx(!1,0,e);return r.url=t,r.navigationBehaviorOptions=i,r}function Nx(n,e,t){const i=new Error("NavigationCancelingError: "+(n||""));return i[fh]=!0,i.cancellationCode=e,t&&(i.url=t),i}function Lx(n){return Vx(n)&&Hi(n.url)}function Vx(n){return n&&n[fh]}class _L{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new us,this.attachRef=null}}let us=(()=>{class n{constructor(){this.contexts=new Map}onChildOutletCreated(t,i){const r=this.getOrCreateContext(t);r.outlet=i,this.contexts.set(t,r)}onChildOutletDestroyed(t){const i=this.getContext(t);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let i=this.getContext(t);return i||(i=new _L,this.contexts.set(t,i)),i}getContext(t){return this.contexts.get(t)||null}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Pl=!1;let hh=(()=>{class n{constructor(){this.activated=null,this._activatedRoute=null,this.name=q,this.activateEvents=new Ee,this.deactivateEvents=new Ee,this.attachEvents=new Ee,this.detachEvents=new Ee,this.parentContexts=Y(us),this.location=Y(on),this.changeDetector=Y(Zo),this.environmentInjector=Y(Nn)}ngOnChanges(t){if(t.name){const{firstChange:i,previousValue:r}=t.name;if(i)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new w(4012,Pl);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new w(4012,Pl);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new w(4012,Pl);this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,i){this.activated=t,this._activatedRoute=i,this.location.insert(t.hostView),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,i){if(this.isActivated)throw new w(4013,Pl);this._activatedRoute=t;const r=this.location,s=t.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new vL(t,a,r.injector);if(i&&function yL(n){return!!n.resolveComponentFactory}(i)){const c=i.resolveComponentFactory(s);this.activated=r.createComponent(c,r.length,l)}else this.activated=r.createComponent(s,{index:r.length,injector:l,environmentInjector:i??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=k({type:n,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Vt]}),n})();class vL{constructor(e,t,i){this.route=e,this.childContexts=t,this.parent=i}get(e,t){return e===Zr?this.route:e===us?this.childContexts:this.parent.get(e,t)}}let ph=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=wt({type:n,selectors:[["ng-component"]],standalone:!0,features:[Uu],decls:1,vars:0,template:function(t,i){1&t&&x(0,"router-outlet")},dependencies:[hh],encapsulation:2}),n})();function Bx(n,e){return n.providers&&!n._injector&&(n._injector=za(n.providers,e,`Route: ${n.path}`)),n._injector??e}function gh(n){const e=n.children&&n.children.map(gh),t=e?{...n,children:e}:{...n};return!t.component&&!t.loadComponent&&(e||t.loadChildren)&&t.outlet&&t.outlet!==q&&(t.component=ph),t}function Wt(n){return n.outlet||q}function jx(n,e){const t=n.filter(i=>Wt(i)===e);return t.push(...n.filter(i=>Wt(i)!==e)),t}function fs(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let e=n.parent;e;e=e.parent){const t=e.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}class DL{constructor(e,t,i,r){this.routeReuseStrategy=e,this.futureState=t,this.currState=i,this.forwardEvent=r}activate(e){const t=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,i,e),dh(this.futureState.root),this.activateChildRoutes(t,i,e)}deactivateChildRoutes(e,t,i){const r=Kr(t);e.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,r[s],i),delete r[s]}),Qe(r,(o,s)=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(e,t,i){const r=e.value,o=t?t.value:null;if(r===o)if(r.component){const s=i.getContext(r.outlet);s&&this.deactivateChildRoutes(e,t,s.children)}else this.deactivateChildRoutes(e,t,i);else o&&this.deactivateRouteAndItsChildren(t,i)}deactivateRouteAndItsChildren(e,t){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){const i=t.getContext(e.value.outlet),r=i&&e.value.component?i.children:t,o=Kr(e);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],r);if(i&&i.outlet){const s=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,t){const i=t.getContext(e.value.outlet),r=i&&e.value.component?i.children:t,o=Kr(e);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],r);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.resolver=null,i.route=null)}activateChildRoutes(e,t,i){const r=Kr(t);e.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new sL(o.value.snapshot))}),e.children.length&&this.forwardEvent(new rL(e.value.snapshot))}activateRoutes(e,t,i){const r=e.value,o=t?t.value:null;if(dh(r),r===o)if(r.component){const s=i.getOrCreateContext(r.outlet);this.activateChildRoutes(e,t,s.children)}else this.activateChildRoutes(e,t,i);else if(r.component){const s=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),dh(a.route.value),this.activateChildRoutes(e,null,s.children)}else{const a=fs(r.snapshot),l=a?.get(Cr)??null;s.attachRef=null,s.route=r,s.resolver=l,s.injector=a,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,i)}}class Hx{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class kl{constructor(e,t){this.component=e,this.route=t}}function ML(n,e,t){const i=n._root;return hs(i,e?e._root:null,t,[i.value])}function Xr(n,e){const t=Symbol(),i=e.get(n,t);return i===t?"function"!=typeof n||function gE(n){return null!==Gs(n)}(n)?e.get(n):n:i}function hs(n,e,t,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=Kr(e);return n.children.forEach(s=>{(function SL(n,e,t,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=n.value,s=e?e.value:null,a=t?t.getContext(n.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const l=function IL(n,e,t){if("function"==typeof t)return t(n,e);switch(t){case"pathParamsChange":return!ji(n.url,e.url);case"pathParamsOrQueryParamsChange":return!ji(n.url,e.url)||!Cn(n.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!uh(n,e)||!Cn(n.queryParams,e.queryParams);default:return!uh(n,e)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new Hx(i)):(o.data=s.data,o._resolvedData=s._resolvedData),hs(n,e,o.component?a?a.children:null:t,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new kl(a.outlet.component,s))}else s&&ps(e,a,r),r.canActivateChecks.push(new Hx(i)),hs(n,null,o.component?a?a.children:null:t,i,r)})(s,o[s.value.outlet],t,i.concat([s.value]),r),delete o[s.value.outlet]}),Qe(o,(s,a)=>ps(s,t.getContext(a),r)),r}function ps(n,e,t){const i=Kr(n),r=n.value;Qe(i,(o,s)=>{ps(o,r.component?e?e.children.getContext(s):null:e,t)}),t.canDeactivateChecks.push(new kl(r.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,r))}function ms(n){return"function"==typeof n}function _h(n){return n instanceof bl||"EmptyError"===n?.name}const Nl=Symbol("INITIAL_VALUE");function Qr(){return xn(n=>Kf(n.map(e=>e.pipe(si(1),Xf(Nl)))).pipe($(e=>{for(const t of e)if(!0!==t){if(t===Nl)return Nl;if(!1===t||t instanceof di)return t}return!0}),Gt(e=>e!==Nl),si(1)))}function Ux(n){return function CM(...n){return Qp(n)}(Ge(e=>{if(Hi(e))throw kx(0,e)}),$(e=>!0===e))}const vh={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function $x(n,e,t,i,r){const o=yh(n,e,t);return o.matched?function GL(n,e,t,i){const r=e.canMatch;return r&&0!==r.length?N(r.map(s=>{const a=Xr(s,n);return ci(function PL(n){return n&&ms(n.canMatch)}(a)?a.canMatch(e,t):n.runInContext(()=>a(e,t)))})).pipe(Qr(),Ux()):N(!0)}(i=Bx(e,i),e,t).pipe($(s=>!0===s?o:{...vh})):N(o)}function yh(n,e,t){if(""===e.path)return"full"===e.pathMatch&&(n.hasChildren()||t.length>0)?{...vh}:{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};const r=(e.matcher||EN)(t,n,e);if(!r)return{...vh};const o={};Qe(r.posParams,(a,l)=>{o[l]=a.path});const s=r.consumed.length>0?{...o,...r.consumed[r.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:t.slice(r.consumed.length),parameters:s,positionalParamSegments:r.posParams??{}}}function Ll(n,e,t,i){if(t.length>0&&function YL(n,e,t){return t.some(i=>Vl(n,e,i)&&Wt(i)!==q)}(n,t,i)){const o=new J(e,function qL(n,e,t,i){const r={};r[q]=i,i._sourceSegment=n,i._segmentIndexShift=e.length;for(const o of t)if(""===o.path&&Wt(o)!==q){const s=new J([],{});s._sourceSegment=n,s._segmentIndexShift=e.length,r[Wt(o)]=s}return r}(n,e,i,new J(t,n.children)));return o._sourceSegment=n,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:[]}}if(0===t.length&&function KL(n,e,t){return t.some(i=>Vl(n,e,i))}(n,t,i)){const o=new J(n.segments,function WL(n,e,t,i,r){const o={};for(const s of i)if(Vl(n,t,s)&&!r[Wt(s)]){const a=new J([],{});a._sourceSegment=n,a._segmentIndexShift=e.length,o[Wt(s)]=a}return{...r,...o}}(n,e,t,i,n.children));return o._sourceSegment=n,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:t}}const r=new J(n.segments,n.children);return r._sourceSegment=n,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:t}}function Vl(n,e,t){return(!(n.hasChildren()||e.length>0)||"full"!==t.pathMatch)&&""===t.path}function zx(n,e,t,i){return!!(Wt(n)===i||i!==q&&Vl(e,t,n))&&("**"===n.path||yh(e,n,t).matched)}function Gx(n,e,t){return 0===e.length&&!n.children[t]}const Bl=!1;class jl{constructor(e){this.segmentGroup=e||null}}class Wx{constructor(e){this.urlTree=e}}function gs(n){return zr(new jl(n))}function qx(n){return zr(new Wx(n))}class JL{constructor(e,t,i,r,o){this.injector=e,this.configLoader=t,this.urlSerializer=i,this.urlTree=r,this.config=o,this.allowRedirects=!0}apply(){const e=Ll(this.urlTree.root,[],[],this.config).segmentGroup,t=new J(e.segments,e.children);return this.expandSegmentGroup(this.injector,this.config,t,q).pipe($(o=>this.createUrlTree(Al(o),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Gn(o=>{if(o instanceof Wx)return this.allowRedirects=!1,this.match(o.urlTree);throw o instanceof jl?this.noMatchError(o):o}))}match(e){return this.expandSegmentGroup(this.injector,this.config,e.root,q).pipe($(r=>this.createUrlTree(Al(r),e.queryParams,e.fragment))).pipe(Gn(r=>{throw r instanceof jl?this.noMatchError(r):r}))}noMatchError(e){return new w(4002,Bl)}createUrlTree(e,t,i){const r=th(e);return new di(r,t,i)}expandSegmentGroup(e,t,i,r){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(e,t,i).pipe($(o=>new J([],o))):this.expandSegment(e,i,t,i.segments,r,!0)}expandChildren(e,t,i){const r=[];for(const o of Object.keys(i.children))"primary"===o?r.unshift(o):r.push(o);return Le(r).pipe(li(o=>{const s=i.children[o],a=jx(t,o);return this.expandSegmentGroup(e,a,s,o).pipe($(l=>({segment:l,outlet:o})))}),ax((o,s)=>(o[s.outlet]=s.segment,o),{}),lx())}expandSegment(e,t,i,r,o,s){return Le(i).pipe(li(a=>this.expandSegmentAgainstRoute(e,t,i,a,r,o,s).pipe(Gn(c=>{if(c instanceof jl)return N(null);throw c}))),ai(a=>!!a),Gn((a,l)=>{if(_h(a))return Gx(t,r,o)?N(new J([],{})):gs(t);throw a}))}expandSegmentAgainstRoute(e,t,i,r,o,s,a){return zx(r,t,o,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,o,s):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,i,r,o,s):gs(t):gs(t)}expandSegmentAgainstRouteUsingRedirect(e,t,i,r,o,s){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,i,r,s):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,i,r,o,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,t,i,r){const o=this.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?qx(o):this.lineralizeSegments(i,o).pipe(We(s=>{const a=new J(s,{});return this.expandSegment(e,a,t,s,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,t,i,r,o,s){const{matched:a,consumedSegments:l,remainingSegments:c,positionalParamSegments:d}=yh(t,r,o);if(!a)return gs(t);const u=this.applyRedirectCommands(l,r.redirectTo,d);return r.redirectTo.startsWith("/")?qx(u):this.lineralizeSegments(r,u).pipe(We(f=>this.expandSegment(e,t,i,f.concat(c),s,!1)))}matchSegmentAgainstRoute(e,t,i,r,o){return"**"===i.path?(e=Bx(i,e),i.loadChildren?(i._loadedRoutes?N({routes:i._loadedRoutes,injector:i._loadedInjector}):this.configLoader.loadChildren(e,i)).pipe($(a=>(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,new J(r,{})))):N(new J(r,{}))):$x(t,i,r,e).pipe(xn(({matched:s,consumedSegments:a,remainingSegments:l})=>s?this.getChildConfig(e=i._injector??e,i,r).pipe(We(d=>{const u=d.injector??e,f=d.routes,{segmentGroup:p,slicedSegments:g}=Ll(t,a,l,f),_=new J(p.segments,p.children);if(0===g.length&&_.hasChildren())return this.expandChildren(u,f,_).pipe($(b=>new J(a,b)));if(0===f.length&&0===g.length)return N(new J(a,{}));const y=Wt(i)===o;return this.expandSegment(u,_,f,g,y?q:o,!0).pipe($(S=>new J(a.concat(S.segments),S.children)))})):gs(t)))}getChildConfig(e,t,i){return t.children?N({routes:t.children,injector:e}):t.loadChildren?void 0!==t._loadedRoutes?N({routes:t._loadedRoutes,injector:t._loadedInjector}):function zL(n,e,t,i){const r=e.canLoad;return void 0===r||0===r.length?N(!0):N(r.map(s=>{const a=Xr(s,n);return ci(function AL(n){return n&&ms(n.canLoad)}(a)?a.canLoad(e,t):n.runInContext(()=>a(e,t)))})).pipe(Qr(),Ux())}(e,t,i).pipe(We(r=>r?this.configLoader.loadChildren(e,t).pipe(Ge(o=>{t._loadedRoutes=o.routes,t._loadedInjector=o.injector})):function XL(n){return zr(Nx(Bl,3))}())):N({routes:[],injector:e})}lineralizeSegments(e,t){let i=[],r=t.root;for(;;){if(i=i.concat(r.segments),0===r.numberOfChildren)return N(i);if(r.numberOfChildren>1||!r.children[q])return e.redirectTo,zr(new w(4e3,Bl));r=r.children[q]}}applyRedirectCommands(e,t,i){return this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),e,i)}applyRedirectCreateUrlTree(e,t,i,r){const o=this.createSegmentGroup(e,t.root,i,r);return new di(o,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const i={};return Qe(e,(r,o)=>{if("string"==typeof r&&r.startsWith(":")){const a=r.substring(1);i[o]=t[a]}else i[o]=r}),i}createSegmentGroup(e,t,i,r){const o=this.createSegments(e,t.segments,i,r);let s={};return Qe(t.children,(a,l)=>{s[l]=this.createSegmentGroup(e,a,i,r)}),new J(o,s)}createSegments(e,t,i,r){return t.map(o=>o.path.startsWith(":")?this.findPosParam(e,o,r):this.findOrReturn(o,i))}findPosParam(e,t,i){const r=i[t.path.substring(1)];if(!r)throw new w(4001,Bl);return r}findOrReturn(e,t){let i=0;for(const r of t){if(r.path===e.path)return t.splice(i),r;i++}return e}}class t2{}class o2{constructor(e,t,i,r,o,s,a){this.injector=e,this.rootComponentType=t,this.config=i,this.urlTree=r,this.url=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a}recognize(){const e=Ll(this.urlTree.root,[],[],this.config.filter(t=>void 0===t.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,e,q).pipe($(t=>{if(null===t)return null;const i=new Ol([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},q,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Wn(i,t),o=new Ox(this.url,r);return this.inheritParamsAndData(o._root),o}))}inheritParamsAndData(e){const t=e.value,i=Fx(t,this.paramsInheritanceStrategy);t.params=Object.freeze(i.params),t.data=Object.freeze(i.data),e.children.forEach(r=>this.inheritParamsAndData(r))}processSegmentGroup(e,t,i,r){return 0===i.segments.length&&i.hasChildren()?this.processChildren(e,t,i):this.processSegment(e,t,i,i.segments,r)}processChildren(e,t,i){return Le(Object.keys(i.children)).pipe(li(r=>{const o=i.children[r],s=jx(t,r);return this.processSegmentGroup(e,s,o,r)}),ax((r,o)=>r&&o?(r.push(...o),r):null),function wN(n,e=!1){return Fe((t,i)=>{let r=0;t.subscribe(De(i,o=>{const s=n(o,r++);(s||e)&&i.next(o),!s&&i.complete()}))})}(r=>null!==r),Cl(null),lx(),$(r=>{if(null===r)return null;const o=Kx(r);return function s2(n){n.sort((e,t)=>e.value.outlet===q?-1:t.value.outlet===q?1:e.value.outlet.localeCompare(t.value.outlet))}(o),o}))}processSegment(e,t,i,r,o){return Le(t).pipe(li(s=>this.processSegmentAgainstRoute(s._injector??e,s,i,r,o)),ai(s=>!!s),Gn(s=>{if(_h(s))return Gx(i,r,o)?N([]):N(null);throw s}))}processSegmentAgainstRoute(e,t,i,r,o){if(t.redirectTo||!zx(t,i,r,o))return N(null);let s;if("**"===t.path){const a=r.length>0?ux(r).parameters:{},l=Xx(i)+r.length;s=N({snapshot:new Ol(r,a,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Qx(t),Wt(t),t.component??t._loadedComponent??null,t,Zx(i),l,Jx(t)),consumedSegments:[],remainingSegments:[]})}else s=$x(i,t,r,e).pipe($(({matched:a,consumedSegments:l,remainingSegments:c,parameters:d})=>{if(!a)return null;const u=Xx(i)+l.length;return{snapshot:new Ol(l,d,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Qx(t),Wt(t),t.component??t._loadedComponent??null,t,Zx(i),u,Jx(t)),consumedSegments:l,remainingSegments:c}}));return s.pipe(xn(a=>{if(null===a)return N(null);const{snapshot:l,consumedSegments:c,remainingSegments:d}=a;e=t._injector??e;const u=t._loadedInjector??e,f=function a2(n){return n.children?n.children:n.loadChildren?n._loadedRoutes:[]}(t),{segmentGroup:p,slicedSegments:g}=Ll(i,c,d,f.filter(y=>void 0===y.redirectTo));if(0===g.length&&p.hasChildren())return this.processChildren(u,f,p).pipe($(y=>null===y?null:[new Wn(l,y)]));if(0===f.length&&0===g.length)return N([new Wn(l,[])]);const _=Wt(t)===o;return this.processSegment(u,f,p,g,_?q:o).pipe($(y=>null===y?null:[new Wn(l,y)]))}))}}function l2(n){const e=n.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function Kx(n){const e=[],t=new Set;for(const i of n){if(!l2(i)){e.push(i);continue}const r=e.find(o=>i.value.routeConfig===o.value.routeConfig);void 0!==r?(r.children.push(...i.children),t.add(r)):e.push(i)}for(const i of t){const r=Kx(i.children);e.push(new Wn(i.value,r))}return e.filter(i=>!t.has(i))}function Zx(n){let e=n;for(;e._sourceSegment;)e=e._sourceSegment;return e}function Xx(n){let e=n,t=e._segmentIndexShift??0;for(;e._sourceSegment;)e=e._sourceSegment,t+=e._segmentIndexShift??0;return t-1}function Qx(n){return n.data||{}}function Jx(n){return n.resolve||{}}function eC(n){return"string"==typeof n.title||null===n.title}function bh(n){return xn(e=>{const t=n(e);return t?Le(t).pipe($(()=>e)):N(e)})}const Jr=new I("ROUTES");let xh=(()=>{class n{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=Y(Fb)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return N(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);const i=ci(t.loadComponent()).pipe($(nC),Ge(o=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=o}),wl(()=>{this.componentLoaders.delete(t)})),r=new ox(i,()=>new Re).pipe(Zf());return this.componentLoaders.set(t,r),r}loadChildren(t,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return N({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const o=this.loadModuleFactoryOrRoutes(i.loadChildren).pipe($(a=>{this.onLoadEndListener&&this.onLoadEndListener(i);let l,c,d=!1;Array.isArray(a)?c=a:(l=a.create(t).injector,c=dx(l.get(Jr,[],j.Self|j.Optional)));return{routes:c.map(gh),injector:l}}),wl(()=>{this.childrenLoaders.delete(i)})),s=new ox(o,()=>new Re).pipe(Zf());return this.childrenLoaders.set(i,s),s}loadModuleFactoryOrRoutes(t){return ci(t()).pipe($(nC),We(i=>i instanceof Gy||Array.isArray(i)?N(i):Le(this.compiler.compileModuleAsync(i))))}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function nC(n){return function g2(n){return n&&"object"==typeof n&&"default"in n}(n)?n.default:n}let Ul=(()=>{class n{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new Re,this.configLoader=Y(xh),this.environmentInjector=Y(Nn),this.urlSerializer=Y(os),this.rootContexts=Y(us),this.navigationId=0,this.afterPreactivation=()=>N(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=r=>this.events.next(new nL(r)),this.configLoader.onLoadStartListener=r=>this.events.next(new tL(r))}complete(){this.transitions?.complete()}handleNavigationRequest(t){const i=++this.navigationId;this.transitions?.next({...this.transitions.value,...t,id:i})}setupNavigations(t){return this.transitions=new cn({id:0,targetPageId:0,currentUrlTree:t.currentUrlTree,currentRawUrl:t.currentUrlTree,extractedUrl:t.urlHandlingStrategy.extract(t.currentUrlTree),urlAfterRedirects:t.urlHandlingStrategy.extract(t.currentUrlTree),rawUrl:t.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:cs,restoredState:null,currentSnapshot:t.routerState.snapshot,targetSnapshot:null,currentRouterState:t.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Gt(i=>0!==i.id),$(i=>({...i,extractedUrl:t.urlHandlingStrategy.extract(i.rawUrl)})),xn(i=>{let r=!1,o=!1;return N(i).pipe(Ge(s=>{this.currentNavigation={id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,trigger:s.source,extras:s.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),xn(s=>{const a=t.browserUrlTree.toString(),l=!t.navigated||s.extractedUrl.toString()!==a||a!==t.currentUrlTree.toString();if(!l&&"reload"!==(s.extras.onSameUrlNavigation??t.onSameUrlNavigation)){const d="";return this.events.next(new Fl(s.id,t.serializeUrl(i.rawUrl),d,0)),t.rawUrlTree=s.rawUrl,s.resolve(null),dn}if(t.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return iC(s.source)&&(t.browserUrlTree=s.extractedUrl),N(s).pipe(xn(d=>{const u=this.transitions?.getValue();return this.events.next(new oh(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),u!==this.transitions?.getValue()?dn:Promise.resolve(d)}),function e2(n,e,t,i){return xn(r=>function QL(n,e,t,i,r){return new JL(n,e,t,i,r).apply()}(n,e,t,r.extractedUrl,i).pipe($(o=>({...r,urlAfterRedirects:o}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,t.config),Ge(d=>{this.currentNavigation={...this.currentNavigation,finalUrl:d.urlAfterRedirects},i.urlAfterRedirects=d.urlAfterRedirects}),function d2(n,e,t,i,r){return We(o=>function r2(n,e,t,i,r,o,s="emptyOnly"){return new o2(n,e,t,i,r,s,o).recognize().pipe(xn(a=>null===a?function n2(n){return new _e(e=>e.error(n))}(new t2):N(a)))}(n,e,t,o.urlAfterRedirects,i.serialize(o.urlAfterRedirects),i,r).pipe($(s=>({...o,targetSnapshot:s}))))}(this.environmentInjector,this.rootComponentType,t.config,this.urlSerializer,t.paramsInheritanceStrategy),Ge(d=>{if(i.targetSnapshot=d.targetSnapshot,"eager"===t.urlUpdateStrategy){if(!d.extras.skipLocationChange){const f=t.urlHandlingStrategy.merge(d.urlAfterRedirects,d.rawUrl);t.setBrowserUrl(f,d)}t.browserUrlTree=d.urlAfterRedirects}const u=new ZN(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}));if(l&&t.urlHandlingStrategy.shouldProcessUrl(t.rawUrlTree)){const{id:d,extractedUrl:u,source:f,restoredState:p,extras:g}=s,_=new oh(d,this.urlSerializer.serialize(u),f,p);this.events.next(_);const y=Rx(u,this.rootComponentType).snapshot;return N(i={...s,targetSnapshot:y,urlAfterRedirects:u,extras:{...g,skipLocationChange:!1,replaceUrl:!1}})}{const d="";return this.events.next(new Fl(s.id,t.serializeUrl(i.extractedUrl),d,1)),t.rawUrlTree=s.rawUrl,s.resolve(null),dn}}),Ge(s=>{const a=new XN(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),$(s=>i={...s,guards:ML(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),function NL(n,e){return We(t=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=t;return 0===s.length&&0===o.length?N({...t,guardsResult:!0}):function LL(n,e,t,i){return Le(n).pipe(We(r=>function $L(n,e,t,i,r){const o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return o&&0!==o.length?N(o.map(a=>{const l=fs(e)??r,c=Xr(a,l);return ci(function OL(n){return n&&ms(n.canDeactivate)}(c)?c.canDeactivate(n,e,t,i):l.runInContext(()=>c(n,e,t,i))).pipe(ai())})).pipe(Qr()):N(!0)}(r.component,r.route,t,e,i)),ai(r=>!0!==r,!0))}(s,i,r,n).pipe(We(a=>a&&function TL(n){return"boolean"==typeof n}(a)?function VL(n,e,t,i){return Le(e).pipe(li(r=>xl(function jL(n,e){return null!==n&&e&&e(new iL(n)),N(!0)}(r.route.parent,i),function BL(n,e){return null!==n&&e&&e(new oL(n)),N(!0)}(r.route,i),function UL(n,e,t){const i=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>function EL(n){const e=n.routeConfig?n.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:n,guards:e}:null}(s)).filter(s=>null!==s).map(s=>rx(()=>N(s.guards.map(l=>{const c=fs(s.node)??t,d=Xr(l,c);return ci(function FL(n){return n&&ms(n.canActivateChild)}(d)?d.canActivateChild(i,n):c.runInContext(()=>d(i,n))).pipe(ai())})).pipe(Qr())));return N(o).pipe(Qr())}(n,r.path,t),function HL(n,e,t){const i=e.routeConfig?e.routeConfig.canActivate:null;if(!i||0===i.length)return N(!0);const r=i.map(o=>rx(()=>{const s=fs(e)??t,a=Xr(o,s);return ci(function RL(n){return n&&ms(n.canActivate)}(a)?a.canActivate(e,n):s.runInContext(()=>a(e,n))).pipe(ai())}));return N(r).pipe(Qr())}(n,r.route,t))),ai(r=>!0!==r,!0))}(i,o,n,e):N(a)),$(a=>({...t,guardsResult:a})))})}(this.environmentInjector,s=>this.events.next(s)),Ge(s=>{if(i.guardsResult=s.guardsResult,Hi(s.guardsResult))throw kx(0,s.guardsResult);const a=new QN(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.events.next(a)}),Gt(s=>!!s.guardsResult||(t.restoreHistory(s),this.cancelNavigationTransition(s,"",3),!1)),bh(s=>{if(s.guards.canActivateChecks.length)return N(s).pipe(Ge(a=>{const l=new JN(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}),xn(a=>{let l=!1;return N(a).pipe(function u2(n,e){return We(t=>{const{targetSnapshot:i,guards:{canActivateChecks:r}}=t;if(!r.length)return N(t);let o=0;return Le(r).pipe(li(s=>function f2(n,e,t,i){const r=n.routeConfig,o=n._resolve;return void 0!==r?.title&&!eC(r)&&(o[is]=r.title),function h2(n,e,t,i){const r=function p2(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}(n);if(0===r.length)return N({});const o={};return Le(r).pipe(We(s=>function m2(n,e,t,i){const r=fs(e)??i,o=Xr(n,r);return ci(o.resolve?o.resolve(e,t):r.runInContext(()=>o(e,t)))}(n[s],e,t,i).pipe(ai(),Ge(a=>{o[s]=a}))),Qf(1),function DN(n){return $(()=>n)}(o),Gn(s=>_h(s)?dn:zr(s)))}(o,n,e,i).pipe($(s=>(n._resolvedData=s,n.data=Fx(n,t).resolve,r&&eC(r)&&(n.data[is]=r.title),null)))}(s.route,i,n,e)),Ge(()=>o++),Qf(1),We(s=>o===r.length?N(t):dn))})}(t.paramsInheritanceStrategy,this.environmentInjector),Ge({next:()=>l=!0,complete:()=>{l||(t.restoreHistory(a),this.cancelNavigationTransition(a,"",2))}}))}),Ge(a=>{const l=new eL(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}))}),bh(s=>{const a=l=>{const c=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&c.push(this.configLoader.loadComponent(l.routeConfig).pipe(Ge(d=>{l.component=d}),$(()=>{})));for(const d of l.children)c.push(...a(d));return c};return Kf(a(s.targetSnapshot.root)).pipe(Cl(),si(1))}),bh(()=>this.afterPreactivation()),$(s=>{const a=function pL(n,e,t){const i=ds(n,e._root,t?t._root:void 0);return new Ax(i,e)}(t.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return i={...s,targetRouterState:a}}),Ge(s=>{t.currentUrlTree=s.urlAfterRedirects,t.rawUrlTree=t.urlHandlingStrategy.merge(s.urlAfterRedirects,s.rawUrl),t.routerState=s.targetRouterState,"deferred"===t.urlUpdateStrategy&&(s.extras.skipLocationChange||t.setBrowserUrl(t.rawUrlTree,s),t.browserUrlTree=s.urlAfterRedirects)}),((n,e,t)=>$(i=>(new DL(e,i.targetRouterState,i.currentRouterState,t).activate(n),i)))(this.rootContexts,t.routeReuseStrategy,s=>this.events.next(s)),si(1),Ge({next:s=>{r=!0,this.lastSuccessfulNavigation=this.currentNavigation,t.navigated=!0,this.events.next(new Ui(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(t.currentUrlTree))),t.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0)},complete:()=>{r=!0}}),wl(()=>{r||o||this.cancelNavigationTransition(i,"",1),this.currentNavigation?.id===i.id&&(this.currentNavigation=null)}),Gn(s=>{if(o=!0,Vx(s)){Lx(s)||(t.navigated=!0,t.restoreHistory(i,!0));const a=new Rl(i.id,this.urlSerializer.serialize(i.extractedUrl),s.message,s.cancellationCode);if(this.events.next(a),Lx(s)){const l=t.urlHandlingStrategy.merge(s.url,t.rawUrlTree),c={skipLocationChange:i.extras.skipLocationChange,replaceUrl:"eager"===t.urlUpdateStrategy||iC(i.source)};t.scheduleNavigation(l,cs,null,c,{resolve:i.resolve,reject:i.reject,promise:i.promise})}else i.resolve(!1)}else{t.restoreHistory(i,!0);const a=new sh(i.id,this.urlSerializer.serialize(i.extractedUrl),s,i.targetSnapshot??void 0);this.events.next(a);try{i.resolve(t.errorHandler(s))}catch(l){i.reject(l)}}return dn}))}))}cancelNavigationTransition(t,i,r){const o=new Rl(t.id,this.urlSerializer.serialize(t.extractedUrl),i,r);this.events.next(o),t.resolve(!1)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function iC(n){return n!==cs}let rC=(()=>{class n{buildTitle(t){let i,r=t.root;for(;void 0!==r;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(o=>o.outlet===q);return i}getResolvedTitleForRoute(t){return t.data[is]}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=T({token:n,factory:function(){return Y(_2)},providedIn:"root"}),n})(),_2=(()=>{class n extends rC{constructor(t){super(),this.title=t}updateTitle(t){const i=this.buildTitle(t);void 0!==i&&this.title.setTitle(i)}}return n.\u0275fac=function(t){return new(t||n)(M(X0))},n.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),v2=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=T({token:n,factory:function(){return Y(b2)},providedIn:"root"}),n})();class y2{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}let b2=(()=>{class n extends y2{}return n.\u0275fac=function(){let e;return function(i){return(e||(e=function Xe(n){return In(()=>{const e=n.prototype.constructor,t=e[An]||xd(e),i=Object.prototype;let r=Object.getPrototypeOf(n.prototype).constructor;for(;r&&r!==i;){const o=r[An]||xd(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}(n)))(i||n)}}(),n.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const $l=new I("",{providedIn:"root",factory:()=>({})});let C2=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=T({token:n,factory:function(){return Y(w2)},providedIn:"root"}),n})(),w2=(()=>{class n{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,i){return t}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function D2(n){throw n}function M2(n,e,t){return e.parse("/")}const E2={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},S2={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let xt=(()=>{class n{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){if("computed"===this.canceledNavigationResolution)return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=Y(QF),this.isNgZoneEnabled=!1,this.options=Y($l,{optional:!0})||{},this.errorHandler=this.options.errorHandler||D2,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||M2,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=Y(C2),this.routeReuseStrategy=Y(v2),this.urlCreationStrategy=Y(uL),this.titleStrategy=Y(rC),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=dx(Y(Jr,{optional:!0})??[]),this.navigationTransitions=Y(Ul),this.urlSerializer=Y(os),this.location=Y(il),this.isNgZoneEnabled=Y(re)instanceof re&&re.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new di,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Rx(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this).subscribe(t=>{this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId??0},t=>{this.console.warn(`Unhandled Navigation Error: ${t}`)})}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const t=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),cs,t)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const i="popstate"===t.type?"popstate":"hashchange";"popstate"===i&&setTimeout(()=>{this.navigateToSyncWithBrowser(t.url,i,t.state)},0)}))}navigateToSyncWithBrowser(t,i,r){const o={replaceUrl:!0},s=r?.navigationId?r:null;if(r){const l={...r};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(o.state=l)}const a=this.parseUrl(t);this.scheduleNavigation(a,i,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(t){this.config=t.map(gh),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(t,i={}){const{relativeTo:r,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=i,c=l?this.currentUrlTree.fragment:s;let d=null;switch(a){case"merge":d={...this.currentUrlTree.queryParams,...o};break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}return null!==d&&(d=this.removeEmptyProps(d)),this.urlCreationStrategy.createUrlTree(r,this.routerState,this.currentUrlTree,t,d,c??null)}navigateByUrl(t,i={skipLocationChange:!1}){const r=Hi(t)?t:this.parseUrl(t),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,cs,null,i)}navigate(t,i={skipLocationChange:!1}){return function I2(n){for(let e=0;e{const o=t[r];return null!=o&&(i[r]=o),i},{})}scheduleNavigation(t,i,r,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c,d;return s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((u,f)=>{a=u,l=f}),d="computed"===this.canceledNavigationResolution?r&&r.\u0275routerPageId?r.\u0275routerPageId:(this.browserPageId??0)+1:0,this.navigationTransitions.handleNavigationRequest({targetPageId:d,source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(u=>Promise.reject(u))}setBrowserUrl(t,i){const r=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(r)||i.extras.replaceUrl){const s={...i.extras.state,...this.generateNgRouterState(i.id,this.browserPageId)};this.location.replaceState(r,"",s)}else{const o={...i.extras.state,...this.generateNgRouterState(i.id,i.targetPageId)};this.location.go(r,"",o)}}restoreHistory(t,i=!1){if("computed"===this.canceledNavigationResolution){const o=this.currentPageId-(this.browserPageId??this.currentPageId);0!==o?this.location.historyGo(o):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===o&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=t.currentRouterState,this.currentUrlTree=t.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,i){return"computed"===this.canceledNavigationResolution?{navigationId:t,\u0275routerPageId:i}:{navigationId:t}}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),zl=(()=>{class n{constructor(t,i,r,o,s,a){this.router=t,this.route=i,this.tabIndexAttribute=r,this.renderer=o,this.el=s,this.locationStrategy=a,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new Re;const l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===l||"area"===l,this.isAnchorElement?this.subscription=t.events.subscribe(c=>{c instanceof Ui&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(t){this._preserveFragment=$r(t)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(t){this._skipLocationChange=$r(t)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(t){this._replaceUrl=$r(t)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(t){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(t){null!=t?(this.commands=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(t,i,r,o,s){return!!(null===this.urlTree||this.isAnchorElement&&(0!==t||i||r||o||s||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const t=null===this.href?null:function g_(n,e,t){return function YI(n,e){return"src"===e&&("embed"===n||"frame"===n||"iframe"===n||"media"===n||"script"===n)||"href"===e&&("base"===n||"link"===n)?m_:p_}(e,t)(n)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",t)}applyAttributeValue(t,i){const r=this.renderer,o=this.el.nativeElement;null!==i?r.setAttribute(o,t,i):r.removeAttribute(o,t)}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:this.preserveFragment})}}return n.\u0275fac=function(t){return new(t||n)(D(xt),D(Zr),function fa(n){return function mS(n,e){if("class"===e)return n.classes;if("style"===e)return n.styles;const t=n.attrs;if(t){const i=t.length;let r=0;for(;r{class n{constructor(t,i,r,o,s){this.router=t,this.injector=r,this.preloadingStrategy=o,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(Gt(t=>t instanceof Ui),li(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,i){const r=[];for(const o of i){o.providers&&!o._injector&&(o._injector=za(o.providers,t,`Route: ${o.path}`));const s=o._injector??t,a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&void 0===o.canLoad||o.loadComponent&&!o._loadedComponent)&&r.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&r.push(this.processRoutes(a,o.children??o._loadedRoutes))}return Le(r).pipe(tr())}preloadConfig(t,i){return this.preloadingStrategy.preload(i,()=>{let r;r=i.loadChildren&&void 0===i.canLoad?this.loader.loadChildren(t,i):N(null);const o=r.pipe(We(s=>null===s?N(void 0):(i._loadedRoutes=s.routes,i._loadedInjector=s.injector,this.processRoutes(s.injector??t,s.routes))));return i.loadComponent&&!i._loadedComponent?Le([o,this.loader.loadComponent(i)]).pipe(tr()):o})}}return n.\u0275fac=function(t){return new(t||n)(M(xt),M(Fb),M(Nn),M(oC),M(xh))},n.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const wh=new I("");let sC=(()=>{class n{constructor(t,i,r,o,s={}){this.urlSerializer=t,this.transitions=i,this.viewportScroller=r,this.zone=o,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=s.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof oh?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Ui&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof Ix&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Ix(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return n.\u0275fac=function(t){!function q_(){throw new Error("invalid")}()},n.\u0275prov=T({token:n,factory:n.\u0275fac}),n})();var Ft=(()=>((Ft=Ft||{})[Ft.COMPLETE=0]="COMPLETE",Ft[Ft.FAILED=1]="FAILED",Ft[Ft.REDIRECTING=2]="REDIRECTING",Ft))();const eo=!1;function ui(n,e){return{\u0275kind:n,\u0275providers:e}}const Dh=new I("",{providedIn:"root",factory:()=>!1});function lC(){const n=Y(Tt);return e=>{const t=n.get(Ur);if(e!==t.components[0])return;const i=n.get(xt),r=n.get(cC);1===n.get(Mh)&&i.initialNavigation(),n.get(dC,null,j.Optional)?.setUpPreloading(),n.get(wh,null,j.Optional)?.init(),i.resetRootComponentType(t.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}const cC=new I(eo?"bootstrap done indicator":"",{factory:()=>new Re}),Mh=new I(eo?"initial navigation":"",{providedIn:"root",factory:()=>1});function N2(){let n=[];return n=eo?[{provide:Ma,multi:!0,useFactory:()=>{const e=Y(xt);return()=>e.events.subscribe(t=>{console.group?.(`Router Event: ${t.constructor.name}`),console.log(function aL(n){if(!("type"in n))return`Unknown Router Event: ${n.constructor.name}`;switch(n.type){case 14:return`ActivationEnd(path: '${n.snapshot.routeConfig?.path||""}')`;case 13:return`ActivationStart(path: '${n.snapshot.routeConfig?.path||""}')`;case 12:return`ChildActivationEnd(path: '${n.snapshot.routeConfig?.path||""}')`;case 11:return`ChildActivationStart(path: '${n.snapshot.routeConfig?.path||""}')`;case 8:return`GuardsCheckEnd(id: ${n.id}, url: '${n.url}', urlAfterRedirects: '${n.urlAfterRedirects}', state: ${n.state}, shouldActivate: ${n.shouldActivate})`;case 7:return`GuardsCheckStart(id: ${n.id}, url: '${n.url}', urlAfterRedirects: '${n.urlAfterRedirects}', state: ${n.state})`;case 2:return`NavigationCancel(id: ${n.id}, url: '${n.url}')`;case 16:return`NavigationSkipped(id: ${n.id}, url: '${n.url}')`;case 1:return`NavigationEnd(id: ${n.id}, url: '${n.url}', urlAfterRedirects: '${n.urlAfterRedirects}')`;case 3:return`NavigationError(id: ${n.id}, url: '${n.url}', error: ${n.error})`;case 0:return`NavigationStart(id: ${n.id}, url: '${n.url}')`;case 6:return`ResolveEnd(id: ${n.id}, url: '${n.url}', urlAfterRedirects: '${n.urlAfterRedirects}', state: ${n.state})`;case 5:return`ResolveStart(id: ${n.id}, url: '${n.url}', urlAfterRedirects: '${n.urlAfterRedirects}', state: ${n.state})`;case 10:return`RouteConfigLoadEnd(path: ${n.route.path})`;case 9:return`RouteConfigLoadStart(path: ${n.route.path})`;case 4:return`RoutesRecognized(id: ${n.id}, url: '${n.url}', urlAfterRedirects: '${n.urlAfterRedirects}', state: ${n.state})`;case 15:return`Scroll(anchor: '${n.anchor}', position: '${n.position?`${n.position[0]}, ${n.position[1]}`:null}')`}}(t)),console.log(t),console.groupEnd?.()})}}]:[],ui(1,n)}const dC=new I(eo?"router preloader":"");function L2(n){return ui(0,[{provide:dC,useExisting:R2},{provide:oC,useExisting:n}])}const _s=!1,uC=new I(_s?"router duplicate forRoot guard":"ROUTER_FORROOT_GUARD"),V2=[il,{provide:os,useClass:Jf},xt,us,{provide:Zr,useFactory:function aC(n){return n.routerState.root},deps:[xt]},xh,_s?{provide:Dh,useValue:!0}:[]];function B2(){return new jb("Router",xt)}let fC=(()=>{class n{constructor(t){}static forRoot(t,i){return{ngModule:n,providers:[V2,_s&&i?.enableTracing?N2().\u0275providers:[],{provide:Jr,multi:!0,useValue:t},{provide:uC,useFactory:$2,deps:[[xt,new Pn,new _r]]},{provide:$l,useValue:i||{}},i?.useHash?{provide:Bi,useClass:BO}:{provide:Bi,useClass:d0},{provide:wh,useFactory:()=>{const n=Y(ak),e=Y(re),t=Y($l),i=Y(Ul),r=Y(os);return t.scrollOffset&&n.setOffset(t.scrollOffset),new sC(r,i,n,e,t)}},i?.preloadingStrategy?L2(i.preloadingStrategy).\u0275providers:[],{provide:jb,multi:!0,useFactory:B2},i?.initialNavigation?z2(i):[],[{provide:hC,useFactory:lC},{provide:Bb,multi:!0,useExisting:hC}]]}}static forChild(t){return{ngModule:n,providers:[{provide:Jr,multi:!0,useValue:t}]}}}return n.\u0275fac=function(t){return new(t||n)(M(uC,8))},n.\u0275mod=me({type:n}),n.\u0275inj=he({imports:[ph]}),n})();function $2(n){if(_s&&n)throw new w(4007,"The Router was provided more than once. This can happen if 'forRoot' is used outside of the root injector. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function z2(n){return["disabled"===n.initialNavigation?ui(3,[{provide:Za,multi:!0,useFactory:()=>{const e=Y(xt);return()=>{e.setUpLocationChangeListener()}}},{provide:Mh,useValue:2}]).\u0275providers:[],"enabledBlocking"===n.initialNavigation?ui(2,[{provide:Mh,useValue:0},{provide:Za,multi:!0,deps:[Tt],useFactory:e=>{const t=e.get(LO,Promise.resolve());return()=>t.then(()=>new Promise(i=>{const r=e.get(xt),o=e.get(cC);(function F2(n,e){n.events.pipe(Gt(t=>t instanceof Ui||t instanceof Rl||t instanceof sh||t instanceof Fl),$(t=>t instanceof Ui||t instanceof Fl?Ft.COMPLETE:t instanceof Rl&&(0===t.code||1===t.code)?Ft.REDIRECTING:Ft.FAILED),Gt(t=>t!==Ft.REDIRECTING),si(1)).subscribe(()=>{e()})})(r,()=>{i(!0)}),e.get(Ul).afterPreactivation=()=>(i(!0),o.closed?N(void 0):o),r.initialNavigation()}))}}]).\u0275providers:[]]}const hC=new I(_s?"Router Initializer":"");let Eh;try{Eh=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Eh=!1}let vs,Gl,$i,fi=(()=>{class n{constructor(t){this._platformId=t,this.isBrowser=this._platformId?function sk(n){return n===S0}(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&&!Eh)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return n.\u0275fac=function(t){return new(t||n)(M(af))},n.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function no(n){return function W2(){if(null==vs&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>vs=!0}))}finally{vs=vs||!1}return vs}()?n:!!n.capture}function mC(){if(null==$i){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return $i=!1,$i;if("scrollBehavior"in document.documentElement.style)$i=!0;else{const n=Element.prototype.scrollTo;$i=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return $i}function ys(){if("object"!=typeof document||!document)return 0;if(null==Gl){const n=document.createElement("div"),e=n.style;n.dir="rtl",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";const t=document.createElement("div"),i=t.style;i.width="2px",i.height="1px",n.appendChild(t),document.body.appendChild(n),Gl=0,0===n.scrollLeft&&(n.scrollLeft=1,Gl=0===n.scrollLeft?1:2),n.remove()}return Gl}function Ih(n){return n.composedPath?n.composedPath()[0]:n.target}function Th(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Ah(n,e=0){return function eV(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}(n)?Number(n):e}function Wl(n){return Array.isArray(n)?n:[n]}function je(n){return null==n?"":"string"==typeof n?n:`${n}px`}function Rh(n){return n instanceof Pe?n.nativeElement:n}class nV extends Ye{constructor(e,t){super()}schedule(e,t=0){return this}}const ql={setInterval(n,e,...t){const{delegate:i}=ql;return i?.setInterval?i.setInterval(n,e,...t):setInterval(n,e,...t)},clearInterval(n){const{delegate:e}=ql;return(e?.clearInterval||clearInterval)(n)},delegate:void 0};class Fh extends nV{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){var i;if(this.closed)return this;this.state=e;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,t)),this.pending=!0,this.delay=t,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(o,this.id,t),this}requestAsyncId(e,t,i=0){return ql.setInterval(e.flush.bind(e,this),i)}recycleAsyncId(e,t,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return t;null!=t&&ql.clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(e,t);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let r,i=!1;try{this.work(e)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:e,scheduler:t}=this,{actions:i}=t;this.work=this.state=this.scheduler=null,this.pending=!1,er(i,this),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null,super.unsubscribe()}}}const gC={now:()=>(gC.delegate||Date).now(),delegate:void 0};class bs{constructor(e,t=bs.now){this.schedulerActionCtor=e,this.now=t}schedule(e,t=0,i){return new this.schedulerActionCtor(this,e).schedule(i,t)}}bs.now=gC.now;class Oh extends bs{constructor(e,t=bs.now){super(e,t),this.actions=[],this._active=!1}flush(e){const{actions:t}=this;if(this._active)return void t.push(e);let i;this._active=!0;do{if(i=e.execute(e.state,e.delay))break}while(e=t.shift());if(this._active=!1,i){for(;e=t.shift();)e.unsubscribe();throw i}}}const Ph=new Oh(Fh),iV=Ph;function Yl(n){return Fe((e,t)=>{pt(n).subscribe(De(t,()=>t.complete(),Oc)),!t.closed&&e.subscribe(t)})}const _C=new Set;let io,oV=(()=>{class n{constructor(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):aV}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&function sV(n){if(!_C.has(n))try{io||(io=document.createElement("style"),io.setAttribute("type","text/css"),document.head.appendChild(io)),io.sheet&&(io.sheet.insertRule(`@media ${n} {body{ }}`,0),_C.add(n))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}return n.\u0275fac=function(t){return new(t||n)(M(fi))},n.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function aV(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}let lV=(()=>{class n{constructor(t,i){this._mediaMatcher=t,this._zone=i,this._queries=new Map,this._destroySubject=new Re}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return vC(Wl(t)).some(r=>this._registerQuery(r).mql.matches)}observe(t){let o=Kf(vC(Wl(t)).map(s=>this._registerQuery(s).observable));return o=xl(o.pipe(si(1)),o.pipe(function tV(n){return Gt((e,t)=>n<=t)}(1),function rV(n,e=Ph){return Fe((t,i)=>{let r=null,o=null,s=null;const a=()=>{if(r){r.unsubscribe(),r=null;const c=o;o=null,i.next(c)}};function l(){const c=s+n,d=e.now();if(d{o=c,s=e.now(),r||(r=e.schedule(l,n),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}(0))),o.pipe($(s=>{const a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const i=this._mediaMatcher.matchMedia(t),o={observable:new _e(s=>{const a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(Xf(i),$(({matches:s})=>({query:t,matches:s})),Yl(this._destroySubject)),mql:i};return this._queries.set(t,o),o}}return n.\u0275fac=function(t){return new(t||n)(M(oV),M(re))},n.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function vC(n){return n.map(e=>e.split(",")).reduce((e,t)=>e.concat(t)).map(e=>e.trim())}const CC="cdk-high-contrast-black-on-white",wC="cdk-high-contrast-white-on-black",kh="cdk-high-contrast-active";let yV=(()=>{class n{constructor(t,i){this._platform=t,this._document=i,this._breakpointSubscription=Y(lV).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(t):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(t.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove(kh,CC,wC),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?t.add(kh,CC):2===i&&t.add(kh,wC)}}}return n.\u0275fac=function(t){return new(t||n)(M(fi),M(oe))},n.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const bV=new I("cdk-dir-doc",{providedIn:"root",factory:function xV(){return Y(oe)}}),CV=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let xs=(()=>{class n{constructor(t){this.value="ltr",this.change=new Ee,t&&(this.value=function wV(n){const e=n?.toLowerCase()||"";return"auto"===e&&typeof navigator<"u"&&navigator?.language?CV.test(navigator.language)?"rtl":"ltr":"rtl"===e?"rtl":"ltr"}((t.body?t.body.dir:null)||(t.documentElement?t.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return n.\u0275fac=function(t){return new(t||n)(M(bV,8))},n.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Cs=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=me({type:n}),n.\u0275inj=he({}),n})();const MV=new I("mat-sanity-checks",{providedIn:"root",factory:function DV(){return!0}});let He=(()=>{class n{constructor(t,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,t._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(t){return!Th()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[t])}}return n.\u0275fac=function(t){return new(t||n)(M(yV),M(MV,8),M(oe))},n.\u0275mod=me({type:n}),n.\u0275inj=he({imports:[Cs,Cs]}),n})(),EC=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=me({type:n}),n.\u0275inj=he({imports:[He,He]}),n})();class SV{constructor(e,t,i,r=!1){this._renderer=e,this.element=t,this.config=i,this._animationForciblyDisabledThroughCss=r,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const SC=no({passive:!0,capture:!0});class IV{constructor(){this._events=new Map,this._delegateEventHandler=e=>{const t=Ih(e);t&&this._events.get(e.type)?.forEach((i,r)=>{(r===t||r.contains(t))&&i.forEach(o=>o.handleEvent(e))})}}addHandler(e,t,i,r){const o=this._events.get(t);if(o){const s=o.get(i);s?s.add(r):o.set(i,new Set([r]))}else this._events.set(t,new Map([[i,new Set([r])]])),e.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,SC)})}removeHandler(e,t,i){const r=this._events.get(e);if(!r)return;const o=r.get(t);o&&(o.delete(i),0===o.size&&r.delete(t),0===r.size&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,SC)))}}const IC={enterDuration:225,exitDuration:150},TC=no({passive:!0,capture:!0}),AC=["mousedown","touchstart"],RC=["mouseup","mouseleave","touchend","touchcancel"];class Kl{constructor(e,t,i,r){this._target=e,this._ngZone=t,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Rh(i))}fadeInRipple(e,t,i={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...IC,...i.animation};i.centered&&(e=r.left+r.width/2,t=r.top+r.height/2);const s=i.radius||function AV(n,e,t){const i=Math.max(Math.abs(n-t.left),Math.abs(n-t.right)),r=Math.max(Math.abs(e-t.top),Math.abs(e-t.bottom));return Math.sqrt(i*i+r*r)}(e,t,r),a=e-r.left,l=t-r.top,c=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=a-s+"px",d.style.top=l-s+"px",d.style.height=2*s+"px",d.style.width=2*s+"px",null!=i.color&&(d.style.backgroundColor=i.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);const u=window.getComputedStyle(d),p=u.transitionDuration,g="none"===u.transitionProperty||"0s"===p||"0s, 0s"===p||0===r.width&&0===r.height,_=new SV(this,d,i,g);d.style.transform="scale3d(1, 1, 1)",_.state=0,i.persistent||(this._mostRecentTransientRipple=_);let y=null;return!g&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const C=()=>this._finishRippleTransition(_),S=()=>this._destroyRipple(_);d.addEventListener("transitionend",C),d.addEventListener("transitioncancel",S),y={onTransitionEnd:C,onTransitionCancel:S}}),this._activeRipples.set(_,y),(g||!c)&&this._finishRippleTransition(_),_}fadeOutRipple(e){if(2===e.state||3===e.state)return;const t=e.element,i={...IC,...e.config.animation};t.style.transitionDuration=`${i.exitDuration}ms`,t.style.opacity="0",e.state=2,(e._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(e)}fadeOutAll(){this._getActiveRipples().forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){const t=Rh(e);!this._platform.isBrowser||!t||t===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=t,AC.forEach(i=>{Kl._eventManager.addHandler(this._ngZone,i,t,this)}))}handleEvent(e){"mousedown"===e.type?this._onMousedown(e):"touchstart"===e.type?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{RC.forEach(t=>{this._triggerElement.addEventListener(t,this,TC)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){0===e.state?this._startFadeOutTransition(e):2===e.state&&this._destroyRipple(e)}_startFadeOutTransition(e){const t=e===this._mostRecentTransientRipple,{persistent:i}=e.config;e.state=1,!i&&(!t||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){const t=this._activeRipples.get(e)??null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=3,null!==t&&(e.element.removeEventListener("transitionend",t.onTransitionEnd),e.element.removeEventListener("transitioncancel",t.onTransitionCancel)),e.element.remove()}_onMousedown(e){const t=function gV(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}(e),i=this._lastTouchStartEvent&&Date.now(){!e.config.persistent&&(1===e.state||e.config.terminateOnPointerUp&&0===e.state)&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const e=this._triggerElement;e&&(AC.forEach(t=>Kl._eventManager.removeHandler(t,e,this)),this._pointerUpEventsRegistered&&RC.forEach(t=>e.removeEventListener(t,this,TC)))}}Kl._eventManager=new IV;let FC=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=me({type:n}),n.\u0275inj=he({imports:[He,He]}),n})();const RV=["*"],NV=new I("MAT_CARD_CONFIG");let OC=(()=>{class n{constructor(t){this.appearance=t?.appearance||"raised"}}return n.\u0275fac=function(t){return new(t||n)(D(NV,8))},n.\u0275cmp=wt({type:n,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(t,i){2&t&&Ni("mat-mdc-card-outlined","outlined"===i.appearance)("mdc-card--outlined","outlined"===i.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:RV,decls:1,vars:0,template:function(t,i){1&t&&(Pi(),tn(0))},styles:['.mdc-card{display:flex;flex-direction:column;box-sizing:border-box}.mdc-card::after{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none;pointer-events:none}@media screen and (forced-colors: active){.mdc-card::after{border-color:CanvasText}}.mdc-card--outlined::after{border:none}.mdc-card__content{border-radius:inherit;height:100%}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__media--square::before{margin-top:100%}.mdc-card__media--16-9::before{margin-top:56.25%}.mdc-card__media-content{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box}.mdc-card__primary-action{display:flex;flex-direction:column;box-sizing:border-box;position:relative;outline:none;color:inherit;text-decoration:none;cursor:pointer;overflow:hidden}.mdc-card__primary-action:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__primary-action:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mdc-card__actions--full-bleed{padding:0}.mdc-card__action-buttons,.mdc-card__action-icons{display:flex;flex-direction:row;align-items:center;box-sizing:border-box}.mdc-card__action-icons{flex-grow:1;justify-content:flex-end}.mdc-card__action-buttons+.mdc-card__action-icons{margin-left:16px;margin-right:0}[dir=rtl] .mdc-card__action-buttons+.mdc-card__action-icons,.mdc-card__action-buttons+.mdc-card__action-icons[dir=rtl]{margin-left:0;margin-right:16px}.mdc-card__action{display:inline-flex;flex-direction:row;align-items:center;box-sizing:border-box;justify-content:center;cursor:pointer;user-select:none}.mdc-card__action:focus{outline:none}.mdc-card__action--button{margin-left:0;margin-right:8px;padding:0 8px}[dir=rtl] .mdc-card__action--button,.mdc-card__action--button[dir=rtl]{margin-left:8px;margin-right:0}.mdc-card__action--button:last-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-card__action--button:last-child,.mdc-card__action--button:last-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-card__actions--full-bleed .mdc-card__action--button{justify-content:space-between;width:100%;height:auto;max-height:none;margin:0;padding:8px 16px;text-align:left}[dir=rtl] .mdc-card__actions--full-bleed .mdc-card__action--button,.mdc-card__actions--full-bleed .mdc-card__action--button[dir=rtl]{text-align:right}.mdc-card__action--icon{margin:-6px 0;padding:12px}.mat-mdc-card{position:relative;border-radius:var(--mdc-elevated-card-container-shape, var(--mdc-shape-medium, 4px));background-color:var(--mdc-elevated-card-container-color, transparent);border-width:0;border-style:solid;border-color:var(--mdc-elevated-card-container-color, transparent)}.mat-mdc-card .mdc-card::after{border-radius:var(--mdc-elevated-card-container-shape, var(--mdc-shape-medium, 4px))}.mat-mdc-card-outlined{border-width:var(--mdc-outlined-card-outline-width, 1px);border-style:solid;border-color:var(--mdc-outlined-card-outline-color, transparent)}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0}),n})(),PC=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=k({type:n,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]}),n})(),kC=(()=>{class n{constructor(){this.align="start"}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=k({type:n,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(t,i){2&t&&Ni("mat-mdc-card-actions-align-end","end"===i.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),n})(),NC=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=k({type:n,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-mdc-card-image","mdc-card__media"]}),n})(),qV=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=me({type:n}),n.\u0275inj=he({imports:[He,hl,He]}),n})();const LC=["*"];class KV{constructor(){this.columnIndex=0,this.rowIndex=0}get rowCount(){return this.rowIndex+1}get rowspan(){const e=Math.max(...this.tracker);return e>1?this.rowCount+e-1:this.rowCount}update(e,t){this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(e),this.tracker.fill(0,0,this.tracker.length),this.positions=t.map(i=>this._trackTile(i))}_trackTile(e){const t=this._findMatchingGap(e.colspan);return this._markTilePosition(t,e),this.columnIndex=t+e.colspan,new ZV(this.rowIndex,t)}_findMatchingGap(e){let t=-1,i=-1;do{this.columnIndex+e>this.tracker.length?(this._nextRow(),t=this.tracker.indexOf(0,this.columnIndex),i=this._findGapEndIndex(t)):(t=this.tracker.indexOf(0,this.columnIndex),-1!=t?(i=this._findGapEndIndex(t),this.columnIndex=t+1):(this._nextRow(),t=this.tracker.indexOf(0,this.columnIndex),i=this._findGapEndIndex(t)))}while(i-t{class n{constructor(t,i){this._element=t,this._gridList=i,this._rowspan=1,this._colspan=1}get rowspan(){return this._rowspan}set rowspan(t){this._rowspan=Math.round(Ah(t))}get colspan(){return this._colspan}set colspan(t){this._colspan=Math.round(Ah(t))}_setStyle(t,i){this._element.nativeElement.style[t]=i}}return n.\u0275fac=function(t){return new(t||n)(D(Pe),D(VC,8))},n.\u0275cmp=wt({type:n,selectors:[["mat-grid-tile"]],hostAttrs:[1,"mat-grid-tile"],hostVars:2,hostBindings:function(t,i){2&t&&Ut("rowspan",i.rowspan)("colspan",i.colspan)},inputs:{rowspan:"rowspan",colspan:"colspan"},exportAs:["matGridTile"],ngContentSelectors:LC,decls:2,vars:0,consts:[[1,"mat-grid-tile-content"]],template:function(t,i){1&t&&(Pi(),h(0,"div",0),tn(1),m())},styles:[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}"],encapsulation:2,changeDetection:0}),n})();const XV=/^-?\d+((\.\d+)?[A-Za-z%$]?)+$/;class Nh{constructor(){this._rows=0,this._rowspan=0}init(e,t,i,r){this._gutterSize=jC(e),this._rows=t.rowCount,this._rowspan=t.rowspan,this._cols=i,this._direction=r}getBaseTileSize(e,t){return`(${e}% - (${this._gutterSize} * ${t}))`}getTilePosition(e,t){return 0===t?"0":zi(`(${e} + ${this._gutterSize}) * ${t}`)}getTileSize(e,t){return`(${e} * ${t}) + (${t-1} * ${this._gutterSize})`}setStyle(e,t,i){let r=100/this._cols,o=(this._cols-1)/this._cols;this.setColStyles(e,i,r,o),this.setRowStyles(e,t,r,o)}setColStyles(e,t,i,r){let o=this.getBaseTileSize(i,r);e._setStyle("rtl"===this._direction?"right":"left",this.getTilePosition(o,t)),e._setStyle("width",zi(this.getTileSize(o,e.colspan)))}getGutterSpan(){return`${this._gutterSize} * (${this._rowspan} - 1)`}getTileSpan(e){return`${this._rowspan} * ${this.getTileSize(e,1)}`}getComputedHeight(){return null}}class QV extends Nh{constructor(e){super(),this.fixedRowHeight=e}init(e,t,i,r){super.init(e,t,i,r),this.fixedRowHeight=jC(this.fixedRowHeight),XV.test(this.fixedRowHeight)}setRowStyles(e,t){e._setStyle("top",this.getTilePosition(this.fixedRowHeight,t)),e._setStyle("height",zi(this.getTileSize(this.fixedRowHeight,e.rowspan)))}getComputedHeight(){return["height",zi(`${this.getTileSpan(this.fixedRowHeight)} + ${this.getGutterSpan()}`)]}reset(e){e._setListStyle(["height",null]),e._tiles&&e._tiles.forEach(t=>{t._setStyle("top",null),t._setStyle("height",null)})}}class JV extends Nh{constructor(e){super(),this._parseRatio(e)}setRowStyles(e,t,i,r){this.baseTileHeight=this.getBaseTileSize(i/this.rowHeightRatio,r),e._setStyle("marginTop",this.getTilePosition(this.baseTileHeight,t)),e._setStyle("paddingTop",zi(this.getTileSize(this.baseTileHeight,e.rowspan)))}getComputedHeight(){return["paddingBottom",zi(`${this.getTileSpan(this.baseTileHeight)} + ${this.getGutterSpan()}`)]}reset(e){e._setListStyle(["paddingBottom",null]),e._tiles.forEach(t=>{t._setStyle("marginTop",null),t._setStyle("paddingTop",null)})}_parseRatio(e){const t=e.split(":");this.rowHeightRatio=parseFloat(t[0])/parseFloat(t[1])}}class eB extends Nh{setRowStyles(e,t){let o=this.getBaseTileSize(100/this._rowspan,(this._rows-1)/this._rows);e._setStyle("top",this.getTilePosition(o,t)),e._setStyle("height",zi(this.getTileSize(o,e.rowspan)))}reset(e){e._tiles&&e._tiles.forEach(t=>{t._setStyle("top",null),t._setStyle("height",null)})}}function zi(n){return`calc(${n})`}function jC(n){return n.match(/([A-Za-z%]+)$/)?n:`${n}px`}let nB=(()=>{class n{constructor(t,i){this._element=t,this._dir=i,this._gutter="1px"}get cols(){return this._cols}set cols(t){this._cols=Math.max(1,Math.round(Ah(t)))}get gutterSize(){return this._gutter}set gutterSize(t){this._gutter=`${t??""}`}get rowHeight(){return this._rowHeight}set rowHeight(t){const i=`${t??""}`;i!==this._rowHeight&&(this._rowHeight=i,this._setTileStyler(this._rowHeight))}ngOnInit(){this._checkCols(),this._checkRowHeight()}ngAfterContentChecked(){this._layoutTiles()}_checkCols(){}_checkRowHeight(){this._rowHeight||this._setTileStyler("1:1")}_setTileStyler(t){this._tileStyler&&this._tileStyler.reset(this),this._tileStyler="fit"===t?new eB:t&&t.indexOf(":")>-1?new JV(t):new QV(t)}_layoutTiles(){this._tileCoordinator||(this._tileCoordinator=new KV);const t=this._tileCoordinator,i=this._tiles.filter(o=>!o._gridList||o._gridList===this),r=this._dir?this._dir.value:"ltr";this._tileCoordinator.update(this.cols,i),this._tileStyler.init(this.gutterSize,t,this.cols,r),i.forEach((o,s)=>{const a=t.positions[s];this._tileStyler.setStyle(o,a.row,a.col)}),this._setListStyle(this._tileStyler.getComputedHeight())}_setListStyle(t){t&&(this._element.nativeElement.style[t[0]]=t[1])}}return n.\u0275fac=function(t){return new(t||n)(D(Pe),D(xs,8))},n.\u0275cmp=wt({type:n,selectors:[["mat-grid-list"]],contentQueries:function(t,i,r){if(1&t&&function Qu(n,e,t,i){const r=ne();if(r.firstCreatePass){const o=Ze();ub(r,new ab(e,t,i),o.index),function RF(n,e){const t=n.contentQueries||(n.contentQueries=[]);e!==(t.length?t[t.length-1]:-1)&&t.push(n.queries.length-1,e)}(r,n),2==(2&t)&&(r.staticContentQueries=!0)}db(r,E(),t)}(r,BC,5),2&t){let o;Wa(o=qa())&&(i._tiles=o)}},hostAttrs:[1,"mat-grid-list"],hostVars:1,hostBindings:function(t,i){2&t&&Ut("cols",i.cols)},inputs:{cols:"cols",gutterSize:"gutterSize",rowHeight:"rowHeight"},exportAs:["matGridList"],features:[be([{provide:VC,useExisting:n}])],ngContentSelectors:LC,decls:2,vars:0,template:function(t,i){1&t&&(Pi(),h(0,"div"),tn(1),m())},styles:[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}"],encapsulation:2,changeDetection:0}),n})(),iB=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=me({type:n}),n.\u0275inj=he({imports:[EC,He,EC,He]}),n})(),rB=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=wt({type:n,selectors:[["app-inicio"]],decls:644,vars:0,consts:[["cols","5",1,"grid-container"],[1,"products-dock-header"],[1,"products-dock-title"],["href","/vermais.html",1,"btn__primary","btn__small"],[1,"products-dock-subtitle"],["appearance","outlined",1,"game-card"],["mat-card-image","","src","assets/img/games/lancamentos/dragon-ball-sparking-zero.jpg","title","Dragon Ball Sparking! Zero","alt","Dragon Ball Sparking Zero"],["title","Dragon Ball Sparking! Zero",1,"single-line-name"],["title","Desconto",1,"desconto"],["title","Comprar",1,"product-button"],[1,"add-favoritos"],["href",""],["src","assets/img/icones/icone-favoritos.png","title","Favoritos","alt","icone-favoritos"],["mat-card-image","","src","assets/img/games/lancamentos/god-of-war-ragnarok.jpg","title","God of War Ragnarok","alt","God of War Ragnarok"],["title","God of War Ragnarok",1,"single-line-name"],["mat-card-image","","src","assets/img/games/lancamentos/metaphor-refantazio.jpg","title","Metaphor ReFantazio","alt","Metaphor ReFantazio"],["title","Metaphor ReFantazio",1,"single-line-name"],["mat-card-image","","src","assets/img/games/lancamentos/silent-hill-2.jpg","title","Silent Hill 2","alt","Silent Hill 2"],["title","Silent Hill 2",1,"single-line-name"],["mat-card-image","","src","assets/img/games/lancamentos/sonic-shadow-generation.jpg","title","Sonic X Shadow Generation","alt","Sonic X Shadow Generation"],["title","Sonic Shadow Generation",1,"single-line-name"],["mat-card-image","","src","assets/img/games/ofertas-especiais/mortal-kombat-1.jpg","title","Mortal Kombat 1","alt","Mortal Kombat 1"],["title","Mortal Kombat 1",1,"single-line-name"],["mat-card-image","","src","assets/img/games/ofertas-especiais/tekken-8.jpg","title","Tekken 8","alt","Tekken 8"],["title","Tekken 8",1,"single-line-name"],["mat-card-image","","src","assets/img/games/ofertas-especiais/soulcalibur-vi.jpg","title","Soulcalibur VI","alt","Soulcalibur VI"],["title","Soulcalibur VI",1,"single-line-name"],["mat-card-image","","src","assets/img/games/ofertas-especiais/jujutsu-kaisen-cursed-clash.jpg","title","Jujutsu Kaisen Cursed Clash","alt","Jujutsu Kaisen Cursed Clash"],["title","Jujutsu Kaisen Cursed Clash",1,"single-line-name"],["mat-card-image","","src","assets/img/games/ofertas-especiais/dragonball-fighter-z.jpg","title","Dragon Ball Fighter Z","alt","Dragon Ball Fighter Z"],["title","Dragon Ball Fighter Z",1,"single-line-name"],["id","section-banner",1,"container","grid-container"],["id","carouselExampleAutoplaying-1","data-bs-ride","carousel",1,"carousel","slide"],[1,"carousel-inner"],[1,"carousel-item","active"],["src","assets/img/banners/dying-light.jpg","alt","Banner Dying Light",1,"d-block","w-100"],[1,"carousel-item"],["src","assets/img/banners/manor-lords.jpg","alt","Banner Manor Lords",1,"d-block","w-100"],["src","assets/img/banners/mortal-kombat-11.jpg","alt","Banner Mortal Kombat 11",1,"d-block","w-100"],["type","button","data-bs-target","#carouselExampleAutoplaying-1","data-bs-slide","prev",1,"carousel-control-prev"],["aria-hidden","true",1,"carousel-control-prev-icon"],[1,"visually-hidden"],["type","button","data-bs-target","#carouselExampleAutoplaying-1","data-bs-slide","next",1,"carousel-control-next"],["aria-hidden","true",1,"carousel-control-next-icon"],["mat-card-image","","src","assets/img/games/from-software/elden-ring.jpg","title","Elden Ring","alt","Elden Ring"],["title","Elden Ring",1,"single-line-name"],["mat-card-image","","src","assets/img/games/from-software/sekiro-shadows-die-twice.jpg","title","Sekiro Shadows Die Twice","alt","Sekiro Shadows Die Twice"],["title","Sekiro Shadows Die Twice",1,"single-line-name"],["mat-card-image","","src","assets/img/games/from-software/dark-souls-III.jpg","title","Dark Souls III","alt","Dark Souls III"],["title","Dark Souls III",1,"single-line-name"],["mat-card-image","","src","assets/img/games/from-software/boodborne.jpeg","title","Boodborne","alt","Boodborne"],["title","Boodborne",1,"single-line-name"],["mat-card-image","","src","assets/img/games/from-software/demons-souls.png","title","Demon's Souls","alt","Demon's Souls"],["title","Demon's Souls",1,"single-line-name"],["mat-card-image","","src","assets/img/games/ubisoft/assassins-creed-valhalla.jpg","title","Assassin's Creed Valhalla","alt","Assassin's Creed Valhalla"],["title","Assassin's Creed Valhalla",1,"single-line-name"],["mat-card-image","","src","assets/img/games/ubisoft/far-cry-6.jpg","title","Far Cry 6","alt","Far Cry 6"],["title","Far Cry 6",1,"single-line-name"],["mat-card-image","","src","assets/img/games/ubisoft/watch-dogs-2.jpg","title","Watch Dogs 2","alt","Watch Dogs 2"],["title","Watch Dogs 2",1,"single-line-name"],["mat-card-image","","src","assets/img/games/ubisoft/rainbow-six-siege.jpg","title","Rainbow Six Siege","alt","Rainbow Six Siege"],["title","Rainbow Six Siege",1,"single-line-name"],["mat-card-image","","src","assets/img/games/ubisoft/tom-clancys-ghost-recon.jpg","title","Ghost Recon Wildlands","alt","Ghost Recon Wildlands"],["title","Ghost Recon Wildlands",1,"single-line-name"],["id","carouselExampleAutoplaying-2","data-bs-ride","carousel",1,"carousel","slide"],["src","assets/img/banners/hotline-miami.jpg","alt","Banner Dying Light",1,"d-block","w-100"],["src","assets/img/banners/manager-24.jpg","alt","Banner Manor Lords",1,"d-block","w-100"],["src","assets/img/banners/mullet-mad-jack.jpg","alt","Banner Mortal Kombat 11",1,"d-block","w-100"],["type","button","data-bs-target","#carouselExampleAutoplaying-2","data-bs-slide","prev",1,"carousel-control-prev"],["type","button","data-bs-target","#carouselExampleAutoplaying-2","data-bs-slide","next",1,"carousel-control-next"],["mat-card-image","","src","assets/img/games/capcom/resident-evil-4.jpg","title","Resident Evil 4","alt","Resident Evil 4"],["title","Resident Evil 4",1,"single-line-name"],["mat-card-image","","src","assets/img/games/capcom/monster-hunter-rise.jpg","title","Monster Hunter Rise","alt","Monster Hunter Rise"],["title","Monster Hunter Rise",1,"single-line-name"],["mat-card-image","","src","assets/img/games/capcom/devil-may-cry-5.jpg","title","Devil May Cry 5","alt","Devil May Cry 5"],["title","Devil May Cry 5",1,"single-line-name"],["mat-card-image","","src","assets/img/games/capcom/street-fighter-v.jpg","title","Street Fighter V","alt","Street Fighter V"],["title","Street Fighter V",1,"single-line-name"],["mat-card-image","","src","assets/img/games/capcom/dragons-dogma-2.jpg","title","Dragon's Dogma 2","alt","Dragon's Dogma 2"],["title","Dragon's Dogma 2",1,"single-line-name"],["mat-card-image","","src","assets/img/games/warner/lego-star-wars.jpg","title","LEGO Star Wars: The Sky Walker Saga","alt","LEGO Star Wars: The Sky Walker Saga"],["title","LEGO Star Wars: The Sky Walker Saga",1,"single-line-name"],["mat-card-image","","src","assets/img/games/warner/back-for-blood.jpg","title","Back for Blood","alt","Back for Blood"],["title","Back for Blood",1,"single-line-name"],["mat-card-image","","src","assets/img/games/warner/mortal-kombat-11.jpg","title","Mortal Kombat 11","alt","Mortal Kombat 11"],["title","Mortal Kombat 11",1,"single-line-name"],["mat-card-image","","src","assets/img/games/warner/injustice-gods-among-us.jpg","title","Injustice: Gods Among Us","alt","Injustice: Gods Among Us"],["title","Injustice: Gods Among Us",1,"single-line-name"],["mat-card-image","","src","assets/img/games/warner/batman.jpg","title","Batman Arkham Collection","alt","Batman Arkham Collection"],["title","Batman Arkham Collection",1,"single-line-name"],["id","carouselExampleAutoplaying-3","data-bs-ride","carousel",1,"carousel","slide"],["type","button","data-bs-target","#carouselExampleAutoplaying-3","data-bs-slide","prev",1,"carousel-control-prev"],["type","button","data-bs-target","#carouselExampleAutoplaying-3","data-bs-slide","next",1,"carousel-control-next"],["mat-card-image","","src","assets/img/games/devolver/carrion.jpg","title","Carrion","alt","Carrion"],["title","Carrion",1,"single-line-name"],["mat-card-image","","src","assets/img/games/devolver/gato-roboto.jpg","title","Gato Roboto","alt","Gato Roboto"],["title","Gato Roboto",1,"single-line-name"],["mat-card-image","","src","assets/img/games/devolver/the-messenger.jpg","title","The Messenger","alt","The Messenger"],["title","The Messenger",1,"single-line-name"],["mat-card-image","","src","assets/img/games/devolver/gunbrella.jpg","title","Gunbrella","alt","Gunbrella"],["title","Gunbrella",1,"single-line-name"],["mat-card-image","","src","assets/img/games/devolver/death's-door.jpg","title","Death's Door","alt","Death's Door"],["title","Death's Door",1,"single-line-name"],["mat-card-image","","src","assets/img/games/ofertas-da-semana/cataclismo.jpg","title","Cataclismo","alt","Cataclismo"],["title","Cataclismo",1,"single-line-name"],["mat-card-image","","src","assets/img/games/ofertas-da-semana/deadlink.jpg","title","Deadlink","alt","Deadlink"],["title","Deadlink",1,"single-line-name"],["mat-card-image","","src","assets/img/games/ofertas-da-semana/zelter.jpg","title","Zelter","alt","Zelter"],["title","Zelter",1,"single-line-name"],["mat-card-image","","src","assets/img/games/ofertas-da-semana/deflector.jpg","title","Deflector","alt","Deflector"],["title","Deflector",1,"single-line-name"],["mat-card-image","","src","assets/img/games/ofertas-da-semana/thought-experiment-simulator.jpg","title","Thought Experiment Simulator","alt","Thought Experiment Simulator"],["title","Thought Experiment Simulator",1,"single-line-name"]],template:function(i,r){1&i&&(h(0,"main")(1,"mat-grid-list",0)(2,"header",1)(3,"div")(4,"h2",2),v(5,"Lan\xe7amentos"),m(),h(6,"a",3),v(7,"Ver mais"),m()(),h(8,"h3",4),v(9,"Aproveite os \xfaltimos lan\xe7amentos!"),m()(),h(10,"mat-grid-tile")(11,"mat-card",5),x(12,"img",6),h(13,"mat-card-title",7),v(14,"Dragon Ball Sparking! Zero"),m(),h(15,"mat-card-actions")(16,"span",8),v(17,"-10%"),m(),h(18,"button",9),v(19,"R$ 255,99"),m(),h(20,"span",10)(21,"a",11),x(22,"img",12),m()()()()(),h(23,"mat-grid-tile")(24,"mat-card",5),x(25,"img",13),h(26,"mat-card-title",14),v(27,"God of War Ragnarok"),m(),h(28,"mat-card-actions")(29,"span",8),v(30,"-20%"),m(),h(31,"button",9),v(32,"R$ 190,99"),m(),h(33,"span",10)(34,"a",11),x(35,"img",12),m()()()()(),h(36,"mat-grid-tile")(37,"mat-card",5),x(38,"img",15),h(39,"mat-card-title",16),v(40,"Metaphor ReFantazio"),m(),h(41,"mat-card-actions")(42,"span",8),v(43,"-10%"),m(),h(44,"button",9),v(45,"R$ 140,99"),m(),h(46,"span",10)(47,"a",11),x(48,"img",12),m()()()()(),h(49,"mat-grid-tile")(50,"mat-card",5),x(51,"img",17),h(52,"mat-card-title",18),v(53,"Silent Hill 2"),m(),h(54,"mat-card-actions")(55,"span",8),v(56,"-15%"),m(),h(57,"button",9),v(58,"R$ 366,90"),m(),h(59,"span",10)(60,"a",11),x(61,"img",12),m()()()()(),h(62,"mat-grid-tile")(63,"mat-card",5),x(64,"img",19),h(65,"mat-card-title",20),v(66,"Sonic X Shadow Generation"),m(),h(67,"mat-card-actions")(68,"span",8),v(69,"-10%"),m(),h(70,"button",9),v(71,"R$ 300,00"),m(),h(72,"span",10)(73,"a",11),x(74,"img",12),m()()()()()(),h(75,"mat-grid-list",0)(76,"header",1)(77,"div")(78,"h2",2),v(79,"Ofertas Especiais"),m(),h(80,"a",3),v(81,"Ver mais"),m()(),h(82,"h3",4),v(83,"Aproveite os nossos descontos!"),m()(),h(84,"mat-grid-tile")(85,"mat-card",5),x(86,"img",21),h(87,"mat-card-title",22),v(88,"Mortal Kombat 1"),m(),h(89,"mat-card-actions")(90,"span",8),v(91,"-65%"),m(),h(92,"button",9),v(93,"R$ 97,99"),m(),h(94,"span",10)(95,"a",11),x(96,"img",12),m()()()()(),h(97,"mat-grid-tile")(98,"mat-card",5),x(99,"img",23),h(100,"mat-card-title",24),v(101,"Tekken 8"),m(),h(102,"mat-card-actions")(103,"span",8),v(104,"-20%"),m(),h(105,"button",9),v(106,"R$ 269,99"),m(),h(107,"span",10)(108,"a",11),x(109,"img",12),m()()()()(),h(110,"mat-grid-tile")(111,"mat-card",5),x(112,"img",25),h(113,"mat-card-title",26),v(114,"Soulcalibur VI"),m(),h(115,"mat-card-actions")(116,"span",8),v(117,"-30%"),m(),h(118,"button",9),v(119,"R$ 160,99"),m(),h(120,"span",10)(121,"a",11),x(122,"img",12),m()()()()(),h(123,"mat-grid-tile")(124,"mat-card",5),x(125,"img",27),h(126,"mat-card-title",28),v(127,"Jujutsu Kaisen Cursed Clash"),m(),h(128,"mat-card-actions")(129,"span",8),v(130,"-15%"),m(),h(131,"button",9),v(132,"R$ 396,90"),m(),h(133,"span",10)(134,"a",11),x(135,"img",12),m()()()()(),h(136,"mat-grid-tile")(137,"mat-card",5),x(138,"img",29),h(139,"mat-card-title",30),v(140,"Dragon Ball Fighter Z"),m(),h(141,"mat-card-actions")(142,"span",8),v(143,"-10%"),m(),h(144,"button",9),v(145,"R$ 300,00"),m(),h(146,"span",10)(147,"a",11),x(148,"img",12),m()()()()()(),h(149,"section",31)(150,"div",32)(151,"div",33)(152,"div",34),x(153,"img",35),m(),h(154,"div",36),x(155,"img",37),m(),h(156,"div",36),x(157,"img",38),m()(),h(158,"button",39),x(159,"span",40),h(160,"span",41),v(161,"Previous"),m()(),h(162,"button",42),x(163,"span",43),h(164,"span",41),v(165,"Next"),m()()()(),h(166,"mat-grid-list",0)(167,"header",1)(168,"div")(169,"h2",2),v(170,"From Software"),m(),h(171,"a",3),v(172,"Ver mais"),m()(),h(173,"h3",4),v(174,"Desfrute do melhor do soulslike!"),m()(),h(175,"mat-grid-tile")(176,"mat-card",5),x(177,"img",44),h(178,"mat-card-title",45),v(179,"Elden Ring"),m(),h(180,"mat-card-actions")(181,"span",8),v(182,"-10%"),m(),h(183,"button",9),v(184,"R$ 255,99"),m(),h(185,"span",10)(186,"a",11),x(187,"img",12),m()()()()(),h(188,"mat-grid-tile")(189,"mat-card",5),x(190,"img",46),h(191,"mat-card-title",47),v(192,"Sekiro Shadows Die Twice"),m(),h(193,"mat-card-actions")(194,"span",8),v(195,"-20%"),m(),h(196,"button",9),v(197,"R$ 180,89"),m(),h(198,"span",10)(199,"a",11),x(200,"img",12),m()()()()(),h(201,"mat-grid-tile")(202,"mat-card",5),x(203,"img",48),h(204,"mat-card-title",49),v(205,"Dark Souls III"),m(),h(206,"mat-card-actions")(207,"span",8),v(208,"-4%"),m(),h(209,"button",9),v(210,"R$ 194,69"),m(),h(211,"span",10)(212,"a",11),x(213,"img",12),m()()()()(),h(214,"mat-grid-tile")(215,"mat-card",5),x(216,"img",50),h(217,"mat-card-title",51),v(218,"Boodborne"),m(),h(219,"mat-card-actions")(220,"span",8),v(221,"-15%"),m(),h(222,"button",9),v(223,"R$ 166,90"),m(),h(224,"span",10)(225,"a",11),x(226,"img",12),m()()()()(),h(227,"mat-grid-tile")(228,"mat-card",5),x(229,"img",52),h(230,"mat-card-title",53),v(231,"Demon's Souls"),m(),h(232,"mat-card-actions")(233,"span",8),v(234,"-30%"),m(),h(235,"button",9),v(236,"R$ 140,99"),m(),h(237,"span",10)(238,"a",11),x(239,"img",12),m()()()()()(),h(240,"mat-grid-list",0)(241,"header",1)(242,"div")(243,"h2",2),v(244,"Ubisoft"),m(),h(245,"a",3),v(246,"Ver mais"),m()(),h(247,"h3",4),v(248,"Jogos com at\xe9 80% de desconto!"),m()(),h(249,"mat-grid-tile")(250,"mat-card",5),x(251,"img",54),h(252,"mat-card-title",55),v(253,"Assassin's Creed Valhalla"),m(),h(254,"mat-card-actions")(255,"span",8),v(256,"-20%"),m(),h(257,"button",9),v(258,"R$ 159,99"),m(),h(259,"span",10)(260,"a",11),x(261,"img",12),m()()()()(),h(262,"mat-grid-tile")(263,"mat-card",5),x(264,"img",56),h(265,"mat-card-title",57),v(266,"Far Cry 6"),m(),h(267,"mat-card-actions")(268,"span",8),v(269,"-30%"),m(),h(270,"button",9),v(271,"R$ 139,99"),m(),h(272,"span",10)(273,"a",11),x(274,"img",12),m()()()()(),h(275,"mat-grid-tile")(276,"mat-card",5),x(277,"img",58),h(278,"mat-card-title",59),v(279,"Watch Dogs 2"),m(),h(280,"mat-card-actions")(281,"span",8),v(282,"-40%"),m(),h(283,"button",9),v(284,"R$ 119,99"),m(),h(285,"span",10)(286,"a",11),x(287,"img",12),m()()()()(),h(288,"mat-grid-tile")(289,"mat-card",5),x(290,"img",60),h(291,"mat-card-title",61),v(292,"Rainbow Six Siege"),m(),h(293,"mat-card-actions")(294,"span",8),v(295,"-80%"),m(),h(296,"button",9),v(297,"R$ 36,90"),m(),h(298,"span",10)(299,"a",11),x(300,"img",12),m()()()()(),h(301,"mat-grid-tile")(302,"mat-card",5),x(303,"img",62),h(304,"mat-card-title",63),v(305,"Ghost Recon Wildlands"),m(),h(306,"mat-card-actions")(307,"span",8),v(308,"-10%"),m(),h(309,"button",9),v(310,"R$ 300,00"),m(),h(311,"span",10)(312,"a",11),x(313,"img",12),m()()()()()(),h(314,"section",31)(315,"div",64)(316,"div",33)(317,"div",34),x(318,"img",65),m(),h(319,"div",36),x(320,"img",66),m(),h(321,"div",36),x(322,"img",67),m()(),h(323,"button",68),x(324,"span",40),h(325,"span",41),v(326,"Previous"),m()(),h(327,"button",69),x(328,"span",43),h(329,"span",41),v(330,"Next"),m()()()(),h(331,"mat-grid-list",0)(332,"header",1)(333,"div")(334,"h2",2),v(335,"Capcom"),m(),h(336,"a",3),v(337,"Ver mais"),m()(),h(338,"h3",4),v(339,"Jogos com at\xe9 70% de desconto!"),m()(),h(340,"mat-grid-tile")(341,"mat-card",5),x(342,"img",70),h(343,"mat-card-title",71),v(344,"Resident Evil 4"),m(),h(345,"mat-card-actions")(346,"span",8),v(347,"-30%"),m(),h(348,"button",9),v(349,"R$ 139,99"),m(),h(350,"span",10)(351,"a",11),x(352,"img",12),m()()()()(),h(353,"mat-grid-tile")(354,"mat-card",5),x(355,"img",72),h(356,"mat-card-title",73),v(357,"Monster Hunter Rise"),m(),h(358,"mat-card-actions")(359,"span",8),v(360,"-40%"),m(),h(361,"button",9),v(362,"R$ 119,99"),m(),h(363,"span",10)(364,"a",11),x(365,"img",12),m()()()()(),h(366,"mat-grid-tile")(367,"mat-card",5),x(368,"img",74),h(369,"mat-card-title",75),v(370,"Devil May Cry 5"),m(),h(371,"mat-card-actions")(372,"span",8),v(373,"-50%"),m(),h(374,"button",9),v(375,"R$ 99,99"),m(),h(376,"span",10)(377,"a",11),x(378,"img",12),m()()()()(),h(379,"mat-grid-tile")(380,"mat-card",5),x(381,"img",76),h(382,"mat-card-title",77),v(383,"Street Fighter V"),m(),h(384,"mat-card-actions")(385,"span",8),v(386,"-60%"),m(),h(387,"button",9),v(388,"R$ 79,99"),m(),h(389,"span",10)(390,"a",11),x(391,"img",12),m()()()()(),h(392,"mat-grid-tile")(393,"mat-card",5),x(394,"img",78),h(395,"mat-card-title",79),v(396,"Dragon's Dogma 2"),m(),h(397,"mat-card-actions")(398,"span",8),v(399,"-70%"),m(),h(400,"button",9),v(401,"R$ 59,99"),m(),h(402,"span",10)(403,"a",11),x(404,"img",12),m()()()()()(),h(405,"mat-grid-list",0)(406,"header",1)(407,"div")(408,"h2",2),v(409,"Warner"),m(),h(410,"a",3),v(411,"Ver mais"),m()(),h(412,"h3",4),v(413,"Jogos com at\xe9 90% de desconto!"),m()(),h(414,"mat-grid-tile")(415,"mat-card",5),x(416,"img",80),h(417,"mat-card-title",81),v(418,"LEGO Star Wars: The Sky Walker Saga"),m(),h(419,"mat-card-actions")(420,"span",8),v(421,"-10%"),m(),h(422,"button",9),v(423,"R$ 179,99"),m(),h(424,"span",10)(425,"a",11),x(426,"img",12),m()()()()(),h(427,"mat-grid-tile")(428,"mat-card",5),x(429,"img",82),h(430,"mat-card-title",83),v(431,"Back for Blood"),m(),h(432,"mat-card-actions")(433,"span",8),v(434,"-90%"),m(),h(435,"button",9),v(436,"R$ 37,99"),m(),h(437,"span",10)(438,"a",11),x(439,"img",12),m()()()()(),h(440,"mat-grid-tile")(441,"mat-card",5),x(442,"img",84),h(443,"mat-card-title",85),v(444,"Mortal Kombat 11"),m(),h(445,"mat-card-actions")(446,"span",8),v(447,"-80%"),m(),h(448,"button",9),v(449,"R$ 20,69"),m(),h(450,"span",10)(451,"a",11),x(452,"img",12),m()()()()(),h(453,"mat-grid-tile")(454,"mat-card",5),x(455,"img",86),h(456,"mat-card-title",87),v(457,"Injustice: Gods Among Us"),m(),h(458,"mat-card-actions")(459,"span",8),v(460,"-86%"),m(),h(461,"button",9),v(462,"R$ 12,99"),m(),h(463,"span",10)(464,"a",11),x(465,"img",12),m()()()()(),h(466,"mat-grid-tile")(467,"mat-card",5),x(468,"img",88),h(469,"mat-card-title",89),v(470,"Batman Arkham Collection"),m(),h(471,"mat-card-actions")(472,"span",8),v(473,"-90%"),m(),h(474,"button",9),v(475,"R$ 27,99"),m(),h(476,"span",10)(477,"a",11),x(478,"img",12),m()()()()()(),h(479,"section",31)(480,"div",90)(481,"div",33)(482,"div",34),x(483,"img",35),m(),h(484,"div",36),x(485,"img",37),m(),h(486,"div",36),x(487,"img",38),m()(),h(488,"button",91),x(489,"span",40),h(490,"span",41),v(491,"Previous"),m()(),h(492,"button",92),x(493,"span",43),h(494,"span",41),v(495,"Next"),m()()()(),h(496,"mat-grid-list",0)(497,"header",1)(498,"div")(499,"h2",2),v(500,"Devolver"),m(),h(501,"a",3),v(502,"Ver mais"),m()(),h(503,"h3",4),v(504,"Jogos com at\xe9 90% de desconto!"),m()(),h(505,"mat-grid-tile")(506,"mat-card",5),x(507,"img",93),h(508,"mat-card-title",94),v(509,"Carrion"),m(),h(510,"mat-card-actions")(511,"span",8),v(512,"-70%"),m(),h(513,"button",9),v(514,"R$ 11,99"),m(),h(515,"span",10)(516,"a",11),x(517,"img",12),m()()()()(),h(518,"mat-grid-tile")(519,"mat-card",5),x(520,"img",95),h(521,"mat-card-title",96),v(522,"Gato Roboto"),m(),h(523,"mat-card-actions")(524,"span",8),v(525,"-75%"),m(),h(526,"button",9),v(527,"R$ 6,99"),m(),h(528,"span",10)(529,"a",11),x(530,"img",12),m()()()()(),h(531,"mat-grid-tile")(532,"mat-card",5),x(533,"img",97),h(534,"mat-card-title",98),v(535,"The Messenger"),m(),h(536,"mat-card-actions")(537,"span",8),v(538,"-80%"),m(),h(539,"button",9),v(540,"R$ 7,69"),m(),h(541,"span",10)(542,"a",11),x(543,"img",12),m()()()()(),h(544,"mat-grid-tile")(545,"mat-card",5),x(546,"img",99),h(547,"mat-card-title",100),v(548,"Gunbrella"),m(),h(549,"mat-card-actions")(550,"span",8),v(551,"-85%"),m(),h(552,"button",9),v(553,"R$ 4,99"),m(),h(554,"span",10)(555,"a",11),x(556,"img",12),m()()()()(),h(557,"mat-grid-tile")(558,"mat-card",5),x(559,"img",101),h(560,"mat-card-title",102),v(561,"Death's Door"),m(),h(562,"mat-card-actions")(563,"span",8),v(564,"-75%"),m(),h(565,"button",9),v(566,"R$ 13,99"),m(),h(567,"span",10)(568,"a",11),x(569,"img",12),m()()()()()(),h(570,"mat-grid-list",0)(571,"header",1)(572,"div")(573,"h2",2),v(574,"Ofertas da Semana"),m(),h(575,"a",3),v(576,"Ver mais"),m()(),h(577,"h3",4),v(578,"Todas as nossas promo\xe7\xf5es em um s\xf3 lugar!"),m()(),h(579,"mat-grid-tile")(580,"mat-card",5),x(581,"img",103),h(582,"mat-card-title",104),v(583,"Cataclismo"),m(),h(584,"mat-card-actions")(585,"span",8),v(586,"-20%"),m(),h(587,"button",9),v(588,"R$ 66,99"),m(),h(589,"span",10)(590,"a",11),x(591,"img",12),m()()()()(),h(592,"mat-grid-tile")(593,"mat-card",5),x(594,"img",105),h(595,"mat-card-title",106),v(596,"Deadlink"),m(),h(597,"mat-card-actions")(598,"span",8),v(599,"-30%"),m(),h(600,"button",9),v(601,"R$ 51,99"),m(),h(602,"span",10)(603,"a",11),x(604,"img",12),m()()()()(),h(605,"mat-grid-tile")(606,"mat-card",5),x(607,"img",107),h(608,"mat-card-title",108),v(609,"Zelter"),m(),h(610,"mat-card-actions")(611,"span",8),v(612,"-40%"),m(),h(613,"button",9),v(614,"R$ 35,99"),m(),h(615,"span",10)(616,"a",11),x(617,"img",12),m()()()()(),h(618,"mat-grid-tile")(619,"mat-card",5),x(620,"img",109),h(621,"mat-card-title",110),v(622,"Deflector"),m(),h(623,"mat-card-actions")(624,"span",8),v(625,"-50%"),m(),h(626,"button",9),v(627,"R$ 29,99"),m(),h(628,"span",10)(629,"a",11),x(630,"img",12),m()()()()(),h(631,"mat-grid-tile")(632,"mat-card",5),x(633,"img",111),h(634,"mat-card-title",112),v(635,"Thought Experiment Simulator"),m(),h(636,"mat-card-actions")(637,"span",8),v(638,"-90%"),m(),h(639,"button",9),v(640,"R$ 27,99"),m(),h(641,"span",10)(642,"a",11),x(643,"img",12),m()()()()()()())},dependencies:[OC,kC,NC,PC,nB,BC],styles:["main[_ngcontent-%COMP%]{background-color:#21224e;font-family:Arial,sans-serif;padding:60px}.grid-container[_ngcontent-%COMP%]{max-width:1100px;margin-left:auto;margin-right:auto}.products-dock-header[_ngcontent-%COMP%]{background-color:#21224e;display:flex;flex-direction:column;align-items:flex-start;margin-left:10px;margin-right:10px;width:100%}.products-dock-header[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between;align-items:center}.products-dock-title[_ngcontent-%COMP%]{font-size:1.5rem;font-weight:700;color:#fff}.products-dock-subtitle[_ngcontent-%COMP%]{font-size:1.1rem;color:#fff;margin-top:5px}.btn__primary[_ngcontent-%COMP%]{background-color:#28a745;color:#fff;border:none;padding:5px 10px;cursor:pointer;text-decoration:none;border-radius:5px;font-size:1rem;margin-right:20px}.btn__primary[_ngcontent-%COMP%]:hover{background-color:#0056b3;transform:scale(1.05)}.game-card[_ngcontent-%COMP%]{max-width:200px;color:#fff;background-color:#1e1e1e}mat-card[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:auto;width:auto}mat-grid-list[_ngcontent-%COMP%]{margin:5px 0}mat-grid-title[_ngcontent-%COMP%]{padding:3px;border-radius:30px}matt-card-header[_ngcontent-%COMP%]{display:flex;align-items:flex-start}.single-line-name[_ngcontent-%COMP%]{margin-top:5px;margin-left:5px;margin-right:5px;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:1rem;color:#fff;max-width:100%;display:block;box-sizing:border-box}mat-card-actions[_ngcontent-%COMP%]{display:flex;justify-content:space-between}mat-card-actions[_ngcontent-%COMP%] .desconto[_ngcontent-%COMP%]{display:flex;align-items:center;background-color:red;color:#fff;padding:.2rem .4rem;border-radius:5px;font-size:.875rem;font-weight:700}.product-button[_ngcontent-%COMP%]{background-color:#28a745!important;color:#fff!important;border:none!important;padding:.3rem .6rem!important;border-radius:5px!important;cursor:pointer!important;font-weight:700!important;transition:background-color .3s ease!important}.product-button[_ngcontent-%COMP%]:hover{background-color:#0056b3!important}.add-favoritos[_ngcontent-%COMP%] a[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:30px;height:30px;cursor:pointer}.add-favoritos[_ngcontent-%COMP%] a[_ngcontent-%COMP%] img[_ngcontent-%COMP%]:hover{filter:brightness(.8)}.add-favoritos[_ngcontent-%COMP%] a[_ngcontent-%COMP%] img[_ngcontent-%COMP%]:hover{transform:scale(1.1)}#section-banner[_ngcontent-%COMP%]{margin-bottom:110px}"]})}return n})();const cB=!1,ot=new I("NgValidators"),pi=new I("NgAsyncValidators");function JC(n){return null!=n}function ew(n){const e=Bo(n)?Le(n):n;if(cB&&!Su(e)){let t="Expected async validator to return Promise or Observable.";throw"object"==typeof n&&(t+=" Are you using a synchronous validator where an async validator is expected?"),new w(-1101,t)}return e}function tw(n){let e={};return n.forEach(t=>{e=null!=t?{...e,...t}:e}),0===Object.keys(e).length?null:e}function nw(n,e){return e.map(t=>t(n))}function iw(n){return n.map(e=>function uB(n){return!n.validate}(e)?e:t=>e.validate(t))}function Vh(n){return null!=n?function rw(n){if(!n)return null;const e=n.filter(JC);return 0==e.length?null:function(t){return tw(nw(t,e))}}(iw(n)):null}function ow(n){if(!n)return null;const e=n.filter(JC);return 0==e.length?null:function(t){return function HC(...n){const e=gm(n),{args:t,keys:i}=tx(n),r=new _e(o=>{const{length:s}=t;if(!s)return void o.complete();const a=new Array(s);let l=s,c=s;for(let d=0;d{u||(u=!0,c--),a[d]=f},()=>l--,void 0,()=>{(!l||!u)&&(c||o.next(i?nx(i,a):a),o.complete())}))}});return e?r.pipe(Yf(e)):r}(nw(t,e).map(ew)).pipe($(tw))}}function Bh(n){return null!=n?ow(iw(n)):null}function sw(n,e){return null===n?[e]:Array.isArray(n)?[...n,e]:[n,e]}function jh(n){return n?Array.isArray(n)?n:[n]:[]}function Xl(n,e){return Array.isArray(n)?n.includes(e):n===e}function cw(n,e){const t=jh(e);return jh(n).forEach(r=>{Xl(t,r)||t.push(r)}),t}function dw(n,e){return jh(e).filter(t=>!Xl(n,t))}class uw{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(e){this._rawValidators=e||[],this._composedValidatorFn=Vh(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=Bh(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e){this.control&&this.control.reset(e)}hasError(e,t){return!!this.control&&this.control.hasError(e,t)}getError(e,t){return this.control?this.control.getError(e,t):null}}class ht extends uw{get formDirective(){return null}get path(){return null}}class fw{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Hh=(()=>{class n extends fw{constructor(t){super(t)}}return n.\u0275fac=function(t){return new(t||n)(D(ht,10))},n.\u0275dir=k({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,i){2&t&&Ni("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[de]}),n})();function hw(n,e){return n?`with name: '${e}'`:`at index: ${e}`}const zh=!1,Ds="VALID",Jl="INVALID",ro="PENDING",Ms="DISABLED";function ec(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}class gw{constructor(e,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===Ds}get invalid(){return this.status===Jl}get pending(){return this.status==ro}get disabled(){return this.status===Ms}get enabled(){return this.status!==Ms}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(cw(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(cw(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(dw(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(dw(e,this._rawAsyncValidators))}hasValidator(e){return Xl(this._rawValidators,e)}hasAsyncValidator(e){return Xl(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=ro,!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=Ms,this.errors=null,this._forEachChild(i=>{i.disable({...e,onlySelf:!0})}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...e,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!0))}enable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=Ds,this._forEachChild(i=>{i.enable({...e,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors({...e,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ds||this.status===ro)&&this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ms:Ds}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=ro,this._hasOwnPendingAsyncValidator=!0;const t=ew(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}get(e){let t=e;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((i,r)=>i&&i._find(r),this)}getError(e,t){const i=t?this.get(t):this;return i&&i.errors?i.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new Ee,this.statusChanges=new Ee}_calculateStatus(){return this._allControlsDisabled()?Ms:this.errors?Jl:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ro)?ro:this._anyControlsHaveStatus(Jl)?Jl:Ds}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){ec(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=function yB(n){return Array.isArray(n)?Vh(n):n||null}(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=function bB(n){return Array.isArray(n)?Bh(n):n||null}(this._rawAsyncValidators)}}class qh extends gw{constructor(e,t,i){super(function Gh(n){return(ec(n)?n.validators:n)||null}(t),function Wh(n,e){return(ec(e)?e.asyncValidators:n)||null}(i,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t,i={}){this.registerControl(e,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(e,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(e,t,i={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){(function mw(n,e,t){n._forEachChild((i,r)=>{if(void 0===t[r])throw new w(1002,zh?function vB(n,e){return`Must supply a value for form control ${hw(n,e)}`}(e,r):"")})})(this,!0,e),Object.keys(e).forEach(i=>{(function pw(n,e,t){const i=n.controls;if(!(e?Object.keys(i):i).length)throw new w(1e3,zh?function gB(n){return`\n There are no form controls registered with this ${n?"group":"array"} yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n `}(e):"");if(!i[t])throw new w(1001,zh?function _B(n,e){return`Cannot find form control ${hw(n,e)}`}(e,t):"")})(this,!0,i),this.controls[i].setValue(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(Object.keys(e).forEach(i=>{const r=this.controls[i];r&&r.patchValue(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e={},t={}){this._forEachChild((i,r)=>{i.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(e,t,i)=>(e[i]=t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(t,i)=>!!i._syncPendingControls()||t);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(t=>{const i=this.controls[t];i&&e(i,t)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(const[t,i]of Object.entries(this.controls))if(this.contains(t)&&e(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,i,r)=>((i.enabled||this.disabled)&&(t[r]=i.value),t))}_reduceChildren(e,t){let i=e;return this._forEachChild((r,o)=>{i=t(i,r,o)}),i}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}}const oo=new I("CallSetDisabledState",{providedIn:"root",factory:()=>tc}),tc="always";function rc(n,e){n.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function Yh(n,e){const t=function aw(n){return n._rawValidators}(n);null!==e.validator?n.setValidators(sw(t,e.validator)):"function"==typeof t&&n.setValidators([t]);const i=function lw(n){return n._rawAsyncValidators}(n);null!==e.asyncValidator?n.setAsyncValidators(sw(i,e.asyncValidator)):"function"==typeof i&&n.setAsyncValidators([i]);const r=()=>n.updateValueAndValidity();rc(e._rawValidators,r),rc(e._rawAsyncValidators,r)}function _w(n,e){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}const AB={provide:ht,useExisting:ye(()=>Is)},Ss=(()=>Promise.resolve())();let Is=(()=>{class n extends ht{constructor(t,i,r){super(),this.callSetDisabledState=r,this.submitted=!1,this._directives=new Set,this.ngSubmit=new Ee,this.form=new qh({},Vh(t),Bh(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Ss.then(()=>{const i=this._findContainer(t.path);t.control=i.registerControl(t.name,t.control),function Es(n,e,t=tc){Yh(n,e),e.valueAccessor.writeValue(n.value),(n.disabled||"always"===t)&&e.valueAccessor.setDisabledState?.(n.disabled),function wB(n,e){e.valueAccessor.registerOnChange(t=>{n._pendingValue=t,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&_w(n,e)})}(n,e),function MB(n,e){const t=(i,r)=>{e.valueAccessor.writeValue(i),r&&e.viewToModelUpdate(i)};n.registerOnChange(t),e._registerOnDestroy(()=>{n._unregisterOnChange(t)})}(n,e),function DB(n,e){e.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&_w(n,e),"submit"!==n.updateOn&&n.markAsTouched()})}(n,e),function CB(n,e){if(e.valueAccessor.setDisabledState){const t=i=>{e.valueAccessor.setDisabledState(i)};n.registerOnDisabledChange(t),e._registerOnDestroy(()=>{n._unregisterOnDisabledChange(t)})}}(n,e)}(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){Ss.then(()=>{const i=this._findContainer(t.path);i&&i.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){Ss.then(()=>{const i=this._findContainer(t.path),r=new qh({});(function vw(n,e){Yh(n,e)})(r,t),i.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){Ss.then(()=>{const i=this._findContainer(t.path);i&&i.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,i){Ss.then(()=>{this.form.get(t.path).setValue(i)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,function yw(n,e){n._syncPendingControls(),e.forEach(t=>{const i=t.control;"submit"===i.updateOn&&i._pendingChange&&(t.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}return n.\u0275fac=function(t){return new(t||n)(D(ot,10),D(pi,10),D(oo,8))},n.\u0275dir=k({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,i){1&t&&Rt("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[be([AB]),de]}),n})(),Qh=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=k({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),n})(),Iw=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=me({type:n}),n.\u0275inj=he({}),n})(),ij=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=me({type:n}),n.\u0275inj=he({imports:[Iw]}),n})(),oj=(()=>{class n{static withConfig(t){return{ngModule:n,providers:[{provide:oo,useValue:t.callSetDisabledState??tc}]}}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=me({type:n}),n.\u0275inj=he({imports:[ij]}),n})();const sj=[{path:"inicio",component:rB},{path:"login",component:(()=>{class n{constructor(t){this.router=t}handleLogin(t){t.preventDefault();const i=t.target.elements.namedItem("usuario"),r=t.target.elements.namedItem("senha");"admin"===i.value&&"admin"===r.value?(alert("Login bem-sucedido!"),this.router.navigate(["/inicio"])):(alert("Usu\xe1rio ou senha inv\xe1lidos"),i.value="",r.value="")}static#e=this.\u0275fac=function(i){return new(i||n)(D(xt))};static#t=this.\u0275cmp=wt({type:n,selectors:[["app-login"]],decls:28,vars:0,consts:[[1,"container","d-flex","justify-content-center","align-items-center","custom-margin"],[1,"card","p-4"],[1,"card-body"],[1,"card-title","text-center","mb-4"],["name","flogin","id","loginForm",3,"ngSubmit"],[1,"mb-3"],["for","email",1,"form-label"],["src","assets/img/icones/icone-usuario.png","alt","icone-usuario",1,"form-icon"],["type","text","id","usuario","name","usuario","placeholder","Insira seu e-mail","required","",1,"form-control"],["for","password",1,"form-label"],["src","assets/img/icones/icone-cadeado.png","alt","icone-cadeado",1,"form-icon"],["type","password","id","senha","name","senha","placeholder","Insira sua senha","required","",1,"form-control"],[1,"d-grid","gap-2"],["type","submit",1,"btn","btn-custom"],["src","assets/img/icones/icone-entrar.png","alt","icone-entrar"],[1,"mt-3","text-center"],["href","/recuperar-senha.html",1,"custom-link"],[1,"text-center"],["href","/cadastro.html",1,"custom-link"]],template:function(i,r){1&i&&(h(0,"main")(1,"div",0)(2,"div",1)(3,"div",2)(4,"h3",3),v(5,"Login"),m(),h(6,"form",4),Rt("ngSubmit",function(s){return r.handleLogin(s)}),h(7,"div",5)(8,"label",6),x(9,"img",7),v(10," Usu\xe1rio "),m(),x(11,"input",8),m(),h(12,"div",5)(13,"label",9),x(14,"img",10),v(15," Senha "),m(),x(16,"input",11),m(),h(17,"div",12)(18,"button",13),v(19," Entrar "),x(20,"img",14),m()(),h(21,"p",15)(22,"a",16),v(23,"Esqueceu a senha?"),m()(),h(24,"p",17),v(25," N\xe3o tem uma conta? "),h(26,"a",18),v(27,"Cadastre-se"),m()()()()()()())},dependencies:[Qh,Hh,Is],styles:["main[_ngcontent-%COMP%]{background-color:#21224e;color:#fff;font-family:Arial,sans-serif;padding:60px;box-sizing:border-box}.card[_ngcontent-%COMP%]{box-shadow:0 0 10px #0000001a;max-width:400px;width:100%;margin:0 1rem;padding:1rem}.card-title[_ngcontent-%COMP%]{font-weight:600;font-size:1.5rem}.btn-custom[_ngcontent-%COMP%]{background-color:#00a000!important;color:#fff!important;border:none;display:flex;align-items:center;justify-content:center;gap:5px}.btn-custom[_ngcontent-%COMP%] img.btn-icon[_ngcontent-%COMP%]{width:20px;height:20px}.btn-custom[_ngcontent-%COMP%]:hover{background-color:#007a00!important}.custom-link[_ngcontent-%COMP%]{color:#00a000!important}.custom-link[_ngcontent-%COMP%]:hover{color:#007a00!important;text-decoration:underline}.form-icon[_ngcontent-%COMP%]{width:30px;height:30px;margin-right:5px;vertical-align:middle}@media (max-width: 768px){.card[_ngcontent-%COMP%]{max-width:90%;padding:1rem;margin:0 1rem}}@media (max-width: 480px){.form-label[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:20px;height:20px}.card-title[_ngcontent-%COMP%]{font-size:1.2rem}.btn-custom[_ngcontent-%COMP%]{font-size:.9rem}}"]})}return n})()},{path:"",redirectTo:"/inicio",pathMatch:"full"}];let aj=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=me({type:n});static#n=this.\u0275inj=he({imports:[fC.forRoot(sj),fC]})}return n})(),lj=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=wt({type:n,selectors:[["app-menu"]],decls:45,vars:0,consts:[[1,"container-header-1","grid-container"],["routerLink","inicio"],["src","assets/img/logo/logo-ng-store.png","alt","Logo",1,"logo"],[1,"search-bar"],[1,"d-flex"],["type","search","placeholder","Digite o que voc\xea procura...","aria-label","Pesquisar",1,"form-control","me-1"],["src","assets/img/icones/icone-pesquisa.png","alt","\xcdcone Pesquisa",1,"search-icon"],[1,"icons"],[1,"login-icon"],["routerLink","login"],["src","assets/img/icones/icone-login.png","alt","Entrar",1,"icone-login"],[1,"favorites-icon"],["routerLink","favoritos"],["src","assets/img/icones/icone-favoritos.png","alt","Favoritos",1,"icone-favoritos"],[1,"cart-icon"],["routerLink","carrinho"],["src","assets/img/icones/icone-carrinho.png","alt","Carrinho",1,"icone-carrinho"],[1,"container-header-2","grid-container"],[1,"navbar","navbar-expand-lg"],[1,"container-fluid"],["type","button","data-bs-toggle","collapse","data-bs-target","#navbarNav","aria-controls","navbarNav","aria-expanded","false","aria-label","Toggle navigation",1,"navbar-toggler"],["xmlns","http://www.w3.org/2000/svg","width","30","height","30","fill","currentColor","viewBox","0 0 16 16",1,"bi","bi-list"],["fill-rule","evenodd","d","M2.5 12a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5m0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5m0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5"],["id","navbarNav",1,"collapse","navbar-collapse"],[1,"navbar-nav"],[1,"nav-item"],["href","/dept.html",1,"nav-link"],["href","/categoria1.html",1,"nav-link"],["href","/categoria2.html",1,"nav-link"],["href","/categoria3.html",1,"nav-link"],["href","/categoria4.html",1,"nav-link"],["href","/categoria5.html",1,"nav-link"]],template:function(i,r){1&i&&(h(0,"header")(1,"div",0)(2,"span")(3,"a",1),x(4,"img",2),m()(),h(5,"div",3)(6,"form",4),x(7,"input",5)(8,"img",6),m()(),h(9,"div",7)(10,"div",8)(11,"a",9),x(12,"img",10),m()(),h(13,"div",11)(14,"a",12),x(15,"img",13),m()(),h(16,"div",14)(17,"a",15),x(18,"img",16),m()()()(),h(19,"div",17)(20,"nav",18)(21,"div",19)(22,"button",20),function ng(){G.lFrame.currentNamespace=jm}(),h(23,"svg",21),x(24,"path",22),m()(),function ig(){!function oS(){G.lFrame.currentNamespace=null}()}(),h(25,"div",23)(26,"ul",24)(27,"li",25)(28,"a",26),v(29,"DEPARTAMENTOS"),m()(),h(30,"li",25)(31,"a",27),v(32,"PROMO\xc7\xd5ES"),m()(),h(33,"li",25)(34,"a",28),v(35,"NOTEBOOKS"),m()(),h(36,"li",25)(37,"a",29),v(38,"PC GAMER"),m()(),h(39,"li",25)(40,"a",30),v(41,"JOGOS"),m()(),h(42,"li",25)(43,"a",31),v(44,"ATENDIMENTO"),m()()()()()()()())},dependencies:[zl,Qh,Hh,Is],styles:[".example-spacer[_ngcontent-%COMP%]{flex:1 1 auto}header[_ngcontent-%COMP%]{background-color:#1e1e1e}.logo[_ngcontent-%COMP%]{width:100px;height:100px;margin:0 auto}.search-bar[_ngcontent-%COMP%]{flex-grow:1;margin:0 20px;position:relative}.search-bar[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{display:flex;align-items:center;width:100%}.search-bar[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{flex-grow:1;padding-right:40px}.search-icon[_ngcontent-%COMP%]{position:absolute;right:10px;top:50%;transform:translateY(-50%);cursor:pointer}.icons[_ngcontent-%COMP%]{display:flex;gap:10px}.icons[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:auto}.grid-container[_ngcontent-%COMP%]{max-width:1100px;margin-left:auto;margin-right:auto}.container-header-1[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap}.container-header-2[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;width:100%}.navbar-toggler[_ngcontent-%COMP%]{background:transparent;border:none;display:flex;cursor:pointer;outline:none;transition:none;align-items:center;justify-content:center}.navbar-toggler[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{width:30px;height:30px;color:#fff}.nav-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}.nav-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#00a000}.navbar-nav[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{margin-right:90px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.navbar-nav[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:nowrap}@media (max-width: 768px){.container-header-1[_ngcontent-%COMP%]{flex-direction:column;align-items:center;justify-content:center;width:100%}.header-site-logo[_ngcontent-%COMP%]{margin-bottom:10px}.search-bar[_ngcontent-%COMP%]{flex:1;max-width:100%;margin:0 10px 10px}.icons[_ngcontent-%COMP%]{flex:0 1 auto;display:flex;justify-content:center;margin-bottom:10px}.container-header-2[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;flex-wrap:nowrap;width:100%}.navbar-nav[_ngcontent-%COMP%]{flex-direction:column;align-items:center;justify-content:center}.navbar-nav[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{margin-right:0;margin-bottom:10px}.navbar-toggler-icon[_ngcontent-%COMP%]{width:30px;height:30px;background:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgc2Nyb2xsaW5nPSJjcm9zcyIgdmlld0JveD0iMCAwIDE2IDE2Ij4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yLjUgMTJhLjUuNSAwIDAgMSAuNS41IEgzYSAuNS41IDAgMCAxIC0uNS41IG0wLTRhLjUuNSA0IDAgMSAwLjc1LTIuNzYgbS0uNS0uNSAyLjc1LTIuNzYgMC0uNSAuNSIgLz4KPC9zdmc+);background-size:contain;background-repeat:no-repeat;background-position:center;border:none;cursor:pointer}}@media (max-width: 480px){.navbar-nav[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{margin-right:0;margin-bottom:5px;font-size:.9rem}.search-bar[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{padding-right:30px}.icons[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:30px}}"]})}return n})(),cj=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=wt({type:n,selectors:[["app-rodape"]],decls:110,vars:0,consts:[[1,"footer"],[1,"Fsection"],[1,"Farticle-FooterSubMenu"],[1,"grid-container","d-flex","justify-content-center","align-items-center"],[1,"row","gx-5","custom-gx"],[1,"col-xs-12","col-sm-12","col-md-3","col-lg-3","mb-4"],[1,"glyphicon","glyphicon-chevron-right","hidden-xs"],["href","/quemsomos.html"],["href","/termosecondicoes.html"],["href","/segurancaeprivacidade.html"],["href","/como-comprar.html"],["href","/prazos-e-entregas.html"],["href","/formas-de-pagamento.html"],["href","/login.html"],["href","/cadastro.html"],["href","/carrinho.html"],["href","atendimento.html"],["href","#"],["href","fale-conosco.html"],[1,"Farticle-FooterSocial"],[1,"container","d-flex","justify-content-center","align-items-center"],[1,"row"],[1,"col-12"],[1,"text-center"],[1,"list-inline","justify-content-center"],[1,"list-inline-item","me-4"],["href","https://www.facebook.com/","target","_blank"],["src","assets/img/icones/icone-facebook.png","alt","\xcdcone Facebook"],["href","https://www.instagram.com/","target","_blank"],["src","assets/img/icones/icone-instagram.png","alt","\xcdcone Instagram"],["href","https://www.twitter.com/","target","_blank"],["src","assets/img/icones/icone-twitter.png","alt","\xcdcone Twitter"],[1,"list-inline-item"],["href","https://www.youtube.com/","target","_blank"],["src","assets/img/icones/icone-youtube.png","alt","\xcdcone Youtube"],[1,"container"],[1,"row","justify-content-center","text-center"],[1,"col-12","d-flex","flex-column","align-items-center"],[1,"list-unstyled"],[1,"mb-3"],["src","assets/img/logo/logo-ng-store.png","alt","NGStore"],[1,"Cinza","mb-1"],[1,"Cinza","mb-3"],[1,"mb-1"],[1,"Cinza"]],template:function(i,r){1&i&&(h(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"h4"),v(7,"Institucional"),m(),h(8,"ul")(9,"li"),x(10,"i",6),h(11,"a",7),v(12,"Quem somos"),m()(),h(13,"li"),x(14,"i",6),h(15,"a",8),v(16,"Termos e Condi\xe7\xf5es"),m()(),h(17,"li"),x(18,"i",6),h(19,"a",9),v(20,"Seguran\xe7a e Privacidade"),m()()()(),h(21,"div",5)(22,"h4"),v(23,"D\xfavidas"),m(),h(24,"ul")(25,"li"),x(26,"i",6),h(27,"a",10),v(28,"Como comprar"),m()(),h(29,"li"),x(30,"i",6),h(31,"a",11),v(32,"Prazos e entregas"),m()(),h(33,"li"),x(34,"i",6),h(35,"a",12),v(36,"Formas de Pagamento"),m()()()(),h(37,"div",5)(38,"h4"),v(39,"Cliente"),m(),h(40,"ul")(41,"li"),x(42,"i",6),h(43,"a",13),v(44,"Minha conta"),m()(),h(45,"li"),x(46,"i",6),h(47,"a",14),v(48,"Meus pedidos"),m()(),h(49,"li"),x(50,"i",6),h(51,"a",15),v(52,"Meus tickets"),m()()()(),h(53,"div",5)(54,"h4"),v(55,"Contato"),m(),h(56,"ul")(57,"li"),x(58,"i",6),h(59,"a",16),v(60,"atendimento@ngstore.com.br"),m()(),h(61,"li"),x(62,"i",6),h(63,"a",17),v(64,"0800 4002-8922"),m()(),h(65,"li"),x(66,"i",6),h(67,"a",18),v(68,"Fale conosco"),m()()()()()()(),h(69,"div",19)(70,"div",20)(71,"div",21)(72,"div",22)(73,"h4",23),v(74,"Siga-nos nas redes sociais"),m(),h(75,"ul",24)(76,"li",25)(77,"a",26),x(78,"img",27),m()(),h(79,"li",25)(80,"a",28),x(81,"img",29),m()(),h(82,"li",25)(83,"a",30),x(84,"img",31),m()(),h(85,"li",32)(86,"a",33),x(87,"img",34),m()()()()()()()()(),h(88,"footer")(89,"div",35)(90,"div",36)(91,"div",37)(92,"ul",38)(93,"li",39),x(94,"img",40),m(),h(95,"li",41),v(96," NG STORE VAREJO DE PRODUTOS DE INFORMATICA LTDA "),m(),h(97,"li",42),v(98,"CNPJ: 02.933.972/0001-98 | Curitiba-PR"),m()(),h(99,"ul",38)(100,"li",43),v(101," ATENDIMENTO "),x(102,"br"),v(103," De segunda a sexta das 8:30 \xe0s 12H / 13H \xe0s 18H "),m(),h(104,"li",43),v(105,"0800 4002-8922"),m(),h(106,"li",39),v(107,"atendimento@ngstore.com.br"),m(),h(108,"li",44),v(109,"E-COMMERCE E ATENDIMENTO LOCAL"),m()()()()()())},styles:[".Farticle-FooterSubMenu[_ngcontent-%COMP%]{width:100%;background-color:#212121;color:#fff;display:flex;justify-content:center;padding:20px 0;flex-wrap:wrap}.Farticle-FooterSubMenu[_ngcontent-%COMP%] .grid-container[_ngcontent-%COMP%]{margin-left:70px;max-width:1200px;width:100%}.Farticle-FooterSubMenu[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{width:100%;display:flex;flex-wrap:wrap;justify-content:space-between}.Farticle-FooterSubMenu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style:none;padding:0;margin:0}.Farticle-FooterSubMenu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:flex;align-items:center;list-style-type:none;color:#fff;text-decoration:none;white-space:nowrap;margin-bottom:5px}.Farticle-FooterSubMenu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff;text-decoration:none;white-space:nowrap}.Farticle-FooterSubMenu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}.footer[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{color:#00a000;text-align:left;margin-bottom:10px}.Farticle-FooterSocial[_ngcontent-%COMP%]{background-color:#262626;padding:20px;justify-content:center;display:flex;flex-wrap:wrap;align-items:center}footer[_ngcontent-%COMP%]{background-color:#000;color:#fff;padding:20px 0}footer[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding:0;margin:0;text-align:center}footer[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style-type:none;margin-bottom:10px}footer[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100px;height:auto}footer[_ngcontent-%COMP%] .Cinza[_ngcontent-%COMP%]{color:#ccc}footer[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:center}@media (max-width: 768px){.Farticle-FooterSubMenu[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{justify-content:center;align-items:center}.Farticle-FooterSubMenu[_ngcontent-%COMP%] .col-xs-12[_ngcontent-%COMP%]{width:100%;padding:10px 0;display:flex;flex-direction:column;align-items:center}.Farticle-FooterSubMenu[_ngcontent-%COMP%] .col-xs-12[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .Farticle-FooterSubMenu[_ngcontent-%COMP%] .col-xs-12[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{text-align:center}}"]})}return n})(),dj=(()=>{class n{constructor(){this.title="NG-Store"}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=wt({type:n,selectors:[["app-root"]],decls:3,vars:0,template:function(i,r){1&i&&x(0,"app-menu")(1,"router-outlet")(2,"app-rodape")},dependencies:[hh,lj,cj]})}return n})();class Ww{}class uj{}const qn="*";function qw(n,e=null){return{type:2,steps:n,options:e}}function Yn(n){return{type:6,styles:n,offset:null}}function Yw(n){Promise.resolve().then(n)}class Ts{constructor(e=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Yw(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class Kw{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,i=0,r=0;const o=this.players.length;0==o?Yw(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++t==o&&this._onFinish()}),s.onDestroy(()=>{++i==o&&this._onDestroy()}),s.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const t=e*this.totalTime;this.players.forEach(i=>{const r=i.totalTime?Math.min(1,t/i.totalTime):1;i.setPosition(r)})}getPosition(){const e=this.players.reduce((t,i)=>null===t||i.totalTime>t.totalTime?i:t,null);return null!=e?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}const ap="!";function Zw(n){return new w(3e3,!1)}function Wj(){return typeof window<"u"&&typeof window.document<"u"}function lp(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function gi(n){switch(n.length){case 0:return new Ts;case 1:return n[0];default:return new Kw(n)}}function Xw(n,e,t,i,r=new Map,o=new Map){const s=[],a=[];let l=-1,c=null;if(i.forEach(d=>{const u=d.get("offset"),f=u==l,p=f&&c||new Map;d.forEach((g,_)=>{let y=_,C=g;if("offset"!==_)switch(y=e.normalizePropertyName(y,s),C){case ap:C=r.get(_);break;case qn:C=o.get(_);break;default:C=e.normalizeStyleValue(_,y,C,s)}p.set(y,C)}),f||a.push(p),c=p,l=u}),s.length)throw function Pj(n){return new w(3502,!1)}();return a}function cp(n,e,t,i){switch(e){case"start":n.onStart(()=>i(t&&dp(t,"start",n)));break;case"done":n.onDone(()=>i(t&&dp(t,"done",n)));break;case"destroy":n.onDestroy(()=>i(t&&dp(t,"destroy",n)))}}function dp(n,e,t){const o=up(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,t.totalTime??n.totalTime,!!t.disabled),s=n._data;return null!=s&&(o._data=s),o}function up(n,e,t,i,r="",o=0,s){return{element:n,triggerName:e,fromState:t,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function Ot(n,e,t){let i=n.get(e);return i||n.set(e,i=t),i}function Qw(n){const e=n.indexOf(":");return[n.substring(1,e),n.slice(e+1)]}let fp=(n,e)=>!1,Jw=(n,e,t)=>[],eD=null;function hp(n){const e=n.parentNode||n.host;return e===eD?null:e}(lp()||typeof Element<"u")&&(Wj()?(eD=(()=>document.documentElement)(),fp=(n,e)=>{for(;e;){if(e===n)return!0;e=hp(e)}return!1}):fp=(n,e)=>n.contains(e),Jw=(n,e,t)=>{if(t)return Array.from(n.querySelectorAll(e));const i=n.querySelector(e);return i?[i]:[]});let qi=null,tD=!1;const nD=fp,iD=Jw;let rD=(()=>{class n{validateStyleProperty(t){return function Yj(n){qi||(qi=function Kj(){return typeof document<"u"?document.body:null}()||{},tD=!!qi.style&&"WebkitAppearance"in qi.style);let e=!0;return qi.style&&!function qj(n){return"ebkit"==n.substring(1,6)}(n)&&(e=n in qi.style,!e&&tD&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in qi.style)),e}(t)}matchesElement(t,i){return!1}containsElement(t,i){return nD(t,i)}getParentElement(t){return hp(t)}query(t,i,r){return iD(t,i,r)}computeStyle(t,i,r){return r||""}animate(t,i,r,o,s,a=[],l){return new Ts(r,o)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=T({token:n,factory:n.\u0275fac}),n})(),pp=(()=>{class n{}return n.NOOP=new rD,n})();const Zj=1e3,mp="ng-enter",lc="ng-leave",cc="ng-trigger",dc=".ng-trigger",sD="ng-animating",gp=".ng-animating";function Kn(n){if("number"==typeof n)return n;const e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:_p(parseFloat(e[1]),e[2])}function _p(n,e){return"s"===e?n*Zj:n}function uc(n,e,t){return n.hasOwnProperty("duration")?n:function Qj(n,e,t){let r,o=0,s="";if("string"==typeof n){const a=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return e.push(Zw()),{duration:0,delay:0,easing:""};r=_p(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(o=_p(parseFloat(l),a[4]));const c=a[5];c&&(s=c)}else r=n;if(!t){let a=!1,l=e.length;r<0&&(e.push(function fj(){return new w(3100,!1)}()),a=!0),o<0&&(e.push(function hj(){return new w(3101,!1)}()),a=!0),a&&e.splice(l,0,Zw())}return{duration:r,delay:o,easing:s}}(n,e,t)}function As(n,e={}){return Object.keys(n).forEach(t=>{e[t]=n[t]}),e}function aD(n){const e=new Map;return Object.keys(n).forEach(t=>{e.set(t,n[t])}),e}function _i(n,e=new Map,t){if(t)for(let[i,r]of t)e.set(i,r);for(let[i,r]of n)e.set(i,r);return e}function cD(n,e,t){return t?e+":"+t+";":""}function dD(n){let e="";for(let t=0;t{const o=yp(r);t&&!t.has(r)&&t.set(r,n.style[o]),n.style[o]=i}),lp()&&dD(n))}function Yi(n,e){n.style&&(e.forEach((t,i)=>{const r=yp(i);n.style[r]=""}),lp()&&dD(n))}function Rs(n){return Array.isArray(n)?1==n.length?n[0]:qw(n):n}const vp=new RegExp("{{\\s*(.+?)\\s*}}","g");function uD(n){let e=[];if("string"==typeof n){let t;for(;t=vp.exec(n);)e.push(t[1]);vp.lastIndex=0}return e}function Fs(n,e,t){const i=n.toString(),r=i.replace(vp,(o,s)=>{let a=e[s];return null==a&&(t.push(function mj(n){return new w(3003,!1)}()),a=""),a.toString()});return r==i?n:r}function fc(n){const e=[];let t=n.next();for(;!t.done;)e.push(t.value),t=n.next();return e}const tH=/-+([a-z0-9])/g;function yp(n){return n.replace(tH,(...e)=>e[1].toUpperCase())}function nH(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Pt(n,e,t){switch(e.type){case 7:return n.visitTrigger(e,t);case 0:return n.visitState(e,t);case 1:return n.visitTransition(e,t);case 2:return n.visitSequence(e,t);case 3:return n.visitGroup(e,t);case 4:return n.visitAnimate(e,t);case 5:return n.visitKeyframes(e,t);case 6:return n.visitStyle(e,t);case 8:return n.visitReference(e,t);case 9:return n.visitAnimateChild(e,t);case 10:return n.visitAnimateRef(e,t);case 11:return n.visitQuery(e,t);case 12:return n.visitStagger(e,t);default:throw function gj(n){return new w(3004,!1)}()}}function fD(n,e){return window.getComputedStyle(n)[e]}const mc="*";function lH(n,e){const t=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(i=>function cH(n,e,t){if(":"==n[0]){const l=function dH(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,i)=>parseFloat(i)>parseFloat(t);case":decrement":return(t,i)=>parseFloat(i) *"}}(n,t);if("function"==typeof l)return void e.push(l);n=l}const i=n.match(/^(\*|[-\w]+)\s*([=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return t.push(function Tj(n){return new w(3015,!1)}()),e;const r=i[1],o=i[2],s=i[3];e.push(hD(r,s));"<"==o[0]&&!(r==mc&&s==mc)&&e.push(hD(s,r))}(i,t,e)):t.push(n),t}const gc=new Set(["true","1"]),_c=new Set(["false","0"]);function hD(n,e){const t=gc.has(n)||_c.has(n),i=gc.has(e)||_c.has(e);return(r,o)=>{let s=n==mc||n==r,a=e==mc||e==o;return!s&&t&&"boolean"==typeof r&&(s=r?gc.has(n):_c.has(n)),!a&&i&&"boolean"==typeof o&&(a=o?gc.has(e):_c.has(e)),s&&a}}const uH=new RegExp("s*:selfs*,?","g");function bp(n,e,t,i){return new fH(n).build(e,t,i)}class fH{constructor(e){this._driver=e}build(e,t,i){const r=new mH(t);return this._resetContextStyleTimingState(r),Pt(this,Rs(e),r)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles=new Map,e.collectedStyles.set("",new Map),e.currentTime=0}visitTrigger(e,t){let i=t.queryCount=0,r=t.depCount=0;const o=[],s=[];return"@"==e.name.charAt(0)&&t.errors.push(function vj(){return new w(3006,!1)}()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),0==a.type){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,t))}),l.name=c}else if(1==a.type){const l=this.visitTransition(a,t);i+=l.queryCount,r+=l.depCount,s.push(l)}else t.errors.push(function yj(){return new w(3007,!1)}())}),{type:7,name:e.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(e,t){const i=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(i.containsDynamicStyles){const o=new Set,s=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{uD(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&(fc(o.values()),t.errors.push(function bj(n,e){return new w(3008,!1)}()))}return{type:0,name:e.name,style:i,options:r?{params:r}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const i=Pt(this,Rs(e.animation),t);return{type:1,matchers:lH(e.expr,t.errors),animation:i,queryCount:t.queryCount,depCount:t.depCount,options:Ki(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(i=>Pt(this,i,t)),options:Ki(e.options)}}visitGroup(e,t){const i=t.currentTime;let r=0;const o=e.steps.map(s=>{t.currentTime=i;const a=Pt(this,s,t);return r=Math.max(r,t.currentTime),a});return t.currentTime=r,{type:3,steps:o,options:Ki(e.options)}}visitAnimate(e,t){const i=function _H(n,e){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n)return xp(uc(n,e).duration,0,"");const t=n;if(t.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=xp(0,0,"");return o.dynamic=!0,o.strValue=t,o}const r=uc(t,e);return xp(r.duration,r.delay,r.easing)}(e.timings,t.errors);t.currentAnimateTimings=i;let r,o=e.styles?e.styles:Yn({});if(5==o.type)r=this.visitKeyframes(o,t);else{let s=e.styles,a=!1;if(!s){a=!0;const c={};i.easing&&(c.easing=i.easing),s=Yn(c)}t.currentTime+=i.duration+i.delay;const l=this.visitStyle(s,t);l.isEmptyStep=a,r=l}return t.currentAnimateTimings=null,{type:4,timings:i,style:r,options:null}}visitStyle(e,t){const i=this._makeStyleAst(e,t);return this._validateStyleAst(i,t),i}_makeStyleAst(e,t){const i=[],r=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of r)"string"==typeof a?a===qn?i.push(a):t.errors.push(new w(3002,!1)):i.push(aD(a));let o=!1,s=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o))for(let l of a.values())if(l.toString().indexOf("{{")>=0){o=!0;break}}),{type:6,styles:i,easing:s,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,t){const i=t.currentAnimateTimings;let r=t.currentTime,o=t.currentTime;i&&o>0&&(o-=i.duration+i.delay),e.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const c=t.collectedStyles.get(t.currentQuerySelector),d=c.get(l);let u=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(t.errors.push(function Cj(n,e,t,i,r){return new w(3010,!1)}()),u=!1),o=d.startTime),u&&c.set(l,{startTime:o,endTime:r}),t.options&&function eH(n,e,t){const i=e.params||{},r=uD(n);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||t.push(function pj(n){return new w(3001,!1)}())})}(a,t.options,t.errors)})})}visitKeyframes(e,t){const i={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function wj(){return new w(3011,!1)}()),i;let o=0;const s=[];let a=!1,l=!1,c=0;const d=e.steps.map(C=>{const S=this._makeStyleAst(C,t);let b=null!=S.offset?S.offset:function gH(n){if("string"==typeof n)return null;let e=null;if(Array.isArray(n))n.forEach(t=>{if(t instanceof Map&&t.has("offset")){const i=t;e=parseFloat(i.get("offset")),i.delete("offset")}});else if(n instanceof Map&&n.has("offset")){const t=n;e=parseFloat(t.get("offset")),t.delete("offset")}return e}(S.styles),F=0;return null!=b&&(o++,F=S.offset=b),l=l||F<0||F>1,a=a||F0&&o{const b=f>0?S==p?1:f*S:s[S],F=b*y;t.currentTime=g+_.delay+F,_.duration=F,this._validateStyleAst(C,t),C.offset=b,i.styles.push(C)}),i}visitReference(e,t){return{type:8,animation:Pt(this,Rs(e.animation),t),options:Ki(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:Ki(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:Ki(e.options)}}visitQuery(e,t){const i=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;const[o,s]=function hH(n){const e=!!n.split(/\s*,\s*/).find(t=>":self"==t);return e&&(n=n.replace(uH,"")),n=n.replace(/@\*/g,dc).replace(/@\w+/g,t=>dc+"-"+t.slice(1)).replace(/:animating/g,gp),[n,e]}(e.selector);t.currentQuerySelector=i.length?i+" "+o:o,Ot(t.collectedStyles,t.currentQuerySelector,new Map);const a=Pt(this,Rs(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:Ki(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(function Sj(){return new w(3013,!1)}());const i="full"===e.timings?{duration:0,delay:0,easing:"full"}:uc(e.timings,t.errors,!0);return{type:12,animation:Pt(this,Rs(e.animation),t),timings:i,options:null}}}class mH{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Ki(n){return n?(n=As(n)).params&&(n.params=function pH(n){return n?As(n):null}(n.params)):n={},n}function xp(n,e,t){return{duration:n,delay:e,easing:t}}function Cp(n,e,t,i,r,o,s=null,a=!1){return{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}class vc{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,t){let i=this._map.get(e);i||this._map.set(e,i=[]),i.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const bH=new RegExp(":enter","g"),CH=new RegExp(":leave","g");function wp(n,e,t,i,r,o=new Map,s=new Map,a,l,c=[]){return(new wH).buildKeyframes(n,e,t,i,r,o,s,a,l,c)}class wH{buildKeyframes(e,t,i,r,o,s,a,l,c,d=[]){c=c||new vc;const u=new Dp(e,t,c,r,o,d,[]);u.options=l;const f=l.delay?Kn(l.delay):0;u.currentTimeline.delayNextStep(f),u.currentTimeline.setStyles([s],null,u.errors,l),Pt(this,i,u);const p=u.timelines.filter(g=>g.containsAnimation());if(p.length&&a.size){let g;for(let _=p.length-1;_>=0;_--){const y=p[_];if(y.element===t){g=y;break}}g&&!g.allowOnlyTimelineStyles()&&g.setStyles([a],null,u.errors,l)}return p.length?p.map(g=>g.buildKeyframes()):[Cp(t,[],[],[],0,f,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const i=t.subInstructions.get(t.element);if(i){const r=t.createSubContext(e.options),o=t.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&t.transformIntoNewTimeline(s)}t.previousNode=e}visitAnimateRef(e,t){const i=t.createSubContext(e.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,i),this.visitReference(e.animation,i),t.transformIntoNewTimeline(i.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,i){for(const r of e){const o=r?.delay;if(o){const s="number"==typeof o?o:Kn(Fs(o,r?.params??{},t.errors));i.delayNextStep(s)}}}_visitSubInstructions(e,t,i){let o=t.currentTimeline.currentTime;const s=null!=i.duration?Kn(i.duration):null,a=null!=i.delay?Kn(i.delay):null;return 0!==s&&e.forEach(l=>{const c=t.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(e,t){t.updateOptions(e.options,!0),Pt(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const i=t.subContextCount;let r=t;const o=e.options;if(o&&(o.params||o.delay)&&(r=t.createSubContext(o),r.transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=yc);const s=Kn(o.delay);r.delayNextStep(s)}e.steps.length&&(e.steps.forEach(s=>Pt(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const i=[];let r=t.currentTimeline.currentTime;const o=e.options&&e.options.delay?Kn(e.options.delay):0;e.steps.forEach(s=>{const a=t.createSubContext(e.options);o&&a.delayNextStep(o),Pt(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>t.currentTimeline.mergeTimelineCollectedStyles(s)),t.transformIntoNewTimeline(r),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const i=e.strValue;return uc(t.params?Fs(i,t.params,t.errors):i,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const i=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;i.delay&&(t.incrementTime(i.delay),r.snapshotCurrentStyles());const o=e.style;5==o.type?this.visitKeyframes(o,t):(t.incrementTime(i.duration),this.visitStyle(o,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const i=t.currentTimeline,r=t.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();const o=r&&r.easing||e.easing;e.isEmptyStep?i.applyEmptyStep(o):i.setStyles(e.styles,o,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const i=t.currentAnimateTimings,r=t.currentTimeline.duration,o=i.duration,a=t.createSubContext().currentTimeline;a.easing=i.easing,e.styles.forEach(l=>{a.forwardTime((l.offset||0)*o),a.setStyles(l.styles,l.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(r+o),t.previousNode=e}visitQuery(e,t){const i=t.currentTimeline.currentTime,r=e.options||{},o=r.delay?Kn(r.delay):0;o&&(6===t.previousNode.type||0==i&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=yc);let s=i;const a=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{t.currentQueryIndex=d;const u=t.createSubContext(e.options,c);o&&u.delayNextStep(o),c===t.element&&(l=u.currentTimeline),Pt(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,u.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const i=t.parentContext,r=t.currentTimeline,o=e.timings,s=Math.abs(o.duration),a=s*(t.currentQueryTotal-1);let l=s*t.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime}const d=t.currentTimeline;l&&d.delayNextStep(l);const u=d.currentTime;Pt(this,e.animation,t),t.previousNode=e,i.currentStaggerTime=r.currentTime-u+(r.startTime-i.currentTimeline.startTime)}}const yc={};class Dp{constructor(e,t,i,r,o,s,a,l){this._driver=e,this.element=t,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=yc,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new bc(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const i=e;let r=this.options;null!=i.duration&&(r.duration=Kn(i.duration)),null!=i.delay&&(r.delay=Kn(i.delay));const o=i.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!t||!s.hasOwnProperty(a))&&(s[a]=Fs(o[a],s,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const i=e.params={};Object.keys(t).forEach(r=>{i[r]=t[r]})}}return e}createSubContext(e=null,t,i){const r=t||this.element,o=new Dp(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(e){return this.previousNode=yc,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,i){const r={duration:t??e.duration,delay:this.currentTimeline.currentTime+(i??0)+e.delay,easing:""},o=new DH(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,i,r,o,s){let a=[];if(r&&a.push(this.element),e.length>0){e=(e=e.replace(bH,"."+this._enterClassName)).replace(CH,"."+this._leaveClassName);let c=this._driver.query(this.element,e,1!=i);0!==i&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!o&&0==a.length&&s.push(function Ij(n){return new w(3014,!1)}()),a}}class bc{constructor(e,t,i,r){this._driver=e,this.element=t,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const t=1===this._keyframes.size&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new bc(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,i]of this._globalTimelineStyles)this._backFill.set(t,i||qn),this._currentKeyframe.set(t,qn);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,i,r){t&&this._previousKeyframe.set("easing",t);const o=r&&r.params||{},s=function MH(n,e){const t=new Map;let i;return n.forEach(r=>{if("*"===r){i=i||e.keys();for(let o of i)t.set(o,qn)}else _i(r,t)}),t}(e,this._globalTimelineStyles);for(let[a,l]of s){const c=Fs(l,o,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??qn),this._updateStyle(a,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,i)=>{const r=this._styleSummary.get(i);(!r||t.time>r.time)&&this._updateStyle(i,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((a,l)=>{const c=_i(a,new Map,this._backFill);c.forEach((d,u)=>{d===ap?e.add(u):d===qn&&t.add(u)}),i||c.set("offset",l/this.duration),r.push(c)});const o=e.size?fc(e.values()):[],s=t.size?fc(t.values()):[];if(i){const a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return Cp(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}class DH extends bc{constructor(e,t,i,r,o,s,a=!1){super(e,t,s.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&t){const o=[],s=i+t,a=t/s,l=_i(e[0]);l.set("offset",0),o.push(l);const c=_i(e[0]);c.set("offset",gD(a)),o.push(c);const d=e.length-1;for(let u=1;u<=d;u++){let f=_i(e[u]);const p=f.get("offset");f.set("offset",gD((t+p*i)/s)),o.push(f)}i=s,t=0,r="",e=o}return Cp(this.element,e,this.preStyleProps,this.postStyleProps,i,t,r,!0)}}function gD(n,e=3){const t=Math.pow(10,e-1);return Math.round(n*t)/t}class Mp{}const EH=new Set(["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"]);class SH extends Mp{normalizePropertyName(e,t){return yp(e)}normalizeStyleValue(e,t,i,r){let o="";const s=i.toString().trim();if(EH.has(t)&&0!==i&&"0"!==i)if("number"==typeof i)o="px";else{const a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push(function _j(n,e){return new w(3005,!1)}())}return s+o}}function _D(n,e,t,i,r,o,s,a,l,c,d,u,f){return{type:0,element:n,triggerName:e,isRemovalTransition:r,fromState:t,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:f}}const Ep={};class vD{constructor(e,t,i){this._triggerName=e,this.ast=t,this._stateStyles=i}match(e,t,i,r){return function IH(n,e,t,i,r){return n.some(o=>o(e,t,i,r))}(this.ast.matchers,e,t,i,r)}buildStyles(e,t,i){let r=this._stateStyles.get("*");return void 0!==e&&(r=this._stateStyles.get(e?.toString())||r),r?r.buildStyles(t,i):new Map}build(e,t,i,r,o,s,a,l,c,d){const u=[],f=this.ast.options&&this.ast.options.params||Ep,g=this.buildStyles(i,a&&a.params||Ep,u),_=l&&l.params||Ep,y=this.buildStyles(r,_,u),C=new Set,S=new Map,b=new Map,F="void"===r,ee={params:TH(_,f),delay:this.ast.options?.delay},ae=d?[]:wp(e,t,this.ast.animation,o,s,g,y,ee,c,u);let st=0;if(ae.forEach(Xn=>{st=Math.max(Xn.duration+Xn.delay,st)}),u.length)return _D(t,this._triggerName,i,r,F,g,y,[],[],S,b,st,u);ae.forEach(Xn=>{const Qn=Xn.element,dM=Ot(S,Qn,new Set);Xn.preStyleProps.forEach(Qi=>dM.add(Qi));const Ls=Ot(b,Qn,new Set);Xn.postStyleProps.forEach(Qi=>Ls.add(Qi)),Qn!==t&&C.add(Qn)});const Zn=fc(C.values());return _D(t,this._triggerName,i,r,F,g,y,ae,Zn,S,b,st)}}function TH(n,e){const t=As(e);for(const i in n)n.hasOwnProperty(i)&&null!=n[i]&&(t[i]=n[i]);return t}class AH{constructor(e,t,i){this.styles=e,this.defaultParams=t,this.normalizer=i}buildStyles(e,t){const i=new Map,r=As(this.defaultParams);return Object.keys(e).forEach(o=>{const s=e[o];null!==s&&(r[o]=s)}),this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=Fs(s,r,t));const l=this.normalizer.normalizePropertyName(a,t);s=this.normalizer.normalizeStyleValue(a,l,s,t),i.set(a,s)})}),i}}class FH{constructor(e,t,i){this.name=e,this.ast=t,this._normalizer=i,this.transitionFactories=[],this.states=new Map,t.states.forEach(r=>{this.states.set(r.name,new AH(r.style,r.options&&r.options.params||{},i))}),yD(this.states,"true","1"),yD(this.states,"false","0"),t.transitions.forEach(r=>{this.transitionFactories.push(new vD(e,r,this.states))}),this.fallbackTransition=function OH(n,e,t){return new vD(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},e)}(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,i,r){return this.transitionFactories.find(s=>s.match(e,t,i,r))||null}matchStyles(e,t,i){return this.fallbackTransition.buildStyles(e,t,i)}}function yD(n,e,t){n.has(e)?n.has(t)||n.set(t,n.get(e)):n.has(t)&&n.set(e,n.get(t))}const PH=new vc;class kH{constructor(e,t,i){this.bodyNode=e,this._driver=t,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,t){const i=[],r=[],o=bp(this._driver,t,i,r);if(i.length)throw function kj(n){return new w(3503,!1)}();this._animations.set(e,o)}_buildPlayer(e,t,i){const r=e.element,o=Xw(0,this._normalizer,0,e.keyframes,t,i);return this._driver.animate(r,o,e.duration,e.delay,e.easing,[],!0)}create(e,t,i={}){const r=[],o=this._animations.get(e);let s;const a=new Map;if(o?(s=wp(this._driver,t,o,mp,lc,new Map,new Map,i,PH,r),s.forEach(d=>{const u=Ot(a,d.element,new Map);d.postStyleProps.forEach(f=>u.set(f,null))})):(r.push(function Nj(){return new w(3300,!1)}()),s=[]),r.length)throw function Lj(n){return new w(3504,!1)}();a.forEach((d,u)=>{d.forEach((f,p)=>{d.set(p,this._driver.computeStyle(u,p,qn))})});const c=gi(s.map(d=>{const u=a.get(d.element);return this._buildPlayer(d,new Map,u)}));return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){const t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);const i=this.players.indexOf(t);i>=0&&this.players.splice(i,1)}_getPlayer(e){const t=this._playersById.get(e);if(!t)throw function Vj(n){return new w(3301,!1)}();return t}listen(e,t,i,r){const o=up(t,"","","");return cp(this._getPlayer(e),i,o,r),()=>{}}command(e,t,i,r){if("register"==i)return void this.register(e,r[0]);if("create"==i)return void this.create(e,t,r[0]||{});const o=this._getPlayer(e);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e)}}}const bD="ng-animate-queued",Sp="ng-animate-disabled",jH=[],xD={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},HH={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},qt="__ng_removed";class Ip{get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;const i=e&&e.hasOwnProperty("value");if(this.value=function GH(n){return n??null}(i?e.value:e),i){const o=As(e);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){const t=e.params;if(t){const i=this.options.params;Object.keys(t).forEach(r=>{null==i[r]&&(i[r]=t[r])})}}}const Os="void",Tp=new Ip(Os);class UH{constructor(e,t,i){this.id=e,this.hostElement=t,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Yt(t,this._hostClassName)}listen(e,t,i,r){if(!this._triggers.has(t))throw function Bj(n,e){return new w(3302,!1)}();if(null==i||0==i.length)throw function jj(n){return new w(3303,!1)}();if(!function WH(n){return"start"==n||"done"==n}(i))throw function Hj(n,e){return new w(3400,!1)}();const o=Ot(this._elementListeners,e,[]),s={name:t,phase:i,callback:r};o.push(s);const a=Ot(this._engine.statesByElement,e,new Map);return a.has(t)||(Yt(e,cc),Yt(e,cc+"-"+t),a.set(t,Tp)),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(t)||a.delete(t)})}}register(e,t){return!this._triggers.has(e)&&(this._triggers.set(e,t),!0)}_getTrigger(e){const t=this._triggers.get(e);if(!t)throw function Uj(n){return new w(3401,!1)}();return t}trigger(e,t,i,r=!0){const o=this._getTrigger(t),s=new Ap(this.id,t,e);let a=this._engine.statesByElement.get(e);a||(Yt(e,cc),Yt(e,cc+"-"+t),this._engine.statesByElement.set(e,a=new Map));let l=a.get(t);const c=new Ip(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(t,c),l||(l=Tp),c.value!==Os&&l.value===c.value){if(!function KH(n,e){const t=Object.keys(n),i=Object.keys(e);if(t.length!=i.length)return!1;for(let r=0;r{Yi(e,y),Mn(e,C)})}return}const f=Ot(this._engine.playersByElement,e,[]);f.forEach(_=>{_.namespaceId==this.id&&_.triggerName==t&&_.queued&&_.destroy()});let p=o.matchTransition(l.value,c.value,e,c.params),g=!1;if(!p){if(!r)return;p=o.fallbackTransition,g=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:p,fromState:l,toState:c,player:s,isFallbackTransition:g}),g||(Yt(e,bD),s.onStart(()=>{so(e,bD)})),s.onDone(()=>{let _=this.players.indexOf(s);_>=0&&this.players.splice(_,1);const y=this._engine.playersByElement.get(e);if(y){let C=y.indexOf(s);C>=0&&y.splice(C,1)}}),this.players.push(s),f.push(s),s}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,i)=>{this._elementListeners.set(i,t.filter(r=>r.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(i=>i.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const i=this._engine.driver.query(e,dc,!0);i.forEach(r=>{if(r[qt])return;const o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,t,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(e,t,i,r){const o=this._engine.statesByElement.get(e),s=new Map;if(o){const a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){const d=this.trigger(e,c,Os,r);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,s),i&&gi(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e),i=this._engine.statesByElement.get(e);if(t&&i){const r=new Set;t.forEach(o=>{const s=o.name;if(r.has(s))return;r.add(s);const l=this._triggers.get(s).fallbackTransition,c=i.get(s)||Tp,d=new Ip(Os),u=new Ap(this.id,s,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:s,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(e,t){const i=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let r=!1;if(i.totalAnimations){const o=i.players.length?i.playersByQueriedElement.get(e):[];if(o&&o.length)r=!0;else{let s=e;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(e),r)i.markElementAsRemoved(this.id,e,!1,t);else{const o=e[qt];(!o||o===xD)&&(i.afterFlush(()=>this.clearElementCache(e)),i.destroyInnerAnimations(e),i._onRemovalComplete(e,t))}}insertNode(e,t){Yt(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(i=>{const r=i.player;if(r.destroyed)return;const o=i.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==i.triggerName){const l=up(o,i.triggerName,i.fromState.value,i.toState.value);l._data=e,cp(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):t.push(i)}),this._queue=[],t.sort((i,r)=>{const o=i.transition.ast.depCount,s=r.transition.ast.depCount;return 0==o||0==s?o-s:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find(i=>i.element===e)||t,t}}class $H{_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,i){this.bodyNode=e,this.driver=t,this._normalizer=i,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=(r,o)=>{}}get queuedPlayers(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(i=>{i.queued&&e.push(i)})}),e}createNamespace(e,t){const i=new UH(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(i,t):(this.newHostElements.set(t,i),this.collectEnterElement(t)),this._namespaceLookup[e]=i}_balanceNamespaceList(e,t){const i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(t);for(;a;){const l=r.get(a);if(l){const c=i.indexOf(l);i.splice(c+1,0,e),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(e)}else i.push(e);return r.set(t,e),e}register(e,t){let i=this._namespaceLookup[e];return i||(i=this.createNamespace(e,t)),i}registerTrigger(e,t,i){let r=this._namespaceLookup[e];r&&r.register(t,i)&&this.totalAnimations++}destroy(e,t){if(!e)return;const i=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[e];const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1)}),this.afterFlushAnimationsDone(()=>i.destroy(t))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,i=this.statesByElement.get(e);if(i)for(let r of i.values())if(r.namespaceId){const o=this._fetchNamespace(r.namespaceId);o&&t.add(o)}return t}trigger(e,t,i,r){if(xc(t)){const o=this._fetchNamespace(e);if(o)return o.trigger(t,i,r),!0}return!1}insertNode(e,t,i,r){if(!xc(t))return;const o=t[qt];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(t);s>=0&&this.collectedLeaveElements.splice(s,1)}if(e){const s=this._fetchNamespace(e);s&&s.insertNode(t,i)}r&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Yt(e,Sp)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),so(e,Sp))}removeNode(e,t,i,r){if(xc(t)){const o=e?this._fetchNamespace(e):null;if(o?o.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r),i){const s=this.namespacesByHostElement.get(t);s&&s.id!==e&&s.removeNode(t,r)}}else this._onRemovalComplete(t,r)}markElementAsRemoved(e,t,i,r,o){this.collectedLeaveElements.push(t),t[qt]={namespaceId:e,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,t,i,r,o){return xc(t)?this._fetchNamespace(e).listen(t,i,r,o):()=>{}}_buildInstruction(e,t,i,r,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,i,r,e.fromState.options,e.toState.options,t,o)}destroyInnerAnimations(e){let t=this.driver.query(e,dc,!0);t.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,gp,!0),t.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return gi(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e[qt];if(t&&t.setForRemoval){if(e[qt]=xD,t.namespaceId){this.destroyInnerAnimations(e);const i=this._fetchNamespace(t.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(Sp)&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],t.length?gi(t).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(e){throw function $j(n){return new w(3402,!1)}()}_flushAnimations(e,t){const i=new vc,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(P=>{d.add(P);const L=this.driver.query(P,".ng-animate-queued",!0);for(let U=0;U{const U=mp+_++;g.set(L,U),P.forEach(se=>Yt(se,U))});const y=[],C=new Set,S=new Set;for(let P=0;PC.add(se)):S.add(L))}const b=new Map,F=DD(f,Array.from(C));F.forEach((P,L)=>{const U=lc+_++;b.set(L,U),P.forEach(se=>Yt(se,U))}),e.push(()=>{p.forEach((P,L)=>{const U=g.get(L);P.forEach(se=>so(se,U))}),F.forEach((P,L)=>{const U=b.get(L);P.forEach(se=>so(se,U))}),y.forEach(P=>{this.processLeaveNode(P)})});const ee=[],ae=[];for(let P=this._namespaceList.length-1;P>=0;P--)this._namespaceList[P].drainQueuedTransitions(t).forEach(U=>{const se=U.player,qe=U.element;if(ee.push(se),this.collectedEnterElements.length){const at=qe[qt];if(at&&at.setForMove){if(at.previousTriggersValues&&at.previousTriggersValues.has(U.triggerName)){const Ji=at.previousTriggersValues.get(U.triggerName),Kt=this.statesByElement.get(U.element);if(Kt&&Kt.has(U.triggerName)){const Fc=Kt.get(U.triggerName);Fc.value=Ji,Kt.set(U.triggerName,Fc)}}return void se.destroy()}}const En=!u||!this.driver.containsElement(u,qe),kt=b.get(qe),bi=g.get(qe),Ie=this._buildInstruction(U,i,bi,kt,En);if(Ie.errors&&Ie.errors.length)return void ae.push(Ie);if(En)return se.onStart(()=>Yi(qe,Ie.fromStyles)),se.onDestroy(()=>Mn(qe,Ie.toStyles)),void r.push(se);if(U.isFallbackTransition)return se.onStart(()=>Yi(qe,Ie.fromStyles)),se.onDestroy(()=>Mn(qe,Ie.toStyles)),void r.push(se);const hM=[];Ie.timelines.forEach(at=>{at.stretchStartingKeyframe=!0,this.disabledNodes.has(at.element)||hM.push(at)}),Ie.timelines=hM,i.append(qe,Ie.timelines),s.push({instruction:Ie,player:se,element:qe}),Ie.queriedElements.forEach(at=>Ot(a,at,[]).push(se)),Ie.preStyleProps.forEach((at,Ji)=>{if(at.size){let Kt=l.get(Ji);Kt||l.set(Ji,Kt=new Set),at.forEach((Fc,qp)=>Kt.add(qp))}}),Ie.postStyleProps.forEach((at,Ji)=>{let Kt=c.get(Ji);Kt||c.set(Ji,Kt=new Set),at.forEach((Fc,qp)=>Kt.add(qp))})});if(ae.length){const P=[];ae.forEach(L=>{P.push(function zj(n,e){return new w(3505,!1)}())}),ee.forEach(L=>L.destroy()),this.reportError(P)}const st=new Map,Zn=new Map;s.forEach(P=>{const L=P.element;i.has(L)&&(Zn.set(L,L),this._beforeAnimationBuild(P.player.namespaceId,P.instruction,st))}),r.forEach(P=>{const L=P.element;this._getPreviousPlayers(L,!1,P.namespaceId,P.triggerName,null).forEach(se=>{Ot(st,L,[]).push(se),se.destroy()})});const Xn=y.filter(P=>ED(P,l,c)),Qn=new Map;wD(Qn,this.driver,S,c,qn).forEach(P=>{ED(P,l,c)&&Xn.push(P)});const Ls=new Map;p.forEach((P,L)=>{wD(Ls,this.driver,new Set(P),l,ap)}),Xn.forEach(P=>{const L=Qn.get(P),U=Ls.get(P);Qn.set(P,new Map([...Array.from(L?.entries()??[]),...Array.from(U?.entries()??[])]))});const Qi=[],uM=[],fM={};s.forEach(P=>{const{element:L,player:U,instruction:se}=P;if(i.has(L)){if(d.has(L))return U.onDestroy(()=>Mn(L,se.toStyles)),U.disabled=!0,U.overrideTotalTime(se.totalTime),void r.push(U);let qe=fM;if(Zn.size>1){let kt=L;const bi=[];for(;kt=kt.parentNode;){const Ie=Zn.get(kt);if(Ie){qe=Ie;break}bi.push(kt)}bi.forEach(Ie=>Zn.set(Ie,qe))}const En=this._buildAnimation(U.namespaceId,se,st,o,Ls,Qn);if(U.setRealPlayer(En),qe===fM)Qi.push(U);else{const kt=this.playersByElement.get(qe);kt&&kt.length&&(U.parentPlayer=gi(kt)),r.push(U)}}else Yi(L,se.fromStyles),U.onDestroy(()=>Mn(L,se.toStyles)),uM.push(U),d.has(L)&&r.push(U)}),uM.forEach(P=>{const L=o.get(P.element);if(L&&L.length){const U=gi(L);P.setRealPlayer(U)}}),r.forEach(P=>{P.parentPlayer?P.syncPlayerEvents(P.parentPlayer):P.destroy()});for(let P=0;P!En.destroyed);qe.length?qH(this,L,qe):this.processLeaveNode(L)}return y.length=0,Qi.forEach(P=>{this.players.push(P),P.onDone(()=>{P.destroy();const L=this.players.indexOf(P);this.players.splice(L,1)}),P.play()}),Qi}elementContainsData(e,t){let i=!1;const r=t[qt];return r&&r.setForRemoval&&(i=!0),this.playersByElement.has(t)&&(i=!0),this.playersByQueriedElement.has(t)&&(i=!0),this.statesByElement.has(t)&&(i=!0),this._fetchNamespace(e).elementContainsData(t)||i}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,i,r,o){let s=[];if(t){const a=this.playersByQueriedElement.get(e);a&&(s=a)}else{const a=this.playersByElement.get(e);if(a){const l=!o||o==Os;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||s.push(c)})}}return(i||r)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(e,t,i){const o=t.element,s=t.isRemovalTransition?void 0:e,a=t.isRemovalTransition?void 0:t.triggerName;for(const l of t.timelines){const c=l.element,d=c!==o,u=Ot(i,c,[]);this._getPreviousPlayers(c,d,s,a,t.toState).forEach(p=>{const g=p.getRealPlayer();g.beforeDestroy&&g.beforeDestroy(),p.destroy(),u.push(p)})}Yi(o,t.fromStyles)}_buildAnimation(e,t,i,r,o,s){const a=t.triggerName,l=t.element,c=[],d=new Set,u=new Set,f=t.timelines.map(g=>{const _=g.element;d.add(_);const y=_[qt];if(y&&y.removedBeforeQueried)return new Ts(g.duration,g.delay);const C=_!==l,S=function YH(n){const e=[];return MD(n,e),e}((i.get(_)||jH).map(st=>st.getRealPlayer())).filter(st=>!!st.element&&st.element===_),b=o.get(_),F=s.get(_),ee=Xw(0,this._normalizer,0,g.keyframes,b,F),ae=this._buildPlayer(g,ee,S);if(g.subTimeline&&r&&u.add(_),C){const st=new Ap(e,a,_);st.setRealPlayer(ae),c.push(st)}return ae});c.forEach(g=>{Ot(this.playersByQueriedElement,g.element,[]).push(g),g.onDone(()=>function zH(n,e,t){let i=n.get(e);if(i){if(i.length){const r=i.indexOf(t);i.splice(r,1)}0==i.length&&n.delete(e)}return i}(this.playersByQueriedElement,g.element,g))}),d.forEach(g=>Yt(g,sD));const p=gi(f);return p.onDestroy(()=>{d.forEach(g=>so(g,sD)),Mn(l,t.toStyles)}),u.forEach(g=>{Ot(r,g,[]).push(p)}),p}_buildPlayer(e,t,i){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,i):new Ts(e.duration,e.delay)}}class Ap{constructor(e,t,i){this.namespaceId=e,this.triggerName=t,this.element=i,this._player=new Ts,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,i)=>{t.forEach(r=>cp(e,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){Ot(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}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(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const t=this._player;t.triggerCallback&&t.triggerCallback(e)}}function xc(n){return n&&1===n.nodeType}function CD(n,e){const t=n.style.display;return n.style.display=e??"none",t}function wD(n,e,t,i,r){const o=[];t.forEach(l=>o.push(CD(l)));const s=[];i.forEach((l,c)=>{const d=new Map;l.forEach(u=>{const f=e.computeStyle(c,u,r);d.set(u,f),(!f||0==f.length)&&(c[qt]=HH,s.push(c))}),n.set(c,d)});let a=0;return t.forEach(l=>CD(l,o[a++])),s}function DD(n,e){const t=new Map;if(n.forEach(a=>t.set(a,[])),0==e.length)return t;const i=1,r=new Set(e),o=new Map;function s(a){if(!a)return i;let l=o.get(a);if(l)return l;const c=a.parentNode;return l=t.has(c)?c:r.has(c)?i:s(c),o.set(a,l),l}return e.forEach(a=>{const l=s(a);l!==i&&t.get(l).push(a)}),t}function Yt(n,e){n.classList?.add(e)}function so(n,e){n.classList?.remove(e)}function qH(n,e,t){gi(t).onDone(()=>n.processLeaveNode(e))}function MD(n,e){for(let t=0;tr.add(o)):e.set(n,i),t.delete(n),!0}class Cc{constructor(e,t,i){this.bodyNode=e,this._driver=t,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new $H(e,t,i),this._timelineEngine=new kH(e,t,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(e,t,i,r,o){const s=e+"-"+r;let a=this._triggerCache[s];if(!a){const l=[],c=[],d=bp(this._driver,o,l,c);if(l.length)throw function Oj(n,e){return new w(3404,!1)}();a=function RH(n,e,t){return new FH(n,e,t)}(r,d,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(t,r,a)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,i,r){this._transitionEngine.insertNode(e,t,i,r)}onRemove(e,t,i,r){this._transitionEngine.removeNode(e,t,r||!1,i)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,i,r){if("@"==i.charAt(0)){const[o,s]=Qw(i);this._timelineEngine.command(o,t,s,r)}else this._transitionEngine.trigger(e,t,i,r)}listen(e,t,i,r,o){if("@"==i.charAt(0)){const[s,a]=Qw(i);return this._timelineEngine.listen(s,t,a,o)}return this._transitionEngine.listen(e,t,i,r,o)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let XH=(()=>{class n{constructor(t,i,r){this._element=t,this._startStyles=i,this._endStyles=r,this._state=0;let o=n.initialStylesByElement.get(t);o||n.initialStylesByElement.set(t,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&Mn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Mn(this._element,this._initialStyles),this._endStyles&&(Mn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(Yi(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Yi(this._element,this._endStyles),this._endStyles=null),Mn(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function Rp(n){let e=null;return n.forEach((t,i)=>{(function QH(n){return"display"===n||"position"===n})(i)&&(e=e||new Map,e.set(i,t))}),e}class SD{constructor(e,t,i,r){this.element=e,this.keyframes=t,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){const t=[];return e.forEach(i=>{t.push(Object.fromEntries(i))}),t}_triggerWebAnimation(e,t,i){return e.animate(this._convertKeyframesToObject(t),i)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),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,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_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(e=>e()),this._onDestroyFns=[])}setPosition(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{"offset"!==r&&e.set(r,this._finished?i:fD(this.element,r))}),this.currentSnapshot=e}triggerCallback(e){const t="start"===e?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class JH{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,t){return!1}containsElement(e,t){return nD(e,t)}getParentElement(e){return hp(e)}query(e,t,i){return iD(e,t,i)}computeStyle(e,t,i){return window.getComputedStyle(e)[t]}animate(e,t,i,r,o,s=[]){const l={duration:i,delay:r,fill:0==r?"both":"forwards"};o&&(l.easing=o);const c=new Map,d=s.filter(p=>p instanceof SD);(function iH(n,e){return 0===n||0===e})(i,r)&&d.forEach(p=>{p.currentSnapshot.forEach((g,_)=>c.set(_,g))});let u=function Jj(n){return n.length?n[0]instanceof Map?n:n.map(e=>aD(e)):[]}(t).map(p=>_i(p));u=function rH(n,e,t){if(t.size&&e.length){let i=e[0],r=[];if(t.forEach((o,s)=>{i.has(s)||r.push(s),i.set(s,o)}),r.length)for(let o=1;os.set(a,fD(n,a)))}}return e}(e,u,c);const f=function ZH(n,e){let t=null,i=null;return Array.isArray(e)&&e.length?(t=Rp(e[0]),e.length>1&&(i=Rp(e[e.length-1]))):e instanceof Map&&(t=Rp(e)),t||i?new XH(n,t,i):null}(e,u);return new SD(e,u,l,f)}}let e3=(()=>{class n extends Ww{constructor(t,i){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(i.body,{id:"0",encapsulation:Zt.None,styles:[],data:{animation:[]}})}build(t){const i=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(t)?qw(t):t;return ID(this._renderer,null,i,"register",[r]),new t3(i,this._renderer)}}return n.\u0275fac=function(t){return new(t||n)(M(Po),M(oe))},n.\u0275prov=T({token:n,factory:n.\u0275fac}),n})();class t3 extends uj{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new n3(this._id,e,t||{},this._renderer)}}class n3{constructor(e,t,i,r){this.id=e,this.element=t,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(e,t){return this._renderer.listen(this.element,`@@${this.id}:${e}`,t)}_command(e,...t){return ID(this._renderer,this.element,this.id,e,t)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}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(e){this._command("setPosition",e)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function ID(n,e,t,i,r){return n.setProperty(e,`@@${t}:${i}`,r)}const TD="@.disabled";let r3=(()=>{class n{constructor(t,i,r){this.delegate=t,this.engine=i,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),i.onRemovalComplete=(o,s)=>{const a=s?.parentNode(o);a&&s.removeChild(a,o)}}createRenderer(t,i){const o=this.delegate.createRenderer(t,i);if(!(t&&i&&i.data&&i.data.animation)){let d=this._rendererCache.get(o);return d||(d=new AD("",o,this.engine,()=>this._rendererCache.delete(o)),this._rendererCache.set(o,d)),d}const s=i.id,a=i.id+"-"+this._currentId;this._currentId++,this.engine.register(a,t);const l=d=>{Array.isArray(d)?d.forEach(l):this.engine.registerTrigger(s,a,t,d.name,d)};return i.data.animation.forEach(l),new o3(this,a,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,i,r){t>=0&&ti(r)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(o=>{const[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,r]))}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(t){return new(t||n)(M(Po),M(Cc),M(re))},n.\u0275prov=T({token:n,factory:n.\u0275fac}),n})();class AD{constructor(e,t,i,r){this.namespaceId=e,this.delegate=t,this.engine=i,this._onDestroy=r,this.destroyNode=this.delegate.destroyNode?o=>t.destroyNode(o):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,i,r=!0){this.delegate.insertBefore(e,t,i),this.engine.onInsert(this.namespaceId,t,e,r)}removeChild(e,t,i){this.engine.onRemove(this.namespaceId,t,this.delegate,i)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,i,r){this.delegate.setAttribute(e,t,i,r)}removeAttribute(e,t,i){this.delegate.removeAttribute(e,t,i)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,i,r){this.delegate.setStyle(e,t,i,r)}removeStyle(e,t,i){this.delegate.removeStyle(e,t,i)}setProperty(e,t,i){"@"==t.charAt(0)&&t==TD?this.disableAnimations(e,!!i):this.delegate.setProperty(e,t,i)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,i){return this.delegate.listen(e,t,i)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class o3 extends AD{constructor(e,t,i,r,o){super(t,i,r,o),this.factory=e,this.namespaceId=t}setProperty(e,t,i){"@"==t.charAt(0)?"."==t.charAt(1)&&t==TD?this.disableAnimations(e,i=void 0===i||!!i):this.engine.process(this.namespaceId,e,t.slice(1),i):this.delegate.setProperty(e,t,i)}listen(e,t,i){if("@"==t.charAt(0)){const r=function s3(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(e);let o=t.slice(1),s="";return"@"!=o.charAt(0)&&([o,s]=function a3(n){const e=n.indexOf(".");return[n.substring(0,e),n.slice(e+1)]}(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,i,a)})}return this.delegate.listen(e,t,i)}}const RD=[{provide:Ww,useClass:e3},{provide:Mp,useFactory:function c3(){return new SH}},{provide:Cc,useClass:(()=>{class n extends Cc{constructor(t,i,r,o){super(t.body,i,r)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(t){return new(t||n)(M(oe),M(pp),M(Mp),M(Ur))},n.\u0275prov=T({token:n,factory:n.\u0275fac}),n})()},{provide:Po,useFactory:function d3(n,e,t){return new r3(n,e,t)},deps:[yl,Cc,re]}],Fp=[{provide:pp,useFactory:()=>new JH},{provide:lf,useValue:"BrowserAnimations"},...RD],FD=[{provide:pp,useClass:rD},{provide:lf,useValue:"NoopAnimations"},...RD];let u3=(()=>{class n{static withConfig(t){return{ngModule:n,providers:t.disableAnimations?FD:Fp}}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=me({type:n}),n.\u0275inj=he({providers:Fp,imports:[Z0]}),n})(),p3=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=me({type:n}),n.\u0275inj=he({imports:[He,FC,He]}),n})(),m3=(()=>{class n{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),g3=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=me({type:n}),n.\u0275inj=he({providers:[m3]}),n})(),Op=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=me({type:n}),n.\u0275inj=he({imports:[He,hl,g3,He]}),n})(),Y3=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=me({type:n}),n.\u0275inj=he({imports:[He,He]}),n})(),K3=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=me({type:n}),n.\u0275inj=he({}),n})(),Z3=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=me({type:n}),n.\u0275inj=he({imports:[He,Op,Op,K3,He]}),n})();const X3=["addListener","removeListener"],Q3=["addEventListener","removeEventListener"],J3=["on","off"];function Ic(n,e,t,i){if(ie(t)&&(i=t,t=void 0),i)return Ic(n,e,t).pipe(Yf(i));const[r,o]=function n5(n){return ie(n.addEventListener)&&ie(n.removeEventListener)}(n)?Q3.map(s=>a=>n[s](e,a,t)):function e5(n){return ie(n.addListener)&&ie(n.removeListener)}(n)?X3.map(KD(n,e)):function t5(n){return ie(n.on)&&ie(n.off)}(n)?J3.map(KD(n,e)):[];if(!r&&$c(n))return We(s=>Ic(s,e,t))(pt(n));if(!r)throw new TypeError("Invalid event target");return new _e(s=>{const a=(...l)=>s.next(1o(a)})}function KD(n,e){return t=>i=>n[t](e,i)}const Ns={schedule(n){let e=requestAnimationFrame,t=cancelAnimationFrame;const{delegate:i}=Ns;i&&(e=i.requestAnimationFrame,t=i.cancelAnimationFrame);const r=e(o=>{t=void 0,n(o)});return new Ye(()=>t?.(r))},requestAnimationFrame(...n){const{delegate:e}=Ns;return(e?.requestAnimationFrame||requestAnimationFrame)(...n)},cancelAnimationFrame(...n){const{delegate:e}=Ns;return(e?.cancelAnimationFrame||cancelAnimationFrame)(...n)},delegate:void 0},s5=new class o5 extends Oh{flush(e){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;e=e||i.shift();do{if(r=e.execute(e.state,e.delay))break}while((e=i[0])&&e.id===t&&i.shift());if(this._active=!1,r){for(;(e=i[0])&&e.id===t&&i.shift();)e.unsubscribe();throw r}}}(class r5 extends Fh{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,i=0){return null!==i&&i>0?super.requestAsyncId(e,t,i):(e.actions.push(this),e._scheduled||(e._scheduled=Ns.requestAnimationFrame(()=>e.flush(void 0))))}recycleAsyncId(e,t,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(e,t,i);const{actions:o}=e;null!=t&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==t&&(Ns.cancelAnimationFrame(t),e._scheduled=void 0)}});let jp,a5=1;const Tc={};function ZD(n){return n in Tc&&(delete Tc[n],!0)}const l5={setImmediate(n){const e=a5++;return Tc[e]=!0,jp||(jp=Promise.resolve()),jp.then(()=>ZD(e)&&n()),e},clearImmediate(n){ZD(n)}},{setImmediate:c5,clearImmediate:d5}=l5,Ac={setImmediate(...n){const{delegate:e}=Ac;return(e?.setImmediate||c5)(...n)},clearImmediate(n){const{delegate:e}=Ac;return(e?.clearImmediate||d5)(n)},delegate:void 0},h5=new class f5 extends Oh{flush(e){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;e=e||i.shift();do{if(r=e.execute(e.state,e.delay))break}while((e=i[0])&&e.id===t&&i.shift());if(this._active=!1,r){for(;(e=i[0])&&e.id===t&&i.shift();)e.unsubscribe();throw r}}}(class u5 extends Fh{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,i=0){return null!==i&&i>0?super.requestAsyncId(e,t,i):(e.actions.push(this),e._scheduled||(e._scheduled=Ac.setImmediate(e.flush.bind(e,void 0))))}recycleAsyncId(e,t,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(e,t,i);const{actions:o}=e;null!=t&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==t&&(Ac.clearImmediate(t),e._scheduled=void 0)}});function Hp(n,e=Ph){return function p5(n){return Fe((e,t)=>{let i=!1,r=null,o=null,s=!1;const a=()=>{if(o?.unsubscribe(),o=null,i){i=!1;const c=r;r=null,t.next(c)}s&&t.complete()},l=()=>{o=null,s&&t.complete()};e.subscribe(De(t,c=>{i=!0,r=c,o||pt(n(c)).subscribe(o=De(t,a,l))},()=>{s=!0,(!i||!o||o.closed)&&t.complete()}))})}(()=>function g5(n=0,e,t=iV){let i=-1;return null!=e&&(mm(e)?t=e:i=e),new _e(r=>{let o=function m5(n){return n instanceof Date&&!isNaN(n)}(n)?+n-t.now():n;o<0&&(o=0);let s=0;return t.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}(n,e))}const _5=["contentWrapper"],v5=["*"],y5=new I("VIRTUAL_SCROLL_STRATEGY");let Rc=(()=>{class n{constructor(t,i,r){this._ngZone=t,this._platform=i,this._scrolled=new Re,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const i=this.scrollContainers.get(t);i&&(i.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new _e(i=>{this._globalSubscription||this._addGlobalListener();const r=t>0?this._scrolled.pipe(Hp(t)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):N()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(t,i){const r=this.getAncestorScrollContainers(t);return this.scrolled(i).pipe(Gt(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(t){const i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,t)&&i.push(o)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,i){let r=Rh(i),o=t.getElementRef().nativeElement;do{if(r==o)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Ic(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return n.\u0275fac=function(t){return new(t||n)(M(re),M(fi),M(oe,8))},n.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),XD=(()=>{class n{constructor(t,i,r,o){this.elementRef=t,this.scrollDispatcher=i,this.ngZone=r,this.dir=o,this._destroyed=new Re,this._elementScrolled=new _e(s=>this.ngZone.runOutsideAngular(()=>Ic(this.elementRef.nativeElement,"scroll").pipe(Yl(this._destroyed)).subscribe(s)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(t){const i=this.elementRef.nativeElement,r=this.dir&&"rtl"==this.dir.value;null==t.left&&(t.left=r?t.end:t.start),null==t.right&&(t.right=r?t.start:t.end),null!=t.bottom&&(t.top=i.scrollHeight-i.clientHeight-t.bottom),r&&0!=ys()?(null!=t.left&&(t.right=i.scrollWidth-i.clientWidth-t.left),2==ys()?t.left=t.right:1==ys()&&(t.left=t.right?-t.right:t.right)):null!=t.right&&(t.left=i.scrollWidth-i.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){const i=this.elementRef.nativeElement;mC()?i.scrollTo(t):(null!=t.top&&(i.scrollTop=t.top),null!=t.left&&(i.scrollLeft=t.left))}measureScrollOffset(t){const i="left",r="right",o=this.elementRef.nativeElement;if("top"==t)return o.scrollTop;if("bottom"==t)return o.scrollHeight-o.clientHeight-o.scrollTop;const s=this.dir&&"rtl"==this.dir.value;return"start"==t?t=s?r:i:"end"==t&&(t=s?i:r),s&&2==ys()?t==i?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:s&&1==ys()?t==i?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:t==i?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}}return n.\u0275fac=function(t){return new(t||n)(D(Pe),D(Rc),D(re),D(xs,8))},n.\u0275dir=k({type:n,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0}),n})(),Up=(()=>{class n{constructor(t,i,r){this._platform=t,this._change=new Re,this._changeListener=o=>{this._change.next(o)},this._document=r,i.runOutsideAngular(()=>{if(t.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+r,right:t.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,i=this._getWindow(),r=t.documentElement,o=r.getBoundingClientRect();return{top:-o.top||t.body.scrollTop||i.scrollY||r.scrollTop||0,left:-o.left||t.body.scrollLeft||i.scrollX||r.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(Hp(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}return n.\u0275fac=function(t){return new(t||n)(M(fi),M(re),M(oe,8))},n.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const QD=new I("VIRTUAL_SCROLLABLE");let C5=(()=>{class n extends XD{constructor(t,i,r,o){super(t,i,r,o)}measureViewportSize(t){const i=this.elementRef.nativeElement;return"horizontal"===t?i.clientWidth:i.clientHeight}}return n.\u0275fac=function(t){return new(t||n)(D(Pe),D(Rc),D(re),D(xs,8))},n.\u0275dir=k({type:n,features:[de]}),n})();const D5=typeof requestAnimationFrame<"u"?s5:h5;let M5=(()=>{class n extends C5{get orientation(){return this._orientation}set orientation(t){this._orientation!==t&&(this._orientation=t,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(t){this._appendOnly=function J2(n){return null!=n&&"false"!=`${n}`}(t)}constructor(t,i,r,o,s,a,l,c){super(t,a,r,s),this.elementRef=t,this._changeDetectorRef=i,this._scrollStrategy=o,this.scrollable=c,this._platform=Y(fi),this._detachedSubject=new Re,this._renderedRangeSubject=new Re,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new _e(d=>this._scrollStrategy.scrolledIndexChange.subscribe(u=>Promise.resolve().then(()=>this.ngZone.run(()=>d.next(u))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=Ye.EMPTY,this._viewportChanges=l.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe(Xf(null),Hp(0,D5)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(t){this.ngZone.runOutsideAngular(()=>{this._forOf=t,this._forOf.dataStream.pipe(Yl(this._detachedSubject)).subscribe(i=>{const r=i.length;r!==this._dataLength&&(this._dataLength=r,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(t){return this.getElementRef().nativeElement.getBoundingClientRect()[t]}setTotalContentSize(t){this._totalContentSize!==t&&(this._totalContentSize=t,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(t){(function w5(n,e){return n.start==e.start&&n.end==e.end})(this._renderedRange,t)||(this.appendOnly&&(t={start:0,end:Math.max(this._renderedRange.end,t.end)}),this._renderedRangeSubject.next(this._renderedRange=t),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(t,i="to-start"){t=this.appendOnly&&"to-start"===i?0:t;const o="horizontal"==this.orientation,s=o?"X":"Y";let l=`translate${s}(${Number((o&&this.dir&&"rtl"==this.dir.value?-1:1)*t)}px)`;this._renderedContentOffset=t,"to-end"===i&&(l+=` translate${s}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=l&&(this._renderedContentTransform=l,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(t,i="auto"){const r={behavior:i};"horizontal"===this.orientation?r.start=t:r.top=t,this.scrollable.scrollTo(r)}scrollToIndex(t,i="auto"){this._scrollStrategy.scrollToIndex(t,i)}measureScrollOffset(t){let i;return i=this.scrollable==this?r=>super.measureScrollOffset(r):r=>this.scrollable.measureScrollOffset(r),Math.max(0,i(t??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(t){let i;const r="left",o="right",s="rtl"==this.dir?.value;i="start"==t?s?o:r:"end"==t?s?r:o:t||("horizontal"===this.orientation?"left":"top");const a=this.scrollable.measureBoundingClientRectWithScrollOffset(i);return this.elementRef.nativeElement.getBoundingClientRect()[i]-a}measureRenderedContentSize(){const t=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?t.offsetWidth:t.offsetHeight}measureRangeSize(t){return this._forOf?this._forOf.measureRangeSize(t,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(t){t&&this._runAfterChangeDetection.push(t),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const t=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const i of t)i()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return n.\u0275fac=function(t){return new(t||n)(D(Pe),D(Zo),D(re),D(y5,8),D(xs,8),D(Rc),D(Up),D(QD,8))},n.\u0275cmp=wt({type:n,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(t,i){if(1&t&&function cb(n,e,t){const i=ne();i.firstCreatePass&&(ub(i,new ab(n,e,t),-1),2==(2&e)&&(i.staticViewQueries=!0)),db(i,E(),e)}(_5,7),2&t){let r;Wa(r=qa())&&(i._contentWrapper=r.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(t,i){2&t&&Ni("cdk-virtual-scroll-orientation-horizontal","horizontal"===i.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==i.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},standalone:!0,features:[be([{provide:XD,useFactory:(e,t)=>e||t,deps:[[new Pn,new ma(QD)],n]}]),de,Uu],ngContentSelectors:v5,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(t,i){1&t&&(Pi(),h(0,"div",0,1),tn(2),m(),x(3,"div",2)),2&t&&(function P_(n){k_(ne(),E(),dt()+n,!1)}(3),Fu("width",i._totalContentWidth)("height",i._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0}),n})(),$p=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=me({type:n}),n.\u0275inj=he({}),n})(),JD=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=me({type:n}),n.\u0275inj=he({imports:[Cs,$p,M5,Cs,$p]}),n})();class zp{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;null!=e&&(this._attachedHost=null,e.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(e){this._attachedHost=e}}class E5 extends zp{constructor(e,t,i,r,o){super(),this.component=e,this.viewContainerRef=t,this.injector=i,this.componentFactoryResolver=r,this.projectableNodes=o}}class S5 extends zp{constructor(e,t,i,r){super(),this.templateRef=e,this.viewContainerRef=t,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(e,t=this.context){return this.context=t,super.attach(e)}detach(){return this.context=void 0,super.detach()}}class I5 extends zp{constructor(e){super(),this.element=e instanceof Pe?e.nativeElement:e}}class T5{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){return e instanceof E5?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof S5?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof I5?(this._attachedPortal=e,this.attachDomPortal(e)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class A5 extends T5{constructor(e,t,i,r,o){super(),this.outletElement=e,this._componentFactoryResolver=t,this._appRef=i,this._defaultInjector=r,this.attachDomPortal=s=>{const a=s.element,l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(e){const i=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);let r;return e.viewContainerRef?(r=e.viewContainerRef.createComponent(i,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector,e.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=i.create(e.injector||this._defaultInjector||Tt.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=e,r}attachTemplatePortal(e){let t=e.viewContainerRef,i=t.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=t.indexOf(i);-1!==r&&t.remove(r)}),this._attachedPortal=e,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(e){return e.hostView.rootNodes[0]}}let R5=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=me({type:n}),n.\u0275inj=he({}),n})();const eM=mC();class F5{constructor(e,t){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=je(-this._previousScrollPosition.left),e.style.top=je(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const e=this._document.documentElement,i=e.style,r=this._document.body.style,o=i.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),eM&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),eM&&(i.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,i=this._viewportRuler.getViewportSize();return t.scrollHeight>i.height||t.scrollWidth>i.width}}class O5{constructor(e,t,i,r){this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef=e}enable(){if(this._scrollSubscription)return;const e=this._scrollDispatcher.scrolled(0).pipe(Gt(t=>!t||!this._overlayRef.overlayElement.contains(t.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class tM{enable(){}disable(){}attach(){}}function Gp(n,e){return e.some(t=>n.bottomt.bottom||n.rightt.right)}function nM(n,e){return e.some(t=>n.topt.bottom||n.leftt.right)}class P5{constructor(e,t,i,r){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=i,this._config=r,this._scrollSubscription=null}attach(e){this._overlayRef=e}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();Gp(t,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let k5=(()=>{class n{constructor(t,i,r,o){this._scrollDispatcher=t,this._viewportRuler=i,this._ngZone=r,this.noop=()=>new tM,this.close=s=>new O5(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new F5(this._viewportRuler,this._document),this.reposition=s=>new P5(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=o}}return n.\u0275fac=function(t){return new(t||n)(M(Rc),M(Up),M(re),M(oe))},n.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class N5{constructor(e){if(this.scrollStrategy=new tM,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){const t=Object.keys(e);for(const i of t)void 0!==e[i]&&(this[i]=e[i])}}}class L5{constructor(e,t){this.connectionPair=e,this.scrollableViewProperties=t}}let iM=(()=>{class n{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const i=this._attachedOverlays.indexOf(t);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}}return n.\u0275fac=function(t){return new(t||n)(M(oe))},n.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),V5=(()=>{class n extends iM{constructor(t,i){super(t),this._ngZone=i,this._keydownListener=r=>{const o=this._attachedOverlays;for(let s=o.length-1;s>-1;s--)if(o[s]._keydownEvents.observers.length>0){const a=o[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(r)):a.next(r);break}}}add(t){super.add(t),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return n.\u0275fac=function(t){return new(t||n)(M(oe),M(re,8))},n.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),B5=(()=>{class n extends iM{constructor(t,i,r){super(t),this._platform=i,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=Ih(o)},this._clickListener=o=>{const s=Ih(o),a="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){const d=l[c];if(d._outsidePointerEvents.observers.length<1||!d.hasAttached())continue;if(d.overlayElement.contains(s)||d.overlayElement.contains(a))break;const u=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>u.next(o)):u.next(o)}}}add(t){if(super.add(t),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(t){t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0)}}return n.\u0275fac=function(t){return new(t||n)(M(oe),M(fi),M(re,8))},n.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),rM=(()=>{class n{constructor(t,i){this._platform=i,this._document=t}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t="cdk-overlay-container";if(this._platform.isBrowser||Th()){const r=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let o=0;othis._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)},this._keydownEvents=new Re,this._outsidePointerEvents=new Re,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const t=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(si(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof t?.onDestroy&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){const e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config={...this._config,...e},this._updateElementSize()}setDirection(e){this._config={...this._config,direction:e},this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){const e=this._config.direction;return e?"string"==typeof e?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const e=this._pane.style;e.width=je(this._config.width),e.height=je(this._config.height),e.minWidth=je(this._config.minWidth),e.minHeight=je(this._config.minHeight),e.maxWidth=je(this._config.maxWidth),e.maxHeight=je(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){const e="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(e)})}):this._backdropElement.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const e=this._backdropElement;if(e){if(this._animationsDisabled)return void this._disposeBackdrop(e);e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",this._backdropTransitionendHandler)}),e.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(e)},500))}}_toggleClasses(e,t,i){const r=Wl(t||[]).filter(o=>!!o);r.length&&(i?e.classList.add(...r):e.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const e=this._ngZone.onStable.pipe(Yl(bm(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),e.unsubscribe())})})}_disposeScrollStrategy(){const e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}_disposeBackdrop(e){e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",this._backdropTransitionendHandler),e.remove(),this._backdropElement===e&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const oM="cdk-overlay-connected-position-bounding-box",H5=/([A-Za-z%]+)$/;class U5{get positions(){return this._preferredPositions}constructor(e,t,i,r,o){this._viewportRuler=t,this._document=i,this._platform=r,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new Re,this._resizeSubscription=Ye.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}attach(e){this._validatePositions(),e.hostElement.classList.add(oM),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._originRect,t=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(e,r,a),c=this._getOverlayPoint(l,t,a),d=this._getOverlayFit(c,t,i,a);if(d.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(d,c,i)?o.push({position:a,origin:l,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleAreal&&(l=d,a=c)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Xi(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(oM),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const e=this._lastPosition;if(e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._getOriginPoint(this._originRect,this._containerRect,e);this._applyPosition(e,t)}else this.apply()}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,t,i){let r,o;if("center"==i.originX)r=e.left+e.width/2;else{const s=this._isRtl()?e.right:e.left,a=this._isRtl()?e.left:e.right;r="start"==i.originX?s:a}return t.left<0&&(r-=t.left),o="center"==i.originY?e.top+e.height/2:"top"==i.originY?e.top:e.bottom,t.top<0&&(o-=t.top),{x:r,y:o}}_getOverlayPoint(e,t,i){let r,o;return r="center"==i.overlayX?-t.width/2:"start"===i.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,o="center"==i.overlayY?-t.height/2:"top"==i.overlayY?0:-t.height,{x:e.x+r,y:e.y+o}}_getOverlayFit(e,t,i,r){const o=aM(t);let{x:s,y:a}=e,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let f=0-a,p=a+o.height-i.height,g=this._subtractOverflows(o.width,0-s,s+o.width-i.width),_=this._subtractOverflows(o.height,f,p),y=g*_;return{visibleArea:y,isCompletelyWithinViewport:o.width*o.height===y,fitsInViewportVertically:_===o.height,fitsInViewportHorizontally:g==o.width}}_canFitWithFlexibleDimensions(e,t,i){if(this._hasFlexibleDimensions){const r=i.bottom-t.y,o=i.right-t.x,s=sM(this._overlayRef.getConfig().minHeight),a=sM(this._overlayRef.getConfig().minWidth);return(e.fitsInViewportVertically||null!=s&&s<=r)&&(e.fitsInViewportHorizontally||null!=a&&a<=o)}return!1}_pushOverlayOnScreen(e,t,i){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};const r=aM(t),o=this._viewportRect,s=Math.max(e.x+r.width-o.width,0),a=Math.max(e.y+r.height-o.height,0),l=Math.max(o.top-i.top-e.y,0),c=Math.max(o.left-i.left-e.x,0);let d=0,u=0;return d=r.width<=o.width?c||-s:e.xg&&!this._isInitialRender&&!this._growAfterOpen&&(s=e.y-g/2)}if("end"===t.overlayX&&!r||"start"===t.overlayX&&r)f=i.width-e.x+this._viewportMargin,d=e.x-this._viewportMargin;else if("start"===t.overlayX&&!r||"end"===t.overlayX&&r)u=e.x,d=i.right-e.x;else{const p=Math.min(i.right-e.x+i.left,e.x),g=this._lastBoundingBoxSize.width;d=2*p,u=e.x-p,d>g&&!this._isInitialRender&&!this._growAfterOpen&&(u=e.x-g/2)}return{top:s,left:u,bottom:a,right:f,width:d,height:o}}_setBoundingBoxStyles(e,t){const i=this._calculateBoundingBoxRect(e,t);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=je(i.height),r.top=je(i.top),r.bottom=je(i.bottom),r.width=je(i.width),r.left=je(i.left),r.right=je(i.right),r.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",r.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",o&&(r.maxHeight=je(o)),s&&(r.maxWidth=je(s))}this._lastBoundingBoxSize=i,Xi(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Xi(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Xi(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,t){const i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){const d=this._viewportRuler.getViewportScrollPosition();Xi(i,this._getExactOverlayY(t,e,d)),Xi(i,this._getExactOverlayX(t,e,d))}else i.position="static";let a="",l=this._getOffset(t,"x"),c=this._getOffset(t,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),i.transform=a.trim(),s.maxHeight&&(r?i.maxHeight=je(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=je(s.maxWidth):o&&(i.maxWidth="")),Xi(this._pane.style,i)}_getExactOverlayY(e,t,i){let r={top:"",bottom:""},o=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),"bottom"===e.overlayY?r.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":r.top=je(o.y),r}_getExactOverlayX(e,t,i){let s,r={left:"",right:""},o=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),s=this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left","right"===s?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=je(o.x),r}_getScrollVisibility(){const e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:nM(e,i),isOriginOutsideView:Gp(e,i),isOverlayClipped:nM(t,i),isOverlayOutsideView:Gp(t,i)}}_subtractOverflows(e,...t){return t.reduce((i,r)=>i-Math.max(r,0),e)}_getNarrowedViewportRect(){const e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+e-this._viewportMargin,bottom:i.top+t-this._viewportMargin,width:e-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,t){return"x"===t?null==e.offsetX?this._offsetX:e.offsetX:null==e.offsetY?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&Wl(e).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){const e=this._origin;if(e instanceof Pe)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();const t=e.width||0,i=e.height||0;return{top:e.y,bottom:e.y+i,left:e.x,right:e.x+t,height:i,width:t}}}function Xi(n,e){for(let t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}function sM(n){if("number"!=typeof n&&null!=n){const[e,t]=n.split(H5);return t&&"px"!==t?null:parseFloat(e)}return n||null}function aM(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}const lM="cdk-global-overlay-wrapper";class $5{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(e){const t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(lM),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._xOffset=e,this._xPosition="left",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._xOffset=e,this._xPosition="right",this}start(e=""){return this._xOffset=e,this._xPosition="start",this}end(e=""){return this._xOffset=e,this._xPosition="end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._xPosition="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=i,l=!("100%"!==r&&"100vw"!==r||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==o&&"100vh"!==o||a&&"100%"!==a&&"100vh"!==a),d=this._xPosition,u=this._xOffset,f="rtl"===this._overlayRef.getConfig().direction;let p="",g="",_="";l?_="flex-start":"center"===d?(_="center",f?g=u:p=u):f?"left"===d||"end"===d?(_="flex-end",p=u):("right"===d||"start"===d)&&(_="flex-start",g=u):"left"===d||"start"===d?(_="flex-start",p=u):("right"===d||"end"===d)&&(_="flex-end",g=u),e.position=this._cssPosition,e.marginLeft=l?"0":p,e.marginTop=c?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=l?"0":g,t.justifyContent=_,t.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,i=t.style;t.classList.remove(lM),i.justifyContent=i.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}}let z5=(()=>{class n{constructor(t,i,r,o){this._viewportRuler=t,this._document=i,this._platform=r,this._overlayContainer=o}global(){return new $5}flexibleConnectedTo(t){return new U5(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(t){return new(t||n)(M(Up),M(oe),M(fi),M(rM))},n.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),G5=0,Wp=(()=>{class n{constructor(t,i,r,o,s,a,l,c,d,u,f,p){this.scrollStrategies=t,this._overlayContainer=i,this._componentFactoryResolver=r,this._positionBuilder=o,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=c,this._directionality=d,this._location=u,this._outsideClickDispatcher=f,this._animationsModuleType=p}create(t){const i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),s=new N5(t);return s.direction=s.direction||this._directionality.value,new j5(o,i,r,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(t){const i=this._document.createElement("div");return i.id="cdk-overlay-"+G5++,i.classList.add("cdk-overlay-pane"),t.appendChild(i),i}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(Ur)),new A5(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return n.\u0275fac=function(t){return new(t||n)(M(k5),M(rM),M(Cr),M(z5),M(V5),M(Tt),M(re),M(oe),M(xs),M(il),M(B5),M(lf,8))},n.\u0275prov=T({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Y5={provide:new I("cdk-connected-overlay-scroll-strategy"),deps:[Wp],useFactory:function q5(n){return()=>n.scrollStrategies.reposition()}};let K5=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=me({type:n}),n.\u0275inj=he({providers:[Wp,Y5],imports:[Cs,R5,JD,JD]}),n})();const J5={provide:new I("mat-menu-scroll-strategy"),deps:[Wp],useFactory:function Q5(n){return()=>n.scrollStrategies.reposition()}};let e4=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=me({type:n}),n.\u0275inj=he({providers:[J5],imports:[hl,FC,He,K5,$p,He]}),n})(),t4=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=me({type:n}),n.\u0275inj=he({imports:[He,He]}),n})(),n4=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=me({type:n,bootstrap:[dj]});static#n=this.\u0275inj=he({imports:[Z0,u3,aj,p3,qV,Op,iB,Y3,Z3,e4,t4,oj]})}return n})();rN().bootstrapModule(n4).catch(n=>console.error(n))}},ie=>{ie(ie.s=745)}]);
\ No newline at end of file
+"use strict";(self.webpackChunkprojeto_angular=self.webpackChunkprojeto_angular||[]).push([[179],{886:()=>{function re(n){return"function"==typeof n}function Co(n){const e=n(i=>{Error.call(i),i.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const ta=Co(n=>function(e){n(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e});function ur(n,t){if(n){const e=n.indexOf(t);0<=e&&n.splice(e,1)}}class tt{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const o of e)o.remove(this);else e.remove(this);const{initialTeardown:i}=this;if(re(i))try{i()}catch(o){t=o instanceof ta?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{Mm(o)}catch(s){t=t??[],s instanceof ta?t=[...t,...s.errors]:t.push(s)}}if(t)throw new ta(t)}}add(t){var e;if(t&&t!==this)if(this.closed)Mm(t);else{if(t instanceof tt){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&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)&&ur(e,t)}remove(t){const{_finalizers:e}=this;e&&ur(e,t),t instanceof tt&&t._removeParent(this)}}tt.EMPTY=(()=>{const n=new tt;return n.closed=!0,n})();const xm=tt.EMPTY;function wm(n){return n instanceof tt||n&&"closed"in n&&re(n.remove)&&re(n.add)&&re(n.unsubscribe)}function Mm(n){re(n)?n():n.unsubscribe()}const Si={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},na={setTimeout(n,t,...e){const{delegate:i}=na;return i?.setTimeout?i.setTimeout(n,t,...e):setTimeout(n,t,...e)},clearTimeout(n){const{delegate:t}=na;return(t?.clearTimeout||clearTimeout)(n)},delegate:void 0};function Dm(n){na.setTimeout(()=>{const{onUnhandledError:t}=Si;if(!t)throw n;t(n)})}function ld(){}const VD=cd("C",void 0,void 0);function cd(n,t,e){return{kind:n,value:t,error:e}}let Ii=null;function ia(n){if(Si.useDeprecatedSynchronousErrorHandling){const t=!Ii;if(t&&(Ii={errorThrown:!1,error:null}),n(),t){const{errorThrown:e,error:i}=Ii;if(Ii=null,e)throw i}}else n()}class dd extends tt{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,wm(t)&&t.add(this)):this.destination=GD}static create(t,e,i){return new xo(t,e,i)}next(t){this.isStopped?fd(function jD(n){return cd("N",n,void 0)}(t),this):this._next(t)}error(t){this.isStopped?fd(function BD(n){return cd("E",void 0,n)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?fd(VD,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const UD=Function.prototype.bind;function ud(n,t){return UD.call(n,t)}class $D{constructor(t){this.partialObserver=t}next(t){const{partialObserver:e}=this;if(e.next)try{e.next(t)}catch(i){ra(i)}}error(t){const{partialObserver:e}=this;if(e.error)try{e.error(t)}catch(i){ra(i)}else ra(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(e){ra(e)}}}class xo extends dd{constructor(t,e,i){let r;if(super(),re(t)||!t)r={next:t??void 0,error:e??void 0,complete:i??void 0};else{let o;this&&Si.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&ud(t.next,o),error:t.error&&ud(t.error,o),complete:t.complete&&ud(t.complete,o)}):r=t}this.destination=new $D(r)}}function ra(n){Si.useDeprecatedSynchronousErrorHandling?function HD(n){Si.useDeprecatedSynchronousErrorHandling&&Ii&&(Ii.errorThrown=!0,Ii.error=n)}(n):Dm(n)}function fd(n,t){const{onStoppedNotification:e}=Si;e&&na.setTimeout(()=>e(n,t))}const GD={closed:!0,next:ld,error:function zD(n){throw n},complete:ld},hd="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ti(n){return n}function Em(n){return 0===n.length?Ti:1===n.length?n[0]:function(e){return n.reduce((i,r)=>r(i),e)}}let ve=(()=>{class n{constructor(e){e&&(this._subscribe=e)}lift(e){const i=new n;return i.source=this,i.operator=e,i}subscribe(e,i,r){const o=function YD(n){return n&&n instanceof dd||function qD(n){return n&&re(n.next)&&re(n.error)&&re(n.complete)}(n)&&wm(n)}(e)?e:new xo(e,i,r);return ia(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return new(i=Sm(i))((r,o)=>{const s=new xo({next:a=>{try{e(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(e){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(e)}[hd](){return this}pipe(...e){return Em(e)(this)}toPromise(e){return new(e=Sm(e))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return n.create=t=>new n(t),n})();function Sm(n){var t;return null!==(t=n??Si.Promise)&&void 0!==t?t:Promise}const ZD=Co(n=>function(){n(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Re=(()=>{class n extends ve{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const i=new Im(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new ZD}next(e){ia(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(e)}})}error(e){ia(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){ia(()=>{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=this.currentObservers=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:i,isStopped:r,observers:o}=this;return i||r?xm:(this.currentObservers=null,o.push(e),new tt(()=>{this.currentObservers=null,ur(o,e)}))}_checkFinalizedStatuses(e){const{hasError:i,thrownError:r,isStopped:o}=this;i?e.error(r):o&&e.complete()}asObservable(){const e=new ve;return e.source=this,e}}return n.create=(t,e)=>new Im(t,e),n})();class Im extends Re{constructor(t,e){super(),this.destination=t,this.source=e}next(t){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===i||i.call(e,t)}error(t){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===i||i.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,i;return null!==(i=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==i?i:xm}}function Tm(n){return re(n?.lift)}function Pe(n){return t=>{if(Tm(t))return t.lift(function(e){try{return n(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ee(n,t,e,i,r){return new KD(n,t,e,i,r)}class KD extends dd{constructor(t,e,i,r,o,s){super(t),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(a)}catch(l){t.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){t.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function U(n,t){return Pe((e,i)=>{let r=0;e.subscribe(Ee(i,o=>{i.next(n.call(t,o,r++))}))})}function si(n){return this instanceof si?(this.v=n,this):new si(n)}function Om(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 _d(n){var t="function"==typeof Symbol&&Symbol.iterator,e=t&&n[t],i=0;if(e)return e.call(n);if(n&&"number"==typeof n.length)return{next:function(){return n&&i>=n.length&&(n=void 0),{value:n&&n[i++],done:!n}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(n),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(o){e[o]=n[o]&&function(s){return new Promise(function(a,l){!function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}(a,l,(s=n[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const vd=n=>n&&"number"==typeof n.length&&"function"!=typeof n;function Pm(n){return re(n?.then)}function km(n){return re(n[hd])}function Nm(n){return Symbol.asyncIterator&&re(n?.[Symbol.asyncIterator])}function Lm(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 Vm=function vE(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Bm(n){return re(n?.[Vm])}function jm(n){return function Fm(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=e.apply(n,t||[]),o=[];return r={},a("next"),a("throw"),a("return",function s(h){return function(p){return Promise.resolve(p).then(h,u)}}),r[Symbol.asyncIterator]=function(){return this},r;function a(h,p){i[h]&&(r[h]=function(m){return new Promise(function(g,_){o.push([h,m,g,_])>1||l(h,m)})},p&&(r[h]=p(r[h])))}function l(h,p){try{!function c(h){h.value instanceof si?Promise.resolve(h.value.v).then(d,u):f(o[0][2],h)}(i[h](p))}catch(m){f(o[0][3],m)}}function d(h){l("next",h)}function u(h){l("throw",h)}function f(h,p){h(p),o.shift(),o.length&&l(o[0][0],o[0][1])}}(this,arguments,function*(){const e=n.getReader();try{for(;;){const{value:i,done:r}=yield si(e.read());if(r)return yield si(void 0);yield yield si(i)}}finally{e.releaseLock()}})}function Hm(n){return re(n?.getReader)}function bt(n){if(n instanceof ve)return n;if(null!=n){if(km(n))return function yE(n){return new ve(t=>{const e=n[hd]();if(re(e.subscribe))return e.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(n);if(vd(n))return function bE(n){return new ve(t=>{for(let e=0;e{n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,Dm)})}(n);if(Nm(n))return Um(n);if(Bm(n))return function xE(n){return new ve(t=>{for(const e of n)if(t.next(e),t.closed)return;t.complete()})}(n);if(Hm(n))return function wE(n){return Um(jm(n))}(n)}throw Lm(n)}function Um(n){return new ve(t=>{(function ME(n,t){var e,i,r,o;return function Am(n,t,e,i){return new(e||(e=Promise))(function(o,s){function a(d){try{c(i.next(d))}catch(u){s(u)}}function l(d){try{c(i.throw(d))}catch(u){s(u)}}function c(d){d.done?o(d.value):function r(o){return o instanceof e?o:new e(function(s){s(o)})}(d.value).then(a,l)}c((i=i.apply(n,t||[])).next())})}(this,void 0,void 0,function*(){try{for(e=Om(n);!(i=yield e.next()).done;)if(t.next(i.value),t.closed)return}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=e.return)&&(yield o.call(e))}finally{if(r)throw r.error}}t.complete()})})(n,t).catch(e=>t.error(e))})}function Fn(n,t,e,i=0,r=!1){const o=t.schedule(function(){e(),r?n.add(this.schedule(null,i)):this.unsubscribe()},i);if(n.add(o),!r)return o}function Qe(n,t,e=1/0){return re(t)?Qe((i,r)=>U((o,s)=>t(i,o,r,s))(bt(n(i,r))),e):("number"==typeof t&&(e=t),Pe((i,r)=>function DE(n,t,e,i,r,o,s,a){const l=[];let c=0,d=0,u=!1;const f=()=>{u&&!l.length&&!c&&t.complete()},h=m=>c{o&&t.next(m),c++;let g=!1;bt(e(m,d++)).subscribe(Ee(t,_=>{r?.(_),o?h(_):t.next(_)},()=>{g=!0},void 0,()=>{if(g)try{for(c--;l.length&&cp(_)):p(_)}f()}catch(_){t.error(_)}}))};return n.subscribe(Ee(t,h,()=>{u=!0,f()})),()=>{a?.()}}(i,r,n,e)))}function fr(n=1/0){return Qe(Ti,n)}const hn=new ve(n=>n.complete());function $m(n){return n&&re(n.schedule)}function yd(n){return n[n.length-1]}function zm(n){return re(yd(n))?n.pop():void 0}function wo(n){return $m(yd(n))?n.pop():void 0}function Gm(n,t=0){return Pe((e,i)=>{e.subscribe(Ee(i,r=>Fn(i,n,()=>i.next(r),t),()=>Fn(i,n,()=>i.complete(),t),r=>Fn(i,n,()=>i.error(r),t)))})}function Wm(n,t=0){return Pe((e,i)=>{i.add(n.schedule(()=>e.subscribe(i),t))})}function qm(n,t){if(!n)throw new Error("Iterable cannot be null");return new ve(e=>{Fn(e,t,()=>{const i=n[Symbol.asyncIterator]();Fn(e,t,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function je(n,t){return t?function OE(n,t){if(null!=n){if(km(n))return function IE(n,t){return bt(n).pipe(Wm(t),Gm(t))}(n,t);if(vd(n))return function AE(n,t){return new ve(e=>{let i=0;return t.schedule(function(){i===n.length?e.complete():(e.next(n[i++]),e.closed||this.schedule())})})}(n,t);if(Pm(n))return function TE(n,t){return bt(n).pipe(Wm(t),Gm(t))}(n,t);if(Nm(n))return qm(n,t);if(Bm(n))return function RE(n,t){return new ve(e=>{let i;return Fn(e,t,()=>{i=n[Vm](),Fn(e,t,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){return void e.error(s)}o?e.complete():e.next(r)},0,!0)}),()=>re(i?.return)&&i.return()})}(n,t);if(Hm(n))return function FE(n,t){return qm(jm(n),t)}(n,t)}throw Lm(n)}(n,t):bt(n)}function Ym(...n){const t=wo(n),e=function SE(n,t){return"number"==typeof yd(n)?n.pop():t}(n,1/0),i=n;return i.length?1===i.length?bt(i[0]):fr(e)(je(i,t)):hn}function bd(n,t,...e){if(!0===t)return void n();if(!1===t)return;const i=new xo({next:()=>{i.unsubscribe(),n()}});return t(...e).subscribe(i)}function ye(n){for(let t in n)if(n[t]===ye)return t;throw Error("Could not find renamed property on target object.")}function Cd(n,t){for(const e in t)t.hasOwnProperty(e)&&!n.hasOwnProperty(e)&&(n[e]=t[e])}function be(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(be).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 xd(n,t){return null==n||""===n?null===t?"":t:null==t||""===t?n:n+" "+t}const PE=ye({__forward_ref__:ye});function Ce(n){return n.__forward_ref__=Ce,n.toString=function(){return be(this())},n}function V(n){return wd(n)?n():n}function wd(n){return"function"==typeof n&&n.hasOwnProperty(PE)&&n.__forward_ref__===Ce}function Md(n){return n&&!!n.\u0275providers}const oa="https://g.co/ng/security#xss";class C extends Error{constructor(t,e){super(sa(t,e)),this.code=t}}function sa(n,t){return`NG0${Math.abs(n)}${t?": "+t.trim():""}`}function G(n){return"string"==typeof n?n:null==n?"":String(n)}function aa(n,t){throw new C(-201,!1)}function Bt(n,t){null==n&&function pe(n,t,e,i){throw new Error(`ASSERTION ERROR: ${n}`+(null==i?"":` [Expected=> ${e} ${i} ${t} <=Actual]`))}(t,n,null,"!=")}function I(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function oe(n){return{providers:n.providers||[],imports:n.imports||[]}}function la(n){return Km(n,ca)||Km(n,Qm)}function Km(n,t){return n.hasOwnProperty(t)?n[t]:null}function Xm(n){return n&&(n.hasOwnProperty(Dd)||n.hasOwnProperty(UE))?n[Dd]:null}const ca=ye({\u0275prov:ye}),Dd=ye({\u0275inj:ye}),Qm=ye({ngInjectableDef:ye}),UE=ye({ngInjectorDef:ye});var B=(()=>((B=B||{})[B.Default=0]="Default",B[B.Host=1]="Host",B[B.Self=2]="Self",B[B.SkipSelf=4]="SkipSelf",B[B.Optional=8]="Optional",B))();let Ed;function jt(n){const t=Ed;return Ed=n,t}function Jm(n,t,e){const i=la(n);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&B.Optional?null:void 0!==t?t:void aa(be(n))}const Me=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Mo={},Sd="__NG_DI_FLAG__",da="ngTempTokenPath",zE="ngTokenPath",GE=/\n/gm,WE="\u0275",eg="__source";let Do;function hr(n){const t=Do;return Do=n,t}function qE(n,t=B.Default){if(void 0===Do)throw new C(-203,!1);return null===Do?Jm(n,void 0,t):Do.get(n,t&B.Optional?null:void 0,t)}function w(n,t=B.Default){return(function $E(){return Ed}()||qE)(V(n),t)}function z(n,t=B.Default){return w(n,ua(t))}function ua(n){return typeof n>"u"||"number"==typeof n?n:0|(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)}function Id(n){const t=[];for(let e=0;e((pn=pn||{})[pn.OnPush=0]="OnPush",pn[pn.Default=1]="Default",pn))(),Jt=(()=>{return(n=Jt||(Jt={}))[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",Jt;var n})();const Pn={},de=[],fa=ye({\u0275cmp:ye}),Td=ye({\u0275dir:ye}),Ad=ye({\u0275pipe:ye}),ng=ye({\u0275mod:ye}),kn=ye({\u0275fac:ye}),So=ye({__NG_ELEMENT_ID__:ye});let XE=0;function Je(n){return On(()=>{const t=rg(n),e={...t,decls:n.decls,vars:n.vars,template:n.template,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,onPush:n.changeDetection===pn.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&n.dependencies||null,getStandaloneInjector:null,data:n.data||{},encapsulation:n.encapsulation||Jt.Emulated,id:"c"+XE++,styles:n.styles||de,_:null,schemas:n.schemas||null,tView:null};og(e);const i=n.dependencies;return e.directiveDefs=ha(i,!1),e.pipeDefs=ha(i,!0),e})}function JE(n){return me(n)||st(n)}function eS(n){return null!==n}function le(n){return On(()=>({type:n.type,bootstrap:n.bootstrap||de,declarations:n.declarations||de,imports:n.imports||de,exports:n.exports||de,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function ig(n,t){if(null==n)return Pn;const e={};for(const i in n)if(n.hasOwnProperty(i)){let r=n[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),e[r]=i,t&&(t[r]=o)}return e}function P(n){return On(()=>{const t=rg(n);return og(t),t})}function Ct(n){return{type:n.type,name:n.name,factory:null,pure:!1!==n.pure,standalone:!0===n.standalone,onDestroy:n.type.prototype.ngOnDestroy||null}}function me(n){return n[fa]||null}function st(n){return n[Td]||null}function xt(n){return n[Ad]||null}function It(n,t){const e=n[ng]||null;if(!e&&!0===t)throw new Error(`Type ${be(n)} does not have '\u0275mod' property.`);return e}function rg(n){const t={};return{type:n.type,providersResolver:null,factory:null,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:t,exportAs:n.exportAs||null,standalone:!0===n.standalone,selectors:n.selectors||de,viewQuery:n.viewQuery||null,features:n.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:ig(n.inputs,t),outputs:ig(n.outputs)}}function og(n){n.features?.forEach(t=>t(n))}function ha(n,t){if(!n)return null;const e=t?xt:JE;return()=>("function"==typeof n?n():n).map(i=>e(i)).filter(eS)}const Nn=0,F=1,K=2,Fe=3,en=4,Ai=5,at=6,mr=7,ke=8,pa=9,ma=10,Q=11,Rd=12,Io=13,sg=14,gr=15,lt=16,To=17,_r=18,mn=19,Ao=20,ag=21,De=22,Fd=1,lg=2,ga=7,_a=8,vr=9,pt=10;function Tt(n){return Array.isArray(n)&&"object"==typeof n[Fd]}function tn(n){return Array.isArray(n)&&!0===n[Fd]}function Od(n){return 0!=(4&n.flags)}function Ro(n){return n.componentOffset>-1}function va(n){return 1==(1&n.flags)}function nn(n){return!!n.template}function nS(n){return 0!=(256&n[K])}function Ri(n,t){return n.hasOwnProperty(kn)?n[kn]:null}class oS{constructor(t,e,i){this.previousValue=t,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function Ht(){return ug}function ug(n){return n.type.prototype.ngOnChanges&&(n.setInput=aS),sS}function sS(){const n=hg(this),t=n?.current;if(t){const e=n.previous;if(e===Pn)n.previous=t;else for(let i in t)e[i]=t[i];n.current=null,this.ngOnChanges(t)}}function aS(n,t,e,i){const r=this.declaredInputs[e],o=hg(n)||function lS(n,t){return n[fg]=t}(n,{previous:Pn,current:null}),s=o.current||(o.current={}),a=o.previous,l=a[r];s[r]=new oS(l&&l.currentValue,t,a===Pn),n[i]=t}Ht.ngInherit=!0;const fg="__ngSimpleChanges__";function hg(n){return n[fg]||null}const Ut=function(n,t,e){},pg="svg";function nt(n){for(;Array.isArray(n);)n=n[Nn];return n}function ya(n,t){return nt(t[n])}function At(n,t){return nt(t[n.index])}function gg(n,t){return n.data[t]}function wt(n,t){const e=t[n];return Tt(e)?e:e[Nn]}function ba(n){return 64==(64&n[K])}function li(n,t){return null==t?null:n[t]}function _g(n){n[_r]=0}function kd(n,t){n[Ai]+=t;let e=n,i=n[Fe];for(;null!==i&&(1===t&&1===e[Ai]||-1===t&&0===e[Ai]);)i[Ai]+=t,e=i,i=i[Fe]}const W={lFrame:Sg(null),bindingsEnabled:!0};function yg(){return W.bindingsEnabled}function M(){return W.lFrame.lView}function ne(){return W.lFrame.tView}function Ln(n){return W.lFrame.contextLView=n,n[ke]}function Vn(n){return W.lFrame.contextLView=null,n}function it(){let n=bg();for(;null!==n&&64===n.type;)n=n.parent;return n}function bg(){return W.lFrame.currentTNode}function gn(n,t){const e=W.lFrame;e.currentTNode=n,e.isParent=t}function Nd(){return W.lFrame.isParent}function Ld(){W.lFrame.isParent=!1}function br(){return W.lFrame.bindingIndex++}function jn(n){const t=W.lFrame,e=t.bindingIndex;return t.bindingIndex=t.bindingIndex+n,e}function CS(n,t){const e=W.lFrame;e.bindingIndex=e.bindingRootIndex=n,Vd(t)}function Vd(n){W.lFrame.currentDirectiveIndex=n}function Mg(){return W.lFrame.currentQueryIndex}function jd(n){W.lFrame.currentQueryIndex=n}function wS(n){const t=n[F];return 2===t.type?t.declTNode:1===t.type?n[at]:null}function Dg(n,t,e){if(e&B.SkipSelf){let r=t,o=n;for(;!(r=r.parent,null!==r||e&B.Host||(r=wS(o),null===r||(o=o[gr],10&r.type))););if(null===r)return!1;t=r,n=o}const i=W.lFrame=Eg();return i.currentTNode=t,i.lView=n,!0}function Hd(n){const t=Eg(),e=n[F];W.lFrame=t,t.currentTNode=e.firstChild,t.lView=n,t.tView=e,t.contextLView=n,t.bindingIndex=e.bindingStartIndex,t.inI18n=!1}function Eg(){const n=W.lFrame,t=null===n?null:n.child;return null===t?Sg(n):t}function Sg(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 Ig(){const n=W.lFrame;return W.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const Tg=Ig;function Ud(){const n=Ig();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 gt(){return W.lFrame.selectedIndex}function Fi(n){W.lFrame.selectedIndex=n}function Se(){const n=W.lFrame;return gg(n.tView,n.selectedIndex)}function Ca(n,t){for(let e=t.directiveStart,i=t.directiveEnd;e=i)break}else t[l]<0&&(n[_r]+=65536),(a>11>16&&(3&n[K])===t){n[K]+=2048,Ut(4,a,o);try{o.call(a)}finally{Ut(5,a,o)}}}else{Ut(4,a,o);try{o.call(a)}finally{Ut(5,a,o)}}}const Cr=-1;class Oo{constructor(t,e,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function Gd(n,t,e){let i=0;for(;it){s=o-1;break}}}for(;o>16}(n),i=t;for(;e>0;)i=i[gr],e--;return i}let Wd=!0;function Ea(n){const t=Wd;return Wd=n,t}const Lg=255,Vg=5;let kS=0;const _n={};function Sa(n,t){const e=Bg(n,t);if(-1!==e)return e;const i=t[F];i.firstCreatePass&&(n.injectorIndex=t.length,qd(i.data,n),qd(t,null),qd(i.blueprint,null));const r=Yd(n,t),o=n.injectorIndex;if(Ng(r)){const s=Ma(r),a=Da(r,t),l=a[F].data;for(let c=0;c<8;c++)t[o+c]=a[s+c]|l[s+c]}return t[o+8]=r,o}function qd(n,t){n.push(0,0,0,0,0,0,0,0,t)}function Bg(n,t){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===t[n.injectorIndex+8]?-1:n.injectorIndex}function Yd(n,t){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let e=0,i=null,r=t;for(;null!==r;){if(i=Wg(r),null===i)return Cr;if(e++,r=r[gr],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return Cr}function Zd(n,t,e){!function NS(n,t,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(So)&&(i=e[So]),null==i&&(i=e[So]=kS++);const r=i&Lg;t.data[n+(r>>Vg)]|=1<=0?t&Lg:jS:t}(e);if("function"==typeof o){if(!Dg(t,n,i))return i&B.Host?jg(r,0,i):Hg(t,e,i,r);try{const s=o(i);if(null!=s||i&B.Optional)return s;aa()}finally{Tg()}}else if("number"==typeof o){let s=null,a=Bg(n,t),l=Cr,c=i&B.Host?t[lt][at]:null;for((-1===a||i&B.SkipSelf)&&(l=-1===a?Yd(n,t):t[a+8],l!==Cr&&Gg(i,!1)?(s=t[F],a=Ma(l),t=Da(l,t)):a=-1);-1!==a;){const d=t[F];if(zg(o,a,d.data)){const u=VS(a,t,e,s,i,c);if(u!==_n)return u}l=t[a+8],l!==Cr&&Gg(i,t[F].data[a+8]===c)&&zg(o,a,t)?(s=d,a=Ma(l),t=Da(l,t)):a=-1}}return r}function VS(n,t,e,i,r,o){const s=t[F],a=s.data[n+8],d=Ia(a,s,e,null==i?Ro(a)&&Wd:i!=s&&0!=(3&a.type),r&B.Host&&o===a);return null!==d?Oi(t,s,d,a):_n}function Ia(n,t,e,i,r){const o=n.providerIndexes,s=t.data,a=1048575&o,l=n.directiveStart,d=o>>20,f=r?a+d:n.directiveEnd;for(let h=i?a:a+d;h=l&&p.type===e)return h}if(r){const h=s[l];if(h&&nn(h)&&h.type===e)return l}return null}function Oi(n,t,e,i){let r=n[e];const o=t.data;if(function RS(n){return n instanceof Oo}(r)){const s=r;s.resolving&&function kE(n,t){const e=t?`. Dependency path: ${t.join(" > ")} > ${n}`:"";throw new C(-200,`Circular dependency in DI detected for ${n}${e}`)}(function he(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():G(n)}(o[e]));const a=Ea(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?jt(s.injectImpl):null;Dg(n,i,B.Default);try{r=n[e]=s.factory(void 0,o,n,i),t.firstCreatePass&&e>=i.directiveStart&&function TS(n,t,e){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){const s=ug(t);(e.preOrderHooks??(e.preOrderHooks=[])).push(n,s),(e.preOrderCheckHooks??(e.preOrderCheckHooks=[])).push(n,s)}r&&(e.preOrderHooks??(e.preOrderHooks=[])).push(0-n,r),o&&((e.preOrderHooks??(e.preOrderHooks=[])).push(n,o),(e.preOrderCheckHooks??(e.preOrderCheckHooks=[])).push(n,o))}(e,o[e],t)}finally{null!==l&&jt(l),Ea(a),s.resolving=!1,Tg()}}return r}function zg(n,t,e){return!!(e[t+(n>>Vg)]&1<{const t=n.prototype.constructor,e=t[kn]||Kd(t),i=Object.prototype;let r=Object.getPrototypeOf(n.prototype).constructor;for(;r&&r!==i;){const o=r[kn]||Kd(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function Kd(n){return wd(n)?()=>{const t=Kd(V(n));return t&&t()}:Ri(n)}function Wg(n){const t=n[F],e=t.type;return 2===e?t.declTNode:1===e?n[at]:null}const Mr="__parameters__";function Er(n,t,e){return On(()=>{const i=function Xd(n){return function(...e){if(n){const i=n(...e);for(const r in i)this[r]=i[r]}}}(t);function r(...o){if(this instanceof r)return i.apply(this,o),this;const s=new r(...o);return a.annotation=s,a;function a(l,c,d){const u=l.hasOwnProperty(Mr)?l[Mr]:Object.defineProperty(l,Mr,{value:[]})[Mr];for(;u.length<=d;)u.push(null);return(u[d]=u[d]||[]).push(s),l}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=n,r.annotationCls=r,r})}class E{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=I({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Pi(n,t){n.forEach(e=>Array.isArray(e)?Pi(e,t):t(e))}function Yg(n,t,e){t>=n.length?n.push(e):n.splice(t,0,e)}function Aa(n,t){return t>=n.length-1?n.pop():n.splice(t,1)[0]}function Lo(n,t){const e=[];for(let i=0;i=0?n[1|i]=e:(i=~i,function GS(n,t,e,i){let r=n.length;if(r==t)n.push(e,i);else if(1===r)n.push(i,n[0]),n[0]=e;else{for(r--,n.push(n[r-1],n[r]);r>t;)n[r]=n[r-2],r--;n[t]=e,n[t+1]=i}}(n,i,t,e)),i}function Jd(n,t){const e=Sr(n,t);if(e>=0)return n[1|e]}function Sr(n,t){return function Zg(n,t,e){let i=0,r=n.length>>e;for(;r!==i;){const o=i+(r-i>>1),s=n[o<t?r=o:i=o+1}return~(r<({token:n})),-1),Hn=Eo(Er("Optional"),8),Ir=Eo(Er("SkipSelf"),4);var Mt=(()=>((Mt=Mt||{})[Mt.Important=1]="Important",Mt[Mt.DashCase=2]="DashCase",Mt))();const ru=new Map;let hI=0;const su="__ngContext__";function ct(n,t){Tt(t)?(n[su]=t[Ao],function mI(n){ru.set(n[Ao],n)}(t)):n[su]=t}let au;function lu(n,t){return au(n,t)}function Ho(n){const t=n[Fe];return tn(t)?t[Fe]:t}function cu(n){return m_(n[Io])}function du(n){return m_(n[en])}function m_(n){for(;null!==n&&!tn(n);)n=n[en];return n}function Ar(n,t,e,i,r){if(null!=i){let o,s=!1;tn(i)?o=i:Tt(i)&&(s=!0,i=i[Nn]);const a=nt(i);0===n&&null!==e?null==r?C_(t,e,a):ki(t,e,a,r||null,!0):1===n&&null!==e?ki(t,e,a,r||null,!0):2===n?function _u(n,t,e){const i=ka(n,t);i&&function kI(n,t,e,i){n.removeChild(t,e,i)}(n,i,t,e)}(t,a,s):3===n&&t.destroyNode(a),null!=o&&function VI(n,t,e,i,r){const o=e[ga];o!==nt(e)&&Ar(t,n,i,o,r);for(let a=pt;a0&&(n[e-1][en]=i[en]);const o=Aa(n,pt+t);!function SI(n,t){Uo(n,t,t[Q],2,null,null),t[Nn]=null,t[at]=null}(i[F],i);const s=o[mn];null!==s&&s.detachView(o[F]),i[Fe]=null,i[en]=null,i[K]&=-65}return i}function v_(n,t){if(!(128&t[K])){const e=t[Q];e.destroyNode&&Uo(n,t,e,3,null,null),function AI(n){let t=n[Io];if(!t)return pu(n[F],n);for(;t;){let e=null;if(Tt(t))e=t[Io];else{const i=t[pt];i&&(e=i)}if(!e){for(;t&&!t[en]&&t!==n;)Tt(t)&&pu(t[F],t),t=t[Fe];null===t&&(t=n),Tt(t)&&pu(t[F],t),e=t&&t[en]}t=e}}(t)}}function pu(n,t){if(!(128&t[K])){t[K]&=-65,t[K]|=128,function PI(n,t){let e;if(null!=n&&null!=(e=n.destroyHooks))for(let i=0;i=0?i[r=s]():i[r=-s].unsubscribe(),o+=2}else{const s=i[r=e[o+1]];e[o].call(s)}if(null!==i){for(let o=r+1;o-1){const{encapsulation:o}=n.data[i.directiveStart+r];if(o===Jt.None||o===Jt.Emulated)return null}return At(i,e)}}(n,t.parent,e)}function ki(n,t,e,i,r){n.insertBefore(t,e,i,r)}function C_(n,t,e){n.appendChild(t,e)}function x_(n,t,e,i,r){null!==i?ki(n,t,e,i,r):C_(n,t,e)}function ka(n,t){return n.parentNode(t)}function w_(n,t,e){return D_(n,t,e)}let mu,bu,Ba,D_=function M_(n,t,e){return 40&n.type?At(n,e):null};function Na(n,t,e,i){const r=y_(n,i,t),o=t[Q],a=w_(i.parent||t[at],i,t);if(null!=r)if(Array.isArray(e))for(let l=0;ln,createScript:n=>n,createScriptURL:n=>n})}catch{}return Ba}()?.createScriptURL(n)||n}class Ni{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${oa})`}}function Ft(n){return n instanceof Ni?n.changingThisBreaksApplicationSecurity:n}function vn(n,t){const e=function KI(n){return n instanceof Ni&&n.getTypeName()||null}(n);if(null!=e&&e!==t){if("ResourceURL"===e&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${e} (see ${oa})`)}return e===t}const oT=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var ue=(()=>((ue=ue||{})[ue.NONE=0]="NONE",ue[ue.HTML=1]="HTML",ue[ue.STYLE=2]="STYLE",ue[ue.SCRIPT=3]="SCRIPT",ue[ue.URL=4]="URL",ue[ue.RESOURCE_URL=5]="RESOURCE_URL",ue))();function Ua(n){const t=zo();return t?t.sanitize(ue.URL,n)||"":vn(n,"URL")?Ft(n):function ja(n){return(n=String(n)).match(oT)?n:"unsafe:"+n}(G(n))}function U_(n){const t=zo();if(t)return P_(t.sanitize(ue.RESOURCE_URL,n)||"");if(vn(n,"ResourceURL"))return P_(Ft(n));throw new C(904,!1)}function zo(){const n=M();return n&&n[Rd]}const $a=new E("ENVIRONMENT_INITIALIZER"),z_=new E("INJECTOR",-1),G_=new E("INJECTOR_DEF_TYPES");class W_{get(t,e=Mo){if(e===Mo){const i=new Error(`NullInjectorError: No provider for ${be(t)}!`);throw i.name="NullInjectorError",i}return e}}function vT(...n){return{\u0275providers:q_(0,n),\u0275fromNgModule:!0}}function q_(n,...t){const e=[],i=new Set;let r;return Pi(t,o=>{const s=o;Du(s,e,[],i)&&(r||(r=[]),r.push(s))}),void 0!==r&&Y_(r,e),e}function Y_(n,t){for(let e=0;e{t.push(o)})}}function Du(n,t,e,i){if(!(n=V(n)))return!1;let r=null,o=Xm(n);const s=!o&&me(n);if(o||s){if(s&&!s.standalone)return!1;r=n}else{const l=n.ngModule;if(o=Xm(l),!o)return!1;r=l}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)Du(c,t,e,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{Pi(o.imports,d=>{Du(d,t,e,i)&&(c||(c=[]),c.push(d))})}finally{}void 0!==c&&Y_(c,t)}if(!a){const c=Ri(r)||(()=>new r);t.push({provide:r,useFactory:c,deps:de},{provide:G_,useValue:r,multi:!0},{provide:$a,useValue:()=>w(r),multi:!0})}const l=o.providers;null==l||a||Eu(l,d=>{t.push(d)})}}return r!==n&&void 0!==n.providers}function Eu(n,t){for(let e of n)Md(e)&&(e=e.\u0275providers),Array.isArray(e)?Eu(e,t):t(e)}const yT=ye({provide:String,useValue:ye});function Su(n){return null!==n&&"object"==typeof n&&yT in n}function Li(n){return"function"==typeof n}const Iu=new E("Set Injector scope."),za={},CT={};let Tu;function Ga(){return void 0===Tu&&(Tu=new W_),Tu}class yn{}class X_ extends yn{get destroyed(){return this._destroyed}constructor(t,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Ru(t,s=>this.processProvider(s)),this.records.set(z_,Fr(void 0,this)),r.has("environment")&&this.records.set(yn,Fr(void 0,this));const o=this.records.get(Iu);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(G_.multi,de,B.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const e=hr(this),i=jt(void 0);try{return t()}finally{hr(e),jt(i)}}get(t,e=Mo,i=B.Default){this.assertNotDestroyed(),i=ua(i);const r=hr(this),o=jt(void 0);try{if(!(i&B.SkipSelf)){let a=this.records.get(t);if(void 0===a){const l=function ET(n){return"function"==typeof n||"object"==typeof n&&n instanceof E}(t)&&la(t);a=l&&this.injectableDefInScope(l)?Fr(Au(t),za):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(i&B.Self?Ga():this.parent).get(t,e=i&B.Optional&&e===Mo?null:e)}catch(s){if("NullInjectorError"===s.name){if((s[da]=s[da]||[]).unshift(be(t)),r)throw s;return function ZE(n,t,e,i){const r=n[da];throw t[eg]&&r.unshift(t[eg]),n.message=function KE(n,t,e,i=null){n=n&&"\n"===n.charAt(0)&&n.charAt(1)==WE?n.slice(2):n;let r=be(t);if(Array.isArray(t))r=t.map(be).join(" -> ");else if("object"==typeof t){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):be(a)))}r=`{${o.join(", ")}}`}return`${e}${i?"("+i+")":""}[${r}]: ${n.replace(GE,"\n ")}`}("\n"+n.message,r,e,i),n[zE]=r,n[da]=null,n}(s,t,"R3InjectorError",this.source)}throw s}finally{jt(o),hr(r)}}resolveInjectorInitializers(){const t=hr(this),e=jt(void 0);try{const i=this.get($a.multi,de,B.Self);for(const r of i)r()}finally{hr(t),jt(e)}}toString(){const t=[],e=this.records;for(const i of e.keys())t.push(be(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new C(205,!1)}processProvider(t){let e=Li(t=V(t))?t:V(t&&t.provide);const i=function wT(n){return Su(n)?Fr(void 0,n.useValue):Fr(Q_(n),za)}(t);if(Li(t)||!0!==t.multi)this.records.get(e);else{let r=this.records.get(e);r||(r=Fr(void 0,za,!0),r.factory=()=>Id(r.multi),this.records.set(e,r)),e=t,r.multi.push(t)}this.records.set(e,i)}hydrate(t,e){return e.value===za&&(e.value=CT,e.value=e.factory()),"object"==typeof e.value&&e.value&&function DT(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=V(t.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}}function Au(n){const t=la(n),e=null!==t?t.factory:Ri(n);if(null!==e)return e;if(n instanceof E)throw new C(204,!1);if(n instanceof Function)return function xT(n){const t=n.length;if(t>0)throw Lo(t,"?"),new C(204,!1);const e=function HE(n){return n&&(n[ca]||n[Qm])||null}(n);return null!==e?()=>e.factory(n):()=>new n}(n);throw new C(204,!1)}function Q_(n,t,e){let i;if(Li(n)){const r=V(n);return Ri(r)||Au(r)}if(Su(n))i=()=>V(n.useValue);else if(function K_(n){return!(!n||!n.useFactory)}(n))i=()=>n.useFactory(...Id(n.deps||[]));else if(function Z_(n){return!(!n||!n.useExisting)}(n))i=()=>w(V(n.useExisting));else{const r=V(n&&(n.useClass||n.provide));if(!function MT(n){return!!n.deps}(n))return Ri(r)||Au(r);i=()=>new r(...Id(n.deps))}return i}function Fr(n,t,e=!1){return{factory:n,value:t,multi:e?[]:void 0}}function Ru(n,t){for(const e of n)Array.isArray(e)?Ru(e,t):e&&Md(e)?Ru(e.\u0275providers,t):t(e)}class ST{}class J_{}class TT{resolveComponentFactory(t){throw function IT(n){const t=Error(`No component factory found for ${be(n)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=n,t}(t)}}let Or=(()=>{class n{}return n.NULL=new TT,n})();function AT(){return Pr(it(),M())}function Pr(n,t){return new Ne(At(n,t))}let Ne=(()=>{class n{constructor(e){this.nativeElement=e}}return n.__NG_ELEMENT_ID__=AT,n})();function RT(n){return n instanceof Ne?n.nativeElement:n}class Go{}let $n=(()=>{class n{}return n.__NG_ELEMENT_ID__=()=>function FT(){const n=M(),e=wt(it().index,n);return(Tt(e)?e:n)[Q]}(),n})(),OT=(()=>{class n{}return n.\u0275prov=I({token:n,providedIn:"root",factory:()=>null}),n})();class Vi{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const PT=new Vi("15.2.10"),Fu={},Ou="ngOriginalError";function Pu(n){return n[Ou]}class ci{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t);this._console.error("ERROR",t),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(t){let e=t&&Pu(t);for(;e&&Pu(e);)e=Pu(e);return e||null}}function zn(n){return n instanceof Function?n():n}function nv(n,t,e){let i=n.length;for(;;){const r=n.indexOf(t,e);if(-1===r)return r;if(0===r||n.charCodeAt(r-1)<=32){const o=t.length;if(r+o===i||n.charCodeAt(r+o)<=32)return r}e=r+1}}const iv="ng-template";function GT(n,t,e){let i=0,r=!0;for(;io?"":r[u+1].toLowerCase();const h=8&i?f:null;if(h&&-1!==nv(h,c,0)||2&i&&c!==f){if(rn(i))return!1;s=!0}}}}else{if(!s&&!rn(i)&&!rn(l))return!1;if(s&&rn(l))continue;s=!1,i=l|1&i}}return rn(i)||s}function rn(n){return 0==(1&n)}function YT(n,t,e,i){if(null===t)return-1;let r=0;if(i||!e){let o=!1;for(;r-1)for(e++;e0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!rn(s)&&(t+=sv(o,r),r=""),i=s,o=o||!rn(i);e++}return""!==r&&(t+=sv(o,r)),t}const q={};function ge(n){av(ne(),M(),gt()+n,!1)}function av(n,t,e,i){if(!i)if(3==(3&t[K])){const o=n.preOrderCheckHooks;null!==o&&xa(t,o,e)}else{const o=n.preOrderHooks;null!==o&&wa(t,o,0,e)}Fi(e)}function uv(n,t=null,e=null,i){const r=fv(n,t,e,i);return r.resolveInjectorInitializers(),r}function fv(n,t=null,e=null,i,r=new Set){const o=[e||de,vT(n)];return i=i||("object"==typeof n?void 0:be(n)),new X_(o,t||Ga(),i||null,r)}let Ot=(()=>{class n{static create(e,i){if(Array.isArray(e))return uv({name:""},i,e,"");{const r=e.name??"";return uv({name:r},e.parent,e.providers,r)}}}return n.THROW_IF_NOT_FOUND=Mo,n.NULL=new W_,n.\u0275prov=I({token:n,providedIn:"any",factory:()=>w(z_)}),n.__NG_ELEMENT_ID__=-1,n})();function y(n,t=B.Default){const e=M();return null===e?w(n,t):Ug(it(),e,V(n),t)}function bv(n,t){const e=n.contentQueries;if(null!==e)for(let i=0;iDe&&av(n,t,De,!1),Ut(s?2:0,r),e(i,r)}finally{Fi(o),Ut(s?3:1,r)}}function Hu(n,t,e){if(Od(t)){const r=t.directiveEnd;for(let o=t.directiveStart;o0;){const e=n[--t];if("number"==typeof e&&e<0)return e}return 0})(s)!=a&&s.push(a),s.push(e,i,o)}}(n,t,i,Wo(n,e,r.hostVars,q),r)}function bn(n,t,e,i,r,o){const s=At(n,t);!function qu(n,t,e,i,r,o,s){if(null==o)n.removeAttribute(t,r,e);else{const a=null==s?G(o):s(o,i||"",r);n.setAttribute(t,r,a,e)}}(t[Q],s,o,n.value,e,i,r)}function jA(n,t,e,i,r,o){const s=o[t];if(null!==s){const a=i.setInput;for(let l=0;l0&&Yu(e)}}function Yu(n){for(let i=cu(n);null!==i;i=du(i))for(let r=pt;r0&&Yu(o)}const e=n[F].components;if(null!==e)for(let i=0;i0&&Yu(r)}}function GA(n,t){const e=wt(t,n),i=e[F];(function WA(n,t){for(let e=t.length;e-1&&(hu(t,i),Aa(e,i))}this._attachedToViewContainer=!1}v_(this._lView[F],this._lView)}onDestroy(t){wv(this._lView[F],this._lView,null,t)}markForCheck(){Ka(this._cdRefInjectingView||this._lView)}detach(){this._lView[K]&=-65}reattach(){this._lView[K]|=64}detectChanges(){Xa(this._lView[F],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function TI(n,t){Uo(n,t,t[Q],2,null,null)}(this._lView[F],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=t}}class qA extends qo{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Xa(t[F],t,t[ke],!1)}checkNoChanges(){}get context(){return null}}class Ov extends Or{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=me(t);return new Yo(e,this.ngModule)}}function Pv(n){const t=[];for(let e in n)n.hasOwnProperty(e)&&t.push({propName:n[e],templateName:e});return t}class ZA{constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,i){i=ua(i);const r=this.injector.get(t,Fu,i);return r!==Fu||e===Fu?r:this.parentInjector.get(t,e,i)}}class Yo extends J_{get inputs(){return Pv(this.componentDef.inputs)}get outputs(){return Pv(this.componentDef.outputs)}constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=function eA(n){return n.map(JT).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}create(t,e,i,r){let o=(r=r||this.ngModule)instanceof yn?r:r?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new ZA(t,o):t,a=s.get(Go,null);if(null===a)throw new C(407,!1);const l=s.get(OT,null),c=a.createRenderer(null,this.componentDef),d=this.componentDef.selectors[0][0]||"div",u=i?function MA(n,t,e){return n.selectRootElement(t,e===Jt.ShadowDom)}(c,i,this.componentDef.encapsulation):fu(c,d,function YA(n){const t=n.toLowerCase();return"svg"===t?pg:"math"===t?"math":null}(d)),f=this.componentDef.onPush?288:272,h=zu(0,null,null,1,0,null,null,null,null,null),p=qa(null,h,null,f,null,null,a,c,l,s,null);let m,g;Hd(p);try{const _=this.componentDef;let D,b=null;_.findHostDirectiveDefs?(D=[],b=new Map,_.findHostDirectiveDefs(_,D,b),D.push(_)):D=[_];const T=function XA(n,t){const e=n[F],i=De;return n[i]=t,Lr(e,i,2,"#host",null)}(p,u),ee=function QA(n,t,e,i,r,o,s,a){const l=r[F];!function JA(n,t,e,i){for(const r of n)t.mergedAttrs=Po(t.mergedAttrs,r.hostAttrs);null!==t.mergedAttrs&&(Qa(t,t.mergedAttrs,!0),null!==e&&A_(i,e,t))}(i,n,t,s);const c=o.createRenderer(t,e),d=qa(r,xv(e),null,e.onPush?32:16,r[n.index],n,o,c,a||null,null,null);return l.firstCreatePass&&Wu(l,n,i.length-1),Za(r,d),r[n.index]=d}(T,u,_,D,p,a,c);g=gg(h,De),u&&function t1(n,t,e,i){if(i)Gd(n,e,["ng-version",PT.full]);else{const{attrs:r,classes:o}=function tA(n){const t=[],e=[];let i=1,r=2;for(;i0&&T_(n,e,o.join(" "))}}(c,_,u,i),void 0!==e&&function n1(n,t,e){const i=n.projection=[];for(let r=0;r=0;i--){const r=n[i];r.hostVars=t+=r.hostVars,r.hostAttrs=Po(r.hostAttrs,e=Po(e,r.hostAttrs))}}(i)}function Xu(n){return n===Pn?{}:n===de?[]:n}function s1(n,t){const e=n.viewQuery;n.viewQuery=e?(i,r)=>{t(i,r),e(i,r)}:t}function a1(n,t){const e=n.contentQueries;n.contentQueries=e?(i,r,o)=>{t(i,r,o),e(i,r,o)}:t}function l1(n,t){const e=n.hostBindings;n.hostBindings=e?(i,r)=>{t(i,r),e(i,r)}:t}function el(n){return!!function Qu(n){return null!==n&&("function"==typeof n||"object"==typeof n)}(n)&&(Array.isArray(n)||!(n instanceof Map)&&Symbol.iterator in n)}function dt(n,t,e){return!Object.is(n[t],e)&&(n[t]=e,!0)}function Bi(n,t,e,i){const r=dt(n,t,e);return dt(n,t+1,i)||r}function Gt(n,t,e,i){const r=M();return dt(r,br(),t)&&(ne(),bn(Se(),r,n,t,e,i)),Gt}function Br(n,t,e,i){return dt(n,br(),e)?t+G(e)+i:q}function jr(n,t,e,i,r,o){const a=Bi(n,function Bn(){return W.lFrame.bindingIndex}(),e,r);return jn(2),a?t+G(e)+i+G(r)+o:q}function Ko(n,t,e,i,r,o,s,a){const l=M(),c=ne(),d=n+De,u=c.firstCreatePass?function v1(n,t,e,i,r,o,s,a,l){const c=t.consts,d=Lr(t,n,4,s||null,li(c,a));Gu(t,e,d,li(c,l)),Ca(t,d);const u=d.tView=zu(2,d,i,r,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c);return null!==t.queries&&(t.queries.template(t,d),u.queries=t.queries.embeddedTView(d)),d}(d,c,l,t,e,i,r,o,s):c.data[d];gn(u,!1);const f=l[Q].createComment("");Na(c,l,f,u),ct(f,l),Za(l,l[d]=Iv(f,l,f,u)),va(u)&&Uu(c,l,u),null!=s&&$u(l,u,a)}function qe(n,t,e){const i=M();return dt(i,br(),t)&&Pt(ne(),Se(),i,n,t,i[Q],e,!1),qe}function Ju(n,t,e,i,r){const s=r?"class":"style";Ku(n,e,t.inputs[s],s,i)}function v(n,t,e,i){const r=M(),o=ne(),s=De+n,a=r[Q],l=o.firstCreatePass?function C1(n,t,e,i,r,o){const s=t.consts,l=Lr(t,n,2,i,li(s,r));return Gu(t,e,l,li(s,o)),null!==l.attrs&&Qa(l,l.attrs,!1),null!==l.mergedAttrs&&Qa(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(s,o,r,t,e,i):o.data[s],c=r[s]=fu(a,t,function IS(){return W.lFrame.currentNamespace}()),d=va(l);return gn(l,!0),A_(a,c,l),32!=(32&l.flags)&&Na(o,r,c,l),0===function pS(){return W.lFrame.elementDepthCount}()&&ct(c,r),function mS(){W.lFrame.elementDepthCount++}(),d&&(Uu(o,r,l),Hu(o,l,r)),null!==i&&$u(r,l),v}function x(){let n=it();Nd()?Ld():(n=n.parent,gn(n,!1));const t=n;!function gS(){W.lFrame.elementDepthCount--}();const e=ne();return e.firstCreatePass&&(Ca(e,n),Od(n)&&e.queries.elementEnd(n)),null!=t.classesWithoutHost&&function FS(n){return 0!=(8&n.flags)}(t)&&Ju(e,t,M(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function OS(n){return 0!=(16&n.flags)}(t)&&Ju(e,t,M(),t.stylesWithoutHost,!1),x}function $(n,t,e,i){return v(n,t,e,i),x(),$}function nf(){return M()}function Xo(n){return!!n&&"function"==typeof n.then}const rf=function Zv(n){return!!n&&"function"==typeof n.subscribe};function _e(n,t,e,i){const r=M(),o=ne(),s=it();return function Xv(n,t,e,i,r,o,s){const a=va(i),c=n.firstCreatePass&&Av(n),d=t[ke],u=Tv(t);let f=!0;if(3&i.type||s){const m=At(i,t),g=s?s(m):m,_=u.length,D=s?T=>s(nt(T[i.index])):i.index;let b=null;if(!s&&a&&(b=function w1(n,t,e,i){const r=n.cleanup;if(null!=r)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(n,t,r,i.index)),null!==b)(b.__ngLastListenerFn__||b).__ngNextListenerFn__=o,b.__ngLastListenerFn__=o,f=!1;else{o=Jv(i,t,d,o,!1);const T=e.listen(g,r,o);u.push(o,T),c&&c.push(r,D,_,_+1)}}else o=Jv(i,t,d,o,!1);const h=i.outputs;let p;if(f&&null!==h&&(p=h[r])){const m=p.length;if(m)for(let g=0;g-1?wt(n.index,t):t);let l=Qv(t,e,i,s),c=o.__ngNextListenerFn__;for(;c;)l=Qv(t,e,c,s)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&(s.preventDefault(),s.returnValue=!1),l}}function xn(n=1){return function MS(n){return(W.lFrame.contextLView=function DS(n,t){for(;n>0;)t=t[gr],n--;return t}(n,W.lFrame.contextLView))[ke]}(n)}function M1(n,t){let e=null;const i=function ZT(n){const t=n.attrs;if(null!=t){const e=t.indexOf(5);if(!(1&e))return t[e+1]}return null}(n);for(let r=0;r>17&32767}function sf(n){return 2|n}function Hi(n){return(131068&n)>>2}function af(n,t){return-131069&n|t<<2}function lf(n){return 1|n}function ay(n,t,e,i,r){const o=n[e+1],s=null===t;let a=i?di(o):Hi(o),l=!1;for(;0!==a&&(!1===l||s);){const d=n[a+1];A1(n[a],t)&&(l=!0,n[a+1]=i?lf(d):sf(d)),a=i?di(d):Hi(d)}l&&(n[e+1]=i?sf(o):lf(o))}function A1(n,t){return null===n||null==t||(Array.isArray(n)?n[1]:n)===t||!(!Array.isArray(n)||"string"!=typeof t)&&Sr(n,t)>=0}function cf(n,t,e){return sn(n,t,e,!1),cf}function Ui(n,t){return sn(n,t,null,!0),Ui}function sn(n,t,e,i){const r=M(),o=ne(),s=jn(2);o.firstUpdatePass&&function my(n,t,e,i){const r=n.data;if(null===r[e+1]){const o=r[gt()],s=function py(n,t){return t>=n.expandoStartIndex}(n,e);(function yy(n,t){return 0!=(n.flags&(t?8:16))})(o,i)&&null===t&&!s&&(t=!1),t=function B1(n,t,e,i){const r=function Bd(n){const t=W.lFrame.currentDirectiveIndex;return-1===t?null:n[t]}(n);let o=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(e=Jo(e=df(null,n,t,e,i),t.attrs,i),o=null);else{const s=t.directiveStylingLast;if(-1===s||n[s]!==r)if(e=df(r,n,t,e,i),null===o){let l=function j1(n,t,e){const i=e?t.classBindings:t.styleBindings;if(0!==Hi(i))return n[di(i)]}(n,t,i);void 0!==l&&Array.isArray(l)&&(l=df(null,n,t,l[1],i),l=Jo(l,t.attrs,i),function H1(n,t,e,i){n[di(e?t.classBindings:t.styleBindings)]=i}(n,t,i,l))}else o=function U1(n,t,e){let i;const r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o0)&&(c=!0)):d=e,r)if(0!==l){const f=di(n[a+1]);n[i+1]=rl(f,a),0!==f&&(n[f+1]=af(n[f+1],i)),n[a+1]=function E1(n,t){return 131071&n|t<<17}(n[a+1],i)}else n[i+1]=rl(a,0),0!==a&&(n[a+1]=af(n[a+1],i)),a=i;else n[i+1]=rl(l,0),0===a?a=i:n[l+1]=af(n[l+1],i),l=i;c&&(n[i+1]=sf(n[i+1])),ay(n,d,i,!0),ay(n,d,i,!1),function T1(n,t,e,i,r){const o=r?n.residualClasses:n.residualStyles;null!=o&&"string"==typeof t&&Sr(o,t)>=0&&(e[i+1]=lf(e[i+1]))}(t,d,n,i,o),s=rl(a,l),o?t.classBindings=s:t.styleBindings=s}(r,o,t,e,s,i)}}(o,n,s,i),t!==q&&dt(r,s,t)&&function _y(n,t,e,i,r,o,s,a){if(!(3&t.type))return;const l=n.data,c=l[a+1],d=function S1(n){return 1==(1&n)}(c)?vy(l,t,e,r,Hi(c),s):void 0;ol(d)||(ol(o)||function D1(n){return 2==(2&n)}(c)&&(o=vy(l,null,e,r,a,s)),function BI(n,t,e,i,r){if(t)r?n.addClass(e,i):n.removeClass(e,i);else{let o=-1===i.indexOf("-")?void 0:Mt.DashCase;null==r?n.removeStyle(e,i,o):("string"==typeof r&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=Mt.Important),n.setStyle(e,i,r,o))}}(i,s,ya(gt(),e),r,o))}(o,o.data[gt()],r,r[Q],n,r[s+1]=function W1(n,t){return null==n||""===n||("string"==typeof t?n+=t:"object"==typeof n&&(n=be(Ft(n)))),n}(t,e),i,s)}function df(n,t,e,i,r){let o=null;const s=e.directiveEnd;let a=e.directiveStylingLast;for(-1===a?a=e.directiveStart:a++;a0;){const l=n[r],c=Array.isArray(l),d=c?l[1]:l,u=null===d;let f=e[r+1];f===q&&(f=u?de:void 0);let h=u?Jd(f,i):d===i?f:void 0;if(c&&!ol(h)&&(h=Jd(l,i)),ol(h)&&(a=h,s))return a;const p=n[r+1];r=s?di(p):Hi(p)}if(null!==t){let l=o?t.residualClasses:t.residualStyles;null!=l&&(a=Jd(l,i))}return a}function ol(n){return void 0!==n}function S(n,t=""){const e=M(),i=ne(),r=n+De,o=i.firstCreatePass?Lr(i,r,1,t,null):i.data[r],s=e[r]=function uu(n,t){return n.createText(t)}(e[Q],t);Na(i,e,s,o),gn(o,!1)}function $i(n){return Yr("",n,""),$i}function Yr(n,t,e){const i=M(),r=Br(i,n,t,e);return r!==q&&function Gn(n,t,e){const i=ya(t,n);!function g_(n,t,e){n.setValue(t,e)}(n[Q],i,e)}(i,gt(),r),Yr}const zi=void 0;var fR=["en",[["a","p"],["AM","PM"],zi],[["AM","PM"],zi,zi],[["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"]],zi,[["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"]],zi,[["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}",zi,"{1} 'at' {0}",zi],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function uR(n){const e=Math.floor(Math.abs(n)),i=n.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===i?1:5}];let Zr={};function _t(n){const t=function hR(n){return n.toLowerCase().replace(/_/g,"-")}(n);let e=jy(t);if(e)return e;const i=t.split("-")[0];if(e=jy(i),e)return e;if("en"===i)return fR;throw new C(701,!1)}function jy(n){return n in Zr||(Zr[n]=Me.ng&&Me.ng.common&&Me.ng.common.locales&&Me.ng.common.locales[n]),Zr[n]}var R=(()=>((R=R||{})[R.LocaleId=0]="LocaleId",R[R.DayPeriodsFormat=1]="DayPeriodsFormat",R[R.DayPeriodsStandalone=2]="DayPeriodsStandalone",R[R.DaysFormat=3]="DaysFormat",R[R.DaysStandalone=4]="DaysStandalone",R[R.MonthsFormat=5]="MonthsFormat",R[R.MonthsStandalone=6]="MonthsStandalone",R[R.Eras=7]="Eras",R[R.FirstDayOfWeek=8]="FirstDayOfWeek",R[R.WeekendRange=9]="WeekendRange",R[R.DateFormat=10]="DateFormat",R[R.TimeFormat=11]="TimeFormat",R[R.DateTimeFormat=12]="DateTimeFormat",R[R.NumberSymbols=13]="NumberSymbols",R[R.NumberFormats=14]="NumberFormats",R[R.CurrencyCode=15]="CurrencyCode",R[R.CurrencySymbol=16]="CurrencySymbol",R[R.CurrencyName=17]="CurrencyName",R[R.Currencies=18]="Currencies",R[R.Directionality=19]="Directionality",R[R.PluralCase=20]="PluralCase",R[R.ExtraData=21]="ExtraData",R))();const Kr="en-US";let Hy=Kr;function hf(n,t,e,i,r){if(n=V(n),Array.isArray(n))for(let o=0;o>20;if(Li(n)||!n.multi){const h=new Oo(l,r,y),p=mf(a,t,r?d:d+f,u);-1===p?(Zd(Sa(c,s),o,a),pf(o,n,t.length),t.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),e.push(h),s.push(h)):(e[p]=h,s[p]=h)}else{const h=mf(a,t,d+f,u),p=mf(a,t,d,d+f),g=p>=0&&e[p];if(r&&!g||!r&&!(h>=0&&e[h])){Zd(Sa(c,s),o,a);const _=function dF(n,t,e,i,r){const o=new Oo(n,e,y);return o.multi=[],o.index=t,o.componentProviders=0,fb(o,r,i&&!e),o}(r?cF:lF,e.length,r,i,l);!r&&g&&(e[p].providerFactory=_),pf(o,n,t.length,0),t.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),e.push(_),s.push(_)}else pf(o,n,h>-1?h:p,fb(e[r?p:h],l,!r&&i));!r&&i&&g&&e[p].componentProviders++}}}function pf(n,t,e,i){const r=Li(t),o=function bT(n){return!!n.useClass}(t);if(r||o){const l=(o?V(t.useClass):t).prototype.ngOnDestroy;if(l){const c=n.destroyHooks||(n.destroyHooks=[]);if(!r&&t.multi){const d=c.indexOf(e);-1===d?c.push(e,[i,l]):c[d+1].push(i,l)}else c.push(e,l)}}}function fb(n,t,e){return e&&n.componentProviders++,n.multi.push(t)-1}function mf(n,t,e,i){for(let r=e;r{e.providersResolver=(i,r)=>function aF(n,t,e){const i=ne();if(i.firstCreatePass){const r=nn(n);hf(e,i.data,i.blueprint,r,!0),hf(t,i.data,i.blueprint,r,!1)}}(i,r?r(n):n,t)}}class Xr{}class hb{}class pb extends Xr{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Ov(this);const i=It(t);this._bootstrapComponents=zn(i.bootstrap),this._r3Injector=fv(t,e,[{provide:Xr,useValue:this},{provide:Or,useValue:this.componentFactoryResolver}],be(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class _f extends hb{constructor(t){super(),this.moduleType=t}create(t){return new pb(this.moduleType,t)}}class fF extends Xr{constructor(t,e,i){super(),this.componentFactoryResolver=new Ov(this),this.instance=null;const r=new X_([...t,{provide:Xr,useValue:this},{provide:Or,useValue:this.componentFactoryResolver}],e||Ga(),i,new Set(["environment"]));this.injector=r,r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function dl(n,t,e=null){return new fF(n,t,e).injector}let hF=(()=>{class n{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e.id)){const i=q_(0,e.type),r=i.length>0?dl([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e.id,r)}return this.cachedInjectors.get(e.id)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}}return n.\u0275prov=I({token:n,providedIn:"environment",factory:()=>new n(w(yn))}),n})();function vf(n){n.getStandaloneInjector=t=>t.get(hF).getOrCreateStandaloneInjector(n)}function xb(n,t,e,i,r,o,s){const a=t+e;return Bi(n,a,r,o)?function Cn(n,t,e){return n[t]=e}(n,a+2,s?i.call(s,r,o):i(r,o)):function os(n,t){const e=n[t];return e===q?void 0:e}(n,a+2)}function bf(n,t){const e=ne();let i;const r=n+De;e.firstCreatePass?(i=function FF(n,t){if(t)for(let e=t.length-1;e>=0;e--){const i=t[e];if(n===i.name)return i}}(t,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks??(e.destroyHooks=[])).push(r,i.onDestroy)):i=e.data[r];const o=i.factory||(i.factory=Ri(i.type)),s=jt(y);try{const a=Ea(!1),l=o();return Ea(a),function y1(n,t,e,i){e>=n.data.length&&(n.data[e]=null,n.blueprint[e]=null),t[e]=i}(e,M(),r,l),l}finally{jt(s)}}function Cf(n,t,e,i){const r=n+De,o=M(),s=function yr(n,t){return n[t]}(o,r);return function ss(n,t){return n[F].data[t].pure}(o,r)?xb(o,function mt(){const n=W.lFrame;let t=n.bindingRootIndex;return-1===t&&(t=n.bindingRootIndex=n.tView.bindingStartIndex),t}(),t,s.transform,e,i,s):s.transform(e,i)}function xf(n){return t=>{setTimeout(n,void 0,t)}}const Ie=class LF extends Re{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,i){let r=t,o=e||(()=>null),s=i;if(t&&"object"==typeof t){const l=t;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=xf(o),r&&(r=xf(r)),s&&(s=xf(s)));const a=super.subscribe({next:r,error:o,complete:s});return t instanceof tt&&t.add(a),a}};function VF(){return this._results[Symbol.iterator]()}class wf{get changes(){return this._changes||(this._changes=new Ie)}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=wf.prototype;e[Symbol.iterator]||(e[Symbol.iterator]=VF)}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 i=this;i.dirty=!1;const r=function $t(n){return n.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function $S(n,t,e){if(n.length!==t.length)return!1;for(let i=0;i{class n{}return n.__NG_ELEMENT_ID__=HF,n})();const BF=Wn,jF=class extends BF{constructor(t,e,i){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(t,e){const i=this._declarationTContainer.tView,r=qa(this._declarationLView,i,t,16,null,i.declTNode,null,null,null,null,e||null);r[To]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[mn];return null!==s&&(r[mn]=s.createEmbeddedView(i)),ju(i,r,t),new qo(r)}};function HF(){return ul(it(),M())}function ul(n,t){return 4&n.type?new jF(t,n,Pr(n,t)):null}let ln=(()=>{class n{}return n.__NG_ELEMENT_ID__=UF,n})();function UF(){return Ib(it(),M())}const $F=ln,Eb=class extends $F{constructor(t,e,i){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=i}get element(){return Pr(this._hostTNode,this._hostLView)}get injector(){return new xr(this._hostTNode,this._hostLView)}get parentInjector(){const t=Yd(this._hostTNode,this._hostLView);if(Ng(t)){const e=Da(t,this._hostLView),i=Ma(t);return new xr(e[F].data[i+8],e)}return new xr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=Sb(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-pt}createEmbeddedView(t,e,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const s=t.createEmbeddedView(e||{},o);return this.insert(s,r),s}createComponent(t,e,i,r,o){const s=t&&!function No(n){return"function"==typeof n}(t);let a;if(s)a=e;else{const u=e||{};a=u.index,i=u.injector,r=u.projectableNodes,o=u.environmentInjector||u.ngModuleRef}const l=s?t:new Yo(me(t)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const f=(s?c:this.parentInjector).get(yn,null);f&&(o=f)}const d=l.create(c,r,void 0,o);return this.insert(d.hostView,a),d}insert(t,e){const i=t._lView,r=i[F];if(function hS(n){return tn(n[Fe])}(i)){const d=this.indexOf(t);if(-1!==d)this.detach(d);else{const u=i[Fe],f=new Eb(u,u[at],u[Fe]);f.detach(f.indexOf(t))}}const o=this._adjustIndex(e),s=this._lContainer;!function RI(n,t,e,i){const r=pt+i,o=e.length;i>0&&(e[r-1][en]=t),i0)i.push(s[a/2]);else{const c=o[a+1],d=t[-l];for(let u=pt;u{class n{constructor(e){this.appInits=e,this.resolve=ml,this.reject=ml,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r})}runInitializers(){if(this.initialized)return;const e=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r{o.subscribe({complete:a,error:l})});e.push(s)}}Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),0===e.length&&i(),this.initialized=!0}}return n.\u0275fac=function(e){return new(e||n)(w(gl,8))},n.\u0275prov=I({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const ls=new E("AppId",{providedIn:"root",factory:function Qb(){return`${Nf()}${Nf()}${Nf()}`}});function Nf(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Jb=new E("Platform Initializer"),vl=new E("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Lf=new E("AnimationModuleType");let gO=(()=>{class n{log(e){console.log(e)}warn(e){console.warn(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=I({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();const Dn=new E("LocaleId",{providedIn:"root",factory:()=>z(Dn,B.Optional|B.SkipSelf)||function _O(){return typeof $localize<"u"&&$localize.locale||Kr}()}),vO=new E("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class yO{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}let e0=(()=>{class n{compileModuleSync(e){return new _f(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const i=this.compileModuleSync(e),o=zn(It(e).declarations).reduce((s,a)=>{const l=me(a);return l&&s.push(new Yo(l)),s},[]);return new yO(i,o)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=I({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const xO=(()=>Promise.resolve(0))();function Vf(n){typeof Zone>"u"?xO.then(()=>{n&&n.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}class se{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ie(!1),this.onMicrotaskEmpty=new Ie(!1),this.onStable=new Ie(!1),this.onError=new Ie(!1),typeof Zone>"u")throw new C(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&e,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function wO(){let n=Me.requestAnimationFrame,t=Me.cancelAnimationFrame;if(typeof Zone<"u"&&n&&t){const e=n[Zone.__symbol__("OriginalDelegate")];e&&(n=e);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function EO(n){const t=()=>{!function DO(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(Me,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,jf(n),n.isCheckStableRunning=!0,Bf(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),jf(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,r,o,s,a)=>{try{return r0(n),e.invokeTask(r,o,s,a)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||n.shouldCoalesceRunChangeDetection)&&t(),o0(n)}},onInvoke:(e,i,r,o,s,a,l)=>{try{return r0(n),e.invoke(r,o,s,a,l)}finally{n.shouldCoalesceRunChangeDetection&&t(),o0(n)}},onHasTask:(e,i,r,o)=>{e.hasTask(r,o),i===r&&("microTask"==o.change?(n._hasPendingMicrotasks=o.microTask,jf(n),Bf(n)):"macroTask"==o.change&&(n.hasPendingMacrotasks=o.macroTask))},onHandleError:(e,i,r,o)=>(e.handleError(r,o),n.runOutsideAngular(()=>n.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!se.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(se.isInAngularZone())throw new C(909,!1)}run(t,e,i){return this._inner.run(t,e,i)}runTask(t,e,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,t,MO,ml,ml);try{return o.runTask(s,e,i)}finally{o.cancelTask(s)}}runGuarded(t,e,i){return this._inner.runGuarded(t,e,i)}runOutsideAngular(t){return this._outer.run(t)}}const MO={};function Bf(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 jf(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function r0(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function o0(n){n._nesting--,Bf(n)}class SO{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ie,this.onMicrotaskEmpty=new Ie,this.onStable=new Ie,this.onError=new Ie}run(t,e,i){return t.apply(e,i)}runGuarded(t,e,i){return t.apply(e,i)}runOutsideAngular(t){return t()}runTask(t,e,i,r){return t.apply(e,i)}}const s0=new E(""),yl=new E("");let $f,Hf=(()=>{class n{constructor(e,i,r){this._ngZone=e,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,$f||(function IO(n){$f=n}(r),r.addToWindow(i)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=typeof Zone>"u"?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:()=>{se.assertNotInAngularZone(),Vf(()=>{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())Vf(()=>{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(i=>!i.updateCb||!i.updateCb(e)||(clearTimeout(i.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,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),e(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:r})}whenStable(e,i,r){if(r&&!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,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,r){return[]}}return n.\u0275fac=function(e){return new(e||n)(w(se),w(Uf),w(yl))},n.\u0275prov=I({token:n,factory:n.\u0275fac}),n})(),Uf=(()=>{class n{constructor(){this._applications=new Map}registerApplication(e,i){this._applications.set(e,i)}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,i=!0){return $f?.findTestabilityInTree(this,e,i)??null}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=I({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();const qn=!1;let ui=null;const a0=new E("AllowMultipleToken"),zf=new E("PlatformDestroyListeners"),l0=new E("appBootstrapListener");class c0{constructor(t,e){this.name=t,this.token=e}}function u0(n,t,e=[]){const i=`Platform: ${t}`,r=new E(i);return(o=[])=>{let s=Gf();if(!s||s.injector.get(a0,!1)){const a=[...e,...o,{provide:r,useValue:!0}];n?n(a):function RO(n){if(ui&&!ui.get(a0,!1))throw new C(400,!1);ui=n;const t=n.get(h0);(function d0(n){const t=n.get(Jb,null);t&&t.forEach(e=>e())})(n)}(function f0(n=[],t){return Ot.create({name:t,providers:[{provide:Iu,useValue:"platform"},{provide:zf,useValue:new Set([()=>ui=null])},...n]})}(a,i))}return function OO(n){const t=Gf();if(!t)throw new C(401,!1);return t}()}}function Gf(){return ui?.get(h0)??null}let h0=(()=>{class n{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){const r=function m0(n,t){let e;return e="noop"===n?new SO:("zone.js"===n?void 0:n)||new se(t),e}(i?.ngZone,function p0(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!n||!n.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!n||!n.ngZoneRunCoalescing)||!1}}(i)),o=[{provide:se,useValue:r}];return r.run(()=>{const s=Ot.create({providers:o,parent:this.injector,name:e.moduleType.name}),a=e.create(s),l=a.injector.get(ci,null);if(!l)throw new C(402,!1);return r.runOutsideAngular(()=>{const c=r.onError.subscribe({next:d=>{l.handleError(d)}});a.onDestroy(()=>{bl(this._modules,a),c.unsubscribe()})}),function g0(n,t,e){try{const i=e();return Xo(i)?i.catch(r=>{throw t.runOutsideAngular(()=>n.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>n.handleError(i)),i}}(l,r,()=>{const c=a.injector.get(_l);return c.runInitializers(),c.donePromise.then(()=>(function Uy(n){Bt(n,"Expected localeId to be defined"),"string"==typeof n&&(Hy=n.toLowerCase().replace(/_/g,"-"))}(a.injector.get(Dn,Kr)||Kr),this._moduleDoBootstrap(a),a))})})}bootstrapModule(e,i=[]){const r=_0({},i);return function TO(n,t,e){const i=new _f(e);return Promise.resolve(i)}(0,0,e).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(e){const i=e.injector.get(eo);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new C(-403,!1);e.instance.ngDoBootstrap(i)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new C(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const e=this._injector.get(zf,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return n.\u0275fac=function(e){return new(e||n)(w(Ot))},n.\u0275prov=I({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();function _0(n,t){return Array.isArray(t)?t.reduce(_0,n):{...n,...t}}let eo=(()=>{class n{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(e,i,r){this._zone=e,this._injector=i,this._exceptionHandler=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new ve(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new ve(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{se.assertNotInAngularZone(),Vf(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const c=this._zone.onUnstable.subscribe(()=>{se.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),c.unsubscribe()}});this.isStable=Ym(o,s.pipe(function Zm(n={}){const{connector:t=(()=>new Re),resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=n;return o=>{let s,a,l,c=0,d=!1,u=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=l=void 0,d=u=!1},p=()=>{const m=s;h(),m?.unsubscribe()};return Pe((m,g)=>{c++,!u&&!d&&f();const _=l=l??t();g.add(()=>{c--,0===c&&!u&&!d&&(a=bd(p,r))}),_.subscribe(g),!s&&c>0&&(s=new xo({next:D=>_.next(D),error:D=>{u=!0,f(),a=bd(h,e,D),_.error(D)},complete:()=>{d=!0,f(),a=bd(h,i),_.complete()}}),bt(m).subscribe(s))})(o)}}()))}bootstrap(e,i){const r=e instanceof J_;if(!this._injector.get(_l).done){!r&&function pr(n){const t=me(n)||st(n)||xt(n);return null!==t&&t.standalone}(e);throw new C(405,qn)}let s;s=r?e:this._injector.get(Or).resolveComponentFactory(e),this.componentTypes.push(s.componentType);const a=function AO(n){return n.isBoundToModule}(s)?void 0:this._injector.get(Xr),c=s.create(Ot.NULL,[],i||s.selector,a),d=c.location.nativeElement,u=c.injector.get(s0,null);return u?.registerApplication(d),c.onDestroy(()=>{this.detachView(c.hostView),bl(this.components,c),u?.unregisterApplication(d)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new C(101,!1);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 i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){const i=e;bl(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);const i=this._injector.get(l0,[]);i.push(...this._bootstrapListeners),i.forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>bl(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new C(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return n.\u0275fac=function(e){return new(e||n)(w(se),w(yn),w(ci))},n.\u0275prov=I({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function bl(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}let cs=(()=>{class n{}return n.__NG_ELEMENT_ID__=kO,n})();function kO(n){return function NO(n,t,e){if(Ro(n)&&!e){const i=wt(n.index,t);return new qo(i,i)}return 47&n.type?new qo(t[lt],t):null}(it(),M(),16==(16&n))}class x0{constructor(){}supports(t){return el(t)}create(t){return new UO(t)}}const HO=(n,t)=>t;class UO{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||HO}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,i=this._removalsHead,r=0,o=null;for(;e||i;){const s=!i||e&&e.currentIndex{s=this._trackByFn(r,a),null!==e&&Object.is(e.trackById,s)?(i&&(e=this._verifyReinsertion(e,a,s,r)),Object.is(e.item,a)||this._addIdentityChange(e,a)):(e=this._mismatch(e,a,s,r),i=!0),e=e._next,r++}),this.length=r;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,i,r){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,r)):t=this._addAfter(new $O(e,i),o,r),t}_verifyReinsertion(t,e,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,o=t._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,e,i),this._addToMoves(t,i),t}_moveAfter(t,e,i){return this._unlink(t),this._insertAfter(t,e,i),this._addToMoves(t,i),t}_addAfter(t,e,i){return this._insertAfter(t,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,i){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new w0),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,i=t._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._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 w0),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 $O{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 zO{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 i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const e=t._prevDup,i=t._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class w0{constructor(){this.map=new Map}put(t){const e=t.trackById;let i=this.map.get(e);i||(i=new zO,this.map.set(e,i)),i.add(t)}get(t,e){const r=this.map.get(t);return r?r.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 M0(n,t,e){const i=n.previousIndex;if(null===i)return i;let r=0;return e&&i{class n{constructor(e){this.factories=e}static create(e,i){if(null!=i){const r=i.factories.slice();e=e.concat(r)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||E0()),deps:[[n,new Ir,new Hn]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(null!=i)return i;throw new C(901,!1)}}return n.\u0275prov=I({token:n,providedIn:"root",factory:E0}),n})();const ZO=u0(null,"core",[]);let KO=(()=>{class n{constructor(e){}}return n.\u0275fac=function(e){return new(e||n)(w(eo))},n.\u0275mod=le({type:n}),n.\u0275inj=oe({}),n})();function to(n){return"boolean"==typeof n?n:null!=n&&"false"!==n}let Kf=null;function Yn(){return Kf}class JO{}const ie=new E("DocumentToken");let Xf=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=I({token:n,factory:function(){return function eP(){return w(I0)}()},providedIn:"platform"}),n})();const tP=new E("Location Initialized");let I0=(()=>{class n extends Xf{constructor(e){super(),this._doc=e,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Yn().getBaseHref(this._doc)}onPopState(e){const i=Yn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=Yn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.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,i,r){T0()?this._history.pushState(e,i,r):this._location.hash=r}replaceState(e,i,r){T0()?this._history.replaceState(e,i,r):this._location.hash=r}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)(w(ie))},n.\u0275prov=I({token:n,factory:function(){return function nP(){return new I0(w(ie))}()},providedIn:"platform"}),n})();function T0(){return!!window.history.pushState}function Qf(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 A0(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 Zn(n){return n&&"?"!==n[0]?"?"+n:n}let Wi=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=I({token:n,factory:function(){return z(F0)},providedIn:"root"}),n})();const R0=new E("appBaseHref");let F0=(()=>{class n extends Wi{constructor(e,i){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??z(ie).location?.origin??""}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 Qf(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+Zn(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){const s=this.prepareExternalUrl(r+Zn(o));this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){const s=this.prepareExternalUrl(r+Zn(o));this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return n.\u0275fac=function(e){return new(e||n)(w(Xf),w(R0,8))},n.\u0275prov=I({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),iP=(()=>{class n extends Wi{constructor(e,i){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=i&&(this._baseHref=i)}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 i=this._platformLocation.hash;return null==i&&(i="#"),i.length>0?i.substring(1):i}prepareExternalUrl(e){const i=Qf(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,r,o){let s=this.prepareExternalUrl(r+Zn(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){let s=this.prepareExternalUrl(r+Zn(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return n.\u0275fac=function(e){return new(e||n)(w(Xf),w(R0,8))},n.\u0275prov=I({token:n,factory:n.\u0275fac}),n})(),Ml=(()=>{class n{constructor(e){this._subject=new Ie,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const i=this._locationStrategy.getBaseHref();this._basePath=function sP(n){if(new RegExp("^(https?:)?//").test(n)){const[,e]=n.split(/\/\/[^\/]+/);return e}return n}(A0(O0(i))),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+Zn(i))}normalize(e){return n.stripTrailingSlash(function oP(n,t){if(!n||!t.startsWith(n))return t;const e=t.substring(n.length);return""===e||["/",";","?","#"].includes(e[0])?e:t}(this._basePath,O0(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._locationStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Zn(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Zn(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{const i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i,complete:r})}}return n.normalizeQueryParams=Zn,n.joinWithSlash=Qf,n.stripTrailingSlash=A0,n.\u0275fac=function(e){return new(e||n)(w(Wi))},n.\u0275prov=I({token:n,factory:function(){return function rP(){return new Ml(w(Wi))}()},providedIn:"root"}),n})();function O0(n){return n.replace(/\/index.html$/,"")}const P0={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var Et=(()=>((Et=Et||{})[Et.Decimal=0]="Decimal",Et[Et.Percent=1]="Percent",Et[Et.Currency=2]="Currency",Et[Et.Scientific=3]="Scientific",Et))(),L=(()=>((L=L||{})[L.Decimal=0]="Decimal",L[L.Group=1]="Group",L[L.List=2]="List",L[L.PercentSign=3]="PercentSign",L[L.PlusSign=4]="PlusSign",L[L.MinusSign=5]="MinusSign",L[L.Exponential=6]="Exponential",L[L.SuperscriptingExponent=7]="SuperscriptingExponent",L[L.PerMille=8]="PerMille",L[L.Infinity=9]="Infinity",L[L.NaN=10]="NaN",L[L.TimeSeparator=11]="TimeSeparator",L[L.CurrencyDecimal=12]="CurrencyDecimal",L[L.CurrencyGroup=13]="CurrencyGroup",L))();function Wt(n,t){const e=_t(n),i=e[R.NumberSymbols][t];if(typeof i>"u"){if(t===L.CurrencyDecimal)return e[R.NumberSymbols][L.Decimal];if(t===L.CurrencyGroup)return e[R.NumberSymbols][L.Group]}return i}const _P=2,FP=/^(\d+)?\.((\d+)(-(\d+))?)?$/,B0=22,Ol=".",fs="0",OP=";",PP=",",ih="#",j0="\xa4";function NP(n,t,e,i,r){const s=function oh(n,t="-"){const e={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=n.split(OP),r=i[0],o=i[1],s=-1!==r.indexOf(Ol)?r.split(Ol):[r.substring(0,r.lastIndexOf(fs)+1),r.substring(r.lastIndexOf(fs)+1)],a=s[0],l=s[1]||"";e.posPre=a.substring(0,a.indexOf(ih));for(let d=0;d-1&&(t=t.replace(Ol,"")),(o=t.search(/e/i))>0?(r<0&&(r=o),r+=+t.slice(o+1),t=t.substring(0,o)):r<0&&(r=t.length),o=0;t.charAt(o)===fs;o++);if(o===(a=t.length))i=[0],r=1;else{for(a--;t.charAt(a)===fs;)a--;for(r-=o,i=[],s=0;o<=a;o++,s++)i[s]=Number(t.charAt(o))}return r>B0&&(i=i.splice(0,B0-1),e=r-1,r=1),{digits:i,exponent:e,integerLen:r}}(n);s&&(c=function BP(n){if(0===n.digits[0])return n;const t=n.digits.length-n.integerLen;return n.exponent?n.exponent+=2:(0===t?n.digits.push(0,0):1===t&&n.digits.push(0),n.integerLen+=2),n}(c));let d=t.minInt,u=t.minFrac,f=t.maxFrac;if(o){const D=o.match(FP);if(null===D)throw new Error(`${o} is not a valid digit info`);const b=D[1],T=D[3],ee=D[5];null!=b&&(d=sh(b)),null!=T&&(u=sh(T)),null!=ee?f=sh(ee):null!=T&&u>f&&(f=u)}!function HP(n,t,e){if(t>e)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${e}).`);let i=n.digits,r=i.length-n.integerLen;const o=Math.min(Math.max(t,r),e);let s=o+n.integerLen,a=i[s];if(s>0){i.splice(Math.max(n.integerLen,s));for(let u=s;u=5)if(s-1<0){for(let u=0;u>s;u--)i.unshift(0),n.integerLen++;i.unshift(1),n.integerLen++}else i[s-1]++;for(;r=c?p.pop():l=!1),f>=10?1:0},0);d&&(i.unshift(d),n.integerLen++)}(c,u,f);let h=c.digits,p=c.integerLen;const m=c.exponent;let g=[];for(l=h.every(D=>!D);p0?g=h.splice(p,h.length):(g=h,h=[0]);const _=[];for(h.length>=t.lgSize&&_.unshift(h.splice(-t.lgSize,h.length).join(""));h.length>t.gSize;)_.unshift(h.splice(-t.gSize,h.length).join(""));h.length&&_.unshift(h.join("")),a=_.join(Wt(e,i)),g.length&&(a+=Wt(e,r)+g.join("")),m&&(a+=Wt(e,L.Exponential)+"+"+m)}else a=Wt(e,L.Infinity);return a=n<0&&!l?t.negPre+a+t.negSuf:t.posPre+a+t.posSuf,a}(n,s,t,L.CurrencyGroup,L.CurrencyDecimal,r).replace(j0,e).replace(j0,"").trim()}function sh(n){const t=parseInt(n);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+n);return t}function U0(n,t){t=encodeURIComponent(t);for(const e of n.split(";")){const i=e.indexOf("="),[r,o]=-1==i?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===t)return decodeURIComponent(o)}return null}class GP{constructor(t,e,i,r){this.$implicit=t,this.ngForOf=e,this.index=i,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let ch=(()=>{class n{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,i,r){this._viewContainer=e,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}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 i=this._viewContainer;e.forEachOperation((r,o,s)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new GP(r.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)i.remove(null===o?void 0:o);else if(null!==o){const a=i.get(o);i.move(a,s),W0(a,r)}});for(let r=0,o=i.length;r{W0(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(e,i){return!0}}return n.\u0275fac=function(e){return new(e||n)(y(ln),y(Wn),y(wl))},n.\u0275dir=P({type:n,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),n})();function W0(n,t){n.context.$implicit=t.item}let dh=(()=>{class n{constructor(e,i){this._viewContainer=e,this._context=new qP,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){q0("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){q0("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,i){return!0}}return n.\u0275fac=function(e){return new(e||n)(y(ln),y(Wn))},n.\u0275dir=P({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),n})();class qP{constructor(){this.$implicit=null,this.ngIf=null}}function q0(n,t){if(t&&!t.createEmbeddedView)throw new Error(`${n} must be a TemplateRef, but received '${be(t)}'.`)}let hh=(()=>{class n{constructor(e,i="USD"){this._locale=e,this._defaultCurrencyCode=i}transform(e,i=this._defaultCurrencyCode,r="symbol",o,s){if(!function ph(n){return!(null==n||""===n||n!=n)}(e))return null;s=s||this._locale,"boolean"==typeof r&&(r=r?"symbol":"code");let a=i||this._defaultCurrencyCode;"code"!==r&&(a="symbol"===r||"symbol-narrow"===r?function gP(n,t,e="en"){const i=function fP(n){return _t(n)[R.Currencies]}(e)[n]||P0[n]||[],r=i[1];return"narrow"===t&&"string"==typeof r?r:i[0]||n}(a,"symbol"===r?"wide":"narrow",s):r);try{return NP(function mh(n){if("string"==typeof n&&!isNaN(Number(n)-parseFloat(n)))return Number(n);if("number"!=typeof n)throw new Error(`${n} is not a number`);return n}(e),s,a,i,o)}catch(l){throw function un(n,t){return new C(2100,!1)}()}}}return n.\u0275fac=function(e){return new(e||n)(y(Dn,16),y(vO,16))},n.\u0275pipe=Ct({name:"currency",type:n,pure:!0,standalone:!0}),n})();let Pl=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=le({type:n}),n.\u0275inj=oe({}),n})();const K0="browser";let Ck=(()=>{class n{}return n.\u0275prov=I({token:n,providedIn:"root",factory:()=>new xk(w(ie),window)}),n})();class xk{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 wk(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 i=n.createTreeWalker(n.body,NodeFilter.SHOW_ELEMENT);let r=i.currentNode;for(;r;){const o=r.shadowRoot;if(o){const s=o.getElementById(t)||o.querySelector(`[name="${t}"]`);if(s)return s}r=i.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),i=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(i-o[0],r-o[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=X0(this.window.history)||X0(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function X0(n){return Object.getOwnPropertyDescriptor(n,"scrollRestoration")}class Q0{}class Kk extends JO{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class vh extends Kk{static makeCurrent(){!function QO(n){Kf||(Kf=n)}(new vh)}onAndCancel(t,e,i){return t.addEventListener(e,i,!1),()=>{t.removeEventListener(e,i,!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 Xk(){return ps=ps||document.querySelector("base"),ps?ps.getAttribute("href"):null}();return null==e?null:function Qk(n){Ll=Ll||document.createElement("a"),Ll.setAttribute("href",n);const t=Ll.pathname;return"/"===t.charAt(0)?t:`/${t}`}(e)}resetBaseElement(){ps=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return U0(document.cookie,t)}}let Ll,ps=null;const iC=new E("TRANSITION_ID"),eN=[{provide:gl,useFactory:function Jk(n,t,e){return()=>{e.get(_l).donePromise.then(()=>{const i=Yn(),r=t.querySelectorAll(`style[ng-transition="${n}"]`);for(let o=0;o{class n{build(){return new XMLHttpRequest}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=I({token:n,factory:n.\u0275fac}),n})();const Vl=new E("EventManagerPlugins");let Bl=(()=>{class n{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(r=>{r.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,r){return this._findPluginFor(i).addEventListener(e,i,r)}addGlobalEventListener(e,i,r){return this._findPluginFor(i).addGlobalEventListener(e,i,r)}getZone(){return this._zone}_findPluginFor(e){const i=this._eventNameToPlugin.get(e);if(i)return i;const r=this._plugins;for(let o=0;o{class n{constructor(){this.usageCount=new Map}addStyles(e){for(const i of e)1===this.changeUsageCount(i,1)&&this.onStyleAdded(i)}removeStyles(e){for(const i of e)0===this.changeUsageCount(i,-1)&&this.onStyleRemoved(i)}onStyleRemoved(e){}onStyleAdded(e){}getAllStyles(){return this.usageCount.keys()}changeUsageCount(e,i){const r=this.usageCount;let o=r.get(e)??0;return o+=i,o>0?r.set(e,o):r.delete(e),o}ngOnDestroy(){for(const e of this.getAllStyles())this.onStyleRemoved(e);this.usageCount.clear()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=I({token:n,factory:n.\u0275fac}),n})(),ms=(()=>{class n extends oC{constructor(e){super(),this.doc=e,this.styleRef=new Map,this.hostNodes=new Set,this.resetHostNodes()}onStyleAdded(e){for(const i of this.hostNodes)this.addStyleToHost(i,e)}onStyleRemoved(e){const i=this.styleRef;i.get(e)?.forEach(o=>o.remove()),i.delete(e)}ngOnDestroy(){super.ngOnDestroy(),this.styleRef.clear(),this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(const i of this.getAllStyles())this.addStyleToHost(e,i)}removeHost(e){this.hostNodes.delete(e)}addStyleToHost(e,i){const r=this.doc.createElement("style");r.textContent=i,e.appendChild(r);const o=this.styleRef.get(i);o?o.push(r):this.styleRef.set(i,[r])}resetHostNodes(){const e=this.hostNodes;e.clear(),e.add(this.doc.head)}}return n.\u0275fac=function(e){return new(e||n)(w(ie))},n.\u0275prov=I({token:n,factory:n.\u0275fac}),n})();const yh={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},bh=/%COMP%/g,lC=new E("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function cC(n,t){return t.flat(100).map(e=>e.replace(bh,n))}function dC(n){return t=>{if("__ngUnwrap__"===t)return n;!1===n(t)&&(t.preventDefault(),t.returnValue=!1)}}let jl=(()=>{class n{constructor(e,i,r,o){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestory=o,this.rendererByCompId=new Map,this.defaultRenderer=new Ch(e)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;const r=this.getOrCreateRenderer(e,i);return r instanceof hC?r.applyToHost(e):r instanceof xh&&r.applyStyles(),r}getOrCreateRenderer(e,i){const r=this.rendererByCompId;let o=r.get(i.id);if(!o){const s=this.eventManager,a=this.sharedStylesHost,l=this.removeStylesOnCompDestory;switch(i.encapsulation){case Jt.Emulated:o=new hC(s,a,i,this.appId,l);break;case Jt.ShadowDom:return new cN(s,a,e,i);default:o=new xh(s,a,i,l)}o.onDestroy=()=>r.delete(i.id),r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}begin(){}end(){}}return n.\u0275fac=function(e){return new(e||n)(w(Bl),w(ms),w(ls),w(lC))},n.\u0275prov=I({token:n,factory:n.\u0275fac}),n})();class Ch{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,e){return e?document.createElementNS(yh[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){(fC(t)?t.content:t).appendChild(e)}insertBefore(t,e,i){t&&(fC(t)?t.content:t).insertBefore(e,i)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let i="string"==typeof t?document.querySelector(t):t;if(!i)throw new Error(`The selector "${t}" did not match any elements`);return e||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,i,r){if(r){e=r+":"+e;const o=yh[r];o?t.setAttributeNS(o,e,i):t.setAttribute(e,i)}else t.setAttribute(e,i)}removeAttribute(t,e,i){if(i){const r=yh[i];r?t.removeAttributeNS(r,e):t.removeAttribute(`${i}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,i,r){r&(Mt.DashCase|Mt.Important)?t.style.setProperty(e,i,r&Mt.Important?"important":""):t.style[e]=i}removeStyle(t,e,i){i&Mt.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,i){t[e]=i}setValue(t,e){t.nodeValue=e}listen(t,e,i){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,dC(i)):this.eventManager.addEventListener(t,e,dC(i))}}function fC(n){return"TEMPLATE"===n.tagName&&void 0!==n.content}class cN extends Ch{constructor(t,e,i,r){super(t),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=cC(r.id,r.styles);for(const s of o){const a=document.createElement("style");a.textContent=s,this.shadowRoot.appendChild(a)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,i){return super.insertBefore(this.nodeOrShadowRoot(t),e,i)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class xh extends Ch{constructor(t,e,i,r,o=i.id){super(t),this.sharedStylesHost=e,this.removeStylesOnCompDestory=r,this.rendererUsageCount=0,this.styles=cC(o,i.styles)}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){this.removeStylesOnCompDestory&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,0===this.rendererUsageCount&&this.onDestroy?.())}}class hC extends xh{constructor(t,e,i,r,o){const s=r+"-"+i.id;super(t,e,i,o,s),this.contentAttr=function sN(n){return"_ngcontent-%COMP%".replace(bh,n)}(s),this.hostAttr=function aN(n){return"_nghost-%COMP%".replace(bh,n)}(s)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,e){const i=super.createElement(t,e);return super.setAttribute(i,this.contentAttr,""),i}}let dN=(()=>{class n extends rC{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r){return e.addEventListener(i,r,!1),()=>this.removeEventListener(e,i,r)}removeEventListener(e,i,r){return e.removeEventListener(i,r)}}return n.\u0275fac=function(e){return new(e||n)(w(ie))},n.\u0275prov=I({token:n,factory:n.\u0275fac}),n})();const pC=["alt","control","meta","shift"],uN={"\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"},fN={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let hN=(()=>{class n extends rC{constructor(e){super(e)}supports(e){return null!=n.parseEventName(e)}addEventListener(e,i,r){const o=n.parseEventName(i),s=n.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Yn().onAndCancel(e,o.domEventName,s))}static parseEventName(e){const i=e.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=n._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),pC.forEach(c=>{const d=i.indexOf(c);d>-1&&(i.splice(d,1),s+=c+".")}),s+=o,0!=i.length||0===o.length)return null;const l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(e,i){let r=uN[e.key]||e.key,o="";return i.indexOf("code.")>-1&&(r=e.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),pC.forEach(s=>{s!==r&&(0,fN[s])(e)&&(o+=s+".")}),o+=r,o===i)}static eventCallback(e,i,r){return o=>{n.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>i(o))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return n.\u0275fac=function(e){return new(e||n)(w(ie))},n.\u0275prov=I({token:n,factory:n.\u0275fac}),n})();const _N=u0(ZO,"browser",[{provide:vl,useValue:K0},{provide:Jb,useValue:function pN(){vh.makeCurrent()},multi:!0},{provide:ie,useFactory:function gN(){return function zI(n){bu=n}(document),document},deps:[]}]),_C=new E(""),vC=[{provide:yl,useClass:class tN{addToWindow(t){Me.getAngularTestability=(i,r=!0)=>{const o=t.findTestabilityInTree(i,r);if(null==o)throw new Error("Could not find testability for element.");return o},Me.getAllAngularTestabilities=()=>t.getAllTestabilities(),Me.getAllAngularRootElements=()=>t.getAllRootElements(),Me.frameworkStabilizers||(Me.frameworkStabilizers=[]),Me.frameworkStabilizers.push(i=>{const r=Me.getAllAngularTestabilities();let o=r.length,s=!1;const a=function(l){s=s||l,o--,0==o&&i(s)};r.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(t,e,i){return null==e?null:t.getTestability(e)??(i?Yn().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null)}},deps:[]},{provide:s0,useClass:Hf,deps:[se,Uf,yl]},{provide:Hf,useClass:Hf,deps:[se,Uf,yl]}],yC=[{provide:Iu,useValue:"root"},{provide:ci,useFactory:function mN(){return new ci},deps:[]},{provide:Vl,useClass:dN,multi:!0,deps:[ie,se,vl]},{provide:Vl,useClass:hN,multi:!0,deps:[ie]},{provide:jl,useClass:jl,deps:[Bl,ms,ls,lC]},{provide:Go,useExisting:jl},{provide:oC,useExisting:ms},{provide:ms,useClass:ms,deps:[ie]},{provide:Bl,useClass:Bl,deps:[Vl,se]},{provide:Q0,useClass:nN,deps:[]},[]];let bC=(()=>{class n{constructor(e){}static withServerTransition(e){return{ngModule:n,providers:[{provide:ls,useValue:e.appId},{provide:iC,useExisting:ls},eN]}}}return n.\u0275fac=function(e){return new(e||n)(w(_C,12))},n.\u0275mod=le({type:n}),n.\u0275inj=oe({providers:[...yC,...vC],imports:[Pl,KO]}),n})(),CC=(()=>{class n{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return n.\u0275fac=function(e){return new(e||n)(w(ie))},n.\u0275prov=I({token:n,factory:function(e){let i=null;return i=e?new e:function yN(){return new CC(w(ie))}(),i},providedIn:"root"}),n})();typeof window<"u"&&window;const{isArray:DN}=Array,{getPrototypeOf:EN,prototype:SN,keys:IN}=Object;function DC(n){if(1===n.length){const t=n[0];if(DN(t))return{args:t,keys:null};if(function TN(n){return n&&"object"==typeof n&&EN(n)===SN}(t)){const e=IN(t);return{args:e.map(i=>t[i]),keys:e}}}return{args:n,keys:null}}const{isArray:AN}=Array;function Eh(n){return U(t=>function RN(n,t){return AN(t)?n(...t):n(t)}(n,t))}function EC(n,t){return n.reduce((e,i,r)=>(e[i]=t[r],e),{})}let IC=(()=>{class n{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}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)(y($n),y(Ne))},n.\u0275dir=P({type:n}),n})(),qi=(()=>{class n extends IC{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=rt(n)))(i||n)}}(),n.\u0275dir=P({type:n,features:[fe]}),n})();const En=new E("NgValueAccessor"),ON={provide:En,useExisting:Ce(()=>no),multi:!0},kN=new E("CompositionEventMode");let no=(()=>{class n extends IC{constructor(e,i,r){super(e,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function PN(){const n=Yn()?Yn().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(e){this.setProperty("value",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)(y($n),y(Ne),y(kN,8))},n.\u0275dir=P({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,i){1&e&&_e("input",function(o){return i._handleInput(o.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(o){return i._compositionEnd(o.target.value)})},features:[xe([ON]),fe]}),n})();const NN=!1;const ut=new E("NgValidators"),pi=new E("NgAsyncValidators");function OC(n){return function hi(n){return null==n||("string"==typeof n||Array.isArray(n))&&0===n.length}(n.value)?{required:!0}:null}function Hl(n){return null}function BC(n){return null!=n}function jC(n){const t=Xo(n)?je(n):n;if(NN&&!rf(t)){let e="Expected async validator to return Promise or Observable.";throw"object"==typeof n&&(e+=" Are you using a synchronous validator where an async validator is expected?"),new C(-1101,e)}return t}function HC(n){let t={};return n.forEach(e=>{t=null!=e?{...t,...e}:t}),0===Object.keys(t).length?null:t}function UC(n,t){return t.map(e=>e(n))}function $C(n){return n.map(t=>function VN(n){return!n.validate}(t)?t:e=>t.validate(e))}function Sh(n){return null!=n?function zC(n){if(!n)return null;const t=n.filter(BC);return 0==t.length?null:function(e){return HC(UC(e,t))}}($C(n)):null}function GC(n){if(!n)return null;const t=n.filter(BC);return 0==t.length?null:function(e){return function SC(...n){const t=zm(n),{args:e,keys:i}=DC(n),r=new ve(o=>{const{length:s}=e;if(!s)return void o.complete();const a=new Array(s);let l=s,c=s;for(let d=0;d{u||(u=!0,c--),a[d]=f},()=>l--,void 0,()=>{(!l||!u)&&(c||o.next(i?EC(i,a):a),o.complete())}))}});return t?r.pipe(Eh(t)):r}(UC(e,t).map(jC)).pipe(U(HC))}}function Ih(n){return null!=n?GC($C(n)):null}function WC(n,t){return null===n?[t]:Array.isArray(n)?[...n,t]:[n,t]}function Th(n){return n?Array.isArray(n)?n:[n]:[]}function Ul(n,t){return Array.isArray(n)?n.includes(t):n===t}function ZC(n,t){const e=Th(t);return Th(n).forEach(r=>{Ul(e,r)||e.push(r)}),e}function KC(n,t){return Th(t).filter(e=>!Ul(n,e))}class XC{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=Sh(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Ih(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 yt extends XC{get formDirective(){return null}get path(){return null}}class mi extends XC{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class QC{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let $l=(()=>{class n extends QC{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(y(mi,2))},n.\u0275dir=P({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,i){2&e&&Ui("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[fe]}),n})(),gs=(()=>{class n extends QC{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(y(yt,10))},n.\u0275dir=P({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,i){2&e&&Ui("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[fe]}),n})();function JC(n,t){return n?`with name: '${t}'`:`at index: ${t}`}const Fh=!1,_s="VALID",Gl="INVALID",io="PENDING",vs="DISABLED";function Oh(n){return(Wl(n)?n.validators:n)||null}function Ph(n,t){return(Wl(t)?t.asyncValidators:n)||null}function Wl(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}class nx{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._assignValidators(t),this._assignAsyncValidators(e)}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===_s}get invalid(){return this.status===Gl}get pending(){return this.status==io}get disabled(){return this.status===vs}get enabled(){return this.status!==vs}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._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(ZC(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(ZC(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(KC(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(KC(t,this._rawAsyncValidators))}hasValidator(t){return Ul(this._rawValidators,t)}hasAsyncValidator(t){return Ul(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=io,!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=vs,this.errors=null,this._forEachChild(i=>{i.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=_s,this._forEachChild(i=>{i.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===_s||this.status===io)&&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()?vs:_s}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=io,this._hasOwnPendingAsyncValidator=!0;const e=jC(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){let e=t;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(t,e){const i=e?this.get(e):this;return i&&i.errors?i.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 Ie,this.statusChanges=new Ie}_calculateStatus(){return this._allControlsDisabled()?vs:this.errors?Gl:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(io)?io:this._anyControlsHaveStatus(Gl)?Gl:_s}_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)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){Wl(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function GN(n){return Array.isArray(n)?Sh(n):n||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function WN(n){return Array.isArray(n)?Ih(n):n||null}(this._rawAsyncValidators)}}class kh extends nx{constructor(t,e,i){super(Oh(e),Ph(i,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,i={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.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,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){(function tx(n,t,e){n._forEachChild((i,r)=>{if(void 0===e[r])throw new C(1002,Fh?function zN(n,t){return`Must supply a value for form control ${JC(n,t)}`}(t,r):"")})})(this,!0,t),Object.keys(t).forEach(i=>{(function ex(n,t,e){const i=n.controls;if(!(t?Object.keys(i):i).length)throw new C(1e3,Fh?function UN(n){return`\n There are no form controls registered with this ${n?"group":"array"} yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n `}(t):"");if(!i[e])throw new C(1001,Fh?function $N(n,t){return`Cannot find form control ${JC(n,t)}`}(t,e):"")})(this,!0,i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(i=>{const r=this.controls[i];r&&r.patchValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((i,r)=>{i.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,i)=>(t[i]=e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(e,i)=>!!i._syncPendingControls()||e);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&t(i,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[e,i]of Object.entries(this.controls))if(this.contains(e)&&t(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(t,e){let i=t;return this._forEachChild((r,o)=>{i=e(i,r,o)}),i}_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}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}const Yi=new E("CallSetDisabledState",{providedIn:"root",factory:()=>ys}),ys="always";function bs(n,t,e=ys){Nh(n,t),t.valueAccessor.writeValue(n.value),(n.disabled||"always"===e)&&t.valueAccessor.setDisabledState?.(n.disabled),function ZN(n,t){t.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&ix(n,t)})}(n,t),function XN(n,t){const e=(i,r)=>{t.valueAccessor.writeValue(i),r&&t.viewToModelUpdate(i)};n.registerOnChange(e),t._registerOnDestroy(()=>{n._unregisterOnChange(e)})}(n,t),function KN(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&ix(n,t),"submit"!==n.updateOn&&n.markAsTouched()})}(n,t),function YN(n,t){if(t.valueAccessor.setDisabledState){const e=i=>{t.valueAccessor.setDisabledState(i)};n.registerOnDisabledChange(e),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}(n,t)}function Zl(n,t){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function Nh(n,t){const e=function qC(n){return n._rawValidators}(n);null!==t.validator?n.setValidators(WC(e,t.validator)):"function"==typeof e&&n.setValidators([e]);const i=function YC(n){return n._rawAsyncValidators}(n);null!==t.asyncValidator?n.setAsyncValidators(WC(i,t.asyncValidator)):"function"==typeof i&&n.setAsyncValidators([i]);const r=()=>n.updateValueAndValidity();Zl(t._rawValidators,r),Zl(t._rawAsyncValidators,r)}function ix(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}const nL={provide:yt,useExisting:Ce(()=>Zi)},Cs=(()=>Promise.resolve())();let Zi=(()=>{class n extends yt{constructor(e,i,r){super(),this.callSetDisabledState=r,this.submitted=!1,this._directives=new Set,this.ngSubmit=new Ie,this.form=new kh({},Sh(e),Ih(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Cs.then(()=>{const i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),bs(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Cs.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Cs.then(()=>{const i=this._findContainer(e.path),r=new kh({});(function rx(n,t){Nh(n,t)})(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Cs.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){Cs.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,function ox(n,t){n._syncPendingControls(),t.forEach(e=>{const i=e.control;"submit"===i.updateOn&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}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)(y(ut,10),y(pi,10),y(Yi,8))},n.\u0275dir=P({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,i){1&e&&_e("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[xe([nL]),fe]}),n})();function sx(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}function ax(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}const lx=class extends nx{constructor(t=null,e,i){super(Oh(e),Ph(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Wl(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=ax(t)?t.value:t)}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=this.defaultValue,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){sx(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){sx(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){ax(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}},oL={provide:mi,useExisting:Ce(()=>xs)},ux=(()=>Promise.resolve())();let xs=(()=>{class n extends mi{constructor(e,i,r,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new lx,this._registered=!1,this.update=new Ie,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=function Bh(n,t){if(!t)return null;let e,i,r;return Array.isArray(t),t.forEach(o=>{o.constructor===no?e=o:function eL(n){return Object.getPrototypeOf(n.constructor)===qi}(o)?i=o:r=o}),r||i||e||null}(0,o)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),function Vh(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._getPath(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(){bs(this.control,this,this.callSetDisabledState),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){ux.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const i=e.isDisabled.currentValue,r=0!==i&&to(i);ux.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?function ql(n,t){return[...t.path,n]}(e,this._parent):[e]}}return n.\u0275fac=function(e){return new(e||n)(y(yt,9),y(ut,10),y(pi,10),y(En,10),y(cs,8),y(Yi,8))},n.\u0275dir=P({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:[xe([oL]),fe,Ht]}),n})(),ws=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=P({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),n})();const sL={provide:En,useExisting:Ce(()=>Xl),multi:!0};let Xl=(()=>{class n extends qi{writeValue(e){this.setProperty("value",e??"")}registerOnChange(e){this.onChange=i=>{e(""==i?null:parseFloat(i))}}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=rt(n)))(i||n)}}(),n.\u0275dir=P({type:n,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,i){1&e&&_e("input",function(o){return i.onChange(o.target.value)})("blur",function(){return i.onTouched()})},features:[xe([sL]),fe]}),n})(),fx=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=le({type:n}),n.\u0275inj=oe({}),n})();const jh=new E("NgModelWithFormControlWarning");let Ki=(()=>{class n{constructor(){this._validator=Hl}ngOnChanges(e){if(this.inputName in e){const i=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):Hl,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=P({type:n,features:[Ht]}),n})();const wL={provide:ut,useExisting:Ce(()=>Ql),multi:!0};let Ql=(()=>{class n extends Ki{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=to,this.createValidator=e=>OC}enabled(e){return e}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=rt(n)))(i||n)}}(),n.\u0275dir=P({type:n,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,i){2&e&&Gt("required",i._enabled?"":null)},inputs:{required:"required"},features:[xe([wL]),fe]}),n})(),Tx=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=le({type:n}),n.\u0275inj=oe({imports:[fx]}),n})(),AL=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:Yi,useValue:e.callSetDisabledState??ys}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=le({type:n}),n.\u0275inj=oe({imports:[Tx]}),n})(),RL=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:jh,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Yi,useValue:e.callSetDisabledState??ys}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=le({type:n}),n.\u0275inj=oe({imports:[Tx]}),n})();function k(...n){return je(n,wo(n))}function gi(n,t){return re(t)?Qe(n,t,1):Qe(n,1)}function Yt(n,t){return Pe((e,i)=>{let r=0;e.subscribe(Ee(i,o=>n.call(t,o,r++)&&i.next(o)))})}class Jl{}class Wh{}class Xn{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 i=e.indexOf(":");if(i>0){const r=e.slice(0,i),o=r.toLowerCase(),s=e.slice(i+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:()=>{this.headers=new Map,Object.entries(t).forEach(([e,i])=>{let r;if(r="string"==typeof i?[i]:"number"==typeof i?[i.toString()]:i.map(o=>o.toString()),r.length>0){const o=e.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(e,o)}})}: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 Xn?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 Xn;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof Xn?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 i=t.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(t.name,e);const r=("a"===t.op?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":const o=t.value;if(o){let s=this.headers.get(e);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}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 FL{encodeKey(t){return Ax(t)}encodeValue(t){return Ax(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const PL=/%(\d[a-f0-9])/gi,kL={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Ax(n){return encodeURIComponent(n).replace(PL,(t,e)=>kL[e]??t)}function ec(n){return`${n}`}class _i{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new FL,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function OL(n,t){const e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(r=>{const o=r.indexOf("="),[s,a]=-1==o?[t.decodeKey(r),""]:[t.decodeKey(r.slice(0,o)),t.decodeValue(r.slice(o+1))],l=e.get(s)||[];l.push(a),e.set(s,l)}),e}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const i=t.fromObject[e],r=Array.isArray(i)?i.map(ec):[ec(i)];this.map.set(e,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(i=>{const r=t[i];Array.isArray(r)?r.forEach(o=>{e.push({param:i,value:o,op:"a"})}):e.push({param:i,value:r,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new _i({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(ec(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let i=this.map.get(t.param)||[];const r=i.indexOf(ec(t.value));-1!==r&&i.splice(r,1),i.length>0?this.map.set(t.param,i):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class NL{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 Rx(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function Fx(n){return typeof Blob<"u"&&n instanceof Blob}function Ox(n){return typeof FormData<"u"&&n instanceof FormData}class Ms{constructor(t,e,i,r){let o;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function LL(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new Xn),this.context||(this.context=new NL),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=e;else{const a=e.indexOf("?");this.urlWithParams=e+(-1===a?"?":au.set(f,t.setHeaders[f]),l)),t.setParams&&(c=Object.keys(t.setParams).reduce((u,f)=>u.set(f,t.setParams[f]),c)),new Ms(e,i,o,{params:c,headers:l,context:d,reportProgress:a,responseType:r,withCredentials:s})}}var $e=(()=>(($e=$e||{})[$e.Sent=0]="Sent",$e[$e.UploadProgress=1]="UploadProgress",$e[$e.ResponseHeader=2]="ResponseHeader",$e[$e.DownloadProgress=3]="DownloadProgress",$e[$e.Response=4]="Response",$e[$e.User=5]="User",$e))();class qh{constructor(t,e=200,i="OK"){this.headers=t.headers||new Xn,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class Yh extends qh{constructor(t={}){super(t),this.type=$e.ResponseHeader}clone(t={}){return new Yh({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class tc extends qh{constructor(t={}){super(t),this.type=$e.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new tc({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Px extends qh{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function Zh(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 nc=(()=>{class n{constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof Ms)o=e;else{let l,c;l=r.headers instanceof Xn?r.headers:new Xn(r.headers),r.params&&(c=r.params instanceof _i?r.params:new _i({fromObject:r.params})),o=new Ms(e,i,void 0!==r.body?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}const s=k(o).pipe(gi(l=>this.handler.handle(l)));if(e instanceof Ms||"events"===r.observe)return s;const a=s.pipe(Yt(l=>l instanceof tc));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(U(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(U(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(U(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(U(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:(new _i).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,Zh(r,i))}post(e,i,r={}){return this.request("POST",e,Zh(r,i))}put(e,i,r={}){return this.request("PUT",e,Zh(r,i))}}return n.\u0275fac=function(e){return new(e||n)(w(Jl))},n.\u0275prov=I({token:n,factory:n.\u0275fac}),n})();function kx(n,t){return t(n)}function BL(n,t){return(e,i)=>t.intercept(e,{handle:r=>n(r,i)})}const HL=new E("HTTP_INTERCEPTORS"),Ds=new E("HTTP_INTERCEPTOR_FNS");function UL(){let n=null;return(t,e)=>(null===n&&(n=(z(HL,{optional:!0})??[]).reduceRight(BL,kx)),n(t,e))}let Nx=(()=>{class n extends Jl{constructor(e,i){super(),this.backend=e,this.injector=i,this.chain=null}handle(e){if(null===this.chain){const i=Array.from(new Set(this.injector.get(Ds)));this.chain=i.reduceRight((r,o)=>function jL(n,t,e){return(i,r)=>e.runInContext(()=>t(i,o=>n(o,r)))}(r,o,this.injector),kx)}return this.chain(e,i=>this.backend.handle(i))}}return n.\u0275fac=function(e){return new(e||n)(w(Wh),w(yn))},n.\u0275prov=I({token:n,factory:n.\u0275fac}),n})();const WL=/^\)\]\}',?\n/;let Vx=(()=>{class n{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new ve(i=>{const r=this.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach((h,p)=>r.setRequestHeader(h,p.join(","))),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const h=e.detectContentTypeHeader();null!==h&&r.setRequestHeader("Content-Type",h)}if(e.responseType){const h=e.responseType.toLowerCase();r.responseType="json"!==h?h:"text"}const o=e.serializeBody();let s=null;const a=()=>{if(null!==s)return s;const h=r.statusText||"OK",p=new Xn(r.getAllResponseHeaders()),m=function qL(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}(r)||e.url;return s=new Yh({headers:p,status:r.status,statusText:h,url:m}),s},l=()=>{let{headers:h,status:p,statusText:m,url:g}=a(),_=null;204!==p&&(_=typeof r.response>"u"?r.responseText:r.response),0===p&&(p=_?200:0);let D=p>=200&&p<300;if("json"===e.responseType&&"string"==typeof _){const b=_;_=_.replace(WL,"");try{_=""!==_?JSON.parse(_):null}catch(T){_=b,D&&(D=!1,_={error:T,text:_})}}D?(i.next(new tc({body:_,headers:h,status:p,statusText:m,url:g||void 0})),i.complete()):i.error(new Px({error:_,headers:h,status:p,statusText:m,url:g||void 0}))},c=h=>{const{url:p}=a(),m=new Px({error:h,status:r.status||0,statusText:r.statusText||"Unknown Error",url:p||void 0});i.error(m)};let d=!1;const u=h=>{d||(i.next(a()),d=!0);let p={type:$e.DownloadProgress,loaded:h.loaded};h.lengthComputable&&(p.total=h.total),"text"===e.responseType&&r.responseText&&(p.partialText=r.responseText),i.next(p)},f=h=>{let p={type:$e.UploadProgress,loaded:h.loaded};h.lengthComputable&&(p.total=h.total),i.next(p)};return r.addEventListener("load",l),r.addEventListener("error",c),r.addEventListener("timeout",c),r.addEventListener("abort",c),e.reportProgress&&(r.addEventListener("progress",u),null!==o&&r.upload&&r.upload.addEventListener("progress",f)),r.send(o),i.next({type:$e.Sent}),()=>{r.removeEventListener("error",c),r.removeEventListener("abort",c),r.removeEventListener("load",l),r.removeEventListener("timeout",c),e.reportProgress&&(r.removeEventListener("progress",u),null!==o&&r.upload&&r.upload.removeEventListener("progress",f)),r.readyState!==r.DONE&&r.abort()}})}}return n.\u0275fac=function(e){return new(e||n)(w(Q0))},n.\u0275prov=I({token:n,factory:n.\u0275fac}),n})();const Kh=new E("XSRF_ENABLED"),Bx=new E("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),jx=new E("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Hx{}let KL=(()=>{class n{constructor(e,i,r){this.doc=e,this.platform=i,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=U0(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return n.\u0275fac=function(e){return new(e||n)(w(ie),w(vl),w(Bx))},n.\u0275prov=I({token:n,factory:n.\u0275fac}),n})();function XL(n,t){const e=n.url.toLowerCase();if(!z(Kh)||"GET"===n.method||"HEAD"===n.method||e.startsWith("http://")||e.startsWith("https://"))return t(n);const i=z(Hx).getToken(),r=z(jx);return null!=i&&!n.headers.has(r)&&(n=n.clone({headers:n.headers.set(r,i)})),t(n)}var Be=(()=>((Be=Be||{})[Be.Interceptors=0]="Interceptors",Be[Be.LegacyInterceptors=1]="LegacyInterceptors",Be[Be.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Be[Be.NoXsrfProtection=3]="NoXsrfProtection",Be[Be.JsonpSupport=4]="JsonpSupport",Be[Be.RequestsMadeViaParent=5]="RequestsMadeViaParent",Be))();function ro(n,t){return{\u0275kind:n,\u0275providers:t}}function QL(...n){const t=[nc,Vx,Nx,{provide:Jl,useExisting:Nx},{provide:Wh,useExisting:Vx},{provide:Ds,useValue:XL,multi:!0},{provide:Kh,useValue:!0},{provide:Hx,useClass:KL}];for(const e of n)t.push(...e.\u0275providers);return function _T(n){return{\u0275providers:n}}(t)}const Ux=new E("LEGACY_INTERCEPTOR_FN");let Xh,e2=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=le({type:n}),n.\u0275inj=oe({providers:[QL(ro(Be.LegacyInterceptors,[{provide:Ux,useFactory:UL},{provide:Ds,useExisting:Ux,multi:!0}]))]}),n})();try{Xh=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Xh=!1}let Es,ic,Xi,vi=(()=>{class n{constructor(e){this._platformId=e,this.isBrowser=this._platformId?function bk(n){return n===K0}(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&&!Xh)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return n.\u0275fac=function(e){return new(e||n)(w(vl))},n.\u0275prov=I({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function so(n){return function t2(){if(null==Es&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Es=!0}))}finally{Es=Es||!1}return Es}()?n:!!n.capture}function zx(){if(null==Xi){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Xi=!1,Xi;if("scrollBehavior"in document.documentElement.style)Xi=!0;else{const n=Element.prototype.scrollTo;Xi=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return Xi}function Ss(){if("object"!=typeof document||!document)return 0;if(null==ic){const n=document.createElement("div"),t=n.style;n.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";const e=document.createElement("div"),i=e.style;i.width="2px",i.height="1px",n.appendChild(e),document.body.appendChild(n),ic=0,0===n.scrollLeft&&(n.scrollLeft=1,ic=0===n.scrollLeft?1:2),n.remove()}return ic}function Jh(n){return n.composedPath?n.composedPath()[0]:n.target}function ep(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function tp(n,t=0){return function d2(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}(n)?Number(n):t}function rc(n){return Array.isArray(n)?n:[n]}function ze(n){return null==n?"":"string"==typeof n?n:`${n}px`}function np(n){return n instanceof Ne?n.nativeElement:n}function ip(...n){const t=wo(n),e=zm(n),{args:i,keys:r}=DC(n);if(0===i.length)return je([],t);const o=new ve(function u2(n,t,e=Ti){return i=>{Gx(t,()=>{const{length:r}=n,o=new Array(r);let s=r,a=r;for(let l=0;l{const c=je(n[l],t);let d=!1;c.subscribe(Ee(i,u=>{o[l]=u,d||(d=!0,a--),a||i.next(e(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}(i,t,r?s=>EC(r,s):Ti));return e?o.pipe(Eh(e)):o}function Gx(n,t,e){n?Fn(e,n,t):t()}function oc(...n){return function f2(){return fr(1)}()(je(n,wo(n)))}function yi(n){return n<=0?()=>hn:Pe((t,e)=>{let i=0;t.subscribe(Ee(e,r=>{++i<=n&&(e.next(r),n<=i&&e.complete())}))})}class p2 extends tt{constructor(t,e){super()}schedule(t,e=0){return this}}const sc={setInterval(n,t,...e){const{delegate:i}=sc;return i?.setInterval?i.setInterval(n,t,...e):setInterval(n,t,...e)},clearInterval(n){const{delegate:t}=sc;return(t?.clearInterval||clearInterval)(n)},delegate:void 0};class rp extends p2{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){var i;if(this.closed)return this;this.state=t;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,e)),this.pending=!0,this.delay=e,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(o,this.id,e),this}requestAsyncId(t,e,i=0){return sc.setInterval(t.flush.bind(t,this),i)}recycleAsyncId(t,e,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return e;null!=e&&sc.clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(t,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let r,i=!1;try{this.work(t)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:t,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,ur(i,this),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null,super.unsubscribe()}}}const Wx={now:()=>(Wx.delegate||Date).now(),delegate:void 0};class Is{constructor(t,e=Is.now){this.schedulerActionCtor=t,this.now=e}schedule(t,e=0,i){return new this.schedulerActionCtor(this,t).schedule(i,e)}}Is.now=Wx.now;class op extends Is{constructor(t,e=Is.now){super(t,e),this.actions=[],this._active=!1}flush(t){const{actions:e}=this;if(this._active)return void e.push(t);let i;this._active=!0;do{if(i=t.execute(t.state,t.delay))break}while(t=e.shift());if(this._active=!1,i){for(;t=e.shift();)t.unsubscribe();throw i}}}const sp=new op(rp),m2=sp;function ap(...n){const t=wo(n);return Pe((e,i)=>{(t?oc(n,e,t):oc(n,e)).subscribe(i)})}function ac(n){return Pe((t,e)=>{bt(n).subscribe(Ee(e,()=>e.complete(),ld)),!e.closed&&t.subscribe(e)})}const qx=new Set;let ao,_2=(()=>{class n{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):y2}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function v2(n){if(!qx.has(n))try{ao||(ao=document.createElement("style"),ao.setAttribute("type","text/css"),document.head.appendChild(ao)),ao.sheet&&(ao.sheet.insertRule(`@media ${n} {body{ }}`,0),qx.add(n))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}return n.\u0275fac=function(e){return new(e||n)(w(vi))},n.\u0275prov=I({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function y2(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}let b2=(()=>{class n{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new Re}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return Yx(rc(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let o=ip(Yx(rc(e)).map(s=>this._registerQuery(s).observable));return o=oc(o.pipe(yi(1)),o.pipe(function h2(n){return Yt((t,e)=>n<=e)}(1),function g2(n,t=sp){return Pe((e,i)=>{let r=null,o=null,s=null;const a=()=>{if(r){r.unsubscribe(),r=null;const c=o;o=null,i.next(c)}};function l(){const c=s+n,d=t.now();if(d{o=c,s=t.now(),r||(r=t.schedule(l,n),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}(0))),o.pipe(U(s=>{const a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const i=this._mediaMatcher.matchMedia(e),o={observable:new ve(s=>{const a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(ap(i),U(({matches:s})=>({query:e,matches:s})),ac(this._destroySubject)),mql:i};return this._queries.set(e,o),o}}return n.\u0275fac=function(e){return new(e||n)(w(_2),w(se))},n.\u0275prov=I({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Yx(n){return n.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}const Qx="cdk-high-contrast-black-on-white",Jx="cdk-high-contrast-white-on-black",lp="cdk-high-contrast-active";let R2=(()=>{class n{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=z(b2).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}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 i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(e):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(lp,Qx,Jx),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?e.add(lp,Qx):2===i&&e.add(lp,Jx)}}}return n.\u0275fac=function(e){return new(e||n)(w(vi),w(ie))},n.\u0275prov=I({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const F2=new E("cdk-dir-doc",{providedIn:"root",factory:function O2(){return z(ie)}}),P2=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Ts=(()=>{class n{constructor(e){this.value="ltr",this.change=new Ie,e&&(this.value=function k2(n){const t=n?.toLowerCase()||"";return"auto"===t&&typeof navigator<"u"&&navigator?.language?P2.test(navigator.language)?"rtl":"ltr":"rtl"===t?"rtl":"ltr"}((e.body?e.body.dir:null)||(e.documentElement?e.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return n.\u0275fac=function(e){return new(e||n)(w(F2,8))},n.\u0275prov=I({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),As=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=le({type:n}),n.\u0275inj=oe({}),n})();const L2=new E("mat-sanity-checks",{providedIn:"root",factory:function N2(){return!0}});let Ge=(()=>{class n{constructor(e,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!ep()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return n.\u0275fac=function(e){return new(e||n)(w(R2),w(L2,8),w(ie))},n.\u0275mod=le({type:n}),n.\u0275inj=oe({imports:[As,As]}),n})(),nw=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=le({type:n}),n.\u0275inj=oe({imports:[Ge,Ge]}),n})();class B2{constructor(t,e,i,r=!1){this._renderer=t,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const iw=so({passive:!0,capture:!0});class j2{constructor(){this._events=new Map,this._delegateEventHandler=t=>{const e=Jh(t);e&&this._events.get(t.type)?.forEach((i,r)=>{(r===e||r.contains(e))&&i.forEach(o=>o.handleEvent(t))})}}addHandler(t,e,i,r){const o=this._events.get(e);if(o){const s=o.get(i);s?s.add(r):o.set(i,new Set([r]))}else this._events.set(e,new Map([[i,new Set([r])]])),t.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,iw)})}removeHandler(t,e,i){const r=this._events.get(t);if(!r)return;const o=r.get(e);o&&(o.delete(i),0===o.size&&r.delete(e),0===r.size&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,iw)))}}const rw={enterDuration:225,exitDuration:150},ow=so({passive:!0,capture:!0}),sw=["mousedown","touchstart"],aw=["mouseup","mouseleave","touchend","touchcancel"];class lc{constructor(t,e,i,r){this._target=t,this._ngZone=e,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=np(i))}fadeInRipple(t,e,i={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...rw,...i.animation};i.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);const s=i.radius||function U2(n,t,e){const i=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),r=Math.max(Math.abs(t-e.top),Math.abs(t-e.bottom));return Math.sqrt(i*i+r*r)}(t,e,r),a=t-r.left,l=e-r.top,c=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=a-s+"px",d.style.top=l-s+"px",d.style.height=2*s+"px",d.style.width=2*s+"px",null!=i.color&&(d.style.backgroundColor=i.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);const u=window.getComputedStyle(d),h=u.transitionDuration,p="none"===u.transitionProperty||"0s"===h||"0s, 0s"===h||0===r.width&&0===r.height,m=new B2(this,d,i,p);d.style.transform="scale3d(1, 1, 1)",m.state=0,i.persistent||(this._mostRecentTransientRipple=m);let g=null;return!p&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const _=()=>this._finishRippleTransition(m),D=()=>this._destroyRipple(m);d.addEventListener("transitionend",_),d.addEventListener("transitioncancel",D),g={onTransitionEnd:_,onTransitionCancel:D}}),this._activeRipples.set(m,g),(p||!c)&&this._finishRippleTransition(m),m}fadeOutRipple(t){if(2===t.state||3===t.state)return;const e=t.element,i={...rw,...t.config.animation};e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",t.state=2,(t._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const e=np(t);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,sw.forEach(i=>{lc._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{aw.forEach(e=>{this._triggerElement.addEventListener(e,this,ow)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){0===t.state?this._startFadeOutTransition(t):2===t.state&&this._destroyRipple(t)}_startFadeOutTransition(t){const e=t===this._mostRecentTransientRipple,{persistent:i}=t.config;t.state=1,!i&&(!e||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){const e=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=3,null!==e&&(t.element.removeEventListener("transitionend",e.onTransitionEnd),t.element.removeEventListener("transitioncancel",e.onTransitionCancel)),t.element.remove()}_onMousedown(t){const e=function I2(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}(t),i=this._lastTouchStartEvent&&Date.now(){!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const t=this._triggerElement;t&&(sw.forEach(e=>lc._eventManager.removeHandler(e,t,this)),this._pointerUpEventsRegistered&&aw.forEach(e=>t.removeEventListener(e,this,ow)))}}lc._eventManager=new j2;let lw=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=le({type:n}),n.\u0275inj=oe({imports:[Ge,Ge]}),n})(),G2=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=le({type:n}),n.\u0275inj=oe({imports:[Ge,lw,Ge]}),n})();const W2=["*"],X2=new E("MAT_CARD_CONFIG");let cw=(()=>{class n{constructor(e){this.appearance=e?.appearance||"raised"}}return n.\u0275fac=function(e){return new(e||n)(y(X2,8))},n.\u0275cmp=Je({type:n,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(e,i){2&e&&Ui("mat-mdc-card-outlined","outlined"===i.appearance)("mdc-card--outlined","outlined"===i.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:W2,decls:1,vars:0,template:function(e,i){1&e&&(ji(),on(0))},styles:['.mdc-card{display:flex;flex-direction:column;box-sizing:border-box}.mdc-card::after{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none;pointer-events:none}@media screen and (forced-colors: active){.mdc-card::after{border-color:CanvasText}}.mdc-card--outlined::after{border:none}.mdc-card__content{border-radius:inherit;height:100%}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__media--square::before{margin-top:100%}.mdc-card__media--16-9::before{margin-top:56.25%}.mdc-card__media-content{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box}.mdc-card__primary-action{display:flex;flex-direction:column;box-sizing:border-box;position:relative;outline:none;color:inherit;text-decoration:none;cursor:pointer;overflow:hidden}.mdc-card__primary-action:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__primary-action:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mdc-card__actions--full-bleed{padding:0}.mdc-card__action-buttons,.mdc-card__action-icons{display:flex;flex-direction:row;align-items:center;box-sizing:border-box}.mdc-card__action-icons{flex-grow:1;justify-content:flex-end}.mdc-card__action-buttons+.mdc-card__action-icons{margin-left:16px;margin-right:0}[dir=rtl] .mdc-card__action-buttons+.mdc-card__action-icons,.mdc-card__action-buttons+.mdc-card__action-icons[dir=rtl]{margin-left:0;margin-right:16px}.mdc-card__action{display:inline-flex;flex-direction:row;align-items:center;box-sizing:border-box;justify-content:center;cursor:pointer;user-select:none}.mdc-card__action:focus{outline:none}.mdc-card__action--button{margin-left:0;margin-right:8px;padding:0 8px}[dir=rtl] .mdc-card__action--button,.mdc-card__action--button[dir=rtl]{margin-left:8px;margin-right:0}.mdc-card__action--button:last-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-card__action--button:last-child,.mdc-card__action--button:last-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-card__actions--full-bleed .mdc-card__action--button{justify-content:space-between;width:100%;height:auto;max-height:none;margin:0;padding:8px 16px;text-align:left}[dir=rtl] .mdc-card__actions--full-bleed .mdc-card__action--button,.mdc-card__actions--full-bleed .mdc-card__action--button[dir=rtl]{text-align:right}.mdc-card__action--icon{margin:-6px 0;padding:12px}.mat-mdc-card{position:relative;border-radius:var(--mdc-elevated-card-container-shape, var(--mdc-shape-medium, 4px));background-color:var(--mdc-elevated-card-container-color, transparent);border-width:0;border-style:solid;border-color:var(--mdc-elevated-card-container-color, transparent)}.mat-mdc-card .mdc-card::after{border-radius:var(--mdc-elevated-card-container-shape, var(--mdc-shape-medium, 4px))}.mat-mdc-card-outlined{border-width:var(--mdc-outlined-card-outline-width, 1px);border-style:solid;border-color:var(--mdc-outlined-card-outline-color, transparent)}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0}),n})(),dw=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=P({type:n,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]}),n})(),uw=(()=>{class n{constructor(){this.align="start"}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=P({type:n,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(e,i){2&e&&Ui("mat-mdc-card-actions-align-end","end"===i.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),n})(),fw=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=P({type:n,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-mdc-card-image","mdc-card__media"]}),n})(),lV=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=le({type:n}),n.\u0275inj=oe({imports:[Ge,Pl,Ge]}),n})();class hw{}class cV{}const Qn="*";function pw(n,t=null){return{type:2,steps:n,options:t}}function Jn(n){return{type:6,styles:n,offset:null}}function mw(n){Promise.resolve().then(n)}class Fs{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],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._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(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(){mw(()=>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,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}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(i=>i()),e.length=0}}class gw{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,i=0,r=0;const o=this.players.length;0==o?mw(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++e==o&&this._onFinish()}),s.onDestroy(()=>{++i==o&&this._onDestroy()}),s.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,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(i=>{const r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}getPosition(){const t=this.players.reduce((e,i)=>null===e||i.totalTime>e.totalTime?i: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(i=>i()),e.length=0}}const up="!";let dV=(()=>{class n{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=I({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),uV=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=le({type:n}),n.\u0275inj=oe({providers:[dV]}),n})(),fp=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=le({type:n}),n.\u0275inj=oe({imports:[Ge,Pl,uV,Ge]}),n})();const _w=["*"];class yV{constructor(){this.columnIndex=0,this.rowIndex=0}get rowCount(){return this.rowIndex+1}get rowspan(){const t=Math.max(...this.tracker);return t>1?this.rowCount+t-1:this.rowCount}update(t,e){this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(t),this.tracker.fill(0,0,this.tracker.length),this.positions=e.map(i=>this._trackTile(i))}_trackTile(t){const e=this._findMatchingGap(t.colspan);return this._markTilePosition(e,t),this.columnIndex=e+t.colspan,new bV(this.rowIndex,e)}_findMatchingGap(t){let e=-1,i=-1;do{this.columnIndex+t>this.tracker.length?(this._nextRow(),e=this.tracker.indexOf(0,this.columnIndex),i=this._findGapEndIndex(e)):(e=this.tracker.indexOf(0,this.columnIndex),-1!=e?(i=this._findGapEndIndex(e),this.columnIndex=e+1):(this._nextRow(),e=this.tracker.indexOf(0,this.columnIndex),i=this._findGapEndIndex(e)))}while(i-e{class n{constructor(e,i){this._element=e,this._gridList=i,this._rowspan=1,this._colspan=1}get rowspan(){return this._rowspan}set rowspan(e){this._rowspan=Math.round(tp(e))}get colspan(){return this._colspan}set colspan(e){this._colspan=Math.round(tp(e))}_setStyle(e,i){this._element.nativeElement.style[e]=i}}return n.\u0275fac=function(e){return new(e||n)(y(Ne),y(vw,8))},n.\u0275cmp=Je({type:n,selectors:[["mat-grid-tile"]],hostAttrs:[1,"mat-grid-tile"],hostVars:2,hostBindings:function(e,i){2&e&&Gt("rowspan",i.rowspan)("colspan",i.colspan)},inputs:{rowspan:"rowspan",colspan:"colspan"},exportAs:["matGridTile"],ngContentSelectors:_w,decls:2,vars:0,consts:[[1,"mat-grid-tile-content"]],template:function(e,i){1&e&&(ji(),v(0,"div",0),on(1),x())},styles:[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}"],encapsulation:2,changeDetection:0}),n})();const CV=/^-?\d+((\.\d+)?[A-Za-z%$]?)+$/;class hp{constructor(){this._rows=0,this._rowspan=0}init(t,e,i,r){this._gutterSize=bw(t),this._rows=e.rowCount,this._rowspan=e.rowspan,this._cols=i,this._direction=r}getBaseTileSize(t,e){return`(${t}% - (${this._gutterSize} * ${e}))`}getTilePosition(t,e){return 0===e?"0":Qi(`(${t} + ${this._gutterSize}) * ${e}`)}getTileSize(t,e){return`(${t} * ${e}) + (${e-1} * ${this._gutterSize})`}setStyle(t,e,i){let r=100/this._cols,o=(this._cols-1)/this._cols;this.setColStyles(t,i,r,o),this.setRowStyles(t,e,r,o)}setColStyles(t,e,i,r){let o=this.getBaseTileSize(i,r);t._setStyle("rtl"===this._direction?"right":"left",this.getTilePosition(o,e)),t._setStyle("width",Qi(this.getTileSize(o,t.colspan)))}getGutterSpan(){return`${this._gutterSize} * (${this._rowspan} - 1)`}getTileSpan(t){return`${this._rowspan} * ${this.getTileSize(t,1)}`}getComputedHeight(){return null}}class xV extends hp{constructor(t){super(),this.fixedRowHeight=t}init(t,e,i,r){super.init(t,e,i,r),this.fixedRowHeight=bw(this.fixedRowHeight),CV.test(this.fixedRowHeight)}setRowStyles(t,e){t._setStyle("top",this.getTilePosition(this.fixedRowHeight,e)),t._setStyle("height",Qi(this.getTileSize(this.fixedRowHeight,t.rowspan)))}getComputedHeight(){return["height",Qi(`${this.getTileSpan(this.fixedRowHeight)} + ${this.getGutterSpan()}`)]}reset(t){t._setListStyle(["height",null]),t._tiles&&t._tiles.forEach(e=>{e._setStyle("top",null),e._setStyle("height",null)})}}class wV extends hp{constructor(t){super(),this._parseRatio(t)}setRowStyles(t,e,i,r){this.baseTileHeight=this.getBaseTileSize(i/this.rowHeightRatio,r),t._setStyle("marginTop",this.getTilePosition(this.baseTileHeight,e)),t._setStyle("paddingTop",Qi(this.getTileSize(this.baseTileHeight,t.rowspan)))}getComputedHeight(){return["paddingBottom",Qi(`${this.getTileSpan(this.baseTileHeight)} + ${this.getGutterSpan()}`)]}reset(t){t._setListStyle(["paddingBottom",null]),t._tiles.forEach(e=>{e._setStyle("marginTop",null),e._setStyle("paddingTop",null)})}_parseRatio(t){const e=t.split(":");this.rowHeightRatio=parseFloat(e[0])/parseFloat(e[1])}}class MV extends hp{setRowStyles(t,e){let o=this.getBaseTileSize(100/this._rowspan,(this._rows-1)/this._rows);t._setStyle("top",this.getTilePosition(o,e)),t._setStyle("height",Qi(this.getTileSize(o,t.rowspan)))}reset(t){t._tiles&&t._tiles.forEach(e=>{e._setStyle("top",null),e._setStyle("height",null)})}}function Qi(n){return`calc(${n})`}function bw(n){return n.match(/([A-Za-z%]+)$/)?n:`${n}px`}let EV=(()=>{class n{constructor(e,i){this._element=e,this._dir=i,this._gutter="1px"}get cols(){return this._cols}set cols(e){this._cols=Math.max(1,Math.round(tp(e)))}get gutterSize(){return this._gutter}set gutterSize(e){this._gutter=`${e??""}`}get rowHeight(){return this._rowHeight}set rowHeight(e){const i=`${e??""}`;i!==this._rowHeight&&(this._rowHeight=i,this._setTileStyler(this._rowHeight))}ngOnInit(){this._checkCols(),this._checkRowHeight()}ngAfterContentChecked(){this._layoutTiles()}_checkCols(){}_checkRowHeight(){this._rowHeight||this._setTileStyler("1:1")}_setTileStyler(e){this._tileStyler&&this._tileStyler.reset(this),this._tileStyler="fit"===e?new MV:e&&e.indexOf(":")>-1?new wV(e):new xV(e)}_layoutTiles(){this._tileCoordinator||(this._tileCoordinator=new yV);const e=this._tileCoordinator,i=this._tiles.filter(o=>!o._gridList||o._gridList===this),r=this._dir?this._dir.value:"ltr";this._tileCoordinator.update(this.cols,i),this._tileStyler.init(this.gutterSize,e,this.cols,r),i.forEach((o,s)=>{const a=e.positions[s];this._tileStyler.setStyle(o,a.row,a.col)}),this._setListStyle(this._tileStyler.getComputedHeight())}_setListStyle(e){e&&(this._element.nativeElement.style[e[0]]=e[1])}}return n.\u0275fac=function(e){return new(e||n)(y(Ne),y(Ts,8))},n.\u0275cmp=Je({type:n,selectors:[["mat-grid-list"]],contentQueries:function(e,i,r){if(1&e&&function Af(n,t,e,i){const r=ne();if(r.firstCreatePass){const o=it();Ob(r,new Tb(t,e,i),o.index),function ZF(n,t){const e=n.contentQueries||(n.contentQueries=[]);t!==(e.length?e[e.length-1]:-1)&&e.push(n.queries.length-1,t)}(r,n),2==(2&e)&&(r.staticContentQueries=!0)}Fb(r,M(),e)}(r,yw,5),2&e){let o;fl(o=hl())&&(i._tiles=o)}},hostAttrs:[1,"mat-grid-list"],hostVars:1,hostBindings:function(e,i){2&e&&Gt("cols",i.cols)},inputs:{cols:"cols",gutterSize:"gutterSize",rowHeight:"rowHeight"},exportAs:["matGridList"],features:[xe([{provide:vw,useExisting:n}])],ngContentSelectors:_w,decls:2,vars:0,template:function(e,i){1&e&&(ji(),v(0,"div"),on(1),x())},styles:[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}"],encapsulation:2,changeDetection:0}),n})(),SV=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=le({type:n}),n.\u0275inj=oe({imports:[nw,Ge,nw,Ge]}),n})();function lo(n,t){const e=re(n)?n:()=>n,i=r=>r.error(e());return new ve(t?r=>t.schedule(i,0,r):i)}function Ke(n,t,e){const i=re(n)||t||e?{next:n,error:t,complete:e}:n;return i?Pe((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(Ee(o,l=>{var c;null===(c=i.next)||void 0===c||c.call(i,l),o.next(l)},()=>{var l;a=!1,null===(l=i.complete)||void 0===l||l.call(i),o.complete()},l=>{var c;a=!1,null===(c=i.error)||void 0===c||c.call(i,l),o.error(l)},()=>{var l,c;a&&(null===(l=i.unsubscribe)||void 0===l||l.call(i)),null===(c=i.finalize)||void 0===c||c.call(i)}))}):Ti}function ei(n){return Pe((t,e)=>{let o,i=null,r=!1;i=t.subscribe(Ee(e,void 0,void 0,s=>{o=bt(n(s,ei(n)(t))),i?(i.unsubscribe(),i=null,o.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(e))})}function uc(n){return Pe((t,e)=>{try{t.subscribe(e)}finally{e.add(n)}})}let OV=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=le({type:n}),n.\u0275inj=oe({imports:[Ge,Ge]}),n})(),PV=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=le({type:n}),n.\u0275inj=oe({}),n})(),kV=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=le({type:n}),n.\u0275inj=oe({imports:[Ge,fp,fp,PV,Ge]}),n})();const NV=["addListener","removeListener"],LV=["addEventListener","removeEventListener"],VV=["on","off"];function pc(n,t,e,i){if(re(e)&&(i=e,e=void 0),i)return pc(n,t,e).pipe(Eh(i));const[r,o]=function HV(n){return re(n.addEventListener)&&re(n.removeEventListener)}(n)?LV.map(s=>a=>n[s](t,a,e)):function BV(n){return re(n.addListener)&&re(n.removeListener)}(n)?NV.map(Dw(n,t)):function jV(n){return re(n.on)&&re(n.off)}(n)?VV.map(Dw(n,t)):[];if(!r&&vd(n))return Qe(s=>pc(s,t,e))(bt(n));if(!r)throw new TypeError("Invalid event target");return new ve(s=>{const a=(...l)=>s.next(1o(a)})}function Dw(n,t){return e=>i=>n[e](t,i)}const Ps={schedule(n){let t=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:i}=Ps;i&&(t=i.requestAnimationFrame,e=i.cancelAnimationFrame);const r=t(o=>{e=void 0,n(o)});return new tt(()=>e?.(r))},requestAnimationFrame(...n){const{delegate:t}=Ps;return(t?.requestAnimationFrame||requestAnimationFrame)(...n)},cancelAnimationFrame(...n){const{delegate:t}=Ps;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...n)},delegate:void 0},zV=new class $V extends op{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;t=t||i.shift();do{if(r=t.execute(t.state,t.delay))break}while((t=i[0])&&t.id===e&&i.shift());if(this._active=!1,r){for(;(t=i[0])&&t.id===e&&i.shift();)t.unsubscribe();throw r}}}(class UV extends rp{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return null!==i&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t._scheduled||(t._scheduled=Ps.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,e,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(t,e,i);const{actions:o}=t;null!=e&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==e&&(Ps.cancelAnimationFrame(e),t._scheduled=void 0)}});let mp,GV=1;const mc={};function Ew(n){return n in mc&&(delete mc[n],!0)}const WV={setImmediate(n){const t=GV++;return mc[t]=!0,mp||(mp=Promise.resolve()),mp.then(()=>Ew(t)&&n()),t},clearImmediate(n){Ew(n)}},{setImmediate:qV,clearImmediate:YV}=WV,gc={setImmediate(...n){const{delegate:t}=gc;return(t?.setImmediate||qV)(...n)},clearImmediate(n){const{delegate:t}=gc;return(t?.clearImmediate||YV)(n)},delegate:void 0},XV=new class KV extends op{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;t=t||i.shift();do{if(r=t.execute(t.state,t.delay))break}while((t=i[0])&&t.id===e&&i.shift());if(this._active=!1,r){for(;(t=i[0])&&t.id===e&&i.shift();)t.unsubscribe();throw r}}}(class ZV extends rp{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return null!==i&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t._scheduled||(t._scheduled=gc.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,e,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(t,e,i);const{actions:o}=t;null!=e&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==e&&(gc.clearImmediate(e),t._scheduled=void 0)}});function gp(n,t=sp){return function QV(n){return Pe((t,e)=>{let i=!1,r=null,o=null,s=!1;const a=()=>{if(o?.unsubscribe(),o=null,i){i=!1;const c=r;r=null,e.next(c)}s&&e.complete()},l=()=>{o=null,s&&e.complete()};t.subscribe(Ee(e,c=>{i=!0,r=c,o||bt(n(c)).subscribe(o=Ee(e,a,l))},()=>{s=!0,(!i||!o||o.closed)&&e.complete()}))})}(()=>function eB(n=0,t,e=m2){let i=-1;return null!=t&&($m(t)?e=t:i=t),new ve(r=>{let o=function JV(n){return n instanceof Date&&!isNaN(n)}(n)?+n-e.now():n;o<0&&(o=0);let s=0;return e.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}(n,t))}const tB=["contentWrapper"],nB=["*"],iB=new E("VIRTUAL_SCROLL_STRATEGY");let _c=(()=>{class n{constructor(e,i,r){this._ngZone=e,this._platform=i,this._scrolled=new Re,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new ve(i=>{this._globalSubscription||this._addGlobalListener();const r=e>0?this._scrolled.pipe(gp(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):k()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){const r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(Yt(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){const i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&i.push(o)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let r=np(i),o=e.getElementRef().nativeElement;do{if(r==o)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>pc(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return n.\u0275fac=function(e){return new(e||n)(w(se),w(vi),w(ie,8))},n.\u0275prov=I({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Sw=(()=>{class n{constructor(e,i,r,o){this.elementRef=e,this.scrollDispatcher=i,this.ngZone=r,this.dir=o,this._destroyed=new Re,this._elementScrolled=new ve(s=>this.ngZone.runOutsideAngular(()=>pc(this.elementRef.nativeElement,"scroll").pipe(ac(this._destroyed)).subscribe(s)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){const i=this.elementRef.nativeElement,r=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=r?e.end:e.start),null==e.right&&(e.right=r?e.start:e.end),null!=e.bottom&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),r&&0!=Ss()?(null!=e.left&&(e.right=i.scrollWidth-i.clientWidth-e.left),2==Ss()?e.left=e.right:1==Ss()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=i.scrollWidth-i.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){const i=this.elementRef.nativeElement;zx()?i.scrollTo(e):(null!=e.top&&(i.scrollTop=e.top),null!=e.left&&(i.scrollLeft=e.left))}measureScrollOffset(e){const i="left",r="right",o=this.elementRef.nativeElement;if("top"==e)return o.scrollTop;if("bottom"==e)return o.scrollHeight-o.clientHeight-o.scrollTop;const s=this.dir&&"rtl"==this.dir.value;return"start"==e?e=s?r:i:"end"==e&&(e=s?i:r),s&&2==Ss()?e==i?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:s&&1==Ss()?e==i?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:e==i?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}}return n.\u0275fac=function(e){return new(e||n)(y(Ne),y(_c),y(se),y(Ts,8))},n.\u0275dir=P({type:n,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0}),n})(),_p=(()=>{class n{constructor(e,i,r){this._platform=e,this._change=new Re,this._changeListener=o=>{this._change.next(o)},this._document=r,i.runOutsideAngular(()=>{if(e.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,i=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect();return{top:-o.top||e.body.scrollTop||i.scrollY||r.scrollTop||0,left:-o.left||e.body.scrollLeft||i.scrollX||r.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(gp(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return n.\u0275fac=function(e){return new(e||n)(w(vi),w(se),w(ie,8))},n.\u0275prov=I({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Iw=new E("VIRTUAL_SCROLLABLE");let sB=(()=>{class n extends Sw{constructor(e,i,r,o){super(e,i,r,o)}measureViewportSize(e){const i=this.elementRef.nativeElement;return"horizontal"===e?i.clientWidth:i.clientHeight}}return n.\u0275fac=function(e){return new(e||n)(y(Ne),y(_c),y(se),y(Ts,8))},n.\u0275dir=P({type:n,features:[fe]}),n})();const lB=typeof requestAnimationFrame<"u"?zV:XV;let cB=(()=>{class n extends sB{get orientation(){return this._orientation}set orientation(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(e){this._appendOnly=function c2(n){return null!=n&&"false"!=`${n}`}(e)}constructor(e,i,r,o,s,a,l,c){super(e,a,r,s),this.elementRef=e,this._changeDetectorRef=i,this._scrollStrategy=o,this.scrollable=c,this._platform=z(vi),this._detachedSubject=new Re,this._renderedRangeSubject=new Re,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new ve(d=>this._scrollStrategy.scrolledIndexChange.subscribe(u=>Promise.resolve().then(()=>this.ngZone.run(()=>d.next(u))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=tt.EMPTY,this._viewportChanges=l.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe(ap(null),gp(0,lB)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(e){this.ngZone.runOutsideAngular(()=>{this._forOf=e,this._forOf.dataStream.pipe(ac(this._detachedSubject)).subscribe(i=>{const r=i.length;r!==this._dataLength&&(this._dataLength=r,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(e){return this.getElementRef().nativeElement.getBoundingClientRect()[e]}setTotalContentSize(e){this._totalContentSize!==e&&(this._totalContentSize=e,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(e){(function aB(n,t){return n.start==t.start&&n.end==t.end})(this._renderedRange,e)||(this.appendOnly&&(e={start:0,end:Math.max(this._renderedRange.end,e.end)}),this._renderedRangeSubject.next(this._renderedRange=e),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(e,i="to-start"){e=this.appendOnly&&"to-start"===i?0:e;const o="horizontal"==this.orientation,s=o?"X":"Y";let l=`translate${s}(${Number((o&&this.dir&&"rtl"==this.dir.value?-1:1)*e)}px)`;this._renderedContentOffset=e,"to-end"===i&&(l+=` translate${s}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=l&&(this._renderedContentTransform=l,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(e,i="auto"){const r={behavior:i};"horizontal"===this.orientation?r.start=e:r.top=e,this.scrollable.scrollTo(r)}scrollToIndex(e,i="auto"){this._scrollStrategy.scrollToIndex(e,i)}measureScrollOffset(e){let i;return i=this.scrollable==this?r=>super.measureScrollOffset(r):r=>this.scrollable.measureScrollOffset(r),Math.max(0,i(e??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(e){let i;const r="left",o="right",s="rtl"==this.dir?.value;i="start"==e?s?o:r:"end"==e?s?r:o:e||("horizontal"===this.orientation?"left":"top");const a=this.scrollable.measureBoundingClientRectWithScrollOffset(i);return this.elementRef.nativeElement.getBoundingClientRect()[i]-a}measureRenderedContentSize(){const e=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?e.offsetWidth:e.offsetHeight}measureRangeSize(e){return this._forOf?this._forOf.measureRangeSize(e,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(e){e&&this._runAfterChangeDetection.push(e),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const e=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const i of e)i()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return n.\u0275fac=function(e){return new(e||n)(y(Ne),y(cs),y(se),y(iB,8),y(Ts,8),y(_c),y(_p),y(Iw,8))},n.\u0275cmp=Je({type:n,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(e,i){if(1&e&&function Rb(n,t,e){const i=ne();i.firstCreatePass&&(Ob(i,new Tb(n,t,e),-1),2==(2&t)&&(i.staticViewQueries=!0)),Fb(i,M(),t)}(tB,7),2&e){let r;fl(r=hl())&&(i._contentWrapper=r.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(e,i){2&e&&Ui("cdk-virtual-scroll-orientation-horizontal","horizontal"===i.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==i.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},standalone:!0,features:[xe([{provide:Sw,useFactory:(t,e)=>t||e,deps:[[new Hn,new Fa(Iw)],n]}]),fe,vf],ngContentSelectors:nB,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(e,i){1&e&&(ji(),v(0,"div",0,1),on(2),x(),$(3,"div",2)),2&e&&(ge(3),cf("width",i._totalContentWidth)("height",i._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0}),n})(),vp=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=le({type:n}),n.\u0275inj=oe({}),n})(),Tw=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=le({type:n}),n.\u0275inj=oe({imports:[As,vp,cB,As,vp]}),n})();class yp{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class dB extends yp{constructor(t,e,i,r,o){super(),this.component=t,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=r,this.projectableNodes=o}}class uB extends yp{constructor(t,e,i,r){super(),this.templateRef=t,this.viewContainerRef=e,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class fB extends yp{constructor(t){super(),this.element=t instanceof Ne?t.nativeElement:t}}class hB{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof dB?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof uB?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof fB?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class pB extends hB{constructor(t,e,i,r,o){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=r,this.attachDomPortal=s=>{const a=s.element,l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(t){const i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let r;return t.viewContainerRef?(r=t.viewContainerRef.createComponent(i,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector,t.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=i.create(t.injector||this._defaultInjector||Ot.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=t,r}attachTemplatePortal(t){let e=t.viewContainerRef,i=e.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(i);-1!==r&&e.remove(r)}),this._attachedPortal=t,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let mB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=le({type:n}),n.\u0275inj=oe({}),n})();const Aw=zx();class gB{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=ze(-this._previousScrollPosition.left),t.style.top=ze(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,i=t.style,r=this._document.body.style,o=i.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),Aw&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Aw&&(i.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}}class _B{constructor(t,e,i,r){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0).pipe(Yt(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Rw{enable(){}disable(){}attach(){}}function bp(n,t){return t.some(e=>n.bottome.bottom||n.righte.right)}function Fw(n,t){return t.some(e=>n.tope.bottom||n.lefte.right)}class vB{constructor(t,e,i,r){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this._config=r,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();bp(e,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let yB=(()=>{class n{constructor(e,i,r,o){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=r,this.noop=()=>new Rw,this.close=s=>new _B(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new gB(this._viewportRuler,this._document),this.reposition=s=>new vB(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=o}}return n.\u0275fac=function(e){return new(e||n)(w(_c),w(_p),w(se),w(ie))},n.\u0275prov=I({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class bB{constructor(t){if(this.scrollStrategy=new Rw,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const i of e)void 0!==t[i]&&(this[i]=t[i])}}}class CB{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let Ow=(()=>{class n{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}}return n.\u0275fac=function(e){return new(e||n)(w(ie))},n.\u0275prov=I({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),xB=(()=>{class n extends Ow{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=r=>{const o=this._attachedOverlays;for(let s=o.length-1;s>-1;s--)if(o[s]._keydownEvents.observers.length>0){const a=o[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(r)):a.next(r);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return n.\u0275fac=function(e){return new(e||n)(w(ie),w(se,8))},n.\u0275prov=I({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),wB=(()=>{class n extends Ow{constructor(e,i,r){super(e),this._platform=i,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=Jh(o)},this._clickListener=o=>{const s=Jh(o),a="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){const d=l[c];if(d._outsidePointerEvents.observers.length<1||!d.hasAttached())continue;if(d.overlayElement.contains(s)||d.overlayElement.contains(a))break;const u=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>u.next(o)):u.next(o)}}}add(e){if(super.add(e),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return n.\u0275fac=function(e){return new(e||n)(w(ie),w(vi),w(se,8))},n.\u0275prov=I({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Pw=(()=>{class n{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||ep()){const r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;othis._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)},this._keydownEvents=new Re,this._outsidePointerEvents=new Re,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(yi(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof e?.onDestroy&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config={...this._config,...t},this._updateElementSize()}setDirection(t){this._config={...this._config,direction:t},this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=ze(this._config.width),t.height=ze(this._config.height),t.minWidth=ze(this._config.minWidth),t.minHeight=ze(this._config.minHeight),t.maxWidth=ze(this._config.maxWidth),t.maxHeight=ze(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const t=this._backdropElement;if(t){if(this._animationsDisabled)return void this._disposeBackdrop(t);t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,e,i){const r=rc(e||[]).filter(o=>!!o);r.length&&(i?t.classList.add(...r):t.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(ac(Ym(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const kw="cdk-overlay-connected-position-bounding-box",DB=/([A-Za-z%]+)$/;class EB{get positions(){return this._preferredPositions}constructor(t,e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new Re,this._resizeSubscription=tt.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}attach(t){this._validatePositions(),t.hostElement.classList.add(kw),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._originRect,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(t,r,a),c=this._getOverlayPoint(l,e,a),d=this._getOverlayFit(c,e,i,a);if(d.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(d,c,i)?o.push({position:a,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleAreal&&(l=d,a=c)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&er(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(kw),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,e)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e,i){let r,o;if("center"==i.originX)r=t.left+t.width/2;else{const s=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;r="start"==i.originX?s:a}return e.left<0&&(r-=e.left),o="center"==i.originY?t.top+t.height/2:"top"==i.originY?t.top:t.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(t,e,i){let r,o;return r="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,o="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:t.x+r,y:t.y+o}}_getOverlayFit(t,e,i,r){const o=Lw(e);let{x:s,y:a}=t,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let f=0-a,h=a+o.height-i.height,p=this._subtractOverflows(o.width,0-s,s+o.width-i.width),m=this._subtractOverflows(o.height,f,h),g=p*m;return{visibleArea:g,isCompletelyWithinViewport:o.width*o.height===g,fitsInViewportVertically:m===o.height,fitsInViewportHorizontally:p==o.width}}_canFitWithFlexibleDimensions(t,e,i){if(this._hasFlexibleDimensions){const r=i.bottom-e.y,o=i.right-e.x,s=Nw(this._overlayRef.getConfig().minHeight),a=Nw(this._overlayRef.getConfig().minWidth);return(t.fitsInViewportVertically||null!=s&&s<=r)&&(t.fitsInViewportHorizontally||null!=a&&a<=o)}return!1}_pushOverlayOnScreen(t,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const r=Lw(e),o=this._viewportRect,s=Math.max(t.x+r.width-o.width,0),a=Math.max(t.y+r.height-o.height,0),l=Math.max(o.top-i.top-t.y,0),c=Math.max(o.left-i.left-t.x,0);let d=0,u=0;return d=r.width<=o.width?c||-s:t.xp&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-p/2)}if("end"===e.overlayX&&!r||"start"===e.overlayX&&r)f=i.width-t.x+this._viewportMargin,d=t.x-this._viewportMargin;else if("start"===e.overlayX&&!r||"end"===e.overlayX&&r)u=t.x,d=i.right-t.x;else{const h=Math.min(i.right-t.x+i.left,t.x),p=this._lastBoundingBoxSize.width;d=2*h,u=t.x-h,d>p&&!this._isInitialRender&&!this._growAfterOpen&&(u=t.x-p/2)}return{top:s,left:u,bottom:a,right:f,width:d,height:o}}_setBoundingBoxStyles(t,e){const i=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=ze(i.height),r.top=ze(i.top),r.bottom=ze(i.bottom),r.width=ze(i.width),r.left=ze(i.left),r.right=ze(i.right),r.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",r.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",o&&(r.maxHeight=ze(o)),s&&(r.maxWidth=ze(s))}this._lastBoundingBoxSize=i,er(this._boundingBox.style,r)}_resetBoundingBoxStyles(){er(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){er(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){const d=this._viewportRuler.getViewportScrollPosition();er(i,this._getExactOverlayY(e,t,d)),er(i,this._getExactOverlayX(e,t,d))}else i.position="static";let a="",l=this._getOffset(e,"x"),c=this._getOffset(e,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),i.transform=a.trim(),s.maxHeight&&(r?i.maxHeight=ze(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=ze(s.maxWidth):o&&(i.maxWidth="")),er(this._pane.style,i)}_getExactOverlayY(t,e,i){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),"bottom"===t.overlayY?r.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":r.top=ze(o.y),r}_getExactOverlayX(t,e,i){let s,r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),s=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===s?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=ze(o.x),r}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Fw(t,i),isOriginOutsideView:bp(t,i),isOverlayClipped:Fw(e,i),isOverlayOutsideView:bp(e,i)}}_subtractOverflows(t,...e){return e.reduce((i,r)=>i-Math.max(r,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+t-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&rc(t).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof Ne)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+e,height:i,width:e}}}function er(n,t){for(let e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);return n}function Nw(n){if("number"!=typeof n&&null!=n){const[t,e]=n.split(DB);return e&&"px"!==e?null:parseFloat(t)}return n||null}function Lw(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}const Vw="cdk-global-overlay-wrapper";class SB{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(Vw),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=i,l=!("100%"!==r&&"100vw"!==r||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==o&&"100vh"!==o||a&&"100%"!==a&&"100vh"!==a),d=this._xPosition,u=this._xOffset,f="rtl"===this._overlayRef.getConfig().direction;let h="",p="",m="";l?m="flex-start":"center"===d?(m="center",f?p=u:h=u):f?"left"===d||"end"===d?(m="flex-end",h=u):("right"===d||"start"===d)&&(m="flex-start",p=u):"left"===d||"start"===d?(m="flex-start",h=u):("right"===d||"end"===d)&&(m="flex-end",p=u),t.position=this._cssPosition,t.marginLeft=l?"0":h,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=l?"0":p,e.justifyContent=m,e.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(Vw),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let IB=(()=>{class n{constructor(e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o}global(){return new SB}flexibleConnectedTo(e){return new EB(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(e){return new(e||n)(w(_p),w(ie),w(vi),w(Pw))},n.\u0275prov=I({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),TB=0,Cp=(()=>{class n{constructor(e,i,r,o,s,a,l,c,d,u,f,h){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=r,this._positionBuilder=o,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=c,this._directionality=d,this._location=u,this._outsideClickDispatcher=f,this._animationsModuleType=h}create(e){const i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),s=new bB(e);return s.direction=s.direction||this._directionality.value,new MB(o,i,r,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(e){const i=this._document.createElement("div");return i.id="cdk-overlay-"+TB++,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(eo)),new pB(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return n.\u0275fac=function(e){return new(e||n)(w(yB),w(Pw),w(Or),w(IB),w(xB),w(Ot),w(se),w(ie),w(Ts),w(Ml),w(wB),w(Lf,8))},n.\u0275prov=I({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const FB={provide:new E("cdk-connected-overlay-scroll-strategy"),deps:[Cp],useFactory:function RB(n){return()=>n.scrollStrategies.reposition()}};let OB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=le({type:n}),n.\u0275inj=oe({providers:[Cp,FB],imports:[As,mB,Tw,Tw]}),n})();const LB={provide:new E("mat-menu-scroll-strategy"),deps:[Cp],useFactory:function NB(n){return()=>n.scrollStrategies.reposition()}};let VB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=le({type:n}),n.\u0275inj=oe({providers:[LB],imports:[Pl,lw,Ge,OB,vp,Ge]}),n})(),BB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=le({type:n}),n.\u0275inj=oe({imports:[Ge,Ge]}),n})();class fn extends Re{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:i}=this;if(t)throw e;return this._throwIfClosed(),i}next(t){super.next(this._value=t)}}const vc=Co(n=>function(){n(this),this.name="EmptyError",this.message="no elements in sequence"});function jw(n){return new ve(t=>{bt(n()).subscribe(t)})}function xp(){return Pe((n,t)=>{let e=null;n._refCount++;const i=Ee(t,void 0,void 0,void 0,()=>{if(!n||n._refCount<=0||0<--n._refCount)return void(e=null);const r=n._connection,o=e;e=null,r&&(!o||r===o)&&r.unsubscribe(),t.unsubscribe()});n.subscribe(i),i.closed||(e=n.connect())})}class Hw extends ve{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,Tm(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,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new tt;const e=this.getSubject();t.add(this.source.subscribe(Ee(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),t.closed&&(this._connection=null,t=tt.EMPTY)}return t}refCount(){return xp()(this)}}function Sn(n,t){return Pe((e,i)=>{let r=null,o=0,s=!1;const a=()=>s&&!r&&i.complete();e.subscribe(Ee(i,l=>{r?.unsubscribe();let c=0;const d=o++;bt(n(l,d)).subscribe(r=Ee(i,u=>i.next(t?t(l,u,d,c++):u),()=>{r=null,a()}))},()=>{s=!0,a()}))})}function yc(n){return Pe((t,e)=>{let i=!1;t.subscribe(Ee(e,r=>{i=!0,e.next(r)},()=>{i||e.next(n),e.complete()}))})}function Uw(n=jB){return Pe((t,e)=>{let i=!1;t.subscribe(Ee(e,r=>{i=!0,e.next(r)},()=>i?e.complete():e.error(n())))})}function jB(){return new vc}function bi(n,t){const e=arguments.length>=2;return i=>i.pipe(n?Yt((r,o)=>n(r,o,i)):Ti,yi(1),e?yc(t):Uw(()=>new vc))}function $w(n,t){return Pe(function HB(n,t,e,i,r){return(o,s)=>{let a=e,l=t,c=0;o.subscribe(Ee(s,d=>{const u=c++;l=a?n(l,d,u):(a=!0,d),i&&s.next(l)},r&&(()=>{a&&s.next(l),s.complete()})))}}(n,t,arguments.length>=2,!0))}function wp(n){return n<=0?()=>hn:Pe((t,e)=>{let i=[];t.subscribe(Ee(e,r=>{i.push(r),n{for(const r of i)e.next(r);e.complete()},void 0,()=>{i=null}))})}function zw(n,t){const e=arguments.length>=2;return i=>i.pipe(n?Yt((r,o)=>n(r,o,i)):Ti,wp(1),e?yc(t):Uw(()=>new vc))}const Y="primary",ks=Symbol("RouteTitle");class zB{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 co(n){return new zB(n)}function GB(n,t,e){const i=e.path.split("/");if(i.length>n.length||"full"===e.pathMatch&&(t.hasChildren()||i.lengthi[o]===r)}return n===t}function Ww(n){return Array.prototype.concat.apply([],n)}function qw(n){return n.length>0?n[n.length-1]:null}function ot(n,t){for(const e in n)n.hasOwnProperty(e)&&t(n[e],e)}function Ci(n){return rf(n)?n:Xo(n)?je(Promise.resolve(n)):k(n)}const bc=!1,qB={exact:function Kw(n,t,e){if(!tr(n.segments,t.segments)||!Cc(n.segments,t.segments,e)||n.numberOfChildren!==t.numberOfChildren)return!1;for(const i in t.children)if(!n.children[i]||!Kw(n.children[i],t.children[i],e))return!1;return!0},subset:Xw},Yw={exact:function YB(n,t){return In(n,t)},subset:function ZB(n,t){return Object.keys(t).length<=Object.keys(n).length&&Object.keys(t).every(e=>Gw(n[e],t[e]))},ignored:()=>!0};function Zw(n,t,e){return qB[e.paths](n.root,t.root,e.matrixParams)&&Yw[e.queryParams](n.queryParams,t.queryParams)&&!("exact"===e.fragment&&n.fragment!==t.fragment)}function Xw(n,t,e){return Qw(n,t,t.segments,e)}function Qw(n,t,e,i){if(n.segments.length>e.length){const r=n.segments.slice(0,e.length);return!(!tr(r,e)||t.hasChildren()||!Cc(r,e,i))}if(n.segments.length===e.length){if(!tr(n.segments,e)||!Cc(n.segments,e,i))return!1;for(const r in t.children)if(!n.children[r]||!Xw(n.children[r],t.children[r],i))return!1;return!0}{const r=e.slice(0,n.segments.length),o=e.slice(n.segments.length);return!!(tr(n.segments,r)&&Cc(n.segments,r,i)&&n.children[Y])&&Qw(n.children[Y],t,o,i)}}function Cc(n,t,e){return t.every((i,r)=>Yw[e](n[r].parameters,i.parameters))}class xi{constructor(t=new J([],{}),e={},i=null){this.root=t,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=co(this.queryParams)),this._queryParamMap}toString(){return QB.serialize(this)}}class J{constructor(t,e){this.segments=t,this.children=e,this.parent=null,ot(e,(i,r)=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return xc(this)}}class Ns{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=co(this.parameters)),this._parameterMap}toString(){return tM(this)}}function tr(n,t){return n.length===t.length&&n.every((e,i)=>e.path===t[i].path)}let Ls=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=I({token:n,factory:function(){return new Mp},providedIn:"root"}),n})();class Mp{parse(t){const e=new aj(t);return new xi(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){const e=`/${Vs(t.root,!0)}`,i=function tj(n){const t=Object.keys(n).map(e=>{const i=n[e];return Array.isArray(i)?i.map(r=>`${wc(e)}=${wc(r)}`).join("&"):`${wc(e)}=${wc(i)}`}).filter(e=>!!e);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${e}${i}${"string"==typeof t.fragment?`#${function JB(n){return encodeURI(n)}(t.fragment)}`:""}`}}const QB=new Mp;function xc(n){return n.segments.map(t=>tM(t)).join("/")}function Vs(n,t){if(!n.hasChildren())return xc(n);if(t){const e=n.children[Y]?Vs(n.children[Y],!1):"",i=[];return ot(n.children,(r,o)=>{o!==Y&&i.push(`${o}:${Vs(r,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}{const e=function XB(n,t){let e=[];return ot(n.children,(i,r)=>{r===Y&&(e=e.concat(t(i,r)))}),ot(n.children,(i,r)=>{r!==Y&&(e=e.concat(t(i,r)))}),e}(n,(i,r)=>r===Y?[Vs(n.children[Y],!1)]:[`${r}:${Vs(i,!1)}`]);return 1===Object.keys(n.children).length&&null!=n.children[Y]?`${xc(n)}/${e[0]}`:`${xc(n)}/(${e.join("//")})`}}function Jw(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function wc(n){return Jw(n).replace(/%3B/gi,";")}function Dp(n){return Jw(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Mc(n){return decodeURIComponent(n)}function eM(n){return Mc(n.replace(/\+/g,"%20"))}function tM(n){return`${Dp(n.path)}${function ej(n){return Object.keys(n).map(t=>`;${Dp(t)}=${Dp(n[t])}`).join("")}(n.parameters)}`}const nj=/^[^\/()?;=#]+/;function Dc(n){const t=n.match(nj);return t?t[0]:""}const ij=/^[^=?]+/,oj=/^[^]+/;class aj{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 i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(i[Y]=new J(t,e)),i}parseSegment(){const t=Dc(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new C(4009,bc);return this.capture(t),new Ns(Mc(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=Dc(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const r=Dc(this.remaining);r&&(i=r,this.capture(i))}t[Mc(e)]=Mc(i)}parseQueryParam(t){const e=function rj(n){const t=n.match(ij);return t?t[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const s=function sj(n){const t=n.match(oj);return t?t[0]:""}(this.remaining);s&&(i=s,this.capture(i))}const r=eM(e),o=eM(i);if(t.hasOwnProperty(r)){let s=t[r];Array.isArray(s)||(s=[s],t[r]=s),s.push(o)}else t[r]=o}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=Dc(this.remaining),r=this.remaining[i.length];if("/"!==r&&")"!==r&&";"!==r)throw new C(4010,bc);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=Y);const s=this.parseChildren();e[o]=1===Object.keys(s).length?s[Y]:new J([],s),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 C(4011,bc)}}function Ep(n){return n.segments.length>0?new J([],{[Y]:n}):n}function Ec(n){const t={};for(const i of Object.keys(n.children)){const o=Ec(n.children[i]);(o.segments.length>0||o.hasChildren())&&(t[i]=o)}return function lj(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))}function nr(n){return n instanceof xi}const Sp=!1;function cj(n,t,e,i,r){if(0===e.length)return uo(t.root,t.root,t.root,i,r);const o=function sM(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new oM(!0,0,n);let t=0,e=!1;const i=n.reduce((r,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return ot(o.outlets,(l,c)=>{a[c]="string"==typeof l?l.split("/"):l}),[...r,{outlets:a}]}if(o.segmentPath)return[...r,o.segmentPath]}return"string"!=typeof o?[...r,o]:0===s?(o.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?e=!0:".."===a?t++:""!=a&&r.push(a))}),r):[...r,o]},[]);return new oM(e,t,i)}(e);return o.toRoot()?uo(t.root,t.root,new J([],{}),i,r):function s(l){const c=function uj(n,t,e,i){if(n.isAbsolute)return new fo(t.root,!0,0);if(-1===i)return new fo(e,e===t.root,0);return function aM(n,t,e){let i=n,r=t,o=e;for(;o>r;){if(o-=r,i=i.parent,!i)throw new C(4005,Sp&&"Invalid number of '../'");r=i.segments.length}return new fo(i,!1,r-o)}(e,i+(Bs(n.commands[0])?0:1),n.numberOfDoubleDots)}(o,t,n.snapshot?._urlSegment,l),d=c.processChildren?ho(c.segmentGroup,c.index,o.commands):Ip(c.segmentGroup,c.index,o.commands);return uo(t.root,c.segmentGroup,d,i,r)}(n.snapshot?._lastPathIndex)}function Bs(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function js(n){return"object"==typeof n&&null!=n&&n.outlets}function uo(n,t,e,i,r){let s,o={};i&&ot(i,(l,c)=>{o[c]=Array.isArray(l)?l.map(d=>`${d}`):`${l}`}),s=n===t?e:rM(n,t,e);const a=Ep(Ec(s));return new xi(a,o,r)}function rM(n,t,e){const i={};return ot(n.children,(r,o)=>{i[o]=r===t?e:rM(r,t,e)}),new J(n.segments,i)}class oM{constructor(t,e,i){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=i,t&&i.length>0&&Bs(i[0]))throw new C(4003,Sp&&"Root segment cannot have matrix parameters");const r=i.find(js);if(r&&r!==qw(i))throw new C(4004,Sp&&"{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class fo{constructor(t,e,i){this.segmentGroup=t,this.processChildren=e,this.index=i}}function Ip(n,t,e){if(n||(n=new J([],{})),0===n.segments.length&&n.hasChildren())return ho(n,t,e);const i=function hj(n,t,e){let i=0,r=t;const o={match:!1,pathIndex:0,commandIndex:0};for(;r=e.length)return o;const s=n.segments[r],a=e[i];if(js(a))break;const l=`${a}`,c=i0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!cM(l,c,s))return o;i+=2}else{if(!cM(l,{},s))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(n,t,e),r=e.slice(i.commandIndex);if(i.match&&i.pathIndex{"string"==typeof o&&(o=[o]),null!==o&&(r[s]=Ip(n.children[s],t,o))}),ot(n.children,(o,s)=>{void 0===i[s]&&(r[s]=o)}),new J(n.segments,r)}}function Tp(n,t,e){const i=n.segments.slice(0,t);let r=0;for(;r{"string"==typeof e&&(e=[e]),null!==e&&(t[i]=Tp(new J([],{}),0,e))}),t}function lM(n){const t={};return ot(n,(e,i)=>t[i]=`${e}`),t}function cM(n,t,e){return n==e.path&&In(t,e.parameters)}const Hs="imperative";class Tn{constructor(t,e){this.id=t,this.url=e}}class Ap extends Tn{constructor(t,e,i="imperative",r=null){super(t,e),this.type=0,this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ir extends Tn{constructor(t,e,i){super(t,e),this.urlAfterRedirects=i,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Sc extends Tn{constructor(t,e,i,r){super(t,e),this.reason=i,this.code=r,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Ic extends Tn{constructor(t,e,i,r){super(t,e),this.reason=i,this.code=r,this.type=16}}class Rp extends Tn{constructor(t,e,i,r){super(t,e),this.error=i,this.target=r,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class mj extends Tn{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class gj extends Tn{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class _j extends Tn{constructor(t,e,i,r,o){super(t,e),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class vj extends Tn{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class yj extends Tn{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class bj{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Cj{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class xj{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class wj{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Mj{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Dj{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class dM{constructor(t,e,i){this.routerEvent=t,this.position=e,this.anchor=i,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let Ij=(()=>{class n{createUrlTree(e,i,r,o,s,a){return cj(e||i.root,r,o,s,a)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=I({token:n,factory:n.\u0275fac}),n})(),Aj=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=I({token:n,factory:function(t){return Ij.\u0275fac(t)},providedIn:"root"}),n})();class uM{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=Fp(t,this._root);return e?e.children.map(i=>i.value):[]}firstChild(t){const e=Fp(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Op(t,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==t)}pathFromRoot(t){return Op(t,this._root).map(e=>e.value)}}function Fp(n,t){if(n===t.value)return t;for(const e of t.children){const i=Fp(n,e);if(i)return i}return null}function Op(n,t){if(n===t.value)return[t];for(const e of t.children){const i=Op(n,e);if(i.length)return i.unshift(t),i}return[]}class ti{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function po(n){const t={};return n&&n.children.forEach(e=>t[e.value.outlet]=e),t}class fM extends uM{constructor(t,e){super(t),this.snapshot=e,Pp(this,t)}toString(){return this.snapshot.toString()}}function hM(n,t){const e=function Rj(n,t){const s=new Tc([],{},{},"",{},Y,t,null,n.root,-1,{});return new mM("",new ti(s,[]))}(n,t),i=new fn([new Ns("",{})]),r=new fn({}),o=new fn({}),s=new fn({}),a=new fn(""),l=new rr(i,r,s,a,o,Y,t,e.root);return l.snapshot=e.root,new fM(new ti(l,[]),e)}class rr{constructor(t,e,i,r,o,s,a,l){this.url=t,this.params=e,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.title=this.data?.pipe(U(c=>c[ks]))??k(void 0),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(U(t=>co(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(U(t=>co(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function pM(n,t="emptyOnly"){const e=n.pathFromRoot;let i=0;if("always"!==t)for(i=e.length-1;i>=1;){const r=e[i],o=e[i-1];if(r.routeConfig&&""===r.routeConfig.path)i--;else{if(o.component)break;i--}}return function Fj(n){return n.reduce((t,e)=>({params:{...t.params,...e.params},data:{...t.data,...e.data},resolve:{...e.data,...t.resolve,...e.routeConfig?.data,...e._resolvedData}}),{params:{},data:{},resolve:{}})}(e.slice(i))}class Tc{get title(){return this.data?.[ks]}constructor(t,e,i,r,o,s,a,l,c,d,u){this.url=t,this.params=e,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._urlSegment=c,this._lastPathIndex=d,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=co(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=co(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class mM extends uM{constructor(t,e){super(e),this.url=t,Pp(this,e)}toString(){return gM(this._root)}}function Pp(n,t){t.value._routerState=n,t.children.forEach(e=>Pp(n,e))}function gM(n){const t=n.children.length>0?` { ${n.children.map(gM).join(", ")} } `:"";return`${n.value}${t}`}function kp(n){if(n.snapshot){const t=n.snapshot,e=n._futureSnapshot;n.snapshot=e,In(t.queryParams,e.queryParams)||n.queryParams.next(e.queryParams),t.fragment!==e.fragment&&n.fragment.next(e.fragment),In(t.params,e.params)||n.params.next(e.params),function WB(n,t){if(n.length!==t.length)return!1;for(let e=0;eIn(e.parameters,t[i].parameters))}(n.url,t.url);return e&&!(!n.parent!=!t.parent)&&(!n.parent||Np(n.parent,t.parent))}function Us(n,t,e){if(e&&n.shouldReuseRoute(t.value,e.value.snapshot)){const i=e.value;i._futureSnapshot=t.value;const r=function Pj(n,t,e){return t.children.map(i=>{for(const r of e.children)if(n.shouldReuseRoute(i.value,r.value.snapshot))return Us(n,i,r);return Us(n,i)})}(n,t,e);return new ti(i,r)}{if(n.shouldAttach(t.value)){const o=n.retrieve(t.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>Us(n,a)),s}}const i=function kj(n){return new rr(new fn(n.url),new fn(n.params),new fn(n.queryParams),new fn(n.fragment),new fn(n.data),n.outlet,n.component,n)}(t.value),r=t.children.map(o=>Us(n,o));return new ti(i,r)}}const Lp="ngNavigationCancelingError";function _M(n,t){const{redirectTo:e,navigationBehaviorOptions:i}=nr(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,r=vM(!1,0,t);return r.url=e,r.navigationBehaviorOptions=i,r}function vM(n,t,e){const i=new Error("NavigationCancelingError: "+(n||""));return i[Lp]=!0,i.cancellationCode=t,e&&(i.url=e),i}function yM(n){return bM(n)&&nr(n.url)}function bM(n){return n&&n[Lp]}class Nj{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new $s,this.attachRef=null}}let $s=(()=>{class n{constructor(){this.contexts=new Map}onChildOutletCreated(e,i){const r=this.getOrCreateContext(e);r.outlet=i,this.contexts.set(e,r)}onChildOutletDestroyed(e){const i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new Nj,this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=I({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Ac=!1;let Rc=(()=>{class n{constructor(){this.activated=null,this._activatedRoute=null,this.name=Y,this.activateEvents=new Ie,this.deactivateEvents=new Ie,this.attachEvents=new Ie,this.detachEvents=new Ie,this.parentContexts=z($s),this.location=z(ln),this.changeDetector=z(cs),this.environmentInjector=z(yn)}ngOnChanges(e){if(e.name){const{firstChange:i,previousValue:r}=e.name;if(i)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new C(4012,Ac);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new C(4012,Ac);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new C(4012,Ac);this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,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,i){if(this.isActivated)throw new C(4013,Ac);this._activatedRoute=e;const r=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new Lj(e,a,r.injector);if(i&&function Vj(n){return!!n.resolveComponentFactory}(i)){const c=i.resolveComponentFactory(s);this.activated=r.createComponent(c,r.length,l)}else this.activated=r.createComponent(s,{index:r.length,injector:l,environmentInjector:i??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=P({type:n,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Ht]}),n})();class Lj{constructor(t,e,i){this.route=t,this.childContexts=e,this.parent=i}get(t,e){return t===rr?this.route:t===$s?this.childContexts:this.parent.get(t,e)}}let Vp=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=Je({type:n,selectors:[["ng-component"]],standalone:!0,features:[vf],decls:1,vars:0,template:function(e,i){1&e&&$(0,"router-outlet")},dependencies:[Rc],encapsulation:2}),n})();function CM(n,t){return n.providers&&!n._injector&&(n._injector=dl(n.providers,t,`Route: ${n.path}`)),n._injector??t}function jp(n){const t=n.children&&n.children.map(jp),e=t?{...n,children:t}:{...n};return!e.component&&!e.loadComponent&&(t||e.loadChildren)&&e.outlet&&e.outlet!==Y&&(e.component=Vp),e}function Zt(n){return n.outlet||Y}function xM(n,t){const e=n.filter(i=>Zt(i)===t);return e.push(...n.filter(i=>Zt(i)!==t)),e}function zs(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let t=n.parent;t;t=t.parent){const e=t.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}class $j{constructor(t,e,i,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=i,this.forwardEvent=r}activate(t){const e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,t),kp(this.futureState.root),this.activateChildRoutes(e,i,t)}deactivateChildRoutes(t,e,i){const r=po(e);t.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,r[s],i),delete r[s]}),ot(r,(o,s)=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(t,e,i){const r=t.value,o=e?e.value:null;if(r===o)if(r.component){const s=i.getContext(r.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,i);else o&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(t,e){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const i=e.getContext(t.value.outlet),r=i&&t.value.component?i.children:e,o=po(t);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],r);if(i&&i.outlet){const s=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,e){const i=e.getContext(t.value.outlet),r=i&&t.value.component?i.children:e,o=po(t);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],r);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.resolver=null,i.route=null)}activateChildRoutes(t,e,i){const r=po(e);t.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new Dj(o.value.snapshot))}),t.children.length&&this.forwardEvent(new wj(t.value.snapshot))}activateRoutes(t,e,i){const r=t.value,o=e?e.value:null;if(kp(r),r===o)if(r.component){const s=i.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,s.children)}else this.activateChildRoutes(t,e,i);else if(r.component){const s=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),kp(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=zs(r.snapshot),l=a?.get(Or)??null;s.attachRef=null,s.route=r,s.resolver=l,s.injector=a,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,i)}}class wM{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Fc{constructor(t,e){this.component=t,this.route=e}}function zj(n,t,e){const i=n._root;return Gs(i,t?t._root:null,e,[i.value])}function mo(n,t){const e=Symbol(),i=t.get(n,e);return i===e?"function"!=typeof n||function jE(n){return null!==la(n)}(n)?t.get(n):n:i}function Gs(n,t,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=po(t);return n.children.forEach(s=>{(function Wj(n,t,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=n.value,s=t?t.value:null,a=e?e.getContext(n.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const l=function qj(n,t,e){if("function"==typeof e)return e(n,t);switch(e){case"pathParamsChange":return!tr(n.url,t.url);case"pathParamsOrQueryParamsChange":return!tr(n.url,t.url)||!In(n.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Np(n,t)||!In(n.queryParams,t.queryParams);default:return!Np(n,t)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new wM(i)):(o.data=s.data,o._resolvedData=s._resolvedData),Gs(n,t,o.component?a?a.children:null:e,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new Fc(a.outlet.component,s))}else s&&Ws(t,a,r),r.canActivateChecks.push(new wM(i)),Gs(n,null,o.component?a?a.children:null:e,i,r)})(s,o[s.value.outlet],e,i.concat([s.value]),r),delete o[s.value.outlet]}),ot(o,(s,a)=>Ws(s,e.getContext(a),r)),r}function Ws(n,t,e){const i=po(n),r=n.value;ot(i,(o,s)=>{Ws(o,r.component?t?t.children.getContext(s):null:t,e)}),e.canDeactivateChecks.push(new Fc(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}function qs(n){return"function"==typeof n}function Hp(n){return n instanceof vc||"EmptyError"===n?.name}const Oc=Symbol("INITIAL_VALUE");function go(){return Sn(n=>ip(n.map(t=>t.pipe(yi(1),ap(Oc)))).pipe(U(t=>{for(const e of t)if(!0!==e){if(e===Oc)return Oc;if(!1===e||e instanceof xi)return e}return!0}),Yt(t=>t!==Oc),yi(1)))}function MM(n){return function WD(...n){return Em(n)}(Ke(t=>{if(nr(t))throw _M(0,t)}),U(t=>!0===t))}const Up={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function DM(n,t,e,i,r){const o=$p(n,t,e);return o.matched?function dH(n,t,e,i){const r=t.canMatch;return r&&0!==r.length?k(r.map(s=>{const a=mo(s,n);return Ci(function Jj(n){return n&&qs(n.canMatch)}(a)?a.canMatch(t,e):n.runInContext(()=>a(t,e)))})).pipe(go(),MM()):k(!0)}(i=CM(t,i),t,e).pipe(U(s=>!0===s?o:{...Up})):k(o)}function $p(n,t,e){if(""===t.path)return"full"===t.pathMatch&&(n.hasChildren()||e.length>0)?{...Up}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const r=(t.matcher||GB)(e,n,t);if(!r)return{...Up};const o={};ot(r.posParams,(a,l)=>{o[l]=a.path});const s=r.consumed.length>0?{...o,...r.consumed[r.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:e.slice(r.consumed.length),parameters:s,positionalParamSegments:r.posParams??{}}}function Pc(n,t,e,i){if(e.length>0&&function hH(n,t,e){return e.some(i=>kc(n,t,i)&&Zt(i)!==Y)}(n,e,i)){const o=new J(t,function fH(n,t,e,i){const r={};r[Y]=i,i._sourceSegment=n,i._segmentIndexShift=t.length;for(const o of e)if(""===o.path&&Zt(o)!==Y){const s=new J([],{});s._sourceSegment=n,s._segmentIndexShift=t.length,r[Zt(o)]=s}return r}(n,t,i,new J(e,n.children)));return o._sourceSegment=n,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:[]}}if(0===e.length&&function pH(n,t,e){return e.some(i=>kc(n,t,i))}(n,e,i)){const o=new J(n.segments,function uH(n,t,e,i,r){const o={};for(const s of i)if(kc(n,e,s)&&!r[Zt(s)]){const a=new J([],{});a._sourceSegment=n,a._segmentIndexShift=t.length,o[Zt(s)]=a}return{...r,...o}}(n,t,e,i,n.children));return o._sourceSegment=n,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:e}}const r=new J(n.segments,n.children);return r._sourceSegment=n,r._segmentIndexShift=t.length,{segmentGroup:r,slicedSegments:e}}function kc(n,t,e){return(!(n.hasChildren()||t.length>0)||"full"!==e.pathMatch)&&""===e.path}function EM(n,t,e,i){return!!(Zt(n)===i||i!==Y&&kc(t,e,n))&&("**"===n.path||$p(t,n,e).matched)}function SM(n,t,e){return 0===t.length&&!n.children[e]}const Nc=!1;class Lc{constructor(t){this.segmentGroup=t||null}}class IM{constructor(t){this.urlTree=t}}function Ys(n){return lo(new Lc(n))}function TM(n){return lo(new IM(n))}class vH{constructor(t,e,i,r,o){this.injector=t,this.configLoader=e,this.urlSerializer=i,this.urlTree=r,this.config=o,this.allowRedirects=!0}apply(){const t=Pc(this.urlTree.root,[],[],this.config).segmentGroup,e=new J(t.segments,t.children);return this.expandSegmentGroup(this.injector,this.config,e,Y).pipe(U(o=>this.createUrlTree(Ec(o),this.urlTree.queryParams,this.urlTree.fragment))).pipe(ei(o=>{if(o instanceof IM)return this.allowRedirects=!1,this.match(o.urlTree);throw o instanceof Lc?this.noMatchError(o):o}))}match(t){return this.expandSegmentGroup(this.injector,this.config,t.root,Y).pipe(U(r=>this.createUrlTree(Ec(r),t.queryParams,t.fragment))).pipe(ei(r=>{throw r instanceof Lc?this.noMatchError(r):r}))}noMatchError(t){return new C(4002,Nc)}createUrlTree(t,e,i){const r=Ep(t);return new xi(r,e,i)}expandSegmentGroup(t,e,i,r){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(t,e,i).pipe(U(o=>new J([],o))):this.expandSegment(t,i,e,i.segments,r,!0)}expandChildren(t,e,i){const r=[];for(const o of Object.keys(i.children))"primary"===o?r.unshift(o):r.push(o);return je(r).pipe(gi(o=>{const s=i.children[o],a=xM(e,o);return this.expandSegmentGroup(t,a,s,o).pipe(U(l=>({segment:l,outlet:o})))}),$w((o,s)=>(o[s.outlet]=s.segment,o),{}),zw())}expandSegment(t,e,i,r,o,s){return je(i).pipe(gi(a=>this.expandSegmentAgainstRoute(t,e,i,a,r,o,s).pipe(ei(c=>{if(c instanceof Lc)return k(null);throw c}))),bi(a=>!!a),ei((a,l)=>{if(Hp(a))return SM(e,r,o)?k(new J([],{})):Ys(e);throw a}))}expandSegmentAgainstRoute(t,e,i,r,o,s,a){return EM(r,e,o,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,o,s):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,i,r,o,s):Ys(e):Ys(e)}expandSegmentAgainstRouteUsingRedirect(t,e,i,r,o,s){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,i,r,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,i,r,o,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,i,r){const o=this.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?TM(o):this.lineralizeSegments(i,o).pipe(Qe(s=>{const a=new J(s,{});return this.expandSegment(t,a,e,s,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,i,r,o,s){const{matched:a,consumedSegments:l,remainingSegments:c,positionalParamSegments:d}=$p(e,r,o);if(!a)return Ys(e);const u=this.applyRedirectCommands(l,r.redirectTo,d);return r.redirectTo.startsWith("/")?TM(u):this.lineralizeSegments(r,u).pipe(Qe(f=>this.expandSegment(t,e,i,f.concat(c),s,!1)))}matchSegmentAgainstRoute(t,e,i,r,o){return"**"===i.path?(t=CM(i,t),i.loadChildren?(i._loadedRoutes?k({routes:i._loadedRoutes,injector:i._loadedInjector}):this.configLoader.loadChildren(t,i)).pipe(U(a=>(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,new J(r,{})))):k(new J(r,{}))):DM(e,i,r,t).pipe(Sn(({matched:s,consumedSegments:a,remainingSegments:l})=>s?this.getChildConfig(t=i._injector??t,i,r).pipe(Qe(d=>{const u=d.injector??t,f=d.routes,{segmentGroup:h,slicedSegments:p}=Pc(e,a,l,f),m=new J(h.segments,h.children);if(0===p.length&&m.hasChildren())return this.expandChildren(u,f,m).pipe(U(b=>new J(a,b)));if(0===f.length&&0===p.length)return k(new J(a,{}));const g=Zt(i)===o;return this.expandSegment(u,m,f,p,g?Y:o,!0).pipe(U(D=>new J(a.concat(D.segments),D.children)))})):Ys(e)))}getChildConfig(t,e,i){return e.children?k({routes:e.children,injector:t}):e.loadChildren?void 0!==e._loadedRoutes?k({routes:e._loadedRoutes,injector:e._loadedInjector}):function cH(n,t,e,i){const r=t.canLoad;return void 0===r||0===r.length?k(!0):k(r.map(s=>{const a=mo(s,n);return Ci(function Zj(n){return n&&qs(n.canLoad)}(a)?a.canLoad(t,e):n.runInContext(()=>a(t,e)))})).pipe(go(),MM())}(t,e,i).pipe(Qe(r=>r?this.configLoader.loadChildren(t,e).pipe(Ke(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):function gH(n){return lo(vM(Nc,3))}())):k({routes:[],injector:t})}lineralizeSegments(t,e){let i=[],r=e.root;for(;;){if(i=i.concat(r.segments),0===r.numberOfChildren)return k(i);if(r.numberOfChildren>1||!r.children[Y])return t.redirectTo,lo(new C(4e3,Nc));r=r.children[Y]}}applyRedirectCommands(t,e,i){return this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),t,i)}applyRedirectCreateUrlTree(t,e,i,r){const o=this.createSegmentGroup(t,e.root,i,r);return new xi(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const i={};return ot(t,(r,o)=>{if("string"==typeof r&&r.startsWith(":")){const a=r.substring(1);i[o]=e[a]}else i[o]=r}),i}createSegmentGroup(t,e,i,r){const o=this.createSegments(t,e.segments,i,r);let s={};return ot(e.children,(a,l)=>{s[l]=this.createSegmentGroup(t,a,i,r)}),new J(o,s)}createSegments(t,e,i,r){return e.map(o=>o.path.startsWith(":")?this.findPosParam(t,o,r):this.findOrReturn(o,i))}findPosParam(t,e,i){const r=i[e.path.substring(1)];if(!r)throw new C(4001,Nc);return r}findOrReturn(t,e){let i=0;for(const r of e){if(r.path===t.path)return e.splice(i),r;i++}return t}}class bH{}class wH{constructor(t,e,i,r,o,s,a){this.injector=t,this.rootComponentType=e,this.config=i,this.urlTree=r,this.url=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a}recognize(){const t=Pc(this.urlTree.root,[],[],this.config.filter(e=>void 0===e.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,Y).pipe(U(e=>{if(null===e)return null;const i=new Tc([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Y,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new ti(i,e),o=new mM(this.url,r);return this.inheritParamsAndData(o._root),o}))}inheritParamsAndData(t){const e=t.value,i=pM(e,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),t.children.forEach(r=>this.inheritParamsAndData(r))}processSegmentGroup(t,e,i,r){return 0===i.segments.length&&i.hasChildren()?this.processChildren(t,e,i):this.processSegment(t,e,i,i.segments,r)}processChildren(t,e,i){return je(Object.keys(i.children)).pipe(gi(r=>{const o=i.children[r],s=xM(e,r);return this.processSegmentGroup(t,s,o,r)}),$w((r,o)=>r&&o?(r.push(...o),r):null),function UB(n,t=!1){return Pe((e,i)=>{let r=0;e.subscribe(Ee(i,o=>{const s=n(o,r++);(s||t)&&i.next(o),!s&&i.complete()}))})}(r=>null!==r),yc(null),zw(),U(r=>{if(null===r)return null;const o=RM(r);return function MH(n){n.sort((t,e)=>t.value.outlet===Y?-1:e.value.outlet===Y?1:t.value.outlet.localeCompare(e.value.outlet))}(o),o}))}processSegment(t,e,i,r,o){return je(e).pipe(gi(s=>this.processSegmentAgainstRoute(s._injector??t,s,i,r,o)),bi(s=>!!s),ei(s=>{if(Hp(s))return SM(i,r,o)?k([]):k(null);throw s}))}processSegmentAgainstRoute(t,e,i,r,o){if(e.redirectTo||!EM(e,i,r,o))return k(null);let s;if("**"===e.path){const a=r.length>0?qw(r).parameters:{},l=OM(i)+r.length;s=k({snapshot:new Tc(r,a,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,PM(e),Zt(e),e.component??e._loadedComponent??null,e,FM(i),l,kM(e)),consumedSegments:[],remainingSegments:[]})}else s=DM(i,e,r,t).pipe(U(({matched:a,consumedSegments:l,remainingSegments:c,parameters:d})=>{if(!a)return null;const u=OM(i)+l.length;return{snapshot:new Tc(l,d,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,PM(e),Zt(e),e.component??e._loadedComponent??null,e,FM(i),u,kM(e)),consumedSegments:l,remainingSegments:c}}));return s.pipe(Sn(a=>{if(null===a)return k(null);const{snapshot:l,consumedSegments:c,remainingSegments:d}=a;t=e._injector??t;const u=e._loadedInjector??t,f=function DH(n){return n.children?n.children:n.loadChildren?n._loadedRoutes:[]}(e),{segmentGroup:h,slicedSegments:p}=Pc(i,c,d,f.filter(g=>void 0===g.redirectTo));if(0===p.length&&h.hasChildren())return this.processChildren(u,f,h).pipe(U(g=>null===g?null:[new ti(l,g)]));if(0===f.length&&0===p.length)return k([new ti(l,[])]);const m=Zt(e)===o;return this.processSegment(u,f,h,p,m?Y:o).pipe(U(g=>null===g?null:[new ti(l,g)]))}))}}function EH(n){const t=n.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function RM(n){const t=[],e=new Set;for(const i of n){if(!EH(i)){t.push(i);continue}const r=t.find(o=>i.value.routeConfig===o.value.routeConfig);void 0!==r?(r.children.push(...i.children),e.add(r)):t.push(i)}for(const i of e){const r=RM(i.children);t.push(new ti(i.value,r))}return t.filter(i=>!e.has(i))}function FM(n){let t=n;for(;t._sourceSegment;)t=t._sourceSegment;return t}function OM(n){let t=n,e=t._segmentIndexShift??0;for(;t._sourceSegment;)t=t._sourceSegment,e+=t._segmentIndexShift??0;return e-1}function PM(n){return n.data||{}}function kM(n){return n.resolve||{}}function NM(n){return"string"==typeof n.title||null===n.title}function zp(n){return Sn(t=>{const e=n(t);return e?je(e).pipe(U(()=>t)):k(t)})}const _o=new E("ROUTES");let Gp=(()=>{class n{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=z(e0)}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return k(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const i=Ci(e.loadComponent()).pipe(U(VM),Ke(o=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=o}),uc(()=>{this.componentLoaders.delete(e)})),r=new Hw(i,()=>new Re).pipe(xp());return this.componentLoaders.set(e,r),r}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return k({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const o=this.loadModuleFactoryOrRoutes(i.loadChildren).pipe(U(a=>{this.onLoadEndListener&&this.onLoadEndListener(i);let l,c,d=!1;Array.isArray(a)?c=a:(l=a.create(e).injector,c=Ww(l.get(_o,[],B.Self|B.Optional)));return{routes:c.map(jp),injector:l}}),uc(()=>{this.childrenLoaders.delete(i)})),s=new Hw(o,()=>new Re).pipe(xp());return this.childrenLoaders.set(i,s),s}loadModuleFactoryOrRoutes(e){return Ci(e()).pipe(U(VM),Qe(i=>i instanceof hb||Array.isArray(i)?k(i):je(this.compiler.compileModuleAsync(i))))}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=I({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function VM(n){return function PH(n){return n&&"object"==typeof n&&"default"in n}(n)?n.default:n}let Bc=(()=>{class n{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new Re,this.configLoader=z(Gp),this.environmentInjector=z(yn),this.urlSerializer=z(Ls),this.rootContexts=z($s),this.navigationId=0,this.afterPreactivation=()=>k(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=r=>this.events.next(new Cj(r)),this.configLoader.onLoadStartListener=r=>this.events.next(new bj(r))}complete(){this.transitions?.complete()}handleNavigationRequest(e){const i=++this.navigationId;this.transitions?.next({...this.transitions.value,...e,id:i})}setupNavigations(e){return this.transitions=new fn({id:0,targetPageId:0,currentUrlTree:e.currentUrlTree,currentRawUrl:e.currentUrlTree,extractedUrl:e.urlHandlingStrategy.extract(e.currentUrlTree),urlAfterRedirects:e.urlHandlingStrategy.extract(e.currentUrlTree),rawUrl:e.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Hs,restoredState:null,currentSnapshot:e.routerState.snapshot,targetSnapshot:null,currentRouterState:e.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Yt(i=>0!==i.id),U(i=>({...i,extractedUrl:e.urlHandlingStrategy.extract(i.rawUrl)})),Sn(i=>{let r=!1,o=!1;return k(i).pipe(Ke(s=>{this.currentNavigation={id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,trigger:s.source,extras:s.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),Sn(s=>{const a=e.browserUrlTree.toString(),l=!e.navigated||s.extractedUrl.toString()!==a||a!==e.currentUrlTree.toString();if(!l&&"reload"!==(s.extras.onSameUrlNavigation??e.onSameUrlNavigation)){const d="";return this.events.next(new Ic(s.id,e.serializeUrl(i.rawUrl),d,0)),e.rawUrlTree=s.rawUrl,s.resolve(null),hn}if(e.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return BM(s.source)&&(e.browserUrlTree=s.extractedUrl),k(s).pipe(Sn(d=>{const u=this.transitions?.getValue();return this.events.next(new Ap(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),u!==this.transitions?.getValue()?hn:Promise.resolve(d)}),function yH(n,t,e,i){return Sn(r=>function _H(n,t,e,i,r){return new vH(n,t,e,i,r).apply()}(n,t,e,r.extractedUrl,i).pipe(U(o=>({...r,urlAfterRedirects:o}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,e.config),Ke(d=>{this.currentNavigation={...this.currentNavigation,finalUrl:d.urlAfterRedirects},i.urlAfterRedirects=d.urlAfterRedirects}),function IH(n,t,e,i,r){return Qe(o=>function xH(n,t,e,i,r,o,s="emptyOnly"){return new wH(n,t,e,i,r,s,o).recognize().pipe(Sn(a=>null===a?function CH(n){return new ve(t=>t.error(n))}(new bH):k(a)))}(n,t,e,o.urlAfterRedirects,i.serialize(o.urlAfterRedirects),i,r).pipe(U(s=>({...o,targetSnapshot:s}))))}(this.environmentInjector,this.rootComponentType,e.config,this.urlSerializer,e.paramsInheritanceStrategy),Ke(d=>{if(i.targetSnapshot=d.targetSnapshot,"eager"===e.urlUpdateStrategy){if(!d.extras.skipLocationChange){const f=e.urlHandlingStrategy.merge(d.urlAfterRedirects,d.rawUrl);e.setBrowserUrl(f,d)}e.browserUrlTree=d.urlAfterRedirects}const u=new mj(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}));if(l&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){const{id:d,extractedUrl:u,source:f,restoredState:h,extras:p}=s,m=new Ap(d,this.urlSerializer.serialize(u),f,h);this.events.next(m);const g=hM(u,this.rootComponentType).snapshot;return k(i={...s,targetSnapshot:g,urlAfterRedirects:u,extras:{...p,skipLocationChange:!1,replaceUrl:!1}})}{const d="";return this.events.next(new Ic(s.id,e.serializeUrl(i.extractedUrl),d,1)),e.rawUrlTree=s.rawUrl,s.resolve(null),hn}}),Ke(s=>{const a=new gj(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),U(s=>i={...s,guards:zj(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),function tH(n,t){return Qe(e=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return 0===s.length&&0===o.length?k({...e,guardsResult:!0}):function nH(n,t,e,i){return je(n).pipe(Qe(r=>function lH(n,t,e,i,r){const o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return o&&0!==o.length?k(o.map(a=>{const l=zs(t)??r,c=mo(a,l);return Ci(function Qj(n){return n&&qs(n.canDeactivate)}(c)?c.canDeactivate(n,t,e,i):l.runInContext(()=>c(n,t,e,i))).pipe(bi())})).pipe(go()):k(!0)}(r.component,r.route,e,t,i)),bi(r=>!0!==r,!0))}(s,i,r,n).pipe(Qe(a=>a&&function Yj(n){return"boolean"==typeof n}(a)?function iH(n,t,e,i){return je(t).pipe(gi(r=>oc(function oH(n,t){return null!==n&&t&&t(new xj(n)),k(!0)}(r.route.parent,i),function rH(n,t){return null!==n&&t&&t(new Mj(n)),k(!0)}(r.route,i),function aH(n,t,e){const i=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(s=>function Gj(n){const t=n.routeConfig?n.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:n,guards:t}:null}(s)).filter(s=>null!==s).map(s=>jw(()=>k(s.guards.map(l=>{const c=zs(s.node)??e,d=mo(l,c);return Ci(function Xj(n){return n&&qs(n.canActivateChild)}(d)?d.canActivateChild(i,n):c.runInContext(()=>d(i,n))).pipe(bi())})).pipe(go())));return k(o).pipe(go())}(n,r.path,e),function sH(n,t,e){const i=t.routeConfig?t.routeConfig.canActivate:null;if(!i||0===i.length)return k(!0);const r=i.map(o=>jw(()=>{const s=zs(t)??e,a=mo(o,s);return Ci(function Kj(n){return n&&qs(n.canActivate)}(a)?a.canActivate(t,n):s.runInContext(()=>a(t,n))).pipe(bi())}));return k(r).pipe(go())}(n,r.route,e))),bi(r=>!0!==r,!0))}(i,o,n,t):k(a)),U(a=>({...e,guardsResult:a})))})}(this.environmentInjector,s=>this.events.next(s)),Ke(s=>{if(i.guardsResult=s.guardsResult,nr(s.guardsResult))throw _M(0,s.guardsResult);const a=new _j(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.events.next(a)}),Yt(s=>!!s.guardsResult||(e.restoreHistory(s),this.cancelNavigationTransition(s,"",3),!1)),zp(s=>{if(s.guards.canActivateChecks.length)return k(s).pipe(Ke(a=>{const l=new vj(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}),Sn(a=>{let l=!1;return k(a).pipe(function TH(n,t){return Qe(e=>{const{targetSnapshot:i,guards:{canActivateChecks:r}}=e;if(!r.length)return k(e);let o=0;return je(r).pipe(gi(s=>function AH(n,t,e,i){const r=n.routeConfig,o=n._resolve;return void 0!==r?.title&&!NM(r)&&(o[ks]=r.title),function RH(n,t,e,i){const r=function FH(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}(n);if(0===r.length)return k({});const o={};return je(r).pipe(Qe(s=>function OH(n,t,e,i){const r=zs(t)??i,o=mo(n,r);return Ci(o.resolve?o.resolve(t,e):r.runInContext(()=>o(t,e)))}(n[s],t,e,i).pipe(bi(),Ke(a=>{o[s]=a}))),wp(1),function $B(n){return U(()=>n)}(o),ei(s=>Hp(s)?hn:lo(s)))}(o,n,t,i).pipe(U(s=>(n._resolvedData=s,n.data=pM(n,e).resolve,r&&NM(r)&&(n.data[ks]=r.title),null)))}(s.route,i,n,t)),Ke(()=>o++),wp(1),Qe(s=>o===r.length?k(e):hn))})}(e.paramsInheritanceStrategy,this.environmentInjector),Ke({next:()=>l=!0,complete:()=>{l||(e.restoreHistory(a),this.cancelNavigationTransition(a,"",2))}}))}),Ke(a=>{const l=new yj(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}))}),zp(s=>{const a=l=>{const c=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&c.push(this.configLoader.loadComponent(l.routeConfig).pipe(Ke(d=>{l.component=d}),U(()=>{})));for(const d of l.children)c.push(...a(d));return c};return ip(a(s.targetSnapshot.root)).pipe(yc(),yi(1))}),zp(()=>this.afterPreactivation()),U(s=>{const a=function Oj(n,t,e){const i=Us(n,t._root,e?e._root:void 0);return new fM(i,t)}(e.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return i={...s,targetRouterState:a}}),Ke(s=>{e.currentUrlTree=s.urlAfterRedirects,e.rawUrlTree=e.urlHandlingStrategy.merge(s.urlAfterRedirects,s.rawUrl),e.routerState=s.targetRouterState,"deferred"===e.urlUpdateStrategy&&(s.extras.skipLocationChange||e.setBrowserUrl(e.rawUrlTree,s),e.browserUrlTree=s.urlAfterRedirects)}),((n,t,e)=>U(i=>(new $j(t,i.targetRouterState,i.currentRouterState,e).activate(n),i)))(this.rootContexts,e.routeReuseStrategy,s=>this.events.next(s)),yi(1),Ke({next:s=>{r=!0,this.lastSuccessfulNavigation=this.currentNavigation,e.navigated=!0,this.events.next(new ir(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(e.currentUrlTree))),e.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0)},complete:()=>{r=!0}}),uc(()=>{r||o||this.cancelNavigationTransition(i,"",1),this.currentNavigation?.id===i.id&&(this.currentNavigation=null)}),ei(s=>{if(o=!0,bM(s)){yM(s)||(e.navigated=!0,e.restoreHistory(i,!0));const a=new Sc(i.id,this.urlSerializer.serialize(i.extractedUrl),s.message,s.cancellationCode);if(this.events.next(a),yM(s)){const l=e.urlHandlingStrategy.merge(s.url,e.rawUrlTree),c={skipLocationChange:i.extras.skipLocationChange,replaceUrl:"eager"===e.urlUpdateStrategy||BM(i.source)};e.scheduleNavigation(l,Hs,null,c,{resolve:i.resolve,reject:i.reject,promise:i.promise})}else i.resolve(!1)}else{e.restoreHistory(i,!0);const a=new Rp(i.id,this.urlSerializer.serialize(i.extractedUrl),s,i.targetSnapshot??void 0);this.events.next(a);try{i.resolve(e.errorHandler(s))}catch(l){i.reject(l)}}return hn}))}))}cancelNavigationTransition(e,i,r){const o=new Sc(e.id,this.urlSerializer.serialize(e.extractedUrl),i,r);this.events.next(o),e.resolve(!1)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=I({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function BM(n){return n!==Hs}let jM=(()=>{class n{buildTitle(e){let i,r=e.root;for(;void 0!==r;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(o=>o.outlet===Y);return i}getResolvedTitleForRoute(e){return e.data[ks]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=I({token:n,factory:function(){return z(kH)},providedIn:"root"}),n})(),kH=(()=>{class n extends jM{constructor(e){super(),this.title=e}updateTitle(e){const i=this.buildTitle(e);void 0!==i&&this.title.setTitle(i)}}return n.\u0275fac=function(e){return new(e||n)(w(CC))},n.\u0275prov=I({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),NH=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=I({token:n,factory:function(){return z(VH)},providedIn:"root"}),n})();class LH{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}let VH=(()=>{class n extends LH{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=rt(n)))(i||n)}}(),n.\u0275prov=I({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const jc=new E("",{providedIn:"root",factory:()=>({})});let jH=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=I({token:n,factory:function(){return z(HH)},providedIn:"root"}),n})(),HH=(()=>{class n{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=I({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function UH(n){throw n}function $H(n,t,e){return t.parse("/")}const zH={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},GH={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Xe=(()=>{class n{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){if("computed"===this.canceledNavigationResolution)return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=z(gO),this.isNgZoneEnabled=!1,this.options=z(jc,{optional:!0})||{},this.errorHandler=this.options.errorHandler||UH,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||$H,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=z(jH),this.routeReuseStrategy=z(NH),this.urlCreationStrategy=z(Aj),this.titleStrategy=z(jM),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=Ww(z(_o,{optional:!0})??[]),this.navigationTransitions=z(Bc),this.urlSerializer=z(Ls),this.location=z(Ml),this.isNgZoneEnabled=z(se)instanceof se&&se.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new xi,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=hM(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this).subscribe(e=>{this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId??0},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const e=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Hs,e)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const i="popstate"===e.type?"popstate":"hashchange";"popstate"===i&&setTimeout(()=>{this.navigateToSyncWithBrowser(e.url,i,e.state)},0)}))}navigateToSyncWithBrowser(e,i,r){const o={replaceUrl:!0},s=r?.navigationId?r:null;if(r){const l={...r};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(o.state=l)}const a=this.parseUrl(e);this.scheduleNavigation(a,i,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(e){this.config=e.map(jp),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,i={}){const{relativeTo:r,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=i,c=l?this.currentUrlTree.fragment:s;let d=null;switch(a){case"merge":d={...this.currentUrlTree.queryParams,...o};break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}return null!==d&&(d=this.removeEmptyProps(d)),this.urlCreationStrategy.createUrlTree(r,this.routerState,this.currentUrlTree,e,d,c??null)}navigateByUrl(e,i={skipLocationChange:!1}){const r=nr(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,Hs,null,i)}navigate(e,i={skipLocationChange:!1}){return function WH(n){for(let t=0;t{const o=e[r];return null!=o&&(i[r]=o),i},{})}scheduleNavigation(e,i,r,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c,d;return s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((u,f)=>{a=u,l=f}),d="computed"===this.canceledNavigationResolution?r&&r.\u0275routerPageId?r.\u0275routerPageId:(this.browserPageId??0)+1:0,this.navigationTransitions.handleNavigationRequest({targetPageId:d,source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(u=>Promise.reject(u))}setBrowserUrl(e,i){const r=this.urlSerializer.serialize(e);if(this.location.isCurrentPathEqualTo(r)||i.extras.replaceUrl){const s={...i.extras.state,...this.generateNgRouterState(i.id,this.browserPageId)};this.location.replaceState(r,"",s)}else{const o={...i.extras.state,...this.generateNgRouterState(i.id,i.targetPageId)};this.location.go(r,"",o)}}restoreHistory(e,i=!1){if("computed"===this.canceledNavigationResolution){const o=this.currentPageId-(this.browserPageId??this.currentPageId);0!==o?this.location.historyGo(o):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===o&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(i&&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))}generateNgRouterState(e,i){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=I({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),vo=(()=>{class n{constructor(e,i,r,o,s,a){this.router=e,this.route=i,this.tabIndexAttribute=r,this.renderer=o,this.el=s,this.locationStrategy=a,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new Re;const l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===l||"area"===l,this.isAnchorElement?this.subscription=e.events.subscribe(c=>{c instanceof ir&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(e){this._preserveFragment=to(e)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(e){this._skipLocationChange=to(e)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(e){this._replaceUrl=to(e)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(e){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),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(e,i,r,o,s){return!!(null===this.urlTree||this.isAnchorElement&&(0!==e||i||r||o||s||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const e=null===this.href?null:function $_(n,t,e){return function gT(n,t){return"src"===t&&("embed"===n||"frame"===n||"iframe"===n||"media"===n||"script"===n)||"href"===t&&("base"===n||"link"===n)?U_:Ua}(t,e)(n)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",e)}applyAttributeValue(e,i){const r=this.renderer,o=this.el.nativeElement;null!==i?r.setAttribute(o,e,i):r.removeAttribute(o,e)}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:this.preserveFragment})}}return n.\u0275fac=function(e){return new(e||n)(y(Xe),y(rr),function Ta(n){return function LS(n,t){if("class"===t)return n.classes;if("style"===t)return n.styles;const e=n.attrs;if(e){const i=e.length;let r=0;for(;r{class n{constructor(e,i,r,o,s){this.router=e,this.injector=r,this.preloadingStrategy=o,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(Yt(e=>e instanceof ir),gi(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){const r=[];for(const o of i){o.providers&&!o._injector&&(o._injector=dl(o.providers,e,`Route: ${o.path}`));const s=o._injector??e,a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&void 0===o.canLoad||o.loadComponent&&!o._loadedComponent)&&r.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&r.push(this.processRoutes(a,o.children??o._loadedRoutes))}return je(r).pipe(fr())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let r;r=i.loadChildren&&void 0===i.canLoad?this.loader.loadChildren(e,i):k(null);const o=r.pipe(Qe(s=>null===s?k(void 0):(i._loadedRoutes=s.routes,i._loadedInjector=s.injector,this.processRoutes(s.injector??e,s.routes))));return i.loadComponent&&!i._loadedComponent?je([o,this.loader.loadComponent(i)]).pipe(fr()):o})}}return n.\u0275fac=function(e){return new(e||n)(w(Xe),w(e0),w(yn),w(HM),w(Gp))},n.\u0275prov=I({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const qp=new E("");let UM=(()=>{class n{constructor(e,i,r,o,s={}){this.urlSerializer=e,this.transitions=i,this.viewportScroller=r,this.zone=o,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=s.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Ap?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof ir&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof dM&&(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,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new dM(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return n.\u0275fac=function(e){!function yv(){throw new Error("invalid")}()},n.\u0275prov=I({token:n,factory:n.\u0275fac}),n})();var kt=(()=>((kt=kt||{})[kt.COMPLETE=0]="COMPLETE",kt[kt.FAILED=1]="FAILED",kt[kt.REDIRECTING=2]="REDIRECTING",kt))();const yo=!1;function wi(n,t){return{\u0275kind:n,\u0275providers:t}}const Yp=new E("",{providedIn:"root",factory:()=>!1});function zM(){const n=z(Ot);return t=>{const e=n.get(eo);if(t!==e.components[0])return;const i=n.get(Xe),r=n.get(GM);1===n.get(Zp)&&i.initialNavigation(),n.get(WM,null,B.Optional)?.setUpPreloading(),n.get(qp,null,B.Optional)?.init(),i.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}const GM=new E(yo?"bootstrap done indicator":"",{factory:()=>new Re}),Zp=new E(yo?"initial navigation":"",{providedIn:"root",factory:()=>1});function eU(){let n=[];return n=yo?[{provide:$a,multi:!0,useFactory:()=>{const t=z(Xe);return()=>t.events.subscribe(e=>{console.group?.(`Router Event: ${e.constructor.name}`),console.log(function Ej(n){if(!("type"in n))return`Unknown Router Event: ${n.constructor.name}`;switch(n.type){case 14:return`ActivationEnd(path: '${n.snapshot.routeConfig?.path||""}')`;case 13:return`ActivationStart(path: '${n.snapshot.routeConfig?.path||""}')`;case 12:return`ChildActivationEnd(path: '${n.snapshot.routeConfig?.path||""}')`;case 11:return`ChildActivationStart(path: '${n.snapshot.routeConfig?.path||""}')`;case 8:return`GuardsCheckEnd(id: ${n.id}, url: '${n.url}', urlAfterRedirects: '${n.urlAfterRedirects}', state: ${n.state}, shouldActivate: ${n.shouldActivate})`;case 7:return`GuardsCheckStart(id: ${n.id}, url: '${n.url}', urlAfterRedirects: '${n.urlAfterRedirects}', state: ${n.state})`;case 2:return`NavigationCancel(id: ${n.id}, url: '${n.url}')`;case 16:return`NavigationSkipped(id: ${n.id}, url: '${n.url}')`;case 1:return`NavigationEnd(id: ${n.id}, url: '${n.url}', urlAfterRedirects: '${n.urlAfterRedirects}')`;case 3:return`NavigationError(id: ${n.id}, url: '${n.url}', error: ${n.error})`;case 0:return`NavigationStart(id: ${n.id}, url: '${n.url}')`;case 6:return`ResolveEnd(id: ${n.id}, url: '${n.url}', urlAfterRedirects: '${n.urlAfterRedirects}', state: ${n.state})`;case 5:return`ResolveStart(id: ${n.id}, url: '${n.url}', urlAfterRedirects: '${n.urlAfterRedirects}', state: ${n.state})`;case 10:return`RouteConfigLoadEnd(path: ${n.route.path})`;case 9:return`RouteConfigLoadStart(path: ${n.route.path})`;case 4:return`RoutesRecognized(id: ${n.id}, url: '${n.url}', urlAfterRedirects: '${n.urlAfterRedirects}', state: ${n.state})`;case 15:return`Scroll(anchor: '${n.anchor}', position: '${n.position?`${n.position[0]}, ${n.position[1]}`:null}')`}}(e)),console.log(e),console.groupEnd?.()})}}]:[],wi(1,n)}const WM=new E(yo?"router preloader":"");function tU(n){return wi(0,[{provide:WM,useExisting:ZH},{provide:HM,useExisting:n}])}const Zs=!1,qM=new E(Zs?"router duplicate forRoot guard":"ROUTER_FORROOT_GUARD"),nU=[Ml,{provide:Ls,useClass:Mp},Xe,$s,{provide:rr,useFactory:function $M(n){return n.routerState.root},deps:[Xe]},Gp,Zs?{provide:Yp,useValue:!0}:[]];function iU(){return new c0("Router",Xe)}let Hc=(()=>{class n{constructor(e){}static forRoot(e,i){return{ngModule:n,providers:[nU,Zs&&i?.enableTracing?eU().\u0275providers:[],{provide:_o,multi:!0,useValue:e},{provide:qM,useFactory:aU,deps:[[Xe,new Hn,new Ir]]},{provide:jc,useValue:i||{}},i?.useHash?{provide:Wi,useClass:iP}:{provide:Wi,useClass:F0},{provide:qp,useFactory:()=>{const n=z(Ck),t=z(se),e=z(jc),i=z(Bc),r=z(Ls);return e.scrollOffset&&n.setOffset(e.scrollOffset),new UM(r,i,n,t,e)}},i?.preloadingStrategy?tU(i.preloadingStrategy).\u0275providers:[],{provide:c0,multi:!0,useFactory:iU},i?.initialNavigation?lU(i):[],[{provide:YM,useFactory:zM},{provide:l0,multi:!0,useExisting:YM}]]}}static forChild(e){return{ngModule:n,providers:[{provide:_o,multi:!0,useValue:e}]}}}return n.\u0275fac=function(e){return new(e||n)(w(qM,8))},n.\u0275mod=le({type:n}),n.\u0275inj=oe({imports:[Vp]}),n})();function aU(n){if(Zs&&n)throw new C(4007,"The Router was provided more than once. This can happen if 'forRoot' is used outside of the root injector. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function lU(n){return["disabled"===n.initialNavigation?wi(3,[{provide:gl,multi:!0,useFactory:()=>{const t=z(Xe);return()=>{t.setUpLocationChangeListener()}}},{provide:Zp,useValue:2}]).\u0275providers:[],"enabledBlocking"===n.initialNavigation?wi(2,[{provide:Zp,useValue:0},{provide:gl,multi:!0,deps:[Ot],useFactory:t=>{const e=t.get(tP,Promise.resolve());return()=>e.then(()=>new Promise(i=>{const r=t.get(Xe),o=t.get(GM);(function KH(n,t){n.events.pipe(Yt(e=>e instanceof ir||e instanceof Sc||e instanceof Rp||e instanceof Ic),U(e=>e instanceof ir||e instanceof Ic?kt.COMPLETE:e instanceof Sc&&(0===e.code||1===e.code)?kt.REDIRECTING:kt.FAILED),Yt(e=>e!==kt.REDIRECTING),yi(1)).subscribe(()=>{t()})})(r,()=>{i(!0)}),t.get(Bc).afterPreactivation=()=>(i(!0),o.closed?k(void 0):o),r.initialNavigation()}))}}]).\u0275providers:[]]}const YM=new E(Zs?"Router Initializer":"");class or{constructor(t,e,i,r,o,s){this.id=0,this.nome="",this.pasta="",this.preco=0,this.desconto=0,this.foto="",this.id=t,this.nome=e,this.pasta=i,this.preco=r,this.desconto=o,this.foto=s}}let Uc=(()=>{class n{constructor(e){this._httpClient=e,this.url="http://localhost:3000/produtos"}getProduto(e){return this._httpClient.get(`${this.url}?id=${e}`)}getProdutos(){return this._httpClient.get(this.url)}cadastrarProduto(e){return this._httpClient.post(this.url,e)}atualizarProduto(e,i){return this._httpClient.put(`${this.url}/${e}`,i)}removerProduto(e){return this._httpClient.delete(`${this.url}/${e}`)}static#e=this.\u0275fac=function(i){return new(i||n)(w(nc))};static#t=this.\u0275prov=I({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function dU(n,t){if(1&n&&(v(0,"mat-grid-tile")(1,"mat-card",25),$(2,"img",26),v(3,"mat-card-title",27),S(4),x(),v(5,"mat-card-actions")(6,"span",28),S(7),x(),v(8,"button",29),S(9),bf(10,"currency"),x(),v(11,"span",30)(12,"a",31),$(13,"img",32),x()()()()()),2&n){const e=t.$implicit;ge(2),il("src","assets/img/games/",e.pasta,"/",e.foto,"",Ua),Qo("title",e.nome),Qo("alt",e.nome),ge(1),Qo("title",e.nome),ge(1),$i(e.nome),ge(3),Yr("-",e.desconto,"%"),ge(2),Yr(" ",Cf(10,8,e.preco,"BRL"),"")}}let uU=(()=>{class n{constructor(e){this._produtoService=e,this.produtos=[]}ngOnInit(){this.listarProdutos()}listarProdutos(){this._produtoService.getProdutos().subscribe(e=>{this.produtos=e.map(i=>new or(i.id,i.nome,i.pasta,i.preco,i.desconto,i.foto))})}static#e=this.\u0275fac=function(i){return new(i||n)(y(Uc))};static#t=this.\u0275cmp=Je({type:n,selectors:[["app-inicio"]],decls:45,vars:1,consts:[["id","section-banner",1,"container","grid-container"],["id","carouselExampleAutoplaying-1","data-bs-ride","carousel",1,"carousel","slide"],[1,"carousel-inner"],[1,"carousel-item","active"],["src","assets/img/banners/dying-light.jpg","alt","Banner Dying Light",1,"d-block","w-100"],[1,"carousel-item"],["src","assets/img/banners/manor-lords.jpg","alt","Banner Manor Lords",1,"d-block","w-100"],["src","assets/img/banners/mortal-kombat-11.jpg","alt","Banner Mortal Kombat 11",1,"d-block","w-100"],["type","button","data-bs-target","#carouselExampleAutoplaying-1","data-bs-slide","prev",1,"carousel-control-prev"],["aria-hidden","true",1,"carousel-control-prev-icon"],[1,"visually-hidden"],["type","button","data-bs-target","#carouselExampleAutoplaying-1","data-bs-slide","next",1,"carousel-control-next"],["aria-hidden","true",1,"carousel-control-next-icon"],["cols","5",1,"grid-container"],[1,"products-dock-header"],[1,"products-dock-title"],["href","/vermais.html",1,"btn__primary","btn__small"],[1,"products-dock-subtitle"],[4,"ngFor","ngForOf"],["id","carouselExampleAutoplaying-2","data-bs-ride","carousel",1,"carousel","slide"],["src","assets/img/banners/hotline-miami.jpg","alt","Banner Dying Light",1,"d-block","w-100"],["src","assets/img/banners/manager-24.jpg","alt","Banner Manor Lords",1,"d-block","w-100"],["src","assets/img/banners/mullet-mad-jack.jpg","alt","Banner Mortal Kombat 11",1,"d-block","w-100"],["type","button","data-bs-target","#carouselExampleAutoplaying-2","data-bs-slide","prev",1,"carousel-control-prev"],["type","button","data-bs-target","#carouselExampleAutoplaying-2","data-bs-slide","next",1,"carousel-control-next"],["appearance","outlined",1,"game-card"],["mat-card-image","",3,"src","title","alt"],[1,"single-line-name",3,"title"],["title","Desconto",1,"desconto"],["title","Comprar",1,"product-button"],[1,"add-favoritos"],["href",""],["src","assets/img/icones/icone-favoritos.png","title","Favoritos","alt","icone-favoritos"]],template:function(i,r){1&i&&(v(0,"main")(1,"section",0)(2,"div",1)(3,"div",2)(4,"div",3),$(5,"img",4),x(),v(6,"div",5),$(7,"img",6),x(),v(8,"div",5),$(9,"img",7),x()(),v(10,"button",8),$(11,"span",9),v(12,"span",10),S(13,"Previous"),x()(),v(14,"button",11),$(15,"span",12),v(16,"span",10),S(17,"Next"),x()()()(),v(18,"mat-grid-list",13)(19,"header",14)(20,"div")(21,"h2",15),S(22,"Ofertas Especiais"),x(),v(23,"a",16),S(24,"Ver mais"),x()(),v(25,"h3",17),S(26,"Aproveite os nossos descontos!"),x()(),Ko(27,dU,14,11,"mat-grid-tile",18),x(),v(28,"section",0)(29,"div",19)(30,"div",2)(31,"div",3),$(32,"img",20),x(),v(33,"div",5),$(34,"img",21),x(),v(35,"div",5),$(36,"img",22),x()(),v(37,"button",23),$(38,"span",9),v(39,"span",10),S(40,"Previous"),x()(),v(41,"button",24),$(42,"span",12),v(43,"span",10),S(44,"Next"),x()()()()()),2&i&&(ge(27),qe("ngForOf",r.produtos))},dependencies:[ch,cw,uw,fw,dw,EV,yw,hh],styles:["main[_ngcontent-%COMP%]{background-color:#21224e;font-family:Arial,sans-serif;padding:60px}.grid-container[_ngcontent-%COMP%]{max-width:1100px;margin-left:auto;margin-right:auto}.products-dock-header[_ngcontent-%COMP%]{background-color:#21224e;display:flex;flex-direction:column;align-items:flex-start;margin-left:10px;margin-right:10px;width:100%}.products-dock-header[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between;align-items:center}.products-dock-title[_ngcontent-%COMP%]{font-size:1.5rem;font-weight:700;color:#fff}.products-dock-subtitle[_ngcontent-%COMP%]{font-size:1.1rem;color:#fff;margin-top:5px}.btn__primary[_ngcontent-%COMP%]{background-color:#28a745;color:#fff;border:none;padding:5px 10px;cursor:pointer;text-decoration:none;border-radius:5px;font-size:1rem;margin-right:20px}.btn__primary[_ngcontent-%COMP%]:hover{background-color:#0056b3;transform:scale(1.05)}.game-card[_ngcontent-%COMP%]{max-width:200px;color:#fff;background-color:#1e1e1e}mat-card[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:auto;width:auto}mat-grid-list[_ngcontent-%COMP%]{margin:5px 0}mat-grid-title[_ngcontent-%COMP%]{padding:3px;border-radius:30px}matt-card-header[_ngcontent-%COMP%]{display:flex;align-items:flex-start}.single-line-name[_ngcontent-%COMP%]{margin-top:5px;margin-left:5px;margin-right:5px;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:1rem;color:#fff;max-width:100%;display:block;box-sizing:border-box}mat-card-actions[_ngcontent-%COMP%]{display:flex;justify-content:space-between}mat-card-actions[_ngcontent-%COMP%] .desconto[_ngcontent-%COMP%]{display:flex;align-items:center;background-color:red;color:#fff;padding:.2rem .4rem;border-radius:5px;font-size:.875rem;font-weight:700}.product-button[_ngcontent-%COMP%]{background-color:#28a745!important;color:#fff!important;border:none!important;padding:.3rem .6rem!important;border-radius:5px!important;cursor:pointer!important;font-weight:700!important;transition:background-color .3s ease!important}.product-button[_ngcontent-%COMP%]:hover{background-color:#0056b3!important}.add-favoritos[_ngcontent-%COMP%] a[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:30px;height:30px;cursor:pointer}.add-favoritos[_ngcontent-%COMP%] a[_ngcontent-%COMP%] img[_ngcontent-%COMP%]:hover{filter:brightness(.8)}.add-favoritos[_ngcontent-%COMP%] a[_ngcontent-%COMP%] img[_ngcontent-%COMP%]:hover{transform:scale(1.1)}#section-banner[_ngcontent-%COMP%]{margin-bottom:110px}"]})}return n})(),$c=(()=>{class n{constructor(){this.mostraMenu=new Re}login(e,i){"admin"==e&&"admin"==i?(localStorage.setItem("token","qwer1234"),this.mostraMenu.next(!1)):(this.mostraMenu.next(!0),window.location.reload())}setMostraMenu(e){this.mostraMenu.next(e)}getMostraMenu(){return this.mostraMenu.asObservable()}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=I({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),fU=(()=>{class n{constructor(e,i){this._loginService=e,this._router=i}fazerLogin(){this._loginService.login(this.usuario,this.senha),this._router.navigate(["/restrito/lista"]),this._loginService.setMostraMenu(!1)}static#e=this.\u0275fac=function(i){return new(i||n)(y($c),y(Xe))};static#t=this.\u0275cmp=Je({type:n,selectors:[["app-login"]],decls:28,vars:2,consts:[[1,"container","d-flex","justify-content-center","align-items-center","custom-margin"],[1,"card","p-4"],[1,"card-body"],[1,"card-title","text-center","mb-4"],["name","flogin","id","loginForm"],[1,"mb-3"],["for","email",1,"form-label"],["src","assets/img/icones/icone-usuario.png","alt","icone-usuario",1,"form-icon"],["type","text","id","usuario","name","usuario","placeholder","Insira seu e-mail","required","",1,"form-control",3,"ngModel","ngModelChange"],["for","password",1,"form-label"],["src","assets/img/icones/icone-cadeado.png","alt","icone-cadeado",1,"form-icon"],["type","password","id","senha","name","senha","placeholder","Insira sua senha","required","",1,"form-control",3,"ngModel","ngModelChange"],[1,"d-grid","gap-2"],["type","submit",1,"btn","btn-custom",3,"click"],["src","assets/img/icones/icone-entrar.png","alt","icone-entrar"],[1,"mt-3","text-center"],["href","/recuperar-senha.html",1,"custom-link"],[1,"text-center"],["href","/cadastro.html",1,"custom-link"]],template:function(i,r){1&i&&(v(0,"main")(1,"div",0)(2,"div",1)(3,"div",2)(4,"h3",3),S(5,"Login"),x(),v(6,"form",4)(7,"div",5)(8,"label",6),$(9,"img",7),S(10," Usu\xe1rio "),x(),v(11,"input",8),_e("ngModelChange",function(s){return r.usuario=s}),x()(),v(12,"div",5)(13,"label",9),$(14,"img",10),S(15," Senha "),x(),v(16,"input",11),_e("ngModelChange",function(s){return r.senha=s}),x()(),v(17,"div",12)(18,"button",13),_e("click",function(){return r.fazerLogin()}),S(19," Entrar "),$(20,"img",14),x()(),v(21,"p",15)(22,"a",16),S(23,"Esqueceu a senha?"),x()(),v(24,"p",17),S(25," N\xe3o tem uma conta? "),v(26,"a",18),S(27,"Cadastre-se"),x()()()()()()()),2&i&&(ge(11),qe("ngModel",r.usuario),ge(5),qe("ngModel",r.senha))},dependencies:[ws,no,$l,gs,Ql,xs,Zi],styles:["main[_ngcontent-%COMP%]{background-color:#21224e;color:#fff;font-family:Arial,sans-serif;padding:60px;box-sizing:border-box}.card[_ngcontent-%COMP%]{box-shadow:0 0 10px #0000001a;max-width:400px;width:100%;margin:0 1rem;padding:1rem}.card-title[_ngcontent-%COMP%]{font-weight:600;font-size:1.5rem}.btn-custom[_ngcontent-%COMP%]{background-color:#00a000!important;color:#fff!important;border:none;display:flex;align-items:center;justify-content:center;gap:5px}.btn-custom[_ngcontent-%COMP%] img.btn-icon[_ngcontent-%COMP%]{width:20px;height:20px}.btn-custom[_ngcontent-%COMP%]:hover{background-color:#007a00!important}.custom-link[_ngcontent-%COMP%]{color:#00a000!important}.custom-link[_ngcontent-%COMP%]:hover{color:#007a00!important;text-decoration:underline}.form-icon[_ngcontent-%COMP%]{width:30px;height:30px;margin-right:5px;vertical-align:middle}@media (max-width: 768px){.card[_ngcontent-%COMP%]{max-width:90%;padding:1rem;margin:0 1rem}}@media (max-width: 480px){.form-label[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:20px;height:20px}.card-title[_ngcontent-%COMP%]{font-size:1.2rem}.btn-custom[_ngcontent-%COMP%]{font-size:.9rem}}"]})}return n})(),ZM=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=Je({type:n,selectors:[["app-menu"]],decls:45,vars:0,consts:[[1,"container-header-1","grid-container"],["routerLink","inicio"],["src","assets/img/logo/logo-ng-store.png","alt","Logo",1,"logo"],[1,"search-bar"],[1,"d-flex"],["type","search","placeholder","Digite o que voc\xea procura...","aria-label","Pesquisar",1,"form-control","me-1"],["src","assets/img/icones/icone-pesquisa.png","alt","\xcdcone Pesquisa",1,"search-icon"],[1,"icons"],[1,"login-icon"],["routerLink","login"],["src","assets/img/icones/icone-login.png","alt","Entrar",1,"icone-login"],[1,"favorites-icon"],["routerLink","favoritos"],["src","assets/img/icones/icone-favoritos.png","alt","Favoritos",1,"icone-favoritos"],[1,"cart-icon"],["routerLink","carrinho"],["src","assets/img/icones/icone-carrinho.png","alt","Carrinho",1,"icone-carrinho"],[1,"container-header-2","grid-container"],[1,"navbar","navbar-expand-lg"],[1,"container-fluid"],["type","button","data-bs-toggle","collapse","data-bs-target","#navbarNav","aria-controls","navbarNav","aria-expanded","false","aria-label","Toggle navigation",1,"navbar-toggler"],["xmlns","http://www.w3.org/2000/svg","width","30","height","30","fill","currentColor","viewBox","0 0 16 16",1,"bi","bi-list"],["fill-rule","evenodd","d","M2.5 12a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5m0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5m0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5"],["id","navbarNav",1,"collapse","navbar-collapse"],[1,"navbar-nav"],[1,"nav-item"],["href","/dept.html",1,"nav-link"],["href","/categoria1.html",1,"nav-link"],["href","/categoria2.html",1,"nav-link"],["href","/categoria3.html",1,"nav-link"],["href","/categoria4.html",1,"nav-link"],["href","/categoria5.html",1,"nav-link"]],template:function(i,r){1&i&&(v(0,"header")(1,"div",0)(2,"span")(3,"a",1),$(4,"img",2),x()(),v(5,"div",3)(6,"form",4),$(7,"input",5)(8,"img",6),x()(),v(9,"div",7)(10,"div",8)(11,"a",9),$(12,"img",10),x()(),v(13,"div",11)(14,"a",12),$(15,"img",13),x()(),v(16,"div",14)(17,"a",15),$(18,"img",16),x()()()(),v(19,"div",17)(20,"nav",18)(21,"div",19)(22,"button",20),function Ag(){W.lFrame.currentNamespace=pg}(),v(23,"svg",21),$(24,"path",22),x()(),function Rg(){!function SS(){W.lFrame.currentNamespace=null}()}(),v(25,"div",23)(26,"ul",24)(27,"li",25)(28,"a",26),S(29,"DEPARTAMENTOS"),x()(),v(30,"li",25)(31,"a",27),S(32,"PROMO\xc7\xd5ES"),x()(),v(33,"li",25)(34,"a",28),S(35,"NOTEBOOKS"),x()(),v(36,"li",25)(37,"a",29),S(38,"PC GAMER"),x()(),v(39,"li",25)(40,"a",30),S(41,"JOGOS"),x()(),v(42,"li",25)(43,"a",31),S(44,"ATENDIMENTO"),x()()()()()()()())},dependencies:[vo,ws,gs,Zi],styles:[".example-spacer[_ngcontent-%COMP%]{flex:1 1 auto}header[_ngcontent-%COMP%]{background-color:#1e1e1e}.logo[_ngcontent-%COMP%]{width:100px;height:100px;margin:0 auto}.search-bar[_ngcontent-%COMP%]{flex-grow:1;margin:0 20px;position:relative}.search-bar[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{display:flex;align-items:center;width:100%}.search-bar[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{flex-grow:1;padding-right:40px}.search-icon[_ngcontent-%COMP%]{position:absolute;right:10px;top:50%;transform:translateY(-50%);cursor:pointer}.icons[_ngcontent-%COMP%]{display:flex;gap:10px}.icons[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:auto}.grid-container[_ngcontent-%COMP%]{max-width:1100px;margin-left:auto;margin-right:auto}.container-header-1[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap}.container-header-2[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;width:100%}.navbar-toggler[_ngcontent-%COMP%]{background:transparent;border:none;display:flex;cursor:pointer;outline:none;transition:none;align-items:center;justify-content:center}.navbar-toggler[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{width:30px;height:30px;color:#fff}.nav-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}.nav-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#00a000}.navbar-nav[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{margin-right:90px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.navbar-nav[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:nowrap}@media (max-width: 768px){.container-header-1[_ngcontent-%COMP%]{flex-direction:column;align-items:center;justify-content:center;width:100%}.header-site-logo[_ngcontent-%COMP%]{margin-bottom:10px}.search-bar[_ngcontent-%COMP%]{flex:1;max-width:100%;margin:0 10px 10px}.icons[_ngcontent-%COMP%]{flex:0 1 auto;display:flex;justify-content:center;margin-bottom:10px}.container-header-2[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;flex-wrap:nowrap;width:100%}.navbar-nav[_ngcontent-%COMP%]{flex-direction:column;align-items:center;justify-content:center}.navbar-nav[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{margin-right:0;margin-bottom:10px}.navbar-toggler-icon[_ngcontent-%COMP%]{width:30px;height:30px;background:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgc2Nyb2xsaW5nPSJjcm9zcyIgdmlld0JveD0iMCAwIDE2IDE2Ij4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yLjUgMTJhLjUuNSAwIDAgMSAuNS41IEgzYSAuNS41IDAgMCAxIC0uNS41IG0wLTRhLjUuNSA0IDAgMSAwLjc1LTIuNzYgbS0uNS0uNSAyLjc1LTIuNzYgMC0uNSAuNSIgLz4KPC9zdmc+);background-size:contain;background-repeat:no-repeat;background-position:center;border:none;cursor:pointer}}@media (max-width: 480px){.navbar-nav[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{margin-right:0;margin-bottom:5px;font-size:.9rem}.search-bar[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{padding-right:30px}.icons[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:30px}}"]})}return n})(),hU=(()=>{class n{constructor(e,i){this._router=e,this._loginService=i}logout(){localStorage.clear(),this._loginService.setMostraMenu(!0),this._router.navigate(["/login"])}static#e=this.\u0275fac=function(i){return new(i||n)(y(Xe),y($c))};static#t=this.\u0275cmp=Je({type:n,selectors:[["app-menu-restrito"]],decls:8,vars:0,consts:[[1,"button-container"],["routerLink","/restrito/lista",1,"btn","btn-outline-primary"],["routerLink","/restrito/cadastro",1,"btn","btn-outline-success"],[1,"btn","btn-outline-light",3,"click"]],template:function(i,r){1&i&&(v(0,"main")(1,"div",0)(2,"a",1),S(3,"Listar Produtos"),x(),v(4,"a",2),S(5,"Cadastrar Produto"),x(),v(6,"button",3),_e("click",function(){return r.logout()}),S(7,"Sair"),x()()())},dependencies:[vo],styles:[".button-container[_ngcontent-%COMP%]{display:flex;gap:20px;justify-content:center;padding:10px}.btn[_ngcontent-%COMP%]{padding:10px 20px;border-radius:5px;font-size:16px;font-weight:700;text-decoration:none;transition:background-color .3s,color .3s}.btn-outline-primary[_ngcontent-%COMP%]{border-color:#0056b3;color:#0056b3}.btn-outline-success[_ngcontent-%COMP%]{border-color:#28a745;color:#28a745}.btn-outline-light[_ngcontent-%COMP%]{border-color:#f8f9fa;color:#f8f9fa}.btn-outline-primary[_ngcontent-%COMP%]:hover{background-color:#0056b3;color:#fff}.btn-outline-success[_ngcontent-%COMP%]:hover{background-color:#007a00;color:#fff}.btn-outline-light[_ngcontent-%COMP%]:hover{background-color:#f8f9fa;color:#212529}main[_ngcontent-%COMP%]{background-color:#21224e;font-family:Arial,sans-serif;padding:20px}"]})}return n})(),KM=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=Je({type:n,selectors:[["app-restrito"]],decls:3,vars:0,template:function(i,r){1&i&&$(0,"app-menu")(1,"app-menu-restrito")(2,"router-outlet")},dependencies:[Rc,ZM,hU]})}return n})(),zc=(()=>{class n{constructor(e){this._router=e}canActivate(e,i){return null!==localStorage.getItem("token")||(this._router.navigate(["login"]),!1)}static#e=this.\u0275fac=function(i){return new(i||n)(w(Xe))};static#t=this.\u0275prov=I({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();const pU=[{path:"inicio",component:uU},{path:"login",component:fU},{path:"restrito",component:KM,canActivate:[zc]},{path:"",redirectTo:"/inicio",pathMatch:"full"}];let mU=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=le({type:n});static#n=this.\u0275inj=oe({imports:[Hc.forRoot(pU),Hc]})}return n})();function _U(n,t){if(1&n){const e=nf();v(0,"tr")(1,"th",5),S(2),x(),v(3,"td"),S(4),x(),v(5,"td"),S(6),x(),v(7,"td"),$(8,"img",6),x(),v(9,"td"),S(10),bf(11,"currency"),x(),v(12,"td"),S(13),x(),v(14,"td")(15,"a",7),S(16,"Editar"),x()(),v(17,"td")(18,"a",8),_e("click",function(){const o=Ln(e).$implicit;return Vn(xn().excluir(o.id))}),S(19,"Excluir"),x()()()}if(2&n){const e=t.$implicit;ge(2),$i(e.id),ge(2),$i(e.nome),ge(2),$i(e.pasta),ge(2),il("src","./assets/img/games/",e.pasta,"/",e.foto,"",Ua),ge(2),$i(Cf(11,8,e.preco,"BRL")),ge(3),Yr("",e.desconto,"%"),ge(2),nl("routerLink","/restrito/editar/",e.id,"")}}function yU(n,t){if(1&n){const e=nf();v(0,"form")(1,"div",2)(2,"label",3),S(3,"ID"),x(),v(4,"input",4),_e("ngModelChange",function(r){return Ln(e),Vn(xn().produto.id=r)}),x()(),v(5,"div",2)(6,"label",5),S(7,"Nome"),x(),v(8,"input",6),_e("ngModelChange",function(r){return Ln(e),Vn(xn().produto.nome=r)}),x()(),v(9,"div",2)(10,"label",7),S(11,"Pasta"),x(),v(12,"input",8),_e("ngModelChange",function(r){return Ln(e),Vn(xn().produto.pasta=r)}),x()(),v(13,"div",2)(14,"label",9),S(15,"Foto"),x(),v(16,"input",10),_e("ngModelChange",function(r){return Ln(e),Vn(xn().produto.foto=r)}),x()(),v(17,"div",2)(18,"label",11),S(19,"Pre\xe7o"),x(),v(20,"input",12),_e("ngModelChange",function(r){return Ln(e),Vn(xn().produto.preco=r)}),x()(),v(21,"div",2)(22,"label",13),S(23,"Desconto"),x(),v(24,"input",14),_e("ngModelChange",function(r){return Ln(e),Vn(xn().produto.desconto=r)}),x()(),v(25,"button",15),_e("click",function(){Ln(e);const r=xn();return Vn(r.atualizar(r.produto.id))}),S(26,"Atualizar"),x()()}if(2&n){const e=xn();ge(4),qe("ngModel",e.produto.id),ge(4),qe("ngModel",e.produto.nome),ge(4),qe("ngModel",e.produto.pasta),ge(4),qe("ngModel",e.produto.foto),ge(4),qe("ngModel",e.produto.preco),ge(4),qe("ngModel",e.produto.desconto)}}const bU=[{path:"restrito",component:KM,children:[{path:"cadastro",component:(()=>{class n{constructor(e,i){this._produtoService=e,this._router=i,this.produto=new or(0,"","",0,0,"")}cadastrar(){this._produtoService.cadastrarProduto(this.produto).subscribe(e=>{this.produto=new or(0,"","",0,0,""),alert("Cadastro Efetuado com sucesso")},e=>{alert("Erro ao Cadastrar")}),this._router.navigate(["restrito/lista"])}static#e=this.\u0275fac=function(i){return new(i||n)(y(Uc),y(Xe))};static#t=this.\u0275cmp=Je({type:n,selectors:[["app-cadastro-produto"]],decls:27,vars:5,consts:[["id","section-cadastro"],[1,"form-group"],["for","produto"],["type","text","id","produto","name","produto","placeholder","Informe o nome do jogo",1,"form-control",3,"ngModel","ngModelChange"],["for","pasta"],["type","text","id","pasta","name","pasta","placeholder","Informe a pasta do jogo",1,"form-control",3,"ngModel","ngModelChange"],["for","foto"],["type","text","id","foto","name","foto","placeholder","Informe o nome da imagem ",1,"form-control",3,"ngModel","ngModelChange"],["for","preco"],["type","number","id","preco","name","preco","placeholder","Informe o pre\xe7o do jogo ",1,"form-control",3,"ngModel","ngModelChange"],["for","desconto"],["type","number","id","desconto","name","desconto","placeholder","Informe o desconto em porcentagem",1,"form-control",3,"ngModel","ngModelChange"],["type","button",1,"btn","btn-primary","mb-3",3,"click"]],template:function(i,r){1&i&&(v(0,"main")(1,"section",0)(2,"h1"),S(3," Cadastrar Produto"),x(),v(4,"form")(5,"div",1)(6,"label",2),S(7,"Nome"),x(),v(8,"input",3),_e("ngModelChange",function(s){return r.produto.nome=s}),x()(),v(9,"div",1)(10,"label",4),S(11,"Pasta"),x(),v(12,"input",5),_e("ngModelChange",function(s){return r.produto.pasta=s}),x()(),v(13,"div",1)(14,"label",6),S(15,"Foto"),x(),v(16,"input",7),_e("ngModelChange",function(s){return r.produto.foto=s}),x()(),v(17,"div",1)(18,"label",8),S(19,"Pre\xe7o"),x(),v(20,"input",9),_e("ngModelChange",function(s){return r.produto.preco=s}),x()(),v(21,"div",1)(22,"label",10),S(23,"Desconto"),x(),v(24,"input",11),_e("ngModelChange",function(s){return r.produto.desconto=s}),x()(),v(25,"button",12),_e("click",function(){return r.cadastrar()}),S(26,"Cadastrar"),x()()()()),2&i&&(ge(8),qe("ngModel",r.produto.nome),ge(4),qe("ngModel",r.produto.pasta),ge(4),qe("ngModel",r.produto.foto),ge(4),qe("ngModel",r.produto.preco),ge(4),qe("ngModel",r.produto.desconto))},dependencies:[ws,no,Xl,$l,gs,xs,Zi],styles:["main[_ngcontent-%COMP%]{background-color:#21224e;font-family:Arial,sans-serif;padding:20px}h1[_ngcontent-%COMP%]{color:#fff;margin-top:20px;text-align:center}#section-cadastro[_ngcontent-%COMP%]{max-width:700px;margin:50px auto;padding:20px;border-radius:15px;border:2px solid #1e1e1e;background-color:#2e2e2e}.form-group[_ngcontent-%COMP%]{margin-bottom:15px}.form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{color:#fff;display:block;margin-bottom:5px}.form-control[_ngcontent-%COMP%]{width:100%;padding:10px;border-radius:5px;border:1px solid #444;background-color:#fff;color:#000}.btn-primary[_ngcontent-%COMP%]{background-color:#00a000;color:#fff;padding:10px 20px;border-radius:5px;border:none;display:block;margin:20px auto}.btn-primary[_ngcontent-%COMP%]:hover{background-color:#007a00}"]})}return n})(),canActivate:[zc]},{path:"lista",component:(()=>{class n{constructor(e,i,r){this._produtoService=e,this._router=i,this._loginService=r,this.produtos=[]}ngOnInit(){this.listarProdutos(),this._loginService.setMostraMenu(!1)}listarProdutos(){this._produtoService.getProdutos().subscribe(e=>{this.produtos=e.map(i=>new or(i.id,i.nome,i.pasta,i.preco,i.desconto,i.foto))})}excluir(e){this._produtoService.removerProduto(e).subscribe(i=>{this.listarProdutos()},i=>{alert("Erro ao Excluir")}),this._router.navigate(["/restrito/lista"])}static#e=this.\u0275fac=function(i){return new(i||n)(y(Uc),y(Xe),y($c))};static#t=this.\u0275cmp=Je({type:n,selectors:[["app-lista-produto"]],decls:23,vars:1,consts:[[1,"grid-container"],[1,"table","table-striped","table-hover"],["scope","col"],[1,"table-group-divider"],[4,"ngFor","ngForOf"],["scope","row"],["alt","produto",3,"src"],["role","button",1,"btn","btn-primary",3,"routerLink"],["role","button",1,"btn","btn-danger",3,"click"]],template:function(i,r){1&i&&(v(0,"main")(1,"div",0)(2,"table",1)(3,"thead")(4,"tr")(5,"th",2),S(6,"ID"),x(),v(7,"th",2),S(8,"NOME"),x(),v(9,"th",2),S(10,"PASTA"),x(),v(11,"th",2),S(12,"FOTO"),x(),v(13,"th",2),S(14,"PRE\xc7O"),x(),v(15,"th",2),S(16,"DESCONTO"),x(),v(17,"th",2),S(18,"EDITAR"),x(),v(19,"th",2),S(20,"EXCLUIR"),x()()(),v(21,"tbody",3),Ko(22,_U,20,11,"tr",4),x()()()()),2&i&&(ge(22),qe("ngForOf",r.produtos))},dependencies:[ch,vo,hh],styles:[".grid-container[_ngcontent-%COMP%]{max-width:1100px;margin:0 auto}.table[_ngcontent-%COMP%]{width:95%;margin:0 auto;border-radius:15px;overflow:hidden}.table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#1e1e1e;color:#fff}.table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:10px;text-align:center;border:1px solid #1e1e1e}.table[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:50px;width:50px;object-fit:cover}.table[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{margin:0 5px}.table[_ngcontent-%COMP%] .btn-primary[_ngcontent-%COMP%]{background-color:#007bff;border-color:#007bff;color:#fff}.table[_ngcontent-%COMP%] .btn-danger[_ngcontent-%COMP%]{background-color:#dc3545;border-color:#dc3545;color:#fff}.table[_ngcontent-%COMP%] .btn-primary[_ngcontent-%COMP%]:hover{background-color:#0056b3;border-color:#004085}.table[_ngcontent-%COMP%] .btn-danger[_ngcontent-%COMP%]:hover{background-color:#c82333;border-color:#bd2130}main[_ngcontent-%COMP%]{background-color:#21224e;font-family:Arial,sans-serif;padding:20px}"]})}return n})(),canActivate:[zc]},{path:"editar/:id",component:(()=>{class n{constructor(e,i,r){this._produtoService=e,this._router=i,this._activatedRoute=r,this.produtoId=0,this.produto=new or(0,"","",0,0,""),this._activatedRoute.params.subscribe(o=>this.produtoId=o.id)}ngOnInit(){this.listarProduto()}listarProduto(){this._produtoService.getProduto(this.produtoId).subscribe(e=>{this.produto=new or(e[0].id,e[0].nome,e[0].pasta,e[0].preco,e[0].desconto,e[0].foto)})}atualizar(e){this._produtoService.atualizarProduto(e,this.produto).subscribe(i=>{this.produto=new or(0,"","",0,0,"")},i=>{alert("Erro ao atualizar")}),this._router.navigate(["restrito/lista"])}static#e=this.\u0275fac=function(i){return new(i||n)(y(Uc),y(Xe),y(rr))};static#t=this.\u0275cmp=Je({type:n,selectors:[["app-atualiza-produto"]],decls:5,vars:1,consts:[["id","section-cadastro"],[4,"ngIf"],[1,"form-group"],["for","id"],["type","text","id","id","name","id","readonly","",1,"form-control",3,"ngModel","ngModelChange"],["for","nome"],["type","text","id","nome","name","nome","placeholder","Informe o nome do jogo",1,"form-control",3,"ngModel","ngModelChange"],["for","pasta"],["type","text","id","pasta","name","pasta","placeholder","Informe a pasta do jogo",1,"form-control",3,"ngModel","ngModelChange"],["for","foto"],["type","text","id","foto","name","foto","placeholder","Informe o nome da imagem",1,"form-control",3,"ngModel","ngModelChange"],["for","preco"],["type","number","id","preco","name","preco","placeholder","Informe o pre\xe7o do jogo",1,"form-control",3,"ngModel","ngModelChange"],["for","desconto"],["type","number","id","desconto","name","desconto","placeholder","Informe o desconto em porcentagem",1,"form-control",3,"ngModel","ngModelChange"],["type","button",1,"btn","btn-primary","mb-3",3,"click"]],template:function(i,r){1&i&&(v(0,"main")(1,"section",0)(2,"h1"),S(3," Atualizar Produto"),x(),Ko(4,yU,27,6,"form",1),x()()),2&i&&(ge(4),qe("ngIf",r.produto))},dependencies:[dh,ws,no,Xl,$l,gs,xs,Zi],styles:["main[_ngcontent-%COMP%]{background-color:#21224e;font-family:Arial,sans-serif;padding:20px}h1[_ngcontent-%COMP%]{color:#fff;margin-top:20px;text-align:center}#section-cadastro[_ngcontent-%COMP%]{max-width:700px;margin:50px auto;padding:20px;border-radius:15px;border:2px solid #1e1e1e;background-color:#2e2e2e}.form-group[_ngcontent-%COMP%]{margin-bottom:15px}.form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{color:#fff;display:block;margin-bottom:5px}.form-control[_ngcontent-%COMP%]{width:100%;padding:10px;border-radius:5px;border:1px solid #444;background-color:#fff;color:#000}.btn-primary[_ngcontent-%COMP%]{background-color:#00a000;color:#fff;padding:10px 20px;border-radius:5px;border:none;display:block;margin:20px auto}.btn-primary[_ngcontent-%COMP%]:hover{background-color:#007a00}"]})}return n})(),canActivate:[zc]}]},{path:"",redirectTo:"/restrito/lista",pathMatch:"full"}];let CU=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=le({type:n});static#n=this.\u0275inj=oe({imports:[Hc.forChild(bU),Hc]})}return n})(),xU=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=Je({type:n,selectors:[["app-rodape"]],decls:110,vars:0,consts:[[1,"footer"],[1,"Fsection"],[1,"Farticle-FooterSubMenu"],[1,"grid-container","d-flex","justify-content-center","align-items-center"],[1,"row","gx-5","custom-gx"],[1,"col-xs-12","col-sm-12","col-md-3","col-lg-3","mb-4"],[1,"glyphicon","glyphicon-chevron-right","hidden-xs"],["href","/quemsomos.html"],["href","/termosecondicoes.html"],["href","/segurancaeprivacidade.html"],["href","/como-comprar.html"],["href","/prazos-e-entregas.html"],["href","/formas-de-pagamento.html"],["href","/login.html"],["href","/cadastro.html"],["href","/carrinho.html"],["href","atendimento.html"],["href","#"],["href","fale-conosco.html"],[1,"Farticle-FooterSocial"],[1,"container","d-flex","justify-content-center","align-items-center"],[1,"row"],[1,"col-12"],[1,"text-center"],[1,"list-inline","justify-content-center"],[1,"list-inline-item","me-4"],["href","https://www.facebook.com/","target","_blank"],["src","assets/img/icones/icone-facebook.png","alt","\xcdcone Facebook"],["href","https://www.instagram.com/","target","_blank"],["src","assets/img/icones/icone-instagram.png","alt","\xcdcone Instagram"],["href","https://www.twitter.com/","target","_blank"],["src","assets/img/icones/icone-twitter.png","alt","\xcdcone Twitter"],[1,"list-inline-item"],["href","https://www.youtube.com/","target","_blank"],["src","assets/img/icones/icone-youtube.png","alt","\xcdcone Youtube"],[1,"container"],[1,"row","justify-content-center","text-center"],[1,"col-12","d-flex","flex-column","align-items-center"],[1,"list-unstyled"],[1,"mb-3"],["src","assets/img/logo/logo-ng-store.png","alt","NGStore"],[1,"Cinza","mb-1"],[1,"Cinza","mb-3"],[1,"mb-1"],[1,"Cinza"]],template:function(i,r){1&i&&(v(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"h4"),S(7,"Institucional"),x(),v(8,"ul")(9,"li"),$(10,"i",6),v(11,"a",7),S(12,"Quem somos"),x()(),v(13,"li"),$(14,"i",6),v(15,"a",8),S(16,"Termos e Condi\xe7\xf5es"),x()(),v(17,"li"),$(18,"i",6),v(19,"a",9),S(20,"Seguran\xe7a e Privacidade"),x()()()(),v(21,"div",5)(22,"h4"),S(23,"D\xfavidas"),x(),v(24,"ul")(25,"li"),$(26,"i",6),v(27,"a",10),S(28,"Como comprar"),x()(),v(29,"li"),$(30,"i",6),v(31,"a",11),S(32,"Prazos e entregas"),x()(),v(33,"li"),$(34,"i",6),v(35,"a",12),S(36,"Formas de Pagamento"),x()()()(),v(37,"div",5)(38,"h4"),S(39,"Cliente"),x(),v(40,"ul")(41,"li"),$(42,"i",6),v(43,"a",13),S(44,"Minha conta"),x()(),v(45,"li"),$(46,"i",6),v(47,"a",14),S(48,"Meus pedidos"),x()(),v(49,"li"),$(50,"i",6),v(51,"a",15),S(52,"Meus tickets"),x()()()(),v(53,"div",5)(54,"h4"),S(55,"Contato"),x(),v(56,"ul")(57,"li"),$(58,"i",6),v(59,"a",16),S(60,"atendimento@ngstore.com.br"),x()(),v(61,"li"),$(62,"i",6),v(63,"a",17),S(64,"0800 4002-8922"),x()(),v(65,"li"),$(66,"i",6),v(67,"a",18),S(68,"Fale conosco"),x()()()()()()(),v(69,"div",19)(70,"div",20)(71,"div",21)(72,"div",22)(73,"h4",23),S(74,"Siga-nos nas redes sociais"),x(),v(75,"ul",24)(76,"li",25)(77,"a",26),$(78,"img",27),x()(),v(79,"li",25)(80,"a",28),$(81,"img",29),x()(),v(82,"li",25)(83,"a",30),$(84,"img",31),x()(),v(85,"li",32)(86,"a",33),$(87,"img",34),x()()()()()()()()(),v(88,"footer")(89,"div",35)(90,"div",36)(91,"div",37)(92,"ul",38)(93,"li",39),$(94,"img",40),x(),v(95,"li",41),S(96," NG STORE VAREJO DE PRODUTOS DE INFORMATICA LTDA "),x(),v(97,"li",42),S(98,"CNPJ: 02.933.972/0001-98 | Curitiba-PR"),x()(),v(99,"ul",38)(100,"li",43),S(101," ATENDIMENTO "),$(102,"br"),S(103," De segunda a sexta das 8:30 \xe0s 12H / 13H \xe0s 18H "),x(),v(104,"li",43),S(105,"0800 4002-8922"),x(),v(106,"li",39),S(107,"atendimento@ngstore.com.br"),x(),v(108,"li",44),S(109,"E-COMMERCE E ATENDIMENTO LOCAL"),x()()()()()())},styles:[".Farticle-FooterSubMenu[_ngcontent-%COMP%]{width:100%;background-color:#212121;color:#fff;display:flex;justify-content:center;padding:20px 0;flex-wrap:wrap}.Farticle-FooterSubMenu[_ngcontent-%COMP%] .grid-container[_ngcontent-%COMP%]{margin-left:70px;max-width:1200px;width:100%}.Farticle-FooterSubMenu[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{width:100%;display:flex;flex-wrap:wrap;justify-content:space-between}.Farticle-FooterSubMenu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style:none;padding:0;margin:0}.Farticle-FooterSubMenu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:flex;align-items:center;list-style-type:none;color:#fff;text-decoration:none;white-space:nowrap;margin-bottom:5px}.Farticle-FooterSubMenu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff;text-decoration:none;white-space:nowrap}.Farticle-FooterSubMenu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}.footer[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{color:#00a000;text-align:left;margin-bottom:10px}.Farticle-FooterSocial[_ngcontent-%COMP%]{background-color:#262626;padding:20px;justify-content:center;display:flex;flex-wrap:wrap;align-items:center}footer[_ngcontent-%COMP%]{background-color:#000;color:#fff;padding:20px 0}footer[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding:0;margin:0;text-align:center}footer[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style-type:none;margin-bottom:10px}footer[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100px;height:auto}footer[_ngcontent-%COMP%] .Cinza[_ngcontent-%COMP%]{color:#ccc}footer[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:center}@media (max-width: 768px){.Farticle-FooterSubMenu[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{justify-content:center;align-items:center}.Farticle-FooterSubMenu[_ngcontent-%COMP%] .col-xs-12[_ngcontent-%COMP%]{width:100%;padding:10px 0;display:flex;flex-direction:column;align-items:center}.Farticle-FooterSubMenu[_ngcontent-%COMP%] .col-xs-12[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .Farticle-FooterSubMenu[_ngcontent-%COMP%] .col-xs-12[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{text-align:center}}"]})}return n})();function wU(n,t){1&n&&$(0,"app-menu")}let MU=(()=>{class n{constructor(e){this._loginService=e,this.title="NG-Store",this.mostrarMenu=!0}ngOnInit(){this._loginService.getMostraMenu().subscribe(e=>{this.mostrarMenu=e})}ngOnDestroy(){localStorage.clear()}static#e=this.\u0275fac=function(i){return new(i||n)(y($c))};static#t=this.\u0275cmp=Je({type:n,selectors:[["app-root"]],decls:3,vars:1,consts:[[4,"ngIf"]],template:function(i,r){1&i&&(Ko(0,wU,1,0,"app-menu",0),$(1,"router-outlet")(2,"app-rodape")),2&i&&qe("ngIf",r.mostrarMenu)},dependencies:[dh,Rc,ZM,xU]})}return n})();function XM(n){return new C(3e3,!1)}function o$(){return typeof window<"u"&&typeof window.document<"u"}function Kp(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Mi(n){switch(n.length){case 0:return new Fs;case 1:return n[0];default:return new gw(n)}}function QM(n,t,e,i,r=new Map,o=new Map){const s=[],a=[];let l=-1,c=null;if(i.forEach(d=>{const u=d.get("offset"),f=u==l,h=f&&c||new Map;d.forEach((p,m)=>{let g=m,_=p;if("offset"!==m)switch(g=t.normalizePropertyName(g,s),_){case up:_=r.get(m);break;case Qn:_=o.get(m);break;default:_=t.normalizeStyleValue(m,g,_,s)}h.set(g,_)}),f||a.push(h),c=h,l=u}),s.length)throw function qU(n){return new C(3502,!1)}();return a}function Xp(n,t,e,i){switch(t){case"start":n.onStart(()=>i(e&&Qp(e,"start",n)));break;case"done":n.onDone(()=>i(e&&Qp(e,"done",n)));break;case"destroy":n.onDestroy(()=>i(e&&Qp(e,"destroy",n)))}}function Qp(n,t,e){const o=Jp(n.element,n.triggerName,n.fromState,n.toState,t||n.phaseName,e.totalTime??n.totalTime,!!e.disabled),s=n._data;return null!=s&&(o._data=s),o}function Jp(n,t,e,i,r="",o=0,s){return{element:n,triggerName:t,fromState:e,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function Nt(n,t,e){let i=n.get(t);return i||n.set(t,i=e),i}function JM(n){const t=n.indexOf(":");return[n.substring(1,t),n.slice(t+1)]}let em=(n,t)=>!1,eD=(n,t,e)=>[],tD=null;function tm(n){const t=n.parentNode||n.host;return t===tD?null:t}(Kp()||typeof Element<"u")&&(o$()?(tD=(()=>document.documentElement)(),em=(n,t)=>{for(;t;){if(t===n)return!0;t=tm(t)}return!1}):em=(n,t)=>n.contains(t),eD=(n,t,e)=>{if(e)return Array.from(n.querySelectorAll(t));const i=n.querySelector(t);return i?[i]:[]});let sr=null,nD=!1;const iD=em,rD=eD;let oD=(()=>{class n{validateStyleProperty(e){return function a$(n){sr||(sr=function l$(){return typeof document<"u"?document.body:null}()||{},nD=!!sr.style&&"WebkitAppearance"in sr.style);let t=!0;return sr.style&&!function s$(n){return"ebkit"==n.substring(1,6)}(n)&&(t=n in sr.style,!t&&nD&&(t="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in sr.style)),t}(e)}matchesElement(e,i){return!1}containsElement(e,i){return iD(e,i)}getParentElement(e){return tm(e)}query(e,i,r){return rD(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,o,s,a=[],l){return new Fs(r,o)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=I({token:n,factory:n.\u0275fac}),n})(),nm=(()=>{class n{}return n.NOOP=new oD,n})();const c$=1e3,im="ng-enter",Gc="ng-leave",Wc="ng-trigger",qc=".ng-trigger",aD="ng-animating",rm=".ng-animating";function ni(n){if("number"==typeof n)return n;const t=n.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:om(parseFloat(t[1]),t[2])}function om(n,t){return"s"===t?n*c$:n}function Yc(n,t,e){return n.hasOwnProperty("duration")?n:function u$(n,t,e){let r,o=0,s="";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(XM()),{duration:0,delay:0,easing:""};r=om(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(o=om(parseFloat(l),a[4]));const c=a[5];c&&(s=c)}else r=n;if(!e){let a=!1,l=t.length;r<0&&(t.push(function DU(){return new C(3100,!1)}()),a=!0),o<0&&(t.push(function EU(){return new C(3101,!1)}()),a=!0),a&&t.splice(l,0,XM())}return{duration:r,delay:o,easing:s}}(n,t,e)}function Ks(n,t={}){return Object.keys(n).forEach(e=>{t[e]=n[e]}),t}function lD(n){const t=new Map;return Object.keys(n).forEach(e=>{t.set(e,n[e])}),t}function Di(n,t=new Map,e){if(e)for(let[i,r]of e)t.set(i,r);for(let[i,r]of n)t.set(i,r);return t}function dD(n,t,e){return e?t+":"+e+";":""}function uD(n){let t="";for(let e=0;e{const o=am(r);e&&!e.has(r)&&e.set(r,n.style[o]),n.style[o]=i}),Kp()&&uD(n))}function ar(n,t){n.style&&(t.forEach((e,i)=>{const r=am(i);n.style[r]=""}),Kp()&&uD(n))}function Xs(n){return Array.isArray(n)?1==n.length?n[0]:pw(n):n}const sm=new RegExp("{{\\s*(.+?)\\s*}}","g");function fD(n){let t=[];if("string"==typeof n){let e;for(;e=sm.exec(n);)t.push(e[1]);sm.lastIndex=0}return t}function Qs(n,t,e){const i=n.toString(),r=i.replace(sm,(o,s)=>{let a=t[s];return null==a&&(e.push(function IU(n){return new C(3003,!1)}()),a=""),a.toString()});return r==i?n:r}function Zc(n){const t=[];let e=n.next();for(;!e.done;)t.push(e.value),e=n.next();return t}const p$=/-+([a-z0-9])/g;function am(n){return n.replace(p$,(...t)=>t[1].toUpperCase())}function m$(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Lt(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 function TU(n){return new C(3004,!1)}()}}function hD(n,t){return window.getComputedStyle(n)[t]}const Qc="*";function C$(n,t){const e=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(i=>function x$(n,t,e){if(":"==n[0]){const l=function w$(n,t){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i) *"}}(n,e);if("function"==typeof l)return void t.push(l);n=l}const i=n.match(/^(\*|[-\w]+)\s*([=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(function UU(n){return new C(3015,!1)}()),t;const r=i[1],o=i[2],s=i[3];t.push(pD(r,s));"<"==o[0]&&!(r==Qc&&s==Qc)&&t.push(pD(s,r))}(i,e,t)):e.push(n),e}const Jc=new Set(["true","1"]),ed=new Set(["false","0"]);function pD(n,t){const e=Jc.has(n)||ed.has(n),i=Jc.has(t)||ed.has(t);return(r,o)=>{let s=n==Qc||n==r,a=t==Qc||t==o;return!s&&e&&"boolean"==typeof r&&(s=r?Jc.has(n):ed.has(n)),!a&&i&&"boolean"==typeof o&&(a=o?Jc.has(t):ed.has(t)),s&&a}}const M$=new RegExp("s*:selfs*,?","g");function lm(n,t,e,i){return new D$(n).build(t,e,i)}class D${constructor(t){this._driver=t}build(t,e,i){const r=new I$(e);return this._resetContextStyleTimingState(r),Lt(this,Xs(t),r)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles=new Map,t.collectedStyles.set("",new Map),t.currentTime=0}visitTrigger(t,e){let i=e.queryCount=0,r=e.depCount=0;const o=[],s=[];return"@"==t.name.charAt(0)&&e.errors.push(function RU(){return new C(3006,!1)}()),t.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),0==a.type){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,e))}),l.name=c}else if(1==a.type){const l=this.visitTransition(a,e);i+=l.queryCount,r+=l.depCount,s.push(l)}else e.errors.push(function FU(){return new C(3007,!1)}())}),{type:7,name:t.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(t,e){const i=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(i.containsDynamicStyles){const o=new Set,s=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{fD(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&(Zc(o.values()),e.errors.push(function OU(n,t){return new C(3008,!1)}()))}return{type:0,name:t.name,style:i,options:r?{params:r}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const i=Lt(this,Xs(t.animation),e);return{type:1,matchers:C$(t.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:lr(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(i=>Lt(this,i,e)),options:lr(t.options)}}visitGroup(t,e){const i=e.currentTime;let r=0;const o=t.steps.map(s=>{e.currentTime=i;const a=Lt(this,s,e);return r=Math.max(r,e.currentTime),a});return e.currentTime=r,{type:3,steps:o,options:lr(t.options)}}visitAnimate(t,e){const i=function A$(n,t){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n)return cm(Yc(n,t).duration,0,"");const e=n;if(e.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=cm(0,0,"");return o.dynamic=!0,o.strValue=e,o}const r=Yc(e,t);return cm(r.duration,r.delay,r.easing)}(t.timings,e.errors);e.currentAnimateTimings=i;let r,o=t.styles?t.styles:Jn({});if(5==o.type)r=this.visitKeyframes(o,e);else{let s=t.styles,a=!1;if(!s){a=!0;const c={};i.easing&&(c.easing=i.easing),s=Jn(c)}e.currentTime+=i.duration+i.delay;const l=this.visitStyle(s,e);l.isEmptyStep=a,r=l}return e.currentAnimateTimings=null,{type:4,timings:i,style:r,options:null}}visitStyle(t,e){const i=this._makeStyleAst(t,e);return this._validateStyleAst(i,e),i}_makeStyleAst(t,e){const i=[],r=Array.isArray(t.styles)?t.styles:[t.styles];for(let a of r)"string"==typeof a?a===Qn?i.push(a):e.errors.push(new C(3002,!1)):i.push(lD(a));let o=!1,s=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o))for(let l of a.values())if(l.toString().indexOf("{{")>=0){o=!0;break}}),{type:6,styles:i,easing:s,offset:t.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(t,e){const i=e.currentAnimateTimings;let r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),t.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const c=e.collectedStyles.get(e.currentQuerySelector),d=c.get(l);let u=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(e.errors.push(function kU(n,t,e,i,r){return new C(3010,!1)}()),u=!1),o=d.startTime),u&&c.set(l,{startTime:o,endTime:r}),e.options&&function h$(n,t,e){const i=t.params||{},r=fD(n);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||e.push(function SU(n){return new C(3001,!1)}())})}(a,e.options,e.errors)})})}visitKeyframes(t,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function NU(){return new C(3011,!1)}()),i;let o=0;const s=[];let a=!1,l=!1,c=0;const d=t.steps.map(_=>{const D=this._makeStyleAst(_,e);let b=null!=D.offset?D.offset:function T$(n){if("string"==typeof n)return null;let t=null;if(Array.isArray(n))n.forEach(e=>{if(e instanceof Map&&e.has("offset")){const i=e;t=parseFloat(i.get("offset")),i.delete("offset")}});else if(n instanceof Map&&n.has("offset")){const e=n;t=parseFloat(e.get("offset")),e.delete("offset")}return t}(D.styles),T=0;return null!=b&&(o++,T=D.offset=b),l=l||T<0||T>1,a=a||T0&&o{const b=f>0?D==h?1:f*D:s[D],T=b*g;e.currentTime=p+m.delay+T,m.duration=T,this._validateStyleAst(_,e),_.offset=b,i.styles.push(_)}),i}visitReference(t,e){return{type:8,animation:Lt(this,Xs(t.animation),e),options:lr(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:lr(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:lr(t.options)}}visitQuery(t,e){const i=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;const[o,s]=function E$(n){const t=!!n.split(/\s*,\s*/).find(e=>":self"==e);return t&&(n=n.replace(M$,"")),n=n.replace(/@\*/g,qc).replace(/@\w+/g,e=>qc+"-"+e.slice(1)).replace(/:animating/g,rm),[n,t]}(t.selector);e.currentQuerySelector=i.length?i+" "+o:o,Nt(e.collectedStyles,e.currentQuerySelector,new Map);const a=Lt(this,Xs(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:t.selector,options:lr(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(function jU(){return new C(3013,!1)}());const i="full"===t.timings?{duration:0,delay:0,easing:"full"}:Yc(t.timings,e.errors,!0);return{type:12,animation:Lt(this,Xs(t.animation),e),timings:i,options:null}}}class I${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=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function lr(n){return n?(n=Ks(n)).params&&(n.params=function S$(n){return n?Ks(n):null}(n.params)):n={},n}function cm(n,t,e){return{duration:n,delay:t,easing:e}}function dm(n,t,e,i,r,o,s=null,a=!1){return{type:1,element:n,keyframes:t,preStyleProps:e,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}class td{constructor(){this._map=new Map}get(t){return this._map.get(t)||[]}append(t,e){let i=this._map.get(t);i||this._map.set(t,i=[]),i.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const O$=new RegExp(":enter","g"),k$=new RegExp(":leave","g");function um(n,t,e,i,r,o=new Map,s=new Map,a,l,c=[]){return(new N$).buildKeyframes(n,t,e,i,r,o,s,a,l,c)}class N${buildKeyframes(t,e,i,r,o,s,a,l,c,d=[]){c=c||new td;const u=new fm(t,e,c,r,o,d,[]);u.options=l;const f=l.delay?ni(l.delay):0;u.currentTimeline.delayNextStep(f),u.currentTimeline.setStyles([s],null,u.errors,l),Lt(this,i,u);const h=u.timelines.filter(p=>p.containsAnimation());if(h.length&&a.size){let p;for(let m=h.length-1;m>=0;m--){const g=h[m];if(g.element===e){p=g;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([a],null,u.errors,l)}return h.length?h.map(p=>p.buildKeyframes()):[dm(e,[],[],[],0,f,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const i=e.subInstructions.get(e.element);if(i){const r=e.createSubContext(t.options),o=e.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&e.transformIntoNewTimeline(s)}e.previousNode=t}visitAnimateRef(t,e){const i=e.createSubContext(t.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,i),this.visitReference(t.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,i){for(const r of t){const o=r?.delay;if(o){const s="number"==typeof o?o:ni(Qs(o,r?.params??{},e.errors));i.delayNextStep(s)}}}_visitSubInstructions(t,e,i){let o=e.currentTimeline.currentTime;const s=null!=i.duration?ni(i.duration):null,a=null!=i.delay?ni(i.delay):null;return 0!==s&&t.forEach(l=>{const c=e.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(t,e){e.updateOptions(t.options,!0),Lt(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const i=e.subContextCount;let r=e;const o=t.options;if(o&&(o.params||o.delay)&&(r=e.createSubContext(o),r.transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=nd);const s=ni(o.delay);r.delayNextStep(s)}t.steps.length&&(t.steps.forEach(s=>Lt(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const i=[];let r=e.currentTimeline.currentTime;const o=t.options&&t.options.delay?ni(t.options.delay):0;t.steps.forEach(s=>{const a=e.createSubContext(t.options);o&&a.delayNextStep(o),Lt(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>e.currentTimeline.mergeTimelineCollectedStyles(s)),e.transformIntoNewTimeline(r),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const i=t.strValue;return Yc(e.params?Qs(i,e.params,e.errors):i,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const i=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),r.snapshotCurrentStyles());const o=t.style;5==o.type?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const i=e.currentTimeline,r=e.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();const o=r&&r.easing||t.easing;t.isEmptyStep?i.applyEmptyStep(o):i.setStyles(t.styles,o,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const i=e.currentAnimateTimings,r=e.currentTimeline.duration,o=i.duration,a=e.createSubContext().currentTimeline;a.easing=i.easing,t.styles.forEach(l=>{a.forwardTime((l.offset||0)*o),a.setStyles(l.styles,l.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(r+o),e.previousNode=t}visitQuery(t,e){const i=e.currentTimeline.currentTime,r=t.options||{},o=r.delay?ni(r.delay):0;o&&(6===e.previousNode.type||0==i&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=nd);let s=i;const a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{e.currentQueryIndex=d;const u=e.createSubContext(t.options,c);o&&u.delayNextStep(o),c===e.element&&(l=u.currentTimeline),Lt(this,t.animation,u),u.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,u.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const i=e.parentContext,r=e.currentTimeline,o=t.timings,s=Math.abs(o.duration),a=s*(e.currentQueryTotal-1);let l=s*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime}const d=e.currentTimeline;l&&d.delayNextStep(l);const u=d.currentTime;Lt(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=r.currentTime-u+(r.startTime-i.currentTimeline.startTime)}}const nd={};class fm{constructor(t,e,i,r,o,s,a,l){this._driver=t,this.element=e,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=nd,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new id(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const i=t;let r=this.options;null!=i.duration&&(r.duration=ni(i.duration)),null!=i.delay&&(r.delay=ni(i.delay));const o=i.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!e||!s.hasOwnProperty(a))&&(s[a]=Qs(o[a],s,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const i=t.params={};Object.keys(e).forEach(r=>{i[r]=e[r]})}}return t}createSubContext(t=null,e,i){const r=e||this.element,o=new fm(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(t){return this.previousNode=nd,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,i){const r={duration:e??t.duration,delay:this.currentTimeline.currentTime+(i??0)+t.delay,easing:""},o=new L$(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,i,r,o,s){let a=[];if(r&&a.push(this.element),t.length>0){t=(t=t.replace(O$,"."+this._enterClassName)).replace(k$,"."+this._leaveClassName);let c=this._driver.query(this.element,t,1!=i);0!==i&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!o&&0==a.length&&s.push(function HU(n){return new C(3014,!1)}()),a}}class id{constructor(t,e,i,r){this._driver=t,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),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.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new id(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=new Map,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.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||Qn),this._currentKeyframe.set(e,Qn);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,i,r){e&&this._previousKeyframe.set("easing",e);const o=r&&r.params||{},s=function V$(n,t){const e=new Map;let i;return n.forEach(r=>{if("*"===r){i=i||t.keys();for(let o of i)e.set(o,Qn)}else Di(r,e)}),e}(t,this._globalTimelineStyles);for(let[a,l]of s){const c=Qs(l,o,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??Qn),this._updateStyle(a,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((t,e)=>{this._currentKeyframe.set(e,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)}))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(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){t._styleSummary.forEach((e,i)=>{const r=this._styleSummary.get(i);(!r||e.time>r.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((a,l)=>{const c=Di(a,new Map,this._backFill);c.forEach((d,u)=>{d===up?t.add(u):d===Qn&&e.add(u)}),i||c.set("offset",l/this.duration),r.push(c)});const o=t.size?Zc(t.values()):[],s=e.size?Zc(e.values()):[];if(i){const a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return dm(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}class L$ extends id{constructor(t,e,i,r,o,s,a=!1){super(t,e,s.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const o=[],s=i+e,a=e/s,l=Di(t[0]);l.set("offset",0),o.push(l);const c=Di(t[0]);c.set("offset",_D(a)),o.push(c);const d=t.length-1;for(let u=1;u<=d;u++){let f=Di(t[u]);const h=f.get("offset");f.set("offset",_D((e+h*i)/s)),o.push(f)}i=s,e=0,r="",t=o}return dm(this.element,t,this.preStyleProps,this.postStyleProps,i,e,r,!0)}}function _D(n,t=3){const e=Math.pow(10,t-1);return Math.round(n*e)/e}class hm{}const B$=new Set(["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"]);class j$ extends hm{normalizePropertyName(t,e){return am(t)}normalizeStyleValue(t,e,i,r){let o="";const s=i.toString().trim();if(B$.has(e)&&0!==i&&"0"!==i)if("number"==typeof i)o="px";else{const a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push(function AU(n,t){return new C(3005,!1)}())}return s+o}}function vD(n,t,e,i,r,o,s,a,l,c,d,u,f){return{type:0,element:n,triggerName:t,isRemovalTransition:r,fromState:e,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:f}}const pm={};class yD{constructor(t,e,i){this._triggerName=t,this.ast=e,this._stateStyles=i}match(t,e,i,r){return function H$(n,t,e,i,r){return n.some(o=>o(t,e,i,r))}(this.ast.matchers,t,e,i,r)}buildStyles(t,e,i){let r=this._stateStyles.get("*");return void 0!==t&&(r=this._stateStyles.get(t?.toString())||r),r?r.buildStyles(e,i):new Map}build(t,e,i,r,o,s,a,l,c,d){const u=[],f=this.ast.options&&this.ast.options.params||pm,p=this.buildStyles(i,a&&a.params||pm,u),m=l&&l.params||pm,g=this.buildStyles(r,m,u),_=new Set,D=new Map,b=new Map,T="void"===r,ee={params:U$(m,f),delay:this.ast.options?.delay},ce=d?[]:um(t,e,this.ast.animation,o,s,p,g,ee,c,u);let ft=0;if(ce.forEach(ri=>{ft=Math.max(ri.duration+ri.delay,ft)}),u.length)return vD(e,this._triggerName,i,r,T,p,g,[],[],D,b,ft,u);ce.forEach(ri=>{const oi=ri.element,PD=Nt(D,oi,new Set);ri.preStyleProps.forEach(cr=>PD.add(cr));const ea=Nt(b,oi,new Set);ri.postStyleProps.forEach(cr=>ea.add(cr)),oi!==e&&_.add(oi)});const ii=Zc(_.values());return vD(e,this._triggerName,i,r,T,p,g,ce,ii,D,b,ft)}}function U$(n,t){const e=Ks(t);for(const i in n)n.hasOwnProperty(i)&&null!=n[i]&&(e[i]=n[i]);return e}class $${constructor(t,e,i){this.styles=t,this.defaultParams=e,this.normalizer=i}buildStyles(t,e){const i=new Map,r=Ks(this.defaultParams);return Object.keys(t).forEach(o=>{const s=t[o];null!==s&&(r[o]=s)}),this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=Qs(s,r,e));const l=this.normalizer.normalizePropertyName(a,e);s=this.normalizer.normalizeStyleValue(a,l,s,e),i.set(a,s)})}),i}}class G${constructor(t,e,i){this.name=t,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(r=>{this.states.set(r.name,new $$(r.style,r.options&&r.options.params||{},i))}),bD(this.states,"true","1"),bD(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new yD(t,r,this.states))}),this.fallbackTransition=function W$(n,t,e){return new yD(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},t)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,i,r){return this.transitionFactories.find(s=>s.match(t,e,i,r))||null}matchStyles(t,e,i){return this.fallbackTransition.buildStyles(t,e,i)}}function bD(n,t,e){n.has(t)?n.has(e)||n.set(e,n.get(t)):n.has(e)&&n.set(t,n.get(e))}const q$=new td;class Y${constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(t,e){const i=[],r=[],o=lm(this._driver,e,i,r);if(i.length)throw function YU(n){return new C(3503,!1)}();this._animations.set(t,o)}_buildPlayer(t,e,i){const r=t.element,o=QM(0,this._normalizer,0,t.keyframes,e,i);return this._driver.animate(r,o,t.duration,t.delay,t.easing,[],!0)}create(t,e,i={}){const r=[],o=this._animations.get(t);let s;const a=new Map;if(o?(s=um(this._driver,e,o,im,Gc,new Map,new Map,i,q$,r),s.forEach(d=>{const u=Nt(a,d.element,new Map);d.postStyleProps.forEach(f=>u.set(f,null))})):(r.push(function ZU(){return new C(3300,!1)}()),s=[]),r.length)throw function KU(n){return new C(3504,!1)}();a.forEach((d,u)=>{d.forEach((f,h)=>{d.set(h,this._driver.computeStyle(u,h,Qn))})});const c=Mi(s.map(d=>{const u=a.get(d.element);return this._buildPlayer(d,new Map,u)}));return this._playersById.set(t,c),c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){const e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(t){const e=this._playersById.get(t);if(!e)throw function XU(n){return new C(3301,!1)}();return e}listen(t,e,i,r){const o=Jp(e,"","","");return Xp(this._getPlayer(t),i,o,r),()=>{}}command(t,e,i,r){if("register"==i)return void this.register(t,r[0]);if("create"==i)return void this.create(t,e,r[0]||{});const o=this._getPlayer(t);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}}const CD="ng-animate-queued",mm="ng-animate-disabled",J$=[],xD={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ez={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Kt="__ng_removed";class gm{get params(){return this.options.params}constructor(t,e=""){this.namespaceId=e;const i=t&&t.hasOwnProperty("value");if(this.value=function rz(n){return n??null}(i?t.value:t),i){const o=Ks(t);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(t){const e=t.params;if(e){const i=this.options.params;Object.keys(e).forEach(r=>{null==i[r]&&(i[r]=e[r])})}}}const Js="void",_m=new gm(Js);class tz{constructor(t,e,i){this.id=t,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Xt(e,this._hostClassName)}listen(t,e,i,r){if(!this._triggers.has(e))throw function QU(n,t){return new C(3302,!1)}();if(null==i||0==i.length)throw function JU(n){return new C(3303,!1)}();if(!function oz(n){return"start"==n||"done"==n}(i))throw function e$(n,t){return new C(3400,!1)}();const o=Nt(this._elementListeners,t,[]),s={name:e,phase:i,callback:r};o.push(s);const a=Nt(this._engine.statesByElement,t,new Map);return a.has(e)||(Xt(t,Wc),Xt(t,Wc+"-"+e),a.set(e,_m)),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(e)||a.delete(e)})}}register(t,e){return!this._triggers.has(t)&&(this._triggers.set(t,e),!0)}_getTrigger(t){const e=this._triggers.get(t);if(!e)throw function t$(n){return new C(3401,!1)}();return e}trigger(t,e,i,r=!0){const o=this._getTrigger(e),s=new vm(this.id,e,t);let a=this._engine.statesByElement.get(t);a||(Xt(t,Wc),Xt(t,Wc+"-"+e),this._engine.statesByElement.set(t,a=new Map));let l=a.get(e);const c=new gm(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(e,c),l||(l=_m),c.value!==Js&&l.value===c.value){if(!function lz(n,t){const e=Object.keys(n),i=Object.keys(t);if(e.length!=i.length)return!1;for(let r=0;r{ar(t,g),An(t,_)})}return}const f=Nt(this._engine.playersByElement,t,[]);f.forEach(m=>{m.namespaceId==this.id&&m.triggerName==e&&m.queued&&m.destroy()});let h=o.matchTransition(l.value,c.value,t,c.params),p=!1;if(!h){if(!r)return;h=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:h,fromState:l,toState:c,player:s,isFallbackTransition:p}),p||(Xt(t,CD),s.onStart(()=>{bo(t,CD)})),s.onDone(()=>{let m=this.players.indexOf(s);m>=0&&this.players.splice(m,1);const g=this._engine.playersByElement.get(t);if(g){let _=g.indexOf(s);_>=0&&g.splice(_,1)}}),this.players.push(s),f.push(s),s}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(r=>r.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const i=this._engine.driver.query(t,qc,!0);i.forEach(r=>{if(r[Kt])return;const o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(t,e,i,r){const o=this._engine.statesByElement.get(t),s=new Map;if(o){const a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){const d=this.trigger(t,c,Js,r);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,s),i&&Mi(a).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),i=this._engine.statesByElement.get(t);if(e&&i){const r=new Set;e.forEach(o=>{const s=o.name;if(r.has(s))return;r.add(s);const l=this._triggers.get(s).fallbackTransition,c=i.get(s)||_m,d=new gm(Js),u=new vm(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(t,e){const i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let r=!1;if(i.totalAnimations){const o=i.players.length?i.playersByQueriedElement.get(t):[];if(o&&o.length)r=!0;else{let s=t;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(t),r)i.markElementAsRemoved(this.id,t,!1,e);else{const o=t[Kt];(!o||o===xD)&&(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){Xt(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(i=>{const r=i.player;if(r.destroyed)return;const o=i.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==i.triggerName){const l=Jp(o,i.triggerName,i.fromState.value,i.toState.value);l._data=t,Xp(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(i)}),this._queue=[],e.sort((i,r)=>{const o=i.transition.ast.depCount,s=r.transition.ast.depCount;return 0==o||0==s?o-s:this._engine.driver.containsElement(i.element,r.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(i=>i.element===t)||e,e}}class nz{_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}constructor(t,e,i){this.bodyNode=t,this.driver=e,this._normalizer=i,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=(r,o)=>{}}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&t.push(i)})}),t}createNamespace(t,e){const i=new tz(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[t]=i}_balanceNamespaceList(t,e){const i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(e);for(;a;){const l=r.get(a);if(l){const c=i.indexOf(l);i.splice(c+1,0,t),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(t)}else i.push(t);return r.set(e,t),t}register(t,e){let i=this._namespaceLookup[t];return i||(i=this.createNamespace(t,e)),i}registerTrigger(t,e,i){let r=this._namespaceLookup[t];r&&r.register(e,i)&&this.totalAnimations++}destroy(t,e){if(!t)return;const i=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[t];const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,i=this.statesByElement.get(t);if(i)for(let r of i.values())if(r.namespaceId){const o=this._fetchNamespace(r.namespaceId);o&&e.add(o)}return e}trigger(t,e,i,r){if(rd(e)){const o=this._fetchNamespace(t);if(o)return o.trigger(e,i,r),!0}return!1}insertNode(t,e,i,r){if(!rd(e))return;const o=e[Kt];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(e);s>=0&&this.collectedLeaveElements.splice(s,1)}if(t){const s=this._fetchNamespace(t);s&&s.insertNode(e,i)}r&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Xt(t,mm)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),bo(t,mm))}removeNode(t,e,i,r){if(rd(e)){const o=t?this._fetchNamespace(t):null;if(o?o.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r),i){const s=this.namespacesByHostElement.get(e);s&&s.id!==t&&s.removeNode(e,r)}}else this._onRemovalComplete(e,r)}markElementAsRemoved(t,e,i,r,o){this.collectedLeaveElements.push(e),e[Kt]={namespaceId:t,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(t,e,i,r,o){return rd(e)?this._fetchNamespace(t).listen(e,i,r,o):()=>{}}_buildInstruction(t,e,i,r,o){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,i,r,t.fromState.options,t.toState.options,e,o)}destroyInnerAnimations(t){let e=this.driver.query(t,qc,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,rm,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return Mi(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t[Kt];if(e&&e.setForRemoval){if(t[Kt]=xD,e.namespaceId){this.destroyInnerAnimations(t);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}t.classList?.contains(mm)&&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((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],e.length?Mi(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(t){throw function n$(n){return new C(3402,!1)}()}_flushAnimations(t,e){const i=new td,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(O=>{d.add(O);const N=this.driver.query(O,".ng-animate-queued",!0);for(let H=0;H{const H=im+m++;p.set(N,H),O.forEach(ae=>Xt(ae,H))});const g=[],_=new Set,D=new Set;for(let O=0;O_.add(ae)):D.add(N))}const b=new Map,T=DD(f,Array.from(_));T.forEach((O,N)=>{const H=Gc+m++;b.set(N,H),O.forEach(ae=>Xt(ae,H))}),t.push(()=>{h.forEach((O,N)=>{const H=p.get(N);O.forEach(ae=>bo(ae,H))}),T.forEach((O,N)=>{const H=b.get(N);O.forEach(ae=>bo(ae,H))}),g.forEach(O=>{this.processLeaveNode(O)})});const ee=[],ce=[];for(let O=this._namespaceList.length-1;O>=0;O--)this._namespaceList[O].drainQueuedTransitions(e).forEach(H=>{const ae=H.player,et=H.element;if(ee.push(ae),this.collectedEnterElements.length){const ht=et[Kt];if(ht&&ht.setForMove){if(ht.previousTriggersValues&&ht.previousTriggersValues.has(H.triggerName)){const dr=ht.previousTriggersValues.get(H.triggerName),Qt=this.statesByElement.get(H.element);if(Qt&&Qt.has(H.triggerName)){const ad=Qt.get(H.triggerName);ad.value=dr,Qt.set(H.triggerName,ad)}}return void ae.destroy()}}const Rn=!u||!this.driver.containsElement(u,et),Vt=b.get(et),Ei=p.get(et),Ae=this._buildInstruction(H,i,Ei,Vt,Rn);if(Ae.errors&&Ae.errors.length)return void ce.push(Ae);if(Rn)return ae.onStart(()=>ar(et,Ae.fromStyles)),ae.onDestroy(()=>An(et,Ae.toStyles)),void r.push(ae);if(H.isFallbackTransition)return ae.onStart(()=>ar(et,Ae.fromStyles)),ae.onDestroy(()=>An(et,Ae.toStyles)),void r.push(ae);const LD=[];Ae.timelines.forEach(ht=>{ht.stretchStartingKeyframe=!0,this.disabledNodes.has(ht.element)||LD.push(ht)}),Ae.timelines=LD,i.append(et,Ae.timelines),s.push({instruction:Ae,player:ae,element:et}),Ae.queriedElements.forEach(ht=>Nt(a,ht,[]).push(ae)),Ae.preStyleProps.forEach((ht,dr)=>{if(ht.size){let Qt=l.get(dr);Qt||l.set(dr,Qt=new Set),ht.forEach((ad,Cm)=>Qt.add(Cm))}}),Ae.postStyleProps.forEach((ht,dr)=>{let Qt=c.get(dr);Qt||c.set(dr,Qt=new Set),ht.forEach((ad,Cm)=>Qt.add(Cm))})});if(ce.length){const O=[];ce.forEach(N=>{O.push(function i$(n,t){return new C(3505,!1)}())}),ee.forEach(N=>N.destroy()),this.reportError(O)}const ft=new Map,ii=new Map;s.forEach(O=>{const N=O.element;i.has(N)&&(ii.set(N,N),this._beforeAnimationBuild(O.player.namespaceId,O.instruction,ft))}),r.forEach(O=>{const N=O.element;this._getPreviousPlayers(N,!1,O.namespaceId,O.triggerName,null).forEach(ae=>{Nt(ft,N,[]).push(ae),ae.destroy()})});const ri=g.filter(O=>SD(O,l,c)),oi=new Map;MD(oi,this.driver,D,c,Qn).forEach(O=>{SD(O,l,c)&&ri.push(O)});const ea=new Map;h.forEach((O,N)=>{MD(ea,this.driver,new Set(O),l,up)}),ri.forEach(O=>{const N=oi.get(O),H=ea.get(O);oi.set(O,new Map([...Array.from(N?.entries()??[]),...Array.from(H?.entries()??[])]))});const cr=[],kD=[],ND={};s.forEach(O=>{const{element:N,player:H,instruction:ae}=O;if(i.has(N)){if(d.has(N))return H.onDestroy(()=>An(N,ae.toStyles)),H.disabled=!0,H.overrideTotalTime(ae.totalTime),void r.push(H);let et=ND;if(ii.size>1){let Vt=N;const Ei=[];for(;Vt=Vt.parentNode;){const Ae=ii.get(Vt);if(Ae){et=Ae;break}Ei.push(Vt)}Ei.forEach(Ae=>ii.set(Ae,et))}const Rn=this._buildAnimation(H.namespaceId,ae,ft,o,ea,oi);if(H.setRealPlayer(Rn),et===ND)cr.push(H);else{const Vt=this.playersByElement.get(et);Vt&&Vt.length&&(H.parentPlayer=Mi(Vt)),r.push(H)}}else ar(N,ae.fromStyles),H.onDestroy(()=>An(N,ae.toStyles)),kD.push(H),d.has(N)&&r.push(H)}),kD.forEach(O=>{const N=o.get(O.element);if(N&&N.length){const H=Mi(N);O.setRealPlayer(H)}}),r.forEach(O=>{O.parentPlayer?O.syncPlayerEvents(O.parentPlayer):O.destroy()});for(let O=0;O!Rn.destroyed);et.length?sz(this,N,et):this.processLeaveNode(N)}return g.length=0,cr.forEach(O=>{this.players.push(O),O.onDone(()=>{O.destroy();const N=this.players.indexOf(O);this.players.splice(N,1)}),O.play()}),cr}elementContainsData(t,e){let i=!1;const r=e[Kt];return r&&r.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(t).elementContainsData(e)||i}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,i,r,o){let s=[];if(e){const a=this.playersByQueriedElement.get(t);a&&(s=a)}else{const a=this.playersByElement.get(t);if(a){const l=!o||o==Js;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||s.push(c)})}}return(i||r)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(t,e,i){const o=e.element,s=e.isRemovalTransition?void 0:t,a=e.isRemovalTransition?void 0:e.triggerName;for(const l of e.timelines){const c=l.element,d=c!==o,u=Nt(i,c,[]);this._getPreviousPlayers(c,d,s,a,e.toState).forEach(h=>{const p=h.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),h.destroy(),u.push(h)})}ar(o,e.fromStyles)}_buildAnimation(t,e,i,r,o,s){const a=e.triggerName,l=e.element,c=[],d=new Set,u=new Set,f=e.timelines.map(p=>{const m=p.element;d.add(m);const g=m[Kt];if(g&&g.removedBeforeQueried)return new Fs(p.duration,p.delay);const _=m!==l,D=function az(n){const t=[];return ED(n,t),t}((i.get(m)||J$).map(ft=>ft.getRealPlayer())).filter(ft=>!!ft.element&&ft.element===m),b=o.get(m),T=s.get(m),ee=QM(0,this._normalizer,0,p.keyframes,b,T),ce=this._buildPlayer(p,ee,D);if(p.subTimeline&&r&&u.add(m),_){const ft=new vm(t,a,m);ft.setRealPlayer(ce),c.push(ft)}return ce});c.forEach(p=>{Nt(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>function iz(n,t,e){let i=n.get(t);if(i){if(i.length){const r=i.indexOf(e);i.splice(r,1)}0==i.length&&n.delete(t)}return i}(this.playersByQueriedElement,p.element,p))}),d.forEach(p=>Xt(p,aD));const h=Mi(f);return h.onDestroy(()=>{d.forEach(p=>bo(p,aD)),An(l,e.toStyles)}),u.forEach(p=>{Nt(r,p,[]).push(h)}),h}_buildPlayer(t,e,i){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,i):new Fs(t.duration,t.delay)}}class vm{constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i,this._player=new Fs,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,i)=>{e.forEach(r=>Xp(t,i,void 0,r))}),this._queuedCallbacks.clear(),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){Nt(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 rd(n){return n&&1===n.nodeType}function wD(n,t){const e=n.style.display;return n.style.display=t??"none",e}function MD(n,t,e,i,r){const o=[];e.forEach(l=>o.push(wD(l)));const s=[];i.forEach((l,c)=>{const d=new Map;l.forEach(u=>{const f=t.computeStyle(c,u,r);d.set(u,f),(!f||0==f.length)&&(c[Kt]=ez,s.push(c))}),n.set(c,d)});let a=0;return e.forEach(l=>wD(l,o[a++])),s}function DD(n,t){const e=new Map;if(n.forEach(a=>e.set(a,[])),0==t.length)return e;const i=1,r=new Set(t),o=new Map;function s(a){if(!a)return i;let l=o.get(a);if(l)return l;const c=a.parentNode;return l=e.has(c)?c:r.has(c)?i:s(c),o.set(a,l),l}return t.forEach(a=>{const l=s(a);l!==i&&e.get(l).push(a)}),e}function Xt(n,t){n.classList?.add(t)}function bo(n,t){n.classList?.remove(t)}function sz(n,t,e){Mi(e).onDone(()=>n.processLeaveNode(t))}function ED(n,t){for(let e=0;er.add(o)):t.set(n,i),e.delete(n),!0}class od{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new nz(t,e,i),this._timelineEngine=new Y$(t,e,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(t,e,i,r,o){const s=t+"-"+r;let a=this._triggerCache[s];if(!a){const l=[],c=[],d=lm(this._driver,o,l,c);if(l.length)throw function WU(n,t){return new C(3404,!1)}();a=function z$(n,t,e){return new G$(n,t,e)}(r,d,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,r,a)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,i,r){this._transitionEngine.insertNode(t,e,i,r)}onRemove(t,e,i,r){this._transitionEngine.removeNode(t,e,r||!1,i)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,i,r){if("@"==i.charAt(0)){const[o,s]=JM(i);this._timelineEngine.command(o,e,s,r)}else this._transitionEngine.trigger(t,e,i,r)}listen(t,e,i,r,o){if("@"==i.charAt(0)){const[s,a]=JM(i);return this._timelineEngine.listen(s,e,a,o)}return this._transitionEngine.listen(t,e,i,r,o)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let dz=(()=>{class n{constructor(e,i,r){this._element=e,this._startStyles=i,this._endStyles=r,this._state=0;let o=n.initialStylesByElement.get(e);o||n.initialStylesByElement.set(e,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&An(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(An(this._element,this._initialStyles),this._endStyles&&(An(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(ar(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(ar(this._element,this._endStyles),this._endStyles=null),An(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function ym(n){let t=null;return n.forEach((e,i)=>{(function uz(n){return"display"===n||"position"===n})(i)&&(t=t||new Map,t.set(i,e))}),t}class ID{constructor(t,e,i,r){this.element=t,this.keyframes=e,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.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]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){const e=[];return t.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(t,e,i){return t.animate(this._convertKeyframesToObject(e),i)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(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,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_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=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{"offset"!==r&&t.set(r,this._finished?i:hD(this.element,r))}),this.currentSnapshot=t}triggerCallback(t){const e="start"===t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class fz{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}matchesElement(t,e){return!1}containsElement(t,e){return iD(t,e)}getParentElement(t){return tm(t)}query(t,e,i){return rD(t,e,i)}computeStyle(t,e,i){return window.getComputedStyle(t)[e]}animate(t,e,i,r,o,s=[]){const l={duration:i,delay:r,fill:0==r?"both":"forwards"};o&&(l.easing=o);const c=new Map,d=s.filter(h=>h instanceof ID);(function g$(n,t){return 0===n||0===t})(i,r)&&d.forEach(h=>{h.currentSnapshot.forEach((p,m)=>c.set(m,p))});let u=function f$(n){return n.length?n[0]instanceof Map?n:n.map(t=>lD(t)):[]}(e).map(h=>Di(h));u=function _$(n,t,e){if(e.size&&t.length){let i=t[0],r=[];if(e.forEach((o,s)=>{i.has(s)||r.push(s),i.set(s,o)}),r.length)for(let o=1;os.set(a,hD(n,a)))}}return t}(t,u,c);const f=function cz(n,t){let e=null,i=null;return Array.isArray(t)&&t.length?(e=ym(t[0]),t.length>1&&(i=ym(t[t.length-1]))):t instanceof Map&&(e=ym(t)),e||i?new dz(n,e,i):null}(t,u);return new ID(t,u,l,f)}}let hz=(()=>{class n extends hw{constructor(e,i){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(i.body,{id:"0",encapsulation:Jt.None,styles:[],data:{animation:[]}})}build(e){const i=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(e)?pw(e):e;return TD(this._renderer,null,i,"register",[r]),new pz(i,this._renderer)}}return n.\u0275fac=function(e){return new(e||n)(w(Go),w(ie))},n.\u0275prov=I({token:n,factory:n.\u0275fac}),n})();class pz extends cV{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new mz(this._id,t,e||{},this._renderer)}}class mz{constructor(t,e,i,r){this.id=t,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return TD(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(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function TD(n,t,e,i,r){return n.setProperty(t,`@@${e}:${i}`,r)}const AD="@.disabled";let gz=(()=>{class n{constructor(e,i,r){this.delegate=e,this.engine=i,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),i.onRemovalComplete=(o,s)=>{const a=s?.parentNode(o);a&&s.removeChild(a,o)}}createRenderer(e,i){const o=this.delegate.createRenderer(e,i);if(!(e&&i&&i.data&&i.data.animation)){let d=this._rendererCache.get(o);return d||(d=new RD("",o,this.engine,()=>this._rendererCache.delete(o)),this._rendererCache.set(o,d)),d}const s=i.id,a=i.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);const l=d=>{Array.isArray(d)?d.forEach(l):this.engine.registerTrigger(s,a,e,d.name,d)};return i.data.animation.forEach(l),new _z(this,a,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,r){e>=0&&ei(r)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(o=>{const[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,r]))}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)(w(Go),w(od),w(se))},n.\u0275prov=I({token:n,factory:n.\u0275fac}),n})();class RD{constructor(t,e,i,r){this.namespaceId=t,this.delegate=e,this.engine=i,this._onDestroy=r,this.destroyNode=this.delegate.destroyNode?o=>e.destroyNode(o):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}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,i,r=!0){this.delegate.insertBefore(t,e,i),this.engine.onInsert(this.namespaceId,e,t,r)}removeChild(t,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate,i)}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,i,r){this.delegate.setAttribute(t,e,i,r)}removeAttribute(t,e,i){this.delegate.removeAttribute(t,e,i)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,i,r){this.delegate.setStyle(t,e,i,r)}removeStyle(t,e,i){this.delegate.removeStyle(t,e,i)}setProperty(t,e,i){"@"==e.charAt(0)&&e==AD?this.disableAnimations(t,!!i):this.delegate.setProperty(t,e,i)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,i){return this.delegate.listen(t,e,i)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class _z extends RD{constructor(t,e,i,r,o){super(e,i,r,o),this.factory=t,this.namespaceId=e}setProperty(t,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==AD?this.disableAnimations(t,i=void 0===i||!!i):this.engine.process(this.namespaceId,t,e.slice(1),i):this.delegate.setProperty(t,e,i)}listen(t,e,i){if("@"==e.charAt(0)){const r=function vz(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(t);let o=e.slice(1),s="";return"@"!=o.charAt(0)&&([o,s]=function yz(n){const t=n.indexOf(".");return[n.substring(0,t),n.slice(t+1)]}(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,i,a)})}return this.delegate.listen(t,e,i)}}const FD=[{provide:hw,useClass:hz},{provide:hm,useFactory:function Cz(){return new j$}},{provide:od,useClass:(()=>{class n extends od{constructor(e,i,r,o){super(e.body,i,r)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(e){return new(e||n)(w(ie),w(nm),w(hm),w(eo))},n.\u0275prov=I({token:n,factory:n.\u0275fac}),n})()},{provide:Go,useFactory:function xz(n,t,e){return new gz(n,t,e)},deps:[jl,od,se]}],bm=[{provide:nm,useFactory:()=>new fz},{provide:Lf,useValue:"BrowserAnimations"},...FD],OD=[{provide:nm,useClass:oD},{provide:Lf,useValue:"NoopAnimations"},...FD];let wz=(()=>{class n{static withConfig(e){return{ngModule:n,providers:e.disableAnimations?OD:bm}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=le({type:n}),n.\u0275inj=oe({providers:bm,imports:[bC]}),n})(),Mz=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=le({type:n,bootstrap:[MU]});static#n=this.\u0275inj=oe({imports:[bC,mU,wz,G2,lV,fp,SV,OV,kV,VB,BB,AL,RL,e2,CU]})}return n})();_N().bootstrapModule(Mz).catch(n=>console.error(n))}},re=>{re(re.s=886)}]);
\ No newline at end of file
diff --git a/docs/scripts.js b/docs/scripts.js
index 3649d97..db1c721 100644
--- a/docs/scripts.js
+++ b/docs/scripts.js
@@ -1 +1 @@
-!function(R,Ht){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=R.document?Ht(R,!0):function(tt){if(!tt.document)throw new Error("jQuery requires a window with a document");return Ht(tt)}:Ht(R)}(typeof window<"u"?window:this,function(R,Ht){"use strict";var tt=[],jt=Object.getPrototypeOf,st=tt.slice,Fn=tt.flat?function(t){return tt.flat.call(t)}:function(t){return tt.concat.apply([],t)},ze=tt.push,yt=tt.indexOf,Te={},Bn=Te.toString,Ae=Te.hasOwnProperty,Kn=Ae.toString,Yn=Kn.call(Object),P={},H=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},vt=function(e){return null!=e&&e===e.window},M=R.document,Un={type:!0,src:!0,nonce:!0,noModule:!0};function Ce(t,e,i){var r,o,a=(i=i||M).createElement("script");if(a.text=t,e)for(r in Un)(o=e[r]||e.getAttribute&&e.getAttribute(r))&&a.setAttribute(r,o);i.head.appendChild(a).parentNode.removeChild(a)}function wt(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?Te[Bn.call(t)]||"object":typeof t}var fn=/HTML$/i,s=function(t,e){return new s.fn.init(t,e)};function ut(t){var e=!!t&&"length"in t&&t.length,i=wt(t);return!H(t)&&!vt(t)&&("array"===i||0===e||"number"==typeof e&&e>0&&e-1 in t)}function Y(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}s.fn=s.prototype={jquery:"3.7.1",constructor:s,length:0,toArray:function(){return st.call(this)},get:function(t){return null==t?st.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=s.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return s.each(this,t)},map:function(t){return this.pushStack(s.map(this,function(e,i){return t.call(e,i,e)}))},slice:function(){return this.pushStack(st.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(s.grep(this,function(t,e){return(e+1)%2}))},odd:function(){return this.pushStack(s.grep(this,function(t,e){return e%2}))},eq:function(t){var e=this.length,i=+t+(t<0?e:0);return this.pushStack(i>=0&&i+~]|"+Q+")"+Q+"*"),kn=new RegExp(Q+"|>"),Ct=new RegExp($t),We=new RegExp("^"+It+"$"),kt={ID:new RegExp("^#("+It+")"),CLASS:new RegExp("^\\.("+It+")"),TAG:new RegExp("^("+It+"|[*])"),ATTR:new RegExp("^"+z),PSEUDO:new RegExp("^"+$t),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+Q+"*(even|odd|(([+-]|)(\\d*)n|)"+Q+"*(?:([+-]|)"+Q+"*(\\d+)|))"+Q+"*\\)|)","i"),bool:new RegExp("^(?:"+At+")$","i"),needsContext:new RegExp("^"+Q+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+Q+"*((?:-\\d)?\\d*)"+Q+"*\\)|)(?=[^-]|$)","i")},Bt=/^(?:input|select|textarea|button)$/i,Kt=/^h\d$/i,pt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Ee=/[+~]/,Mt=new RegExp("\\\\[\\da-fA-F]{1,6}"+Q+"?|\\\\([^\\r\\n\\f])","g"),St=function(l,g){var E="0x"+l.slice(1)-65536;return g||(E<0?String.fromCharCode(E+65536):String.fromCharCode(E>>10|55296,1023&E|56320))},cr=function(){Qt()},vr=sn(function(l){return!0===l.disabled&&Y(l,"fieldset")},{dir:"parentNode",next:"legend"});try{a.apply(tt=st.call(Dt.childNodes),Dt.childNodes)}catch{a={apply:function(g,E){Ge.apply(g,st.call(E))},call:function(g){Ge.apply(g,st.call(arguments,1))}}}function X(l,g,E,y){var b,w,O,L,x,F,j,W=g&&g.ownerDocument,B=g?g.nodeType:9;if(E=E||[],"string"!=typeof l||!l||1!==B&&9!==B&&11!==B)return E;if(!y&&(Qt(g),g=g||c,f)){if(11!==B&&(x=pt.exec(l)))if(b=x[1]){if(9===B){if(!(O=g.getElementById(b)))return E;if(O.id===b)return a.call(E,O),E}else if(W&&(O=W.getElementById(b))&&X.contains(g,O)&&O.id===b)return a.call(E,O),E}else{if(x[2])return a.apply(E,g.getElementsByTagName(l)),E;if((b=x[3])&&g.getElementsByClassName)return a.apply(E,g.getElementsByClassName(b)),E}if(!(nt[l+" "]||_&&_.test(l))){if(j=l,W=g,1===B&&(kn.test(l)||Ve.test(l))){for(((W=Ee.test(l)&&Mn(g.parentNode)||g)!=g||!P.scope)&&((L=g.getAttribute("id"))?L=s.escapeSelector(L):g.setAttribute("id",L=T)),w=(F=qe(l)).length;w--;)F[w]=(L?"#"+L:":scope")+" "+Fe(F[w]);j=F.join(",")}try{return a.apply(E,W.querySelectorAll(j)),E}catch{nt(l,!0)}finally{L===T&&g.removeAttribute("id")}}}return Di(l.replace(Se,"$1"),g,E,y)}function rn(){var l=[];return function g(E,y){return l.push(E+" ")>e.cacheLength&&delete g[l.shift()],g[E+" "]=y}}function Nt(l){return l[T]=!0,l}function ye(l){var g=c.createElement("fieldset");try{return!!l(g)}catch{return!1}finally{g.parentNode&&g.parentNode.removeChild(g),g=null}}function Ci(l){return function(g){return Y(g,"input")&&g.type===l}}function Si(l){return function(g){return(Y(g,"input")||Y(g,"button"))&&g.type===l}}function Ni(l){return function(g){return"form"in g?g.parentNode&&!1===g.disabled?"label"in g?"label"in g.parentNode?g.parentNode.disabled===l:g.disabled===l:g.isDisabled===l||g.isDisabled!==!l&&vr(g)===l:g.disabled===l:"label"in g&&g.disabled===l}}function ie(l){return Nt(function(g){return g=+g,Nt(function(E,y){for(var b,w=l([],E.length,g),O=w.length;O--;)E[b=w[O]]&&(E[b]=!(y[b]=E[b]))})})}function Mn(l){return l&&typeof l.getElementsByTagName<"u"&&l}function Qt(l){var g,E=l?l.ownerDocument||l:Dt;return E==c||9!==E.nodeType||!E.documentElement||(h=(c=E).documentElement,f=!s.isXMLDoc(c),v=h.matches||h.webkitMatchesSelector||h.msMatchesSelector,h.msMatchesSelector&&Dt!=c&&(g=c.defaultView)&&g.top!==g&&g.addEventListener("unload",cr),P.getById=ye(function(y){return h.appendChild(y).id=s.expando,!c.getElementsByName||!c.getElementsByName(s.expando).length}),P.disconnectedMatch=ye(function(y){return v.call(y,"*")}),P.scope=ye(function(){return c.querySelectorAll(":scope")}),P.cssHas=ye(function(){try{return c.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),P.getById?(e.filter.ID=function(y){var b=y.replace(Mt,St);return function(w){return w.getAttribute("id")===b}},e.find.ID=function(y,b){if(typeof b.getElementById<"u"&&f){var w=b.getElementById(y);return w?[w]:[]}}):(e.filter.ID=function(y){var b=y.replace(Mt,St);return function(w){var O=typeof w.getAttributeNode<"u"&&w.getAttributeNode("id");return O&&O.value===b}},e.find.ID=function(y,b){if(typeof b.getElementById<"u"&&f){var w,O,L,x=b.getElementById(y);if(x){if((w=x.getAttributeNode("id"))&&w.value===y)return[x];for(L=b.getElementsByName(y),O=0;x=L[O++];)if((w=x.getAttributeNode("id"))&&w.value===y)return[x]}return[]}}),e.find.TAG=function(y,b){return typeof b.getElementsByTagName<"u"?b.getElementsByTagName(y):b.querySelectorAll(y)},e.find.CLASS=function(y,b){if(typeof b.getElementsByClassName<"u"&&f)return b.getElementsByClassName(y)},_=[],ye(function(y){var b;h.appendChild(y).innerHTML=" ",y.querySelectorAll("[selected]").length||_.push("\\["+Q+"*(?:value|"+At+")"),y.querySelectorAll("[id~="+T+"-]").length||_.push("~="),y.querySelectorAll("a#"+T+"+*").length||_.push(".#.+[+~]"),y.querySelectorAll(":checked").length||_.push(":checked"),(b=c.createElement("input")).setAttribute("type","hidden"),y.appendChild(b).setAttribute("name","D"),h.appendChild(y).disabled=!0,2!==y.querySelectorAll(":disabled").length&&_.push(":enabled",":disabled"),(b=c.createElement("input")).setAttribute("name",""),y.appendChild(b),y.querySelectorAll("[name='']").length||_.push("\\["+Q+"*name"+Q+"*="+Q+"*(?:''|\"\")")}),P.cssHas||_.push(":has"),_=_.length&&new RegExp(_.join("|")),et=function(y,b){if(y===b)return o=!0,0;var w=!y.compareDocumentPosition-!b.compareDocumentPosition;return w||(1&(w=(y.ownerDocument||y)==(b.ownerDocument||b)?y.compareDocumentPosition(b):1)||!P.sortDetached&&b.compareDocumentPosition(y)===w?y===c||y.ownerDocument==Dt&&X.contains(Dt,y)?-1:b===c||b.ownerDocument==Dt&&X.contains(Dt,b)?1:r?yt.call(r,y)-yt.call(r,b):0:4&w?-1:1)}),c}for(t in X.matches=function(l,g){return X(l,null,null,g)},X.matchesSelector=function(l,g){if(Qt(l),f&&!nt[g+" "]&&(!_||!_.test(g)))try{var E=v.call(l,g);if(E||P.disconnectedMatch||l.document&&11!==l.document.nodeType)return E}catch{nt(g,!0)}return X(g,c,null,[l]).length>0},X.contains=function(l,g){return(l.ownerDocument||l)!=c&&Qt(l),s.contains(l,g)},X.attr=function(l,g){(l.ownerDocument||l)!=c&&Qt(l);var E=e.attrHandle[g.toLowerCase()],y=E&&Ae.call(e.attrHandle,g.toLowerCase())?E(l,g,!f):void 0;return void 0!==y?y:l.getAttribute(g)},X.error=function(l){throw new Error("Syntax error, unrecognized expression: "+l)},s.uniqueSort=function(l){var g,E=[],y=0,b=0;if(o=!P.sortStable,r=!P.sortStable&&st.call(l,0),zn.call(l,et),o){for(;g=l[b++];)g===l[b]&&(y=E.push(b));for(;y--;)dn.call(l,E[y],1)}return r=null,l},s.fn.uniqueSort=function(){return this.pushStack(s.uniqueSort(st.apply(this)))},(e=s.expr={cacheLength:50,createPseudo:Nt,match:kt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(l){return l[1]=l[1].replace(Mt,St),l[3]=(l[3]||l[4]||l[5]||"").replace(Mt,St),"~="===l[2]&&(l[3]=" "+l[3]+" "),l.slice(0,4)},CHILD:function(l){return l[1]=l[1].toLowerCase(),"nth"===l[1].slice(0,3)?(l[3]||X.error(l[0]),l[4]=+(l[4]?l[5]+(l[6]||1):2*("even"===l[3]||"odd"===l[3])),l[5]=+(l[7]+l[8]||"odd"===l[3])):l[3]&&X.error(l[0]),l},PSEUDO:function(l){var g,E=!l[6]&&l[2];return kt.CHILD.test(l[0])?null:(l[3]?l[2]=l[4]||l[5]||"":E&&Ct.test(E)&&(g=qe(E,!0))&&(g=E.indexOf(")",E.length-g)-E.length)&&(l[0]=l[0].slice(0,g),l[2]=E.slice(0,g)),l.slice(0,3))}},filter:{TAG:function(l){var g=l.replace(Mt,St).toLowerCase();return"*"===l?function(){return!0}:function(E){return Y(E,g)}},CLASS:function(l){var g=V[l+" "];return g||(g=new RegExp("(^|"+Q+")"+l+"("+Q+"|$)"))&&V(l,function(E){return g.test("string"==typeof E.className&&E.className||typeof E.getAttribute<"u"&&E.getAttribute("class")||"")})},ATTR:function(l,g,E){return function(y){var b=X.attr(y,l);return null==b?"!="===g:!g||(b+="","="===g?b===E:"!="===g?b!==E:"^="===g?E&&0===b.indexOf(E):"*="===g?E&&b.indexOf(E)>-1:"$="===g?E&&b.slice(-E.length)===E:"~="===g?(" "+b.replace(G," ")+" ").indexOf(E)>-1:"|="===g&&(b===E||b.slice(0,E.length+1)===E+"-"))}},CHILD:function(l,g,E,y,b){var w="nth"!==l.slice(0,3),O="last"!==l.slice(-4),L="of-type"===g;return 1===y&&0===b?function(x){return!!x.parentNode}:function(x,F,j){var W,B,k,J,ot,it=w!==O?"nextSibling":"previousSibling",mt=x.parentNode,Pt=L&&x.nodeName.toLowerCase(),ve=!j&&!L,at=!1;if(mt){if(w){for(;it;){for(k=x;k=k[it];)if(L?Y(k,Pt):1===k.nodeType)return!1;ot=it="only"===l&&!ot&&"nextSibling"}return!0}if(ot=[O?mt.firstChild:mt.lastChild],O&&ve){for(at=(J=(W=(B=mt[T]||(mt[T]={}))[l]||[])[0]===m&&W[1])&&W[2],k=J&&mt.childNodes[J];k=++J&&k&&k[it]||(at=J=0)||ot.pop();)if(1===k.nodeType&&++at&&k===x){B[l]=[m,J,at];break}}else if(ve&&(at=J=(W=(B=x[T]||(x[T]={}))[l]||[])[0]===m&&W[1]),!1===at)for(;(k=++J&&k&&k[it]||(at=J=0)||ot.pop())&&(!(L?Y(k,Pt):1===k.nodeType)||!++at||(ve&&((B=k[T]||(k[T]={}))[l]=[m,at]),k!==x)););return(at-=b)===y||at%y==0&&at/y>=0}}},PSEUDO:function(l,g){var E,y=e.pseudos[l]||e.setFilters[l.toLowerCase()]||X.error("unsupported pseudo: "+l);return y[T]?y(g):y.length>1?(E=[l,l,"",g],e.setFilters.hasOwnProperty(l.toLowerCase())?Nt(function(b,w){for(var O,L=y(b,g),x=L.length;x--;)b[O=yt.call(b,L[x])]=!(w[O]=L[x])}):function(b){return y(b,0,E)}):y}},pseudos:{not:Nt(function(l){var g=[],E=[],y=jn(l.replace(Se,"$1"));return y[T]?Nt(function(b,w,O,L){for(var x,F=y(b,null,L,[]),j=b.length;j--;)(x=F[j])&&(b[j]=!(w[j]=x))}):function(b,w,O){return g[0]=b,y(g,null,O,E),g[0]=null,!E.pop()}}),has:Nt(function(l){return function(g){return X(l,g).length>0}}),contains:Nt(function(l){return l=l.replace(Mt,St),function(g){return(g.textContent||s.text(g)).indexOf(l)>-1}}),lang:Nt(function(l){return We.test(l||"")||X.error("unsupported lang: "+l),l=l.replace(Mt,St).toLowerCase(),function(g){var E;do{if(E=f?g.lang:g.getAttribute("xml:lang")||g.getAttribute("lang"))return(E=E.toLowerCase())===l||0===E.indexOf(l+"-")}while((g=g.parentNode)&&1===g.nodeType);return!1}}),target:function(l){var g=R.location&&R.location.hash;return g&&g.slice(1)===l.id},root:function(l){return l===h},focus:function(l){return l===function _t(){try{return c.activeElement}catch{}}()&&c.hasFocus()&&!!(l.type||l.href||~l.tabIndex)},enabled:Ni(!1),disabled:Ni(!0),checked:function(l){return Y(l,"input")&&!!l.checked||Y(l,"option")&&!!l.selected},selected:function(l){return!0===l.selected},empty:function(l){for(l=l.firstChild;l;l=l.nextSibling)if(l.nodeType<6)return!1;return!0},parent:function(l){return!e.pseudos.empty(l)},header:function(l){return Kt.test(l.nodeName)},input:function(l){return Bt.test(l.nodeName)},button:function(l){return Y(l,"input")&&"button"===l.type||Y(l,"button")},text:function(l){var g;return Y(l,"input")&&"text"===l.type&&(null==(g=l.getAttribute("type"))||"text"===g.toLowerCase())},first:ie(function(){return[0]}),last:ie(function(l,g){return[g-1]}),eq:ie(function(l,g,E){return[E<0?E+g:E]}),even:ie(function(l,g){for(var E=0;Eg?g:E;--y>=0;)l.push(y);return l}),gt:ie(function(l,g,E){for(var y=E<0?E+g:E;++y1?function(g,E,y){for(var b=l.length;b--;)if(!l[b](g,E,y))return!1;return!0}:l[0]}function an(l,g,E,y,b){for(var w,O=[],L=0,x=l.length,F=null!=g;L-1&&(O[j]=!(L[j]=B))}}else k=an(k===L?k.splice(it,k.length):k),b?b(null,L,k,F):a.apply(L,k)})}function Hn(l){for(var g,E,y,b=l.length,w=e.relative[l[0].type],O=w||e.relative[" "],L=w?1:0,x=sn(function(W){return W===g},O,!0),F=sn(function(W){return yt.call(g,W)>-1},O,!0),j=[function(W,B,k){var J=!w&&(k||B!=i)||((g=B).nodeType?x(W,B,k):F(W,B,k));return g=null,J}];L1&&on(j),L>1&&Fe(l.slice(0,L-1).concat({value:" "===l[L-2].type?"*":""})).replace(Se,"$1"),E,L0,y=l.length>0,b=function(w,O,L,x,F){var j,W,B,k=0,J="0",ot=w&&[],it=[],mt=i,Pt=w||y&&e.find.TAG("*",F),ve=m+=null==mt?1:Math.random()||.1,at=Pt.length;for(F&&(i=O==c||O||F);J!==at&&null!=(j=Pt[J]);J++){if(y&&j){for(W=0,!O&&j.ownerDocument!=c&&(Qt(j),L=!f);B=l[W++];)if(B(j,O||c,L)){a.call(x,j);break}F&&(m=ve)}E&&((j=!B&&j)&&k--,w&&ot.push(j))}if(k+=J,E&&J!==k){for(W=0;B=g[W++];)B(ot,it,O,L);if(w){if(k>0)for(;J--;)ot[J]||it[J]||(it[J]=ct.call(x));it=an(it)}a.apply(x,it),F&&!w&&it.length>0&&k+g.length>1&&s.uniqueSort(x)}return F&&(m=ve,i=mt),ot};return E?Nt(b):b}(b,y)),w.selector=l}return w}function Di(l,g,E,y){var b,w,O,L,x,F="function"==typeof l&&l,j=!y&&qe(l=F.selector||l);if(E=E||[],1===j.length){if((w=j[0]=j[0].slice(0)).length>2&&"ID"===(O=w[0]).type&&9===g.nodeType&&f&&e.relative[w[1].type]){if(!(g=(e.find.ID(O.matches[0].replace(Mt,St),g)||[])[0]))return E;F&&(g=g.parentNode),l=l.slice(w.shift().value.length)}for(b=kt.needsContext.test(l)?0:w.length;b--&&!e.relative[L=(O=w[b]).type];)if((x=e.find[L])&&(y=x(O.matches[0].replace(Mt,St),Ee.test(w[0].type)&&Mn(g.parentNode)||g))){if(w.splice(b,1),!(l=y.length&&Fe(w)))return a.apply(E,y),E;break}}return(F||jn(l,j))(y,g,!f,E,!g||Ee.test(l)&&Mn(g.parentNode)||g),E}wi.prototype=e.filters=e.pseudos,e.setFilters=new wi,P.sortStable=T.split("").sort(et).join("")===T,Qt(),P.sortDetached=ye(function(l){return 1&l.compareDocumentPosition(c.createElement("fieldset"))}),s.find=X,s.expr[":"]=s.expr.pseudos,s.unique=s.uniqueSort,X.compile=jn,X.select=Di,X.setDocument=Qt,X.tokenize=qe,X.escape=s.escapeSelector,X.getText=s.text,X.isXML=s.isXMLDoc,X.selectors=s.expr,X.support=s.support,X.uniqueSort=s.uniqueSort}();var se=function(t,e,i){for(var r=[],o=void 0!==i;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(o&&s(t).is(i))break;r.push(t)}return r},pn=function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i},gn=s.expr.match.needsContext,Gn=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function _n(t,e,i){return H(e)?s.grep(t,function(r,o){return!!e.call(r,o,r)!==i}):e.nodeType?s.grep(t,function(r){return r===e!==i}):"string"!=typeof e?s.grep(t,function(r){return yt.call(e,r)>-1!==i}):s.filter(e,t,i)}s.filter=function(t,e,i){var r=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===r.nodeType?s.find.matchesSelector(r,t)?[r]:[]:s.find.matches(t,s.grep(e,function(o){return 1===o.nodeType}))},s.fn.extend({find:function(t){var e,i,r=this.length,o=this;if("string"!=typeof t)return this.pushStack(s(t).filter(function(){for(e=0;e1?s.uniqueSort(i):i},filter:function(t){return this.pushStack(_n(this,t||[],!1))},not:function(t){return this.pushStack(_n(this,t||[],!0))},is:function(t){return!!_n(this,"string"==typeof t&&gn.test(t)?s(t):t||[],!1).length}});var mn,Xn=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Qn=s.fn.init=function(t,e,i){var r,o;if(!t)return this;if(i=i||mn,"string"==typeof t){if(!(r="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:Xn.exec(t))||!r[1]&&e)return!e||e.jquery?(e||i).find(t):this.constructor(e).find(t);if(r[1]){if(s.merge(this,s.parseHTML(r[1],(e=e instanceof s?e[0]:e)&&e.nodeType?e.ownerDocument||e:M,!0)),Gn.test(r[1])&&s.isPlainObject(e))for(r in e)H(this[r])?this[r](e[r]):this.attr(r,e[r]);return this}return(o=M.getElementById(r[2]))&&(this[0]=o,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):H(t)?void 0!==i.ready?i.ready(t):t(s):s.makeArray(t,this)};Qn.prototype=s.fn,mn=s(M);var En=/^(?:parents|prev(?:Until|All))/,Mi={children:!0,contents:!0,next:!0,prev:!0};function yn(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}s.fn.extend({has:function(t){var e=s(t,this),i=e.length;return this.filter(function(){for(var r=0;r-1:1===i.nodeType&&s.find.matchesSelector(i,t))){a.push(i);break}return this.pushStack(a.length>1?s.uniqueSort(a):a)},index:function(t){return t?"string"==typeof t?yt.call(s(t),this[0]):yt.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(s.uniqueSort(s.merge(this.get(),s(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),s.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return se(t,"parentNode")},parentsUntil:function(t,e,i){return se(t,"parentNode",i)},next:function(t){return yn(t,"nextSibling")},prev:function(t){return yn(t,"previousSibling")},nextAll:function(t){return se(t,"nextSibling")},prevAll:function(t){return se(t,"previousSibling")},nextUntil:function(t,e,i){return se(t,"nextSibling",i)},prevUntil:function(t,e,i){return se(t,"previousSibling",i)},siblings:function(t){return pn((t.parentNode||{}).firstChild,t)},children:function(t){return pn(t.firstChild)},contents:function(t){return null!=t.contentDocument&&jt(t.contentDocument)?t.contentDocument:(Y(t,"template")&&(t=t.content||t),s.merge([],t.childNodes))}},function(t,e){s.fn[t]=function(i,r){var o=s.map(this,e,i);return"Until"!==t.slice(-5)&&(r=i),r&&"string"==typeof r&&(o=s.filter(r,o)),this.length>1&&(Mi[t]||s.uniqueSort(o),En.test(t)&&o.reverse()),this.pushStack(o)}});var C=/[^\x20\t\r\n\f]+/g;function Zt(t){return t}function oe(t){throw t}function xt(t,e,i,r){var o;try{t&&H(o=t.promise)?o.call(t).done(e).fail(i):t&&H(o=t.then)?o.call(t,e,i):e.apply(void 0,[t].slice(r))}catch(a){i.apply(void 0,[a])}}s.Callbacks=function(t){t="string"==typeof t?function vn(t){var e={};return s.each(t.match(C)||[],function(i,r){e[r]=!0}),e}(t):s.extend({},t);var e,i,r,o,a=[],c=[],h=-1,f=function(){for(o=o||t.once,r=e=!0;c.length;h=-1)for(i=c.shift();++h-1;)a.splice(m,1),m<=h&&h--}),this},has:function(v){return v?s.inArray(v,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return o=c=[],a=i="",this},disabled:function(){return!a},lock:function(){return o=c=[],!i&&!e&&(a=i=""),this},locked:function(){return!!o},fireWith:function(v,T){return o||(T=[v,(T=T||[]).slice?T.slice():T],c.push(T),e||f()),this},fire:function(){return _.fireWith(this,arguments),this},fired:function(){return!!r}};return _},s.extend({Deferred:function(t){var e=[["notify","progress",s.Callbacks("memory"),s.Callbacks("memory"),2],["resolve","done",s.Callbacks("once memory"),s.Callbacks("once memory"),0,"resolved"],["reject","fail",s.Callbacks("once memory"),s.Callbacks("once memory"),1,"rejected"]],i="pending",r={state:function(){return i},always:function(){return o.done(arguments).fail(arguments),this},catch:function(a){return r.then(null,a)},pipe:function(){var a=arguments;return s.Deferred(function(c){s.each(e,function(h,f){var _=H(a[f[4]])&&a[f[4]];o[f[1]](function(){var v=_&&_.apply(this,arguments);v&&H(v.promise)?v.promise().progress(c.notify).done(c.resolve).fail(c.reject):c[f[0]+"With"](this,_?[v]:arguments)})}),a=null}).promise()},then:function(a,c,h){var f=0;function _(v,T,m,S){return function(){var V=this,U=arguments,q=function(){var et,At;if(!(v=f&&(m!==oe&&(V=void 0,U=[et]),T.rejectWith(V,U))}};v?nt():(s.Deferred.getErrorHook?nt.error=s.Deferred.getErrorHook():s.Deferred.getStackHook&&(nt.error=s.Deferred.getStackHook()),R.setTimeout(nt))}}return s.Deferred(function(v){e[0][3].add(_(0,v,H(h)?h:Zt,v.notifyWith)),e[1][3].add(_(0,v,H(a)?a:Zt)),e[2][3].add(_(0,v,H(c)?c:oe))}).promise()},promise:function(a){return null!=a?s.extend(a,r):r}},o={};return s.each(e,function(a,c){var h=c[2],f=c[5];r[c[1]]=h.add,f&&h.add(function(){i=f},e[3-a][2].disable,e[3-a][3].disable,e[0][2].lock,e[0][3].lock),h.add(c[3].fire),o[c[0]]=function(){return o[c[0]+"With"](this===o?void 0:this,arguments),this},o[c[0]+"With"]=h.fireWith}),r.promise(o),t&&t.call(o,o),o},when:function(t){var e=arguments.length,i=e,r=Array(i),o=st.call(arguments),a=s.Deferred(),c=function(h){return function(f){r[h]=this,o[h]=arguments.length>1?st.call(arguments):f,--e||a.resolveWith(r,o)}};if(e<=1&&(xt(t,a.done(c(i)).resolve,a.reject,!e),"pending"===a.state()||H(o[i]&&o[i].then)))return a.then();for(;i--;)xt(o[i],c(i),a.reject);return a.promise()}});var Ne=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;s.Deferred.exceptionHook=function(t,e){R.console&&R.console.warn&&t&&Ne.test(t.name)&&R.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},s.readyException=function(t){R.setTimeout(function(){throw t})};var bn=s.Deferred();function lt(){M.removeEventListener("DOMContentLoaded",lt),R.removeEventListener("load",lt),s.ready()}s.fn.ready=function(t){return bn.then(t).catch(function(e){s.readyException(e)}),this},s.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--s.readyWait:s.isReady)||(s.isReady=!0,!(!0!==t&&--s.readyWait>0)&&bn.resolveWith(M,[s]))}}),s.ready.then=bn.then,"complete"===M.readyState||"loading"!==M.readyState&&!M.documentElement.doScroll?R.setTimeout(s.ready):(M.addEventListener("DOMContentLoaded",lt),R.addEventListener("load",lt));var bt=function(t,e,i,r,o,a,c){var h=0,f=t.length,_=null==i;if("object"===wt(i))for(h in o=!0,i)bt(t,e,h,i[h],!0,a,c);else if(void 0!==r&&(o=!0,H(r)||(c=!0),_&&(c?(e.call(t,r),e=null):(_=e,e=function(v,T,m){return _.call(s(v),m)})),e))for(;h1,null,!0)},removeData:function(t){return this.each(function(){ft.remove(this,t)})}}),s.extend({queue:function(t,e,i){var r;if(t)return r=I.get(t,e=(e||"fx")+"queue"),i&&(!r||Array.isArray(i)?r=I.access(t,e,s.makeArray(i)):r.push(i)),r||[]},dequeue:function(t,e){var i=s.queue(t,e=e||"fx"),r=i.length,o=i.shift(),a=s._queueHooks(t,e);"inprogress"===o&&(o=i.shift(),r--),o&&("fx"===e&&i.unshift("inprogress"),delete a.stop,o.call(t,function(){s.dequeue(t,e)},a)),!r&&a&&a.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return I.get(t,i)||I.access(t,i,{empty:s.Callbacks("once memory").add(function(){I.remove(t,[e+"queue",i])})})}}),s.fn.extend({queue:function(t,e){var i=2;return"string"!=typeof t&&(e=t,t="fx",i--),arguments.length\x20\t\r\n\f]*)/i,ei=/^$|^module$|\/(?:java|ecma)script/i;e=M.createDocumentFragment().appendChild(M.createElement("div")),(i=M.createElement("input")).setAttribute("type","radio"),i.setAttribute("checked","checked"),i.setAttribute("name","t"),e.appendChild(i),P.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="",P.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,e.innerHTML=" ",P.option=!!e.lastChild;var gt={thead:[1,""],col:[2,""],tr:[2,""],td:[3,""],_default:[0,"",""]};function dt(t,e){var i;return i=typeof t.getElementsByTagName<"u"?t.getElementsByTagName(e||"*"):typeof t.querySelectorAll<"u"?t.querySelectorAll(e||"*"):[],void 0===e||e&&Y(t,e)?s.merge([t],i):i}function Tn(t,e){for(var i=0,r=t.length;i",""]);var Wi=/<|?\w+;/;function ni(t,e,i,r,o){for(var a,c,h,f,_,v,T=e.createDocumentFragment(),m=[],S=0,V=t.length;S-1)o&&o.push(a);else if(_=ue(a),c=dt(T.appendChild(a),"script"),_&&Tn(c),i)for(v=0;a=c[v++];)ei.test(a.type||"")&&i.push(a);return T}var Ie=/^([^.]*)(?:\.(.+)|)/;function le(){return!0}function $e(){return!1}function Ot(t,e,i,r,o,a){var c,h;if("object"==typeof e){for(h in"string"!=typeof i&&(r=r||i,i=void 0),e)Ot(t,h,i,r,e[h],a);return t}if(null==r&&null==o?(o=i,r=i=void 0):null==o&&("string"==typeof i?(o=r,r=void 0):(o=r,r=i,i=void 0)),!1===o)o=$e;else if(!o)return t;return 1===a&&(c=o,o=function(f){return s().off(f),c.apply(this,arguments)},o.guid=c.guid||(c.guid=s.guid++)),t.each(function(){s.event.add(this,e,o,r,i)})}function ke(t,e,i){i?(I.set(t,e,!1),s.event.add(t,e,{namespace:!1,handler:function(r){var o,a=I.get(this,e);if(1&r.isTrigger&&this[e]){if(a)(s.event.special[e]||{}).delegateType&&r.stopPropagation();else if(a=st.call(arguments),I.set(this,e,a),this[e](),o=I.get(this,e),I.set(this,e,!1),a!==o)return r.stopImmediatePropagation(),r.preventDefault(),o}else a&&(I.set(this,e,s.event.trigger(a[0],a.slice(1),this)),r.stopPropagation(),r.isImmediatePropagationStopped=le)}})):void 0===I.get(t,e)&&s.event.add(t,e,le)}s.event={global:{},add:function(t,e,i,r,o){var a,c,h,f,_,v,T,m,S,V,U,q=I.get(t);if(ae(t))for(i.handler&&(i=(a=i).handler,o=a.selector),o&&s.find.matchesSelector(Ut,o),i.guid||(i.guid=s.guid++),(f=q.events)||(f=q.events=Object.create(null)),(c=q.handle)||(c=q.handle=function(nt){return typeof s<"u"&&s.event.triggered!==nt.type?s.event.dispatch.apply(t,arguments):void 0}),_=(e=(e||"").match(C)||[""]).length;_--;)S=U=(h=Ie.exec(e[_])||[])[1],V=(h[2]||"").split(".").sort(),S&&(T=s.event.special[S]||{},T=s.event.special[S=(o?T.delegateType:T.bindType)||S]||{},v=s.extend({type:S,origType:U,data:r,handler:i,guid:i.guid,selector:o,needsContext:o&&s.expr.match.needsContext.test(o),namespace:V.join(".")},a),(m=f[S])||((m=f[S]=[]).delegateCount=0,(!T.setup||!1===T.setup.call(t,r,V,c))&&t.addEventListener&&t.addEventListener(S,c)),T.add&&(T.add.call(t,v),v.handler.guid||(v.handler.guid=i.guid)),o?m.splice(m.delegateCount++,0,v):m.push(v),s.event.global[S]=!0)},remove:function(t,e,i,r,o){var a,c,h,f,_,v,T,m,S,V,U,q=I.hasData(t)&&I.get(t);if(q&&(f=q.events)){for(_=(e=(e||"").match(C)||[""]).length;_--;)if(S=U=(h=Ie.exec(e[_])||[])[1],V=(h[2]||"").split(".").sort(),S){for(T=s.event.special[S]||{},m=f[S=(r?T.delegateType:T.bindType)||S]||[],h=h[2]&&new RegExp("(^|\\.)"+V.join("\\.(?:.*\\.|)")+"(\\.|$)"),c=a=m.length;a--;)v=m[a],(o||U===v.origType)&&(!i||i.guid===v.guid)&&(!h||h.test(v.namespace))&&(!r||r===v.selector||"**"===r&&v.selector)&&(m.splice(a,1),v.selector&&m.delegateCount--,T.remove&&T.remove.call(t,v));c&&!m.length&&((!T.teardown||!1===T.teardown.call(t,V,q.handle))&&s.removeEvent(t,S,q.handle),delete f[S])}else for(S in f)s.event.remove(t,S+e[_],i,r,!0);s.isEmptyObject(f)&&I.remove(t,"handle events")}},dispatch:function(t){var e,i,r,o,a,c,h=new Array(arguments.length),f=s.event.fix(t),_=(I.get(this,"events")||Object.create(null))[f.type]||[],v=s.event.special[f.type]||{};for(h[0]=f,e=1;e=1))for(;_!==this;_=_.parentNode||this)if(1===_.nodeType&&("click"!==t.type||!0!==_.disabled)){for(a=[],c={},i=0;i-1:s.find(o,this,null,[_]).length),c[o]&&a.push(r);a.length&&h.push({elem:_,handlers:a})}return _=this,f\s*$/g;function fe(t,e){return Y(t,"table")&&Y(11!==e.nodeType?e:e.firstChild,"tr")&&s(t).children("tbody")[0]||t}function de(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function he(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Me(t,e){var i,r,o,c,h,f;if(1===e.nodeType){if(I.hasData(t)&&(f=I.get(t).events))for(o in I.remove(e,"handle events"),f)for(i=0,r=f[o].length;i1&&"string"==typeof S&&!P.checkClone&&Fi.test(S))return t.each(function(U){var q=t.eq(U);V&&(e[0]=S.call(this,U,q.html())),zt(q,e,i,r)});if(T&&(a=(o=ni(e,t[0].ownerDocument,!1,t,r)).firstChild,1===o.childNodes.length&&(o=a),a||r)){for(h=(c=s.map(dt(o,"script"),de)).length;v0&&Tn(c,!f&&dt(t,"script")),h},cleanData:function(t){for(var e,i,r,o=s.event.special,a=0;void 0!==(i=t[a]);a++)if(ae(i)){if(e=i[I.expando]){if(e.events)for(r in e.events)o[r]?s.event.remove(i,r):s.removeEvent(i,r,e.handle);i[I.expando]=void 0}i[ft.expando]&&(i[ft.expando]=void 0)}}}),s.fn.extend({detach:function(t){return ii(this,t,!0)},remove:function(t){return ii(this,t)},text:function(t){return bt(this,function(e){return void 0===e?s.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=e)})},null,t,arguments.length)},append:function(){return zt(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||fe(this,t).appendChild(t)})},prepend:function(){return zt(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=fe(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return zt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return zt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(s.cleanData(dt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=t??!1,e=e??t,this.map(function(){return s.clone(this,t,e)})},html:function(t){return bt(this,function(e){var i=this[0]||{},r=0,o=this.length;if(void 0===e&&1===i.nodeType)return i.innerHTML;if("string"==typeof e&&!qi.test(e)&&!gt[(ti.exec(e)||["",""])[1].toLowerCase()]){e=s.htmlPrefilter(e);try{for(;r=0&&(f+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-a-f-h-.5))||0),f+_}function di(t,e,i){var r=Je(t),a=(!P.boxSizingReliable()||i)&&"border-box"===s.css(t,"boxSizing",!1,r),c=a,h=pe(t,e,r),f="offset"+e[0].toUpperCase()+e.slice(1);if(An.test(h)){if(!i)return h;h="auto"}return(!P.boxSizingReliable()&&a||!P.reliableTrDimensions()&&Y(t,"tr")||"auto"===h||!parseFloat(h)&&"inline"===s.css(t,"display",!1,r))&&t.getClientRects().length&&(a="border-box"===s.css(t,"boxSizing",!1,r),(c=f in t)&&(h=t[f])),(h=parseFloat(h)||0)+Nn(t,e,i||(a?"border":"content"),c,r,h)+"px"}function ht(t,e,i,r,o){return new ht.prototype.init(t,e,i,r,o)}s.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=pe(t,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(t,e,i,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var o,a,c,h=Vt(e),f=Cn.test(e),_=t.style;if(f||(e=Sn(h)),c=s.cssHooks[e]||s.cssHooks[h],void 0===i)return c&&"get"in c&&void 0!==(o=c.get(t,!1,r))?o:_[e];if("string"==(a=typeof i)&&(o=xe.exec(i))&&o[1]&&(i=te(t,e,o),a="number"),null==i||i!=i)return;"number"===a&&!f&&(i+=o&&o[3]||(s.cssNumber[h]?"":"px")),!P.clearCloneStyle&&""===i&&0===e.indexOf("background")&&(_[e]="inherit"),(!c||!("set"in c)||void 0!==(i=c.set(t,i,r)))&&(f?_.setProperty(e,i):_[e]=i)}},css:function(t,e,i,r){var o,a,c,h=Vt(e);return Cn.test(e)||(e=Sn(h)),(c=s.cssHooks[e]||s.cssHooks[h])&&"get"in c&&(o=c.get(t,!0,i)),void 0===o&&(o=pe(t,e,r)),"normal"===o&&e in li&&(o=li[e]),""===i||i?(a=parseFloat(o),!0===i||isFinite(a)?a||0:o):o}}),s.each(["height","width"],function(t,e){s.cssHooks[e]={get:function(i,r,o){if(r)return!ui.test(s.css(i,"display"))||i.getClientRects().length&&i.getBoundingClientRect().width?di(i,e,o):ri(i,ci,function(){return di(i,e,o)})},set:function(i,r,o){var a,c=Je(i),h=!P.scrollboxSize()&&"absolute"===c.position,_=(h||o)&&"border-box"===s.css(i,"boxSizing",!1,c),v=o?Nn(i,e,o,_,c):0;return _&&h&&(v-=Math.ceil(i["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(c[e])-Nn(i,e,"border",!1,c)-.5)),v&&(a=xe.exec(r))&&"px"!==(a[3]||"px")&&(i.style[e]=r,r=s.css(i,e)),fi(0,r,v)}}}),s.cssHooks.marginLeft=Pe(P.reliableMarginLeft,function(t,e){if(e)return(parseFloat(pe(t,"marginLeft"))||t.getBoundingClientRect().left-ri(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),s.each({margin:"",padding:"",border:"Width"},function(t,e){s.cssHooks[t+e]={expand:function(i){for(var r=0,o={},a="string"==typeof i?i.split(" "):[i];r<4;r++)o[t+Wt[r]+e]=a[r]||a[r-2]||a[0];return o}},"margin"!==t&&(s.cssHooks[t+e].set=fi)}),s.fn.extend({css:function(t,e){return bt(this,function(i,r,o){var a,c,h={},f=0;if(Array.isArray(r)){for(a=Je(i),c=r.length;f1)}}),s.Tween=ht,ht.prototype={constructor:ht,init:function(t,e,i,r,o,a){this.elem=t,this.prop=i,this.easing=o||s.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=r,this.unit=a||(s.cssNumber[i]?"":"px")},cur:function(){var t=ht.propHooks[this.prop];return t&&t.get?t.get(this):ht.propHooks._default.get(this)},run:function(t){var e,i=ht.propHooks[this.prop];return this.pos=e=this.options.duration?s.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):ht.propHooks._default.set(this),this}},ht.prototype.init.prototype=ht.prototype,ht.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=s.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){s.fx.step[t.prop]?s.fx.step[t.prop](t):1!==t.elem.nodeType||!s.cssHooks[t.prop]&&null==t.elem.style[Sn(t.prop)]?t.elem[t.prop]=t.now:s.style(t.elem,t.prop,t.now+t.unit)}}},ht.propHooks.scrollTop=ht.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},s.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},s.fx=ht.prototype.init,s.fx.step={};var ge,Ze,zi=/^(?:toggle|show|hide)$/,_e=/queueHooks$/;function wn(){Ze&&(!1===M.hidden&&R.requestAnimationFrame?R.requestAnimationFrame(wn):R.setTimeout(wn,s.fx.interval),s.fx.tick())}function Gi(){return R.setTimeout(function(){ge=void 0}),ge=Date.now()}function Gt(t,e){var i,r=0,o={height:t};for(e=e?1:0;r<4;r+=2-e)o["margin"+(i=Wt[r])]=o["padding"+i]=t;return e&&(o.opacity=o.width=t),o}function hi(t,e,i){for(var r,o=(Tt.tweeners[e]||[]).concat(Tt.tweeners["*"]),a=0,c=o.length;a1)},removeAttr:function(t){return this.each(function(){s.removeAttr(this,t)})}}),s.extend({attr:function(t,e,i){var r,o,a=t.nodeType;if(3!==a&&8!==a&&2!==a)return typeof t.getAttribute>"u"?s.prop(t,e,i):((1!==a||!s.isXMLDoc(t))&&(o=s.attrHooks[e.toLowerCase()]||(s.expr.match.bool.test(e)?pi:void 0)),void 0!==i?null===i?void s.removeAttr(t,e):o&&"set"in o&&void 0!==(r=o.set(t,i,e))?r:(t.setAttribute(e,i+""),i):o&&"get"in o&&null!==(r=o.get(t,e))?r:(r=s.find.attr(t,e))??void 0)},attrHooks:{type:{set:function(t,e){if(!P.radioValue&&"radio"===e&&Y(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}}},removeAttr:function(t,e){var i,r=0,o=e&&e.match(C);if(o&&1===t.nodeType)for(;i=o[r++];)t.removeAttribute(i)}}),pi={set:function(t,e,i){return!1===e?s.removeAttr(t,i):t.setAttribute(i,i),i}},s.each(s.expr.match.bool.source.match(/\w+/g),function(t,e){var i=Re[e]||s.find.attr;Re[e]=function(r,o,a){var c,h,f=o.toLowerCase();return a||(h=Re[f],Re[f]=c,c=null!=i(r,o,a)?f:null,Re[f]=h),c}});var Dn=/^(?:input|select|textarea|button)$/i,me=/^(?:a|area)$/i;function Lt(t){return(t.match(C)||[]).join(" ")}function ee(t){return t.getAttribute&&t.getAttribute("class")||""}function xn(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(C)||[]}s.fn.extend({prop:function(t,e){return bt(this,s.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[s.propFix[t]||t]})}}),s.extend({prop:function(t,e,i){var r,o,a=t.nodeType;if(3!==a&&8!==a&&2!==a)return(1!==a||!s.isXMLDoc(t))&&(o=s.propHooks[e=s.propFix[e]||e]),void 0!==i?o&&"set"in o&&void 0!==(r=o.set(t,i,e))?r:t[e]=i:o&&"get"in o&&null!==(r=o.get(t,e))?r:t[e]},propHooks:{tabIndex:{get:function(t){var e=s.find.attr(t,"tabindex");return e?parseInt(e,10):Dn.test(t.nodeName)||me.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),P.optSelected||(s.propHooks.selected={get:function(t){return null},set:function(t){}}),s.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){s.propFix[this.toLowerCase()]=this}),s.fn.extend({addClass:function(t){var e,i,r,o,a,c;return H(t)?this.each(function(h){s(this).addClass(t.call(this,h,ee(this)))}):(e=xn(t)).length?this.each(function(){if(r=ee(this),i=1===this.nodeType&&" "+Lt(r)+" "){for(a=0;a-1;)i=i.replace(" "+o+" "," ");c=Lt(i),r!==c&&this.setAttribute("class",c)}}):this:this.attr("class","")},toggleClass:function(t,e){var i,r,o,a,c=typeof t,h="string"===c||Array.isArray(t);return H(t)?this.each(function(f){s(this).toggleClass(t.call(this,f,ee(this),e),e)}):"boolean"==typeof e&&h?e?this.addClass(t):this.removeClass(t):(i=xn(t),this.each(function(){if(h)for(a=s(this),o=0;o-1)return!0;return!1}});var Ji=/\r/g;s.fn.extend({val:function(t){var e,i,r,o=this[0];return arguments.length?(r=H(t),this.each(function(a){var c;1===this.nodeType&&(null==(c=r?t.call(this,a,s(this).val()):t)?c="":"number"==typeof c?c+="":Array.isArray(c)&&(c=s.map(c,function(h){return null==h?"":h+""})),(!(e=s.valHooks[this.type]||s.valHooks[this.nodeName.toLowerCase()])||!("set"in e)||void 0===e.set(this,c,"value"))&&(this.value=c))})):o?(e=s.valHooks[o.type]||s.valHooks[o.nodeName.toLowerCase()])&&"get"in e&&void 0!==(i=e.get(o,"value"))?i:"string"==typeof(i=o.value)?i.replace(Ji,""):i??"":void 0}}),s.extend({valHooks:{option:{get:function(t){return s.find.attr(t,"value")??Lt(s.text(t))}},select:{get:function(t){var e,i,r,o=t.options,a=t.selectedIndex,c="select-one"===t.type,h=c?null:[],f=c?a+1:o.length;for(r=a<0?f:c?a:0;r-1)&&(i=!0);return i||(t.selectedIndex=-1),a}}}}),s.each(["radio","checkbox"],function(){s.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=s.inArray(s(t).val(),e)>-1}},P.checkOn||(s.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var He=R.location,gi={guid:Date.now()},On=/\?/;s.parseXML=function(t){var e,i;if(!t||"string"!=typeof t)return null;try{e=(new R.DOMParser).parseFromString(t,"text/xml")}catch{}return i=e&&e.getElementsByTagName("parsererror")[0],(!e||i)&&s.error("Invalid XML: "+(i?s.map(i.childNodes,function(r){return r.textContent}).join("\n"):t)),e};var tn=/^(?:focusinfocus|focusoutblur)$/,_i=function(t){t.stopPropagation()};s.extend(s.event,{trigger:function(t,e,i,r){var o,a,c,h,f,_,v,T,m=[i||M],S=Ae.call(t,"type")?t.type:t,V=Ae.call(t,"namespace")?t.namespace.split("."):[];if(a=T=c=i=i||M,3!==i.nodeType&&8!==i.nodeType&&!tn.test(S+s.event.triggered)&&(S.indexOf(".")>-1&&(V=S.split("."),S=V.shift(),V.sort()),f=S.indexOf(":")<0&&"on"+S,(t=t[s.expando]?t:new s.Event(S,"object"==typeof t&&t)).isTrigger=r?2:3,t.namespace=V.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+V.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),e=null==e?[t]:s.makeArray(e,[t]),v=s.event.special[S]||{},r||!v.trigger||!1!==v.trigger.apply(i,e))){if(!r&&!v.noBubble&&!vt(i)){for(tn.test((h=v.delegateType||S)+S)||(a=a.parentNode);a;a=a.parentNode)m.push(a),c=a;c===(i.ownerDocument||M)&&m.push(c.defaultView||c.parentWindow||R)}for(o=0;(a=m[o++])&&!t.isPropagationStopped();)T=a,t.type=o>1?h:v.bindType||S,(_=(I.get(a,"events")||Object.create(null))[t.type]&&I.get(a,"handle"))&&_.apply(a,e),(_=f&&a[f])&&_.apply&&ae(a)&&(t.result=_.apply(a,e),!1===t.result&&t.preventDefault());return t.type=S,!r&&!t.isDefaultPrevented()&&(!v._default||!1===v._default.apply(m.pop(),e))&&ae(i)&&f&&H(i[S])&&!vt(i)&&((c=i[f])&&(i[f]=null),s.event.triggered=S,t.isPropagationStopped()&&T.addEventListener(S,_i),i[S](),t.isPropagationStopped()&&T.removeEventListener(S,_i),s.event.triggered=void 0,c&&(i[f]=c)),t.result}},simulate:function(t,e,i){var r=s.extend(new s.Event,i,{type:t,isSimulated:!0});s.event.trigger(r,null,e)}}),s.fn.extend({trigger:function(t,e){return this.each(function(){s.event.trigger(t,e,this)})},triggerHandler:function(t,e){var i=this[0];if(i)return s.event.trigger(t,e,i,!0)}});var Zi=/\[\]$/,ne=/\r?\n/g,mi=/^(?:submit|button|image|reset|file)$/i,yr=/^(?:input|select|textarea|keygen)/i;function qt(t,e,i,r){var o;if(Array.isArray(e))s.each(e,function(a,c){i||Zi.test(t)?r(t,c):qt(t+"["+("object"==typeof c&&null!=c?a:"")+"]",c,i,r)});else if(i||"object"!==wt(e))r(t,e);else for(o in e)qt(t+"["+o+"]",e[o],i,r)}s.param=function(t,e){var i,r=[],o=function(a,c){var h=H(c)?c():c;r[r.length]=encodeURIComponent(a)+"="+encodeURIComponent(h??"")};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!s.isPlainObject(t))s.each(t,function(){o(this.name,this.value)});else for(i in t)qt(i,t[i],e,o);return r.join("&")},s.fn.extend({serialize:function(){return s.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=s.prop(this,"elements");return t?s.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!s(this).is(":disabled")&&yr.test(this.nodeName)&&!mi.test(t)&&(this.checked||!Le.test(t))}).map(function(t,e){var i=s(this).val();return null==i?null:Array.isArray(i)?s.map(i,function(r){return{name:e.name,value:r.replace(ne,"\r\n")}}):{name:e.name,value:i.replace(ne,"\r\n")}}).get()}});var Ln=/%20/g,tr=/#.*$/,Ei=/([?&])_=[^&]*/,er=/^(.*?):[ \t]*([^\r\n]*)$/gm,nr=/^(?:GET|HEAD)$/,ir=/^\/\//,vi={},In={},bi="*/".concat("*"),en=M.createElement("a");function $n(t){return function(e,i){"string"!=typeof e&&(i=e,e="*");var r,o=0,a=e.toLowerCase().match(C)||[];if(H(i))for(;r=a[o++];)"+"===r[0]?(r=r.slice(1)||"*",(t[r]=t[r]||[]).unshift(i)):(t[r]=t[r]||[]).push(i)}}function Ti(t,e,i,r){var o={},a=t===In;function c(h){var f;return o[h]=!0,s.each(t[h]||[],function(_,v){var T=v(e,i,r);return"string"!=typeof T||a||o[T]?a?!(f=T):void 0:(e.dataTypes.unshift(T),c(T),!1)}),f}return c(e.dataTypes[0])||!o["*"]&&c("*")}function Xt(t,e){var i,r,o=s.ajaxSettings.flatOptions||{};for(i in e)void 0!==e[i]&&((o[i]?t:r||(r={}))[i]=e[i]);return r&&s.extend(!0,t,r),t}en.href=He.href,s.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:He.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(He.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":bi,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":s.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Xt(Xt(t,s.ajaxSettings),e):Xt(s.ajaxSettings,t)},ajaxPrefilter:$n(vi),ajaxTransport:$n(In),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0);var i,r,o,a,c,h,f,_,v,T,m=s.ajaxSetup({},e=e||{}),S=m.context||m,V=m.context&&(S.nodeType||S.jquery)?s(S):s.event,U=s.Deferred(),q=s.Callbacks("once memory"),nt=m.statusCode||{},et={},At={},It="canceled",z={readyState:0,getResponseHeader:function(G){var Z;if(f){if(!a)for(a={};Z=er.exec(o);)a[Z[1].toLowerCase()+" "]=(a[Z[1].toLowerCase()+" "]||[]).concat(Z[2]);Z=a[G.toLowerCase()+" "]}return null==Z?null:Z.join(", ")},getAllResponseHeaders:function(){return f?o:null},setRequestHeader:function(G,Z){return null==f&&(G=At[G.toLowerCase()]=At[G.toLowerCase()]||G,et[G]=Z),this},overrideMimeType:function(G){return null==f&&(m.mimeType=G),this},statusCode:function(G){var Z;if(G)if(f)z.always(G[z.status]);else for(Z in G)nt[Z]=[nt[Z],G[Z]];return this},abort:function(G){var Z=G||It;return i&&i.abort(Z),$t(0,Z),this}};if(U.promise(z),m.url=((t||m.url||He.href)+"").replace(ir,He.protocol+"//"),m.type=e.method||e.type||m.method||m.type,m.dataTypes=(m.dataType||"*").toLowerCase().match(C)||[""],null==m.crossDomain){h=M.createElement("a");try{h.href=m.url,h.href=h.href,m.crossDomain=en.protocol+"//"+en.host!=h.protocol+"//"+h.host}catch{m.crossDomain=!0}}if(m.data&&m.processData&&"string"!=typeof m.data&&(m.data=s.param(m.data,m.traditional)),Ti(vi,m,e,z),f)return z;for(v in(_=s.event&&m.global)&&0==s.active++&&s.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!nr.test(m.type),r=m.url.replace(tr,""),m.hasContent?m.data&&m.processData&&0===(m.contentType||"").indexOf("application/x-www-form-urlencoded")&&(m.data=m.data.replace(Ln,"+")):(T=m.url.slice(r.length),m.data&&(m.processData||"string"==typeof m.data)&&(r+=(On.test(r)?"&":"?")+m.data,delete m.data),!1===m.cache&&(r=r.replace(Ei,"$1"),T=(On.test(r)?"&":"?")+"_="+gi.guid+++T),m.url=r+T),m.ifModified&&(s.lastModified[r]&&z.setRequestHeader("If-Modified-Since",s.lastModified[r]),s.etag[r]&&z.setRequestHeader("If-None-Match",s.etag[r])),(m.data&&m.hasContent&&!1!==m.contentType||e.contentType)&&z.setRequestHeader("Content-Type",m.contentType),z.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+bi+"; q=0.01":""):m.accepts["*"]),m.headers)z.setRequestHeader(v,m.headers[v]);if(m.beforeSend&&(!1===m.beforeSend.call(S,z,m)||f))return z.abort();if(It="abort",q.add(m.complete),z.done(m.success),z.fail(m.error),i=Ti(In,m,e,z)){if(z.readyState=1,_&&V.trigger("ajaxSend",[z,m]),f)return z;m.async&&m.timeout>0&&(c=R.setTimeout(function(){z.abort("timeout")},m.timeout));try{f=!1,i.send(et,$t)}catch(G){if(f)throw G;$t(-1,G)}}else $t(-1,"No Transport");function $t(G,Z,Ve,kn){var Ct,We,kt,Bt,Kt,pt=Z;f||(f=!0,c&&R.clearTimeout(c),i=void 0,o=kn||"",z.readyState=G>0?4:0,Ct=G>=200&&G<300||304===G,Ve&&(Bt=function rr(t,e,i){for(var r,o,a,c,h=t.contents,f=t.dataTypes;"*"===f[0];)f.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(o in h)if(h[o]&&h[o].test(r)){f.unshift(o);break}if(f[0]in i)a=f[0];else{for(o in i){if(!f[0]||t.converters[o+" "+f[0]]){a=o;break}c||(c=o)}a=a||c}if(a)return a!==f[0]&&f.unshift(a),i[a]}(m,z,Ve)),!Ct&&s.inArray("script",m.dataTypes)>-1&&s.inArray("json",m.dataTypes)<0&&(m.converters["text script"]=function(){}),Bt=function sr(t,e,i,r){var o,a,c,h,f,_={},v=t.dataTypes.slice();if(v[1])for(c in t.converters)_[c.toLowerCase()]=t.converters[c];for(a=v.shift();a;)if(t.responseFields[a]&&(i[t.responseFields[a]]=e),!f&&r&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),f=a,a=v.shift())if("*"===a)a=f;else if("*"!==f&&f!==a){if(!(c=_[f+" "+a]||_["* "+a]))for(o in _)if((h=o.split(" "))[1]===a&&(c=_[f+" "+h[0]]||_["* "+h[0]])){!0===c?c=_[o]:!0!==_[o]&&(a=h[0],v.unshift(h[1]));break}if(!0!==c)if(c&&t.throws)e=c(e);else try{e=c(e)}catch(T){return{state:"parsererror",error:c?T:"No conversion from "+f+" to "+a}}}return{state:"success",data:e}}(m,Bt,z,Ct),Ct?(m.ifModified&&((Kt=z.getResponseHeader("Last-Modified"))&&(s.lastModified[r]=Kt),(Kt=z.getResponseHeader("etag"))&&(s.etag[r]=Kt)),204===G||"HEAD"===m.type?pt="nocontent":304===G?pt="notmodified":(pt=Bt.state,We=Bt.data,Ct=!(kt=Bt.error))):(kt=pt,(G||!pt)&&(pt="error",G<0&&(G=0))),z.status=G,z.statusText=(Z||pt)+"",Ct?U.resolveWith(S,[We,pt,z]):U.rejectWith(S,[z,pt,kt]),z.statusCode(nt),nt=void 0,_&&V.trigger(Ct?"ajaxSuccess":"ajaxError",[z,m,Ct?We:kt]),q.fireWith(S,[z,pt]),_&&(V.trigger("ajaxComplete",[z,m]),--s.active||s.event.trigger("ajaxStop")))}return z},getJSON:function(t,e,i){return s.get(t,e,i,"json")},getScript:function(t,e){return s.get(t,void 0,e,"script")}}),s.each(["get","post"],function(t,e){s[e]=function(i,r,o,a){return H(r)&&(a=a||o,o=r,r=void 0),s.ajax(s.extend({url:i,type:e,dataType:a,data:r,success:o},s.isPlainObject(i)&&i))}}),s.ajaxPrefilter(function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")}),s._evalUrl=function(t,e,i){return s.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(r){s.globalEval(r,e,i)}})},s.fn.extend({wrapAll:function(t){var e;return this[0]&&(H(t)&&(t=t.call(this[0])),e=s(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var i=this;i.firstElementChild;)i=i.firstElementChild;return i}).append(this)),this},wrapInner:function(t){return H(t)?this.each(function(e){s(this).wrapInner(t.call(this,e))}):this.each(function(){var e=s(this),i=e.contents();i.length?i.wrapAll(t):e.append(t)})},wrap:function(t){var e=H(t);return this.each(function(i){s(this).wrapAll(e?t.call(this,i):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){s(this).replaceWith(this.childNodes)}),this}}),s.expr.pseudos.hidden=function(t){return!s.expr.pseudos.visible(t)},s.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},s.ajaxSettings.xhr=function(){try{return new R.XMLHttpRequest}catch{}};var or={0:200,1223:204},je=s.ajaxSettings.xhr();P.cors=!!je&&"withCredentials"in je,P.ajax=je=!!je,s.ajaxTransport(function(t){var e,i;if(P.cors||je&&!t.crossDomain)return{send:function(r,o){var a,c=t.xhr();if(c.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)c[a]=t.xhrFields[a];for(a in t.mimeType&&c.overrideMimeType&&c.overrideMimeType(t.mimeType),!t.crossDomain&&!r["X-Requested-With"]&&(r["X-Requested-With"]="XMLHttpRequest"),r)c.setRequestHeader(a,r[a]);e=function(h){return function(){e&&(e=i=c.onload=c.onerror=c.onabort=c.ontimeout=c.onreadystatechange=null,"abort"===h?c.abort():"error"===h?"number"!=typeof c.status?o(0,"error"):o(c.status,c.statusText):o(or[c.status]||c.status,c.statusText,"text"!==(c.responseType||"text")||"string"!=typeof c.responseText?{binary:c.response}:{text:c.responseText},c.getAllResponseHeaders()))}},c.onload=e(),i=c.onerror=c.ontimeout=e("error"),void 0!==c.onabort?c.onabort=i:c.onreadystatechange=function(){4===c.readyState&&R.setTimeout(function(){e&&i()})},e=e("abort");try{c.send(t.hasContent&&t.data||null)}catch(h){if(e)throw h}},abort:function(){e&&e()}}}),s.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),s.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return s.globalEval(t),t}}}),s.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),s.ajaxTransport("script",function(t){var e,i;if(t.crossDomain||t.scriptAttrs)return{send:function(r,o){e=s("