From 435764a61461afa412a94a4e8ca02e8503a89f33 Mon Sep 17 00:00:00 2001 From: Debabrata909 <90822923+Compacct@users.noreply.github.com> Date: Thu, 4 Apr 2024 16:24:58 +0530 Subject: [PATCH] update --- index.html | 2 +- main.edeb7ba2e6b56364.js => main.915214560a83c6b1.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename main.edeb7ba2e6b56364.js => main.915214560a83c6b1.js (85%) diff --git a/index.html b/index.html index 7cc0a92..33505da 100644 --- a/index.html +++ b/index.html @@ -10,7 +10,7 @@ - + diff --git a/main.edeb7ba2e6b56364.js b/main.915214560a83c6b1.js similarity index 85% rename from main.edeb7ba2e6b56364.js rename to main.915214560a83c6b1.js index fcedd8f..3146039 100644 --- a/main.edeb7ba2e6b56364.js +++ b/main.915214560a83c6b1.js @@ -1 +1 @@ -"use strict";(self.webpackChunkmapDashboard=self.webpackChunkmapDashboard||[]).push([[179],{677:()=>{function Me(t){return"function"==typeof t}function Ns(t){const e=t(i=>{Error.call(i),i.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const _l=Ns(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((i,o)=>`${o+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e});function zr(t,n){if(t){const e=t.indexOf(n);0<=e&&t.splice(e,1)}}class lt{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const r of e)r.remove(this);else e.remove(this);const{initialTeardown:i}=this;if(Me(i))try{i()}catch(r){n=r instanceof _l?r.errors:[r]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const r of o)try{Od(r)}catch(s){n=n??[],s instanceof _l?n=[...n,...s.errors]:n.push(s)}}if(n)throw new _l(n)}}add(n){var e;if(n&&n!==this)if(this.closed)Od(n);else{if(n instanceof lt){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(n)}}_hasParent(n){const{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){const{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&zr(e,n)}remove(n){const{_finalizers:e}=this;e&&zr(e,n),n instanceof lt&&n._removeParent(this)}}lt.EMPTY=(()=>{const t=new lt;return t.closed=!0,t})();const Ad=lt.EMPTY;function Id(t){return t instanceof lt||t&&"closed"in t&&Me(t.remove)&&Me(t.add)&&Me(t.unsubscribe)}function Od(t){Me(t)?t():t.unsubscribe()}const No={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Cl={setTimeout(t,n,...e){const{delegate:i}=Cl;return i?.setTimeout?i.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){const{delegate:n}=Cl;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Fd(t){Cl.setTimeout(()=>{const{onUnhandledError:n}=No;if(!n)throw t;n(t)})}function Ls(){}const wC=U4("C",void 0,void 0);function U4(t,n,e){return{kind:t,value:n,error:e}}let Lo=null;function bl(t){if(No.useDeprecatedSynchronousErrorHandling){const n=!Lo;if(n&&(Lo={errorThrown:!1,error:null}),t(),n){const{errorThrown:e,error:i}=Lo;if(Lo=null,e)throw i}}else t()}class $4 extends lt{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Id(n)&&n.add(this)):this.destination=PC}static create(n,e,i){return new Hs(n,e,i)}next(n){this.isStopped?G4(function DC(t){return U4("N",t,void 0)}(n),this):this._next(n)}error(n){this.isStopped?G4(function SC(t){return U4("E",void 0,t)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?G4(wC,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const TC=Function.prototype.bind;function W4(t,n){return TC.call(t,n)}class kC{constructor(n){this.partialObserver=n}next(n){const{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(i){Ml(i)}}error(n){const{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(i){Ml(i)}else Ml(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){Ml(e)}}}class Hs extends $4{constructor(n,e,i){let o;if(super(),Me(n)||!n)o={next:n??void 0,error:e??void 0,complete:i??void 0};else{let r;this&&No.useDeprecatedNextContext?(r=Object.create(n),r.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&W4(n.next,r),error:n.error&&W4(n.error,r),complete:n.complete&&W4(n.complete,r)}):o=n}this.destination=new kC(o)}}function Ml(t){No.useDeprecatedSynchronousErrorHandling?function EC(t){No.useDeprecatedSynchronousErrorHandling&&Lo&&(Lo.errorThrown=!0,Lo.error=t)}(t):Fd(t)}function G4(t,n){const{onStoppedNotification:e}=No;e&&Cl.setTimeout(()=>e(t,n))}const PC={closed:!0,next:Ls,error:function xC(t){throw t},complete:Ls},q4="function"==typeof Symbol&&Symbol.observable||"@@observable";function Hi(t){return t}function Vd(t){return 0===t.length?Hi:1===t.length?t[0]:function(e){return t.reduce((i,o)=>o(i),e)}}let ge=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){const i=new t;return i.source=this,i.operator=e,i}subscribe(e,i,o){const r=function OC(t){return t&&t instanceof $4||function IC(t){return t&&Me(t.next)&&Me(t.error)&&Me(t.complete)}(t)&&Id(t)}(e)?e:new Hs(e,i,o);return bl(()=>{const{operator:s,source:a}=this;r.add(s?s.call(r,a):a?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return new(i=Nd(i))((o,r)=>{const s=new Hs({next:a=>{try{e(a)}catch(l){r(l),s.unsubscribe()}},error:r,complete:o});this.subscribe(s)})}_subscribe(e){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(e)}[q4](){return this}pipe(...e){return Vd(e)(this)}toPromise(e){return new(e=Nd(e))((i,o)=>{let r;this.subscribe(s=>r=s,s=>o(s),()=>i(r))})}}return t.create=n=>new t(n),t})();function Nd(t){var n;return null!==(n=t??No.Promise)&&void 0!==n?n:Promise}const FC=Ns(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let F=(()=>{class t extends ge{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const i=new Ld(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new FC}next(e){bl(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(e)}})}error(e){bl(()=>{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(){bl(()=>{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:o,observers:r}=this;return i||o?Ad:(this.currentObservers=null,r.push(e),new lt(()=>{this.currentObservers=null,zr(r,e)}))}_checkFinalizedStatuses(e){const{hasError:i,thrownError:o,isStopped:r}=this;i?e.error(o):r&&e.complete()}asObservable(){const e=new ge;return e.source=this,e}}return t.create=(n,e)=>new Ld(n,e),t})();class Ld extends F{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===i||i.call(e,n)}error(n){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===i||i.call(e,n)}complete(){var n,e;null===(e=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===e||e.call(n)}_subscribe(n){var e,i;return null!==(i=null===(e=this.source)||void 0===e?void 0:e.subscribe(n))&&void 0!==i?i:Ad}}function Hd(t){return Me(t?.lift)}function Ze(t){return n=>{if(Hd(n))return n.lift(function(e){try{return t(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function Le(t,n,e,i,o){return new VC(t,n,e,i,o)}class VC extends $4{constructor(n,e,i,o,r,s){super(n),this.onFinalize=r,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(a)}catch(l){n.error(l)}}:super._next,this._error=o?function(a){try{o(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function B(t,n){return Ze((e,i)=>{let o=0;e.subscribe(Le(i,r=>{i.next(t.call(n,r,o++))}))})}function ee(t,n,e,i){var s,o=arguments.length,r=o<3?n:null===i?i=Object.getOwnPropertyDescriptor(n,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,n,e,i);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(r=(o<3?s(r):o>3?s(n,e,r):s(n,e))||r);return o>3&&r&&Object.defineProperty(n,e,r),r}function Ho(t){return this instanceof Ho?(this.v=t,this):new Ho(t)}function HC(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=function Yd(t){var n="function"==typeof Symbol&&Symbol.iterator,e=n&&t[n],i=0;if(e)return e.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(r){e[r]=t[r]&&function(s){return new Promise(function(a,l){!function o(r,s,a,l){Promise.resolve(l).then(function(c){r({value:c,done:a})},s)}(a,l,(s=t[r](s)).done,s.value)})}}}const Z4=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function jd(t){return Me(t?.then)}function Ud(t){return Me(t[q4])}function $d(t){return Symbol.asyncIterator&&Me(t?.[Symbol.asyncIterator])}function Wd(t){return new TypeError(`You provided ${null!==t&&"object"==typeof t?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Gd=function BC(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function qd(t){return Me(t?.[Gd])}function Kd(t){return function LC(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,i=e.apply(t,n||[]),r=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(h){i[h]&&(o[h]=function(p){return new Promise(function(m,g){r.push([h,p,m,g])>1||a(h,p)})})}function a(h,p){try{!function l(h){h.value instanceof Ho?Promise.resolve(h.value.v).then(c,u):d(r[0][2],h)}(i[h](p))}catch(m){d(r[0][3],m)}}function c(h){a("next",h)}function u(h){a("throw",h)}function d(h,p){h(p),r.shift(),r.length&&a(r[0][0],r[0][1])}}(this,arguments,function*(){const e=t.getReader();try{for(;;){const{value:i,done:o}=yield Ho(e.read());if(o)return yield Ho(void 0);yield yield Ho(i)}}finally{e.releaseLock()}})}function Zd(t){return Me(t?.getReader)}function Vt(t){if(t instanceof ge)return t;if(null!=t){if(Ud(t))return function YC(t){return new ge(n=>{const e=t[q4]();if(Me(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(t);if(Z4(t))return function jC(t){return new ge(n=>{for(let e=0;e{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,Fd)})}(t);if($d(t))return Xd(t);if(qd(t))return function $C(t){return new ge(n=>{for(const e of t)if(n.next(e),n.closed)return;n.complete()})}(t);if(Zd(t))return function WC(t){return Xd(Kd(t))}(t)}throw Wd(t)}function Xd(t){return new ge(n=>{(function GC(t,n){var e,i,o,r;return function yi(t,n,e,i){return new(e||(e=Promise))(function(r,s){function a(u){try{c(i.next(u))}catch(d){s(d)}}function l(u){try{c(i.throw(u))}catch(d){s(d)}}function c(u){u.done?r(u.value):function o(r){return r instanceof e?r:new e(function(s){s(r)})}(u.value).then(a,l)}c((i=i.apply(t,n||[])).next())})}(this,void 0,void 0,function*(){try{for(e=HC(t);!(i=yield e.next()).done;)if(n.next(i.value),n.closed)return}catch(s){o={error:s}}finally{try{i&&!i.done&&(r=e.return)&&(yield r.call(e))}finally{if(o)throw o.error}}n.complete()})})(t,n).catch(e=>n.error(e))})}function Ri(t,n,e,i=0,o=!1){const r=n.schedule(function(){e(),o?t.add(this.schedule(null,i)):this.unsubscribe()},i);if(t.add(r),!o)return r}function vt(t,n,e=1/0){return Me(n)?vt((i,o)=>B((r,s)=>n(i,r,o,s))(Vt(t(i,o))),e):("number"==typeof n&&(e=n),Ze((i,o)=>function qC(t,n,e,i,o,r,s,a){const l=[];let c=0,u=0,d=!1;const h=()=>{d&&!l.length&&!c&&n.complete()},p=g=>c{r&&n.next(g),c++;let y=!1;Vt(e(g,u++)).subscribe(Le(n,C=>{o?.(C),r?p(C):n.next(C)},()=>{y=!0},void 0,()=>{if(y)try{for(c--;l.length&&cm(C)):m(C)}h()}catch(C){n.error(C)}}))};return t.subscribe(Le(n,p,()=>{d=!0,h()})),()=>{a?.()}}(i,o,t,e)))}function wr(t=1/0){return vt(Hi,t)}const _i=new ge(t=>t.complete());function Qd(t){return t&&Me(t.schedule)}function X4(t){return t[t.length-1]}function Q4(t){return Me(X4(t))?t.pop():void 0}function Rs(t){return Qd(X4(t))?t.pop():void 0}function Jd(t,n=0){return Ze((e,i)=>{e.subscribe(Le(i,o=>Ri(i,t,()=>i.next(o),n),()=>Ri(i,t,()=>i.complete(),n),o=>Ri(i,t,()=>i.error(o),n)))})}function e0(t,n=0){return Ze((e,i)=>{i.add(t.schedule(()=>e.subscribe(i),n))})}function t0(t,n){if(!t)throw new Error("Iterable cannot be null");return new ge(e=>{Ri(e,n,()=>{const i=t[Symbol.asyncIterator]();Ri(e,n,()=>{i.next().then(o=>{o.done?e.complete():e.next(o.value)})},0,!0)})})}function rt(t,n){return n?function nb(t,n){if(null!=t){if(Ud(t))return function XC(t,n){return Vt(t).pipe(e0(n),Jd(n))}(t,n);if(Z4(t))return function JC(t,n){return new ge(e=>{let i=0;return n.schedule(function(){i===t.length?e.complete():(e.next(t[i++]),e.closed||this.schedule())})})}(t,n);if(jd(t))return function QC(t,n){return Vt(t).pipe(e0(n),Jd(n))}(t,n);if($d(t))return t0(t,n);if(qd(t))return function eb(t,n){return new ge(e=>{let i;return Ri(e,n,()=>{i=t[Gd](),Ri(e,n,()=>{let o,r;try{({value:o,done:r}=i.next())}catch(s){return void e.error(s)}r?e.complete():e.next(o)},0,!0)}),()=>Me(i?.return)&&i.return()})}(t,n);if(Zd(t))return function tb(t,n){return t0(Kd(t),n)}(t,n)}throw Wd(t)}(t,n):Vt(t)}function Ro(...t){const n=Rs(t),e=function ZC(t,n){return"number"==typeof X4(t)?t.pop():n}(t,1/0),i=t;return i.length?1===i.length?Vt(i[0]):wr(e)(rt(i,n)):_i}function J4(t={}){const{connector:n=(()=>new F),resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:o=!0}=t;return r=>{let s,a,l,c=0,u=!1,d=!1;const h=()=>{a?.unsubscribe(),a=void 0},p=()=>{h(),s=l=void 0,u=d=!1},m=()=>{const g=s;p(),g?.unsubscribe()};return Ze((g,y)=>{c++,!d&&!u&&h();const C=l=l??n();y.add(()=>{c--,0===c&&!d&&!u&&(a=e2(m,o))}),C.subscribe(y),!s&&c>0&&(s=new Hs({next:E=>C.next(E),error:E=>{d=!0,h(),a=e2(p,e,E),C.error(E)},complete:()=>{u=!0,h(),a=e2(p,i),C.complete()}}),Vt(g).subscribe(s))})(r)}}function e2(t,n,...e){if(!0===n)return void t();if(!1===n)return;const i=new Hs({next:()=>{i.unsubscribe(),t()}});return Vt(n(...e)).subscribe(i)}function Ye(t){for(let n in t)if(t[n]===Ye)return n;throw Error("Could not find renamed property on target object.")}function t2(t,n){for(const e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function Ge(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(Ge).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const n=t.toString();if(null==n)return""+n;const e=n.indexOf("\n");return-1===e?n:n.substring(0,e)}function n2(t,n){return null==t||""===t?null===n?"":n:null==n||""===n?t:t+" "+n}const ib=Ye({__forward_ref__:Ye});function Ae(t){return t.__forward_ref__=Ae,t.toString=function(){return Ge(this())},t}function q(t){return o2(t)?t():t}function o2(t){return"function"==typeof t&&t.hasOwnProperty(ib)&&t.__forward_ref__===Ae}function r2(t){return t&&!!t.\u0275providers}const zl="https://g.co/ng/security#xss";class z extends Error{constructor(n,e){super(wl(n,e)),this.code=n}}function wl(t,n){return`NG0${Math.abs(t)}${n?": "+n.trim():""}`}function re(t){return"string"==typeof t?t:null==t?"":String(t)}function Sl(t,n){throw new z(-201,!1)}function Hn(t,n){null==t&&function Oe(t,n,e,i){throw new Error(`ASSERTION ERROR: ${t}`+(null==i?"":` [Expected=> ${e} ${i} ${n} <=Actual]`))}(n,t,null,"!=")}function D(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function se(t){return{providers:t.providers||[],imports:t.imports||[]}}function Dl(t){return n0(t,El)||n0(t,r0)}function n0(t,n){return t.hasOwnProperty(n)?t[n]:null}function o0(t){return t&&(t.hasOwnProperty(s2)||t.hasOwnProperty(hb))?t[s2]:null}const El=Ye({\u0275prov:Ye}),s2=Ye({\u0275inj:Ye}),r0=Ye({ngInjectableDef:Ye}),hb=Ye({ngInjectorDef:Ye});var K=(()=>((K=K||{})[K.Default=0]="Default",K[K.Host=1]="Host",K[K.Self=2]="Self",K[K.SkipSelf=4]="SkipSelf",K[K.Optional=8]="Optional",K))();let a2;function Rn(t){const n=a2;return a2=t,n}function s0(t,n,e){const i=Dl(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&K.Optional?null:void 0!==n?n:void Sl(Ge(t))}const Xe=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Bs={},l2="__NG_DI_FLAG__",Tl="ngTempTokenPath",fb="ngTokenPath",mb=/\n/gm,gb="\u0275",a0="__source";let Ys;function Sr(t){const n=Ys;return Ys=t,n}function vb(t,n=K.Default){if(void 0===Ys)throw new z(-203,!1);return null===Ys?s0(t,void 0,n):Ys.get(t,n&K.Optional?null:void 0,n)}function v(t,n=K.Default){return(function pb(){return a2}()||vb)(q(t),n)}function pe(t,n=K.Default){return v(t,kl(n))}function kl(t){return typeof t>"u"||"number"==typeof t?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function c2(t){const n=[];for(let e=0;e((Ci=Ci||{})[Ci.OnPush=0]="OnPush",Ci[Ci.Default=1]="Default",Ci))(),ti=(()=>{return(t=ti||(ti={}))[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",ti;var t})();const Yi={},Pe=[],xl=Ye({\u0275cmp:Ye}),u2=Ye({\u0275dir:Ye}),d2=Ye({\u0275pipe:Ye}),c0=Ye({\u0275mod:Ye}),ji=Ye({\u0275fac:Ye}),Us=Ye({__NG_ELEMENT_ID__:Ye});let bb=0;function ze(t){return Bi(()=>{const n=d0(t),e={...n,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Ci.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:null,data:t.data||{},encapsulation:t.encapsulation||ti.Emulated,id:"c"+bb++,styles:t.styles||Pe,_:null,schemas:t.schemas||null,tView:null};h0(e);const i=t.dependencies;return e.directiveDefs=Pl(i,!1),e.pipeDefs=Pl(i,!0),e})}function zb(t){return Fe(t)||$t(t)}function wb(t){return null!==t}function de(t){return Bi(()=>({type:t.type,bootstrap:t.bootstrap||Pe,declarations:t.declarations||Pe,imports:t.imports||Pe,exports:t.exports||Pe,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function u0(t,n){if(null==t)return Yi;const e={};for(const i in t)if(t.hasOwnProperty(i)){let o=t[i],r=o;Array.isArray(o)&&(r=o[1],o=o[0]),e[o]=i,n&&(n[o]=r)}return e}function w(t){return Bi(()=>{const n=d0(t);return h0(n),n})}function ct(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function Fe(t){return t[xl]||null}function $t(t){return t[u2]||null}function fn(t){return t[d2]||null}function wn(t,n){const e=t[c0]||null;if(!e&&!0===n)throw new Error(`Type ${Ge(t)} does not have '\u0275mod' property.`);return e}function d0(t){const n={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,exportAs:t.exportAs||null,standalone:!0===t.standalone,selectors:t.selectors||Pe,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:u0(t.inputs,n),outputs:u0(t.outputs)}}function h0(t){t.features?.forEach(n=>n(t))}function Pl(t,n){if(!t)return null;const e=n?fn:zb;return()=>("function"==typeof t?t():t).map(i=>e(i)).filter(wb)}const Ui=0,L=1,fe=2,st=3,ni=4,Bo=5,Wt=6,Er=7,ut=8,Al=9,Il=10,ve=11,h2=12,$s=13,p0=14,Tr=15,Gt=16,Ws=17,kr=18,bi=19,Gs=20,f0=21,Qe=22,p2=1,m0=2,Ol=7,Fl=8,xr=9,rn=10;function Sn(t){return Array.isArray(t)&&"object"==typeof t[p2]}function ii(t){return Array.isArray(t)&&!0===t[p2]}function f2(t){return 0!=(4&t.flags)}function qs(t){return t.componentOffset>-1}function Vl(t){return 1==(1&t.flags)}function oi(t){return!!t.template}function Db(t){return 0!=(256&t[fe])}function Yo(t,n){return t.hasOwnProperty(ji)?t[ji]:null}class kb{constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function $(){return y0}function y0(t){return t.type.prototype.ngOnChanges&&(t.setInput=Pb),xb}function xb(){const t=C0(this),n=t?.current;if(n){const e=t.previous;if(e===Yi)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function Pb(t,n,e,i){const o=this.declaredInputs[e],r=C0(t)||function Ab(t,n){return t[_0]=n}(t,{previous:Yi,current:null}),s=r.current||(r.current={}),a=r.previous,l=a[o];s[o]=new kb(l&&l.currentValue,n,a===Yi),t[i]=n}$.ngInherit=!0;const _0="__ngSimpleChanges__";function C0(t){return t[_0]||null}const Bn=function(t,n,e){},b0="svg";function Nt(t){for(;Array.isArray(t);)t=t[Ui];return t}function Nl(t,n){return Nt(n[t])}function Dn(t,n){return Nt(n[t.index])}function z0(t,n){return t.data[n]}function Pr(t,n){return t[n]}function En(t,n){const e=n[t];return Sn(e)?e:e[Ui]}function Ll(t){return 64==(64&t[fe])}function uo(t,n){return null==n?null:t[n]}function w0(t){t[kr]=0}function g2(t,n){t[Bo]+=n;let e=t,i=t[st];for(;null!==i&&(1===n&&1===e[Bo]||-1===n&&0===e[Bo]);)i[Bo]+=n,e=i,i=i[st]}const ae={lFrame:O0(null),bindingsEnabled:!0};function D0(){return ae.bindingsEnabled}function S(){return ae.lFrame.lView}function Ee(){return ae.lFrame.tView}function Ve(t){return ae.lFrame.contextLView=t,t[ut]}function Ne(t){return ae.lFrame.contextLView=null,t}function Lt(){let t=E0();for(;null!==t&&64===t.type;)t=t.parent;return t}function E0(){return ae.lFrame.currentTNode}function Mi(t,n){const e=ae.lFrame;e.currentTNode=t,e.isParent=n}function v2(){return ae.lFrame.isParent}function y2(){ae.lFrame.isParent=!1}function sn(){const t=ae.lFrame;let n=t.bindingRootIndex;return-1===n&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function Ar(){return ae.lFrame.bindingIndex++}function Wi(t){const n=ae.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function $b(t,n){const e=ae.lFrame;e.bindingIndex=e.bindingRootIndex=t,_2(n)}function _2(t){ae.lFrame.currentDirectiveIndex=t}function C2(t){const n=ae.lFrame.currentDirectiveIndex;return-1===n?null:t[n]}function P0(){return ae.lFrame.currentQueryIndex}function b2(t){ae.lFrame.currentQueryIndex=t}function Gb(t){const n=t[L];return 2===n.type?n.declTNode:1===n.type?t[Wt]:null}function A0(t,n,e){if(e&K.SkipSelf){let o=n,r=t;for(;!(o=o.parent,null!==o||e&K.Host||(o=Gb(r),null===o||(r=r[Tr],10&o.type))););if(null===o)return!1;n=o,t=r}const i=ae.lFrame=I0();return i.currentTNode=n,i.lView=t,!0}function M2(t){const n=I0(),e=t[L];ae.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function I0(){const t=ae.lFrame,n=null===t?null:t.child;return null===n?O0(t):n}function O0(t){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=n),n}function F0(){const t=ae.lFrame;return ae.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const V0=F0;function z2(){const t=F0();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function an(){return ae.lFrame.selectedIndex}function jo(t){ae.lFrame.selectedIndex=t}function tt(){const t=ae.lFrame;return z0(t.tView,t.selectedIndex)}function w2(){ae.lFrame.currentNamespace=b0}function Hl(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e=i)break}else n[l]<0&&(t[kr]+=65536),(a>11>16&&(3&t[fe])===n){t[fe]+=2048,Bn(4,a,r);try{r.call(a)}finally{Bn(5,a,r)}}}else{Bn(4,a,r);try{r.call(a)}finally{Bn(5,a,r)}}}const Ir=-1;class Zs{constructor(n,e,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function E2(t,n,e){let i=0;for(;in){s=r-1;break}}}for(;r>16}(t),i=n;for(;e>0;)i=i[Tr],e--;return i}let T2=!0;function Ul(t){const n=T2;return T2=t,n}const Y0=255,j0=5;let sM=0;const zi={};function $l(t,n){const e=U0(t,n);if(-1!==e)return e;const i=n[L];i.firstCreatePass&&(t.injectorIndex=n.length,k2(i.data,t),k2(n,null),k2(i.blueprint,null));const o=x2(t,n),r=t.injectorIndex;if(B0(o)){const s=Yl(o),a=jl(o,n),l=a[L].data;for(let c=0;c<8;c++)n[r+c]=a[s+c]|l[s+c]}return n[r+8]=o,r}function k2(t,n){t.push(0,0,0,0,0,0,0,0,n)}function U0(t,n){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===n[t.injectorIndex+8]?-1:t.injectorIndex}function x2(t,n){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let e=0,i=null,o=n;for(;null!==o;){if(i=X0(o),null===i)return Ir;if(e++,o=o[Tr],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return Ir}function P2(t,n,e){!function aM(t,n,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(Us)&&(i=e[Us]),null==i&&(i=e[Us]=sM++);const o=i&Y0;n.data[t+(o>>j0)]|=1<=0?n&Y0:dM:n}(e);if("function"==typeof r){if(!A0(n,t,i))return i&K.Host?$0(o,0,i):W0(n,e,i,o);try{const s=r(i);if(null!=s||i&K.Optional)return s;Sl()}finally{V0()}}else if("number"==typeof r){let s=null,a=U0(t,n),l=Ir,c=i&K.Host?n[Gt][Wt]:null;for((-1===a||i&K.SkipSelf)&&(l=-1===a?x2(t,n):n[a+8],l!==Ir&&Z0(i,!1)?(s=n[L],a=Yl(l),n=jl(l,n)):a=-1);-1!==a;){const u=n[L];if(K0(r,a,u.data)){const d=cM(a,n,e,s,i,c);if(d!==zi)return d}l=n[a+8],l!==Ir&&Z0(i,n[L].data[a+8]===c)&&K0(r,a,n)?(s=u,a=Yl(l),n=jl(l,n)):a=-1}}return o}function cM(t,n,e,i,o,r){const s=n[L],a=s.data[t+8],u=Wl(a,s,e,null==i?qs(a)&&T2:i!=s&&0!=(3&a.type),o&K.Host&&r===a);return null!==u?Uo(n,s,u,a):zi}function Wl(t,n,e,i,o){const r=t.providerIndexes,s=n.data,a=1048575&r,l=t.directiveStart,u=r>>20,h=o?a+u:t.directiveEnd;for(let p=i?a:a+u;p=l&&m.type===e)return p}if(o){const p=s[l];if(p&&oi(p)&&p.type===e)return l}return null}function Uo(t,n,e,i){let o=t[e];const r=n.data;if(function nM(t){return t instanceof Zs}(o)){const s=o;s.resolving&&function ob(t,n){const e=n?`. Dependency path: ${n.join(" > ")} > ${t}`:"";throw new z(-200,`Circular dependency in DI detected for ${t}${e}`)}(function Ie(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():re(t)}(r[e]));const a=Ul(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?Rn(s.injectImpl):null;A0(t,i,K.Default);try{o=t[e]=s.factory(void 0,r,t,i),n.firstCreatePass&&e>=i.directiveStart&&function eM(t,n,e){const{ngOnChanges:i,ngOnInit:o,ngDoCheck:r}=n.type.prototype;if(i){const s=y0(n);(e.preOrderHooks||(e.preOrderHooks=[])).push(t,s),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(t,s)}o&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-t,o),r&&((e.preOrderHooks||(e.preOrderHooks=[])).push(t,r),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(t,r))}(e,r[e],n)}finally{null!==l&&Rn(l),Ul(a),s.resolving=!1,V0()}}return o}function K0(t,n,e){return!!(e[n+(t>>j0)]&1<{const n=t.prototype.constructor,e=n[ji]||A2(n),i=Object.prototype;let o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==i;){const r=o[ji]||A2(o);if(r&&r!==e)return r;o=Object.getPrototypeOf(o)}return r=>new r})}function A2(t){return o2(t)?()=>{const n=A2(q(t));return n&&n()}:Yo(t)}function X0(t){const n=t[L],e=n.type;return 2===e?n.declTNode:1===e?t[Wt]:null}const Vr="__parameters__";function Lr(t,n,e){return Bi(()=>{const i=function I2(t){return function(...e){if(t){const i=t(...e);for(const o in i)this[o]=i[o]}}}(n);function o(...r){if(this instanceof o)return i.apply(this,r),this;const s=new o(...r);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(Vr)?l[Vr]:Object.defineProperty(l,Vr,{value:[]})[Vr];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return e&&(o.prototype=Object.create(e.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}class P{constructor(n,e){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=D({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const ql=Function;function $o(t,n){t.forEach(e=>Array.isArray(e)?$o(e,n):n(e))}function J0(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function Kl(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function ea(t,n){const e=[];for(let i=0;i=0?t[1|i]=e:(i=~i,function gM(t,n,e,i){let o=t.length;if(o==n)t.push(e,i);else if(1===o)t.push(i,t[0]),t[0]=e;else{for(o--,t.push(t[o-1],t[o]);o>n;)t[o]=t[o-2],o--;t[n]=e,t[n+1]=i}}(t,i,n,e)),i}function O2(t,n){const e=Hr(t,n);if(e>=0)return t[1|e]}function Hr(t,n){return function eh(t,n,e){let i=0,o=t.length>>e;for(;o!==i;){const r=i+(o-i>>1),s=t[r<n?o=r:i=r+1}return~(o<({token:t})),-1),ho=js(Lr("Optional"),8),Wo=js(Lr("SkipSelf"),4);var mn=(()=>((mn=mn||{})[mn.Important=1]="Important",mn[mn.DashCase=2]="DashCase",mn))();const H2=new Map;let LM=0;const B2="__ngContext__";function qt(t,n){Sn(n)?(t[B2]=n[Gs],function RM(t){H2.set(t[Gs],t)}(n)):t[B2]=n}let Y2;function j2(t,n){return Y2(t,n)}function oa(t){const n=t[st];return ii(n)?n[st]:n}function U2(t){return Ch(t[$s])}function $2(t){return Ch(t[ni])}function Ch(t){for(;null!==t&&!ii(t);)t=t[ni];return t}function Br(t,n,e,i,o){if(null!=i){let r,s=!1;ii(i)?r=i:Sn(i)&&(s=!0,i=i[Ui]);const a=Nt(i);0===t&&null!==e?null==o?Dh(n,e,a):Go(n,e,a,o||null,!0):1===t&&null!==e?Go(n,e,a,o||null,!0):2===t?function Q2(t,n,e){const i=ec(t,n);i&&function sz(t,n,e,i){t.removeChild(n,e,i)}(t,i,n,e)}(n,a,s):3===t&&n.destroyNode(a),null!=r&&function cz(t,n,e,i,o){const r=e[Ol];r!==Nt(e)&&Br(n,t,i,r,o);for(let a=rn;a0&&(t[e-1][ni]=i[ni]);const r=Kl(t,rn+n);!function QM(t,n){ra(t,n,n[ve],2,null,null),n[Ui]=null,n[Wt]=null}(i[L],i);const s=r[bi];null!==s&&s.detachView(r[L]),i[st]=null,i[ni]=null,i[fe]&=-65}return i}function zh(t,n){if(!(128&n[fe])){const e=n[ve];e.destroyNode&&ra(t,n,e,3,null,null),function tz(t){let n=t[$s];if(!n)return K2(t[L],t);for(;n;){let e=null;if(Sn(n))e=n[$s];else{const i=n[rn];i&&(e=i)}if(!e){for(;n&&!n[ni]&&n!==t;)Sn(n)&&K2(n[L],n),n=n[st];null===n&&(n=t),Sn(n)&&K2(n[L],n),e=n&&n[ni]}n=e}}(n)}}function K2(t,n){if(!(128&n[fe])){n[fe]&=-65,n[fe]|=128,function rz(t,n){let e;if(null!=t&&null!=(e=t.destroyHooks))for(let i=0;i=0?i[o=s]():i[o=-s].unsubscribe(),r+=2}else{const s=i[o=e[r+1]];e[r].call(s)}if(null!==i){for(let r=o+1;r-1){const{encapsulation:r}=t.data[i.directiveStart+o];if(r===ti.None||r===ti.Emulated)return null}return Dn(i,e)}}(t,n.parent,e)}function Go(t,n,e,i,o){t.insertBefore(n,e,i,o)}function Dh(t,n,e){t.appendChild(n,e)}function Eh(t,n,e,i,o){null!==i?Go(t,n,e,i,o):Dh(t,n,e)}function ec(t,n){return t.parentNode(n)}function Th(t,n,e){return xh(t,n,e)}let Z2,ic,t3,oc,xh=function kh(t,n,e){return 40&t.type?Dn(t,e):null};function tc(t,n,e,i){const o=wh(t,i,n),r=n[ve],a=Th(i.parent||n[Wt],i,n);if(null!=o)if(Array.isArray(e))for(let l=0;lt,createScript:t=>t,createScriptURL:t=>t})}catch{}return ic}()?.createHTML(t)||t}function n3(){if(void 0===oc&&(oc=null,Xe.trustedTypes))try{oc=Xe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return oc}function Nh(t){return n3()?.createHTML(t)||t}function Hh(t){return n3()?.createScriptURL(t)||t}class qo{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${zl})`}}class gz extends qo{getTypeName(){return"HTML"}}class vz extends qo{getTypeName(){return"Style"}}class yz extends qo{getTypeName(){return"Script"}}class _z extends qo{getTypeName(){return"URL"}}class Cz extends qo{getTypeName(){return"ResourceURL"}}function kn(t){return t instanceof qo?t.changingThisBreaksApplicationSecurity:t}function wi(t,n){const e=function bz(t){return t instanceof qo&&t.getTypeName()||null}(t);if(null!=e&&e!==n){if("ResourceURL"===e&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${zl})`)}return e===n}class Ez{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const e=(new window.DOMParser).parseFromString(Yr(n),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(n):(e.removeChild(e.firstChild),e)}catch{return null}}}class Tz{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const e=this.inertDocument.createElement("template");return e.innerHTML=Yr(n),e}}const xz=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function rc(t){return(t=String(t)).match(xz)?t:"unsafe:"+t}function Gi(t){const n={};for(const e of t.split(","))n[e]=!0;return n}function sa(...t){const n={};for(const e of t)for(const i in e)e.hasOwnProperty(i)&&(n[i]=!0);return n}const Bh=Gi("area,br,col,hr,img,wbr"),Yh=Gi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),jh=Gi("rp,rt"),o3=sa(Bh,sa(Yh,Gi("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),sa(jh,Gi("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),sa(jh,Yh)),r3=Gi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Uh=sa(r3,Gi("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Gi("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Pz=Gi("script,style,template");class Az{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let e=n.firstChild,i=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let o=this.checkClobberedElement(e,e.nextSibling);if(o){e=o;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(n){const e=n.nodeName.toLowerCase();if(!o3.hasOwnProperty(e))return this.sanitizedSomething=!0,!Pz.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const i=n.attributes;for(let o=0;o"),!0}endElement(n){const e=n.nodeName.toLowerCase();o3.hasOwnProperty(e)&&!Bh.hasOwnProperty(e)&&(this.buf.push(""))}chars(n){this.buf.push($h(n))}checkClobberedElement(n,e){if(e&&(n.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`);return e}}const Iz=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Oz=/([^\#-~ |!])/g;function $h(t){return t.replace(/&/g,"&").replace(Iz,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(Oz,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let sc;function Wh(t,n){let e=null;try{sc=sc||function Rh(t){const n=new Tz(t);return function kz(){try{return!!(new window.DOMParser).parseFromString(Yr(""),"text/html")}catch{return!1}}()?new Ez(n):n}(t);let i=n?String(n):"";e=sc.getInertBodyElement(i);let o=5,r=i;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,i=r,r=e.innerHTML,e=sc.getInertBodyElement(i)}while(i!==r);return Yr((new Az).sanitizeChildren(s3(e)||e))}finally{if(e){const i=s3(e)||e;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function s3(t){return"content"in t&&function Fz(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}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 jr(t){const n=aa();return n?Nh(n.sanitize(Ue.HTML,t)||""):wi(t,"HTML")?Nh(kn(t)):Wh(function Vh(){return void 0!==t3?t3:typeof document<"u"?document:void 0}(),re(t))}function a3(t){const n=aa();return n?n.sanitize(Ue.URL,t)||"":wi(t,"URL")?kn(t):rc(re(t))}function Gh(t){const n=aa();if(n)return Hh(n.sanitize(Ue.RESOURCE_URL,t)||"");if(wi(t,"ResourceURL"))return Hh(kn(t));throw new z(904,!1)}function aa(){const t=S();return t&&t[h2]}const ac=new P("ENVIRONMENT_INITIALIZER"),Kh=new P("INJECTOR",-1),Zh=new P("INJECTOR_DEF_TYPES");class Xh{get(n,e=Bs){if(e===Bs){const i=new Error(`NullInjectorError: No provider for ${Ge(n)}!`);throw i.name="NullInjectorError",i}return e}}function Yz(...t){return{\u0275providers:Qh(0,t),\u0275fromNgModule:!0}}function Qh(t,...n){const e=[],i=new Set;let o;return $o(n,r=>{const s=r;l3(s,e,[],i)&&(o||(o=[]),o.push(s))}),void 0!==o&&Jh(o,e),e}function Jh(t,n){for(let e=0;e{n.push(r)})}}function l3(t,n,e,i){if(!(t=q(t)))return!1;let o=null,r=o0(t);const s=!r&&Fe(t);if(r||s){if(s&&!s.standalone)return!1;o=t}else{const l=t.ngModule;if(r=o0(l),!r)return!1;o=l}const a=i.has(o);if(s){if(a)return!1;if(i.add(o),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)l3(c,n,e,i)}}else{if(!r)return!1;{if(null!=r.imports&&!a){let c;i.add(o);try{$o(r.imports,u=>{l3(u,n,e,i)&&(c||(c=[]),c.push(u))})}finally{}void 0!==c&&Jh(c,n)}if(!a){const c=Yo(o)||(()=>new o);n.push({provide:o,useFactory:c,deps:Pe},{provide:Zh,useValue:o,multi:!0},{provide:ac,useValue:()=>v(o),multi:!0})}const l=r.providers;null==l||a||c3(l,u=>{n.push(u)})}}return o!==t&&void 0!==t.providers}function c3(t,n){for(let e of t)r2(e)&&(e=e.\u0275providers),Array.isArray(e)?c3(e,n):n(e)}const jz=Ye({provide:String,useValue:Ye});function u3(t){return null!==t&&"object"==typeof t&&jz in t}function Ko(t){return"function"==typeof t}const d3=new P("Set Injector scope."),lc={},$z={};let h3;function cc(){return void 0===h3&&(h3=new Xh),h3}class Si{}class np extends Si{get destroyed(){return this._destroyed}constructor(n,e,i,o){super(),this.parent=e,this.source=i,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,f3(n,s=>this.processProvider(s)),this.records.set(Kh,Ur(void 0,this)),o.has("environment")&&this.records.set(Si,Ur(void 0,this));const r=this.records.get(d3);null!=r&&"string"==typeof r.value&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(Zh.multi,Pe,K.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();for(const n of this._onDestroyHooks)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(n){this._onDestroyHooks.push(n)}runInContext(n){this.assertNotDestroyed();const e=Sr(this),i=Rn(void 0);try{return n()}finally{Sr(e),Rn(i)}}get(n,e=Bs,i=K.Default){this.assertNotDestroyed(),i=kl(i);const o=Sr(this),r=Rn(void 0);try{if(!(i&K.SkipSelf)){let a=this.records.get(n);if(void 0===a){const l=function Zz(t){return"function"==typeof t||"object"==typeof t&&t instanceof P}(n)&&Dl(n);a=l&&this.injectableDefInScope(l)?Ur(p3(n),lc):null,this.records.set(n,a)}if(null!=a)return this.hydrate(n,a)}return(i&K.Self?cc():this.parent).get(n,e=i&K.Optional&&e===Bs?null:e)}catch(s){if("NullInjectorError"===s.name){if((s[Tl]=s[Tl]||[]).unshift(Ge(n)),o)throw s;return function _b(t,n,e,i){const o=t[Tl];throw n[a0]&&o.unshift(n[a0]),t.message=function Cb(t,n,e,i=null){t=t&&"\n"===t.charAt(0)&&t.charAt(1)==gb?t.slice(2):t;let o=Ge(n);if(Array.isArray(n))o=n.map(Ge).join(" -> ");else if("object"==typeof n){let r=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];r.push(s+":"+("string"==typeof a?JSON.stringify(a):Ge(a)))}o=`{${r.join(", ")}}`}return`${e}${i?"("+i+")":""}[${o}]: ${t.replace(mb,"\n ")}`}("\n"+t.message,o,e,i),t[fb]=o,t[Tl]=null,t}(s,n,"R3InjectorError",this.source)}throw s}finally{Rn(r),Sr(o)}}resolveInjectorInitializers(){const n=Sr(this),e=Rn(void 0);try{const i=this.get(ac.multi,Pe,K.Self);for(const o of i)o()}finally{Sr(n),Rn(e)}}toString(){const n=[],e=this.records;for(const i of e.keys())n.push(Ge(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new z(205,!1)}processProvider(n){let e=Ko(n=q(n))?n:q(n&&n.provide);const i=function Gz(t){return u3(t)?Ur(void 0,t.useValue):Ur(ip(t),lc)}(n);if(Ko(n)||!0!==n.multi)this.records.get(e);else{let o=this.records.get(e);o||(o=Ur(void 0,lc,!0),o.factory=()=>c2(o.multi),this.records.set(e,o)),e=n,o.multi.push(n)}this.records.set(e,i)}hydrate(n,e){return e.value===lc&&(e.value=$z,e.value=e.factory()),"object"==typeof e.value&&e.value&&function Kz(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(n){if(!n.providedIn)return!1;const e=q(n.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}}function p3(t){const n=Dl(t),e=null!==n?n.factory:Yo(t);if(null!==e)return e;if(t instanceof P)throw new z(204,!1);if(t instanceof Function)return function Wz(t){const n=t.length;if(n>0)throw ea(n,"?"),new z(204,!1);const e=function ub(t){const n=t&&(t[El]||t[r0]);return n?(function db(t){if(t.hasOwnProperty("name"))return t.name;(""+t).match(/^function\s*([^\s(]+)/)}(t),n):null}(t);return null!==e?()=>e.factory(t):()=>new t}(t);throw new z(204,!1)}function ip(t,n,e){let i;if(Ko(t)){const o=q(t);return Yo(o)||p3(o)}if(u3(t))i=()=>q(t.useValue);else if(function tp(t){return!(!t||!t.useFactory)}(t))i=()=>t.useFactory(...c2(t.deps||[]));else if(function ep(t){return!(!t||!t.useExisting)}(t))i=()=>v(q(t.useExisting));else{const o=q(t&&(t.useClass||t.provide));if(!function qz(t){return!!t.deps}(t))return Yo(o)||p3(o);i=()=>new o(...c2(t.deps))}return i}function Ur(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function f3(t,n){for(const e of t)Array.isArray(e)?f3(e,n):e&&r2(e)?f3(e.\u0275providers,n):n(e)}class Xz{}class op{}class Jz{resolveComponentFactory(n){throw function Qz(t){const n=Error(`No component factory found for ${Ge(t)}. Did you add it to @NgModule.entryComponents?`);return n.ngComponent=t,n}(n)}}let Zo=(()=>{class t{}return t.NULL=new Jz,t})();function ew(){return $r(Lt(),S())}function $r(t,n){return new ne(Dn(t,n))}let ne=(()=>{class t{constructor(e){this.nativeElement=e}}return t.__NG_ELEMENT_ID__=ew,t})();function tw(t){return t instanceof ne?t.nativeElement:t}class po{}let dt=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>function nw(){const t=S(),e=En(Lt().index,t);return(Sn(e)?e:t)[ve]}(),t})(),iw=(()=>{class t{}return t.\u0275prov=D({token:t,providedIn:"root",factory:()=>null}),t})();class la{constructor(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}const ow=new la("15.2.3"),m3={},g3="ngOriginalError";function v3(t){return t[g3]}class Wr{constructor(){this._console=console}handleError(n){const e=this._findOriginalError(n);this._console.error("ERROR",n),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(n){let e=n&&v3(n);for(;e&&v3(e);)e=v3(e);return e||null}}function qi(t){return t instanceof Function?t():t}function ap(t,n,e){let i=t.length;for(;;){const o=t.indexOf(n,e);if(-1===o)return o;if(0===o||t.charCodeAt(o-1)<=32){const r=n.length;if(o+r===i||t.charCodeAt(o+r)<=32)return o}e=o+1}}const lp="ng-template";function mw(t,n,e){let i=0;for(;ir?"":o[d+1].toLowerCase();const p=8&i?h:null;if(p&&-1!==ap(p,c,0)||2&i&&c!==h){if(ri(i))return!1;s=!0}}}}else{if(!s&&!ri(i)&&!ri(l))return!1;if(s&&ri(l))continue;s=!1,i=l|1&i}}return ri(i)||s}function ri(t){return 0==(1&t)}function yw(t,n,e,i){if(null===n)return-1;let o=0;if(i||!e){let r=!1;for(;o-1)for(e++;e0?'="'+a+'"':"")+"]"}else 8&i?o+="."+s:4&i&&(o+=" "+s);else""!==o&&!ri(s)&&(n+=dp(r,o),o=""),i=s,r=r||!ri(i);e++}return""!==o&&(n+=dp(r,o)),n}const le={};function k(t){hp(Ee(),S(),an()+t,!1)}function hp(t,n,e,i){if(!i)if(3==(3&n[fe])){const r=t.preOrderCheckHooks;null!==r&&Rl(n,r,e)}else{const r=t.preOrderHooks;null!==r&&Bl(n,r,0,e)}jo(e)}function gp(t,n=null,e=null,i){const o=vp(t,n,e,i);return o.resolveInjectorInitializers(),o}function vp(t,n=null,e=null,i,o=new Set){const r=[e||Pe,Yz(t)];return i=i||("object"==typeof t?void 0:Ge(t)),new np(r,n||cc(),i||null,o)}let St=(()=>{class t{static create(e,i){if(Array.isArray(e))return gp({name:""},i,e,"");{const o=e.name??"";return gp({name:o},e.parent,e.providers,o)}}}return t.THROW_IF_NOT_FOUND=Bs,t.NULL=new Xh,t.\u0275prov=D({token:t,providedIn:"any",factory:()=>v(Kh)}),t.__NG_ELEMENT_ID__=-1,t})();function f(t,n=K.Default){const e=S();return null===e?v(t,n):G0(Lt(),e,q(t),n)}function M3(){throw new Error("invalid")}function wp(t,n){const e=t.contentQueries;if(null!==e)for(let i=0;iQe&&hp(t,n,Qe,!1),Bn(s?2:0,o),e(i,o)}finally{jo(r),Bn(s?3:1,o)}}function S3(t,n,e){if(f2(n)){const o=n.directiveEnd;for(let r=n.directiveStart;r0;){const e=t[--n];if("number"==typeof e&&e<0)return e}return 0})(s)!=a&&s.push(a),s.push(e,i,r)}}(t,n,i,ca(t,e,o.hostVars,le),o)}function Di(t,n,e,i,o,r){const s=Dn(t,n);!function P3(t,n,e,i,o,r,s){if(null==r)t.removeAttribute(n,o,e);else{const a=null==s?re(r):s(r,i||"",o);t.setAttribute(n,o,a,e)}}(n[ve],s,r,t.value,e,i,o)}function cS(t,n,e,i,o,r){const s=r[n];if(null!==s){const a=i.setInput;for(let l=0;l0&&A3(e)}}function A3(t){for(let i=U2(t);null!==i;i=$2(i))for(let o=rn;o0&&A3(r)}const e=t[L].components;if(null!==e)for(let i=0;i0&&A3(o)}}function fS(t,n){const e=En(n,t),i=e[L];(function mS(t,n){for(let e=n.length;e-1&&(q2(n,i),Kl(e,i))}this._attachedToViewContainer=!1}zh(this._lView[L],this._lView)}onDestroy(n){Ep(this._lView[L],this._lView,null,n)}markForCheck(){I3(this._cdRefInjectingView||this._lView)}detach(){this._lView[fe]&=-65}reattach(){this._lView[fe]|=64}detectChanges(){fc(this._lView[L],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new z(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function ez(t,n){ra(t,n,n[ve],2,null,null)}(this._lView[L],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new z(902,!1);this._appRef=n}}class gS extends ua{constructor(n){super(n),this._view=n}detectChanges(){const n=this._view;fc(n[L],n,n[ut],!1)}checkNoChanges(){}get context(){return null}}class Lp extends Zo{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const e=Fe(n);return new da(e,this.ngModule)}}function Hp(t){const n=[];for(let e in t)t.hasOwnProperty(e)&&n.push({propName:t[e],templateName:e});return n}class yS{constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){i=kl(i);const o=this.injector.get(n,m3,i);return o!==m3||e===m3?o:this.parentInjector.get(n,e,i)}}class da extends op{get inputs(){return Hp(this.componentDef.inputs)}get outputs(){return Hp(this.componentDef.outputs)}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=function ww(t){return t.map(zw).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!e}create(n,e,i,o){let r=(o=o||this.ngModule)instanceof Si?o:o?.injector;r&&null!==this.componentDef.getStandaloneInjector&&(r=this.componentDef.getStandaloneInjector(r)||r);const s=r?new yS(n,r):n,a=s.get(po,null);if(null===a)throw new z(407,!1);const l=s.get(iw,null),c=a.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",d=i?function qw(t,n,e){return t.selectRootElement(n,e===ti.ShadowDom)}(c,i,this.componentDef.encapsulation):G2(c,u,function vS(t){const n=t.toLowerCase();return"svg"===n?b0:"math"===n?"math":null}(u)),h=this.componentDef.onPush?288:272,p=T3(0,null,null,1,0,null,null,null,null,null),m=dc(null,p,null,h,null,null,a,c,l,s,null);let g,y;M2(m);try{const C=this.componentDef;let E,b=null;C.findHostDirectiveDefs?(E=[],b=new Map,C.findHostDirectiveDefs(C,E,b),E.push(C)):E=[C];const O=function CS(t,n){const e=t[L],i=Qe;return t[i]=n,Kr(e,i,2,"#host",null)}(m,d),ye=function bS(t,n,e,i,o,r,s,a){const l=o[L];!function MS(t,n,e,i){for(const o of t)n.mergedAttrs=Xs(n.mergedAttrs,o.hostAttrs);null!==n.mergedAttrs&&(mc(n,n.mergedAttrs,!0),null!==e&&Fh(i,e,n))}(i,t,n,s);const c=r.createRenderer(n,e),u=dc(o,Dp(e),null,e.onPush?32:16,o[t.index],t,r,c,a||null,null,null);return l.firstCreatePass&&x3(l,t,i.length-1),pc(o,u),o[t.index]=u}(O,d,C,E,m,a,c);y=z0(p,Qe),d&&function wS(t,n,e,i){if(i)E2(t,e,["ng-version",ow.full]);else{const{attrs:o,classes:r}=function Sw(t){const n=[],e=[];let i=1,o=2;for(;i0&&Oh(t,e,r.join(" "))}}(c,C,d,i),void 0!==e&&function SS(t,n,e){const i=t.projection=[];for(let o=0;o=0;i--){const o=t[i];o.hostVars=n+=o.hostVars,o.hostAttrs=Xs(o.hostAttrs,e=Xs(e,o.hostAttrs))}}(i)}function V3(t){return t===Yi?{}:t===Pe?[]:t}function TS(t,n){const e=t.viewQuery;t.viewQuery=e?(i,o)=>{n(i,o),e(i,o)}:n}function kS(t,n){const e=t.contentQueries;t.contentQueries=e?(i,o,r)=>{n(i,o,r),e(i,o,r)}:n}function xS(t,n){const e=t.hostBindings;t.hostBindings=e?(i,o)=>{n(i,o),e(i,o)}:n}function vc(t){return!!N3(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function N3(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Ei(t,n,e){return t[n]=e}function Kt(t,n,e){return!Object.is(t[n],e)&&(t[n]=e,!0)}function Pt(t,n,e,i){const o=S();return Kt(o,Ar(),n)&&(Ee(),Di(tt(),o,t,n,e,i)),Pt}function T(t,n,e,i,o,r,s,a){const l=S(),c=Ee(),u=t+Qe,d=c.firstCreatePass?function RS(t,n,e,i,o,r,s,a,l){const c=n.consts,u=Kr(n,t,4,s||null,uo(c,a));k3(n,e,u,uo(c,l)),Hl(n,u);const d=u.tView=T3(2,u,i,o,r,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c);return null!==n.queries&&(n.queries.template(n,u),d.queries=n.queries.embeddedTView(u)),u}(u,c,l,n,e,i,o,r,s):c.data[u];Mi(d,!1);const h=l[ve].createComment("");tc(c,l,h,d),qt(h,l),pc(l,l[u]=Ip(h,l,h,d)),Vl(d)&&D3(c,l,d),null!=s&&E3(l,d,a)}function ln(t){return Pr(function jb(){return ae.lFrame.contextLView}(),Qe+t)}function M(t,n,e){const i=S();return Kt(i,Ar(),n)&&xn(Ee(),tt(),i,t,n,i[ve],e,!1),M}function L3(t,n,e,i,o){const s=o?"class":"style";F3(t,e,n.inputs[s],s,i)}function R(t,n,e,i){const o=S(),r=Ee(),s=Qe+t,a=o[ve],l=r.firstCreatePass?function YS(t,n,e,i,o,r){const s=n.consts,l=Kr(n,t,2,i,uo(s,o));return k3(n,e,l,uo(s,r)),null!==l.attrs&&mc(l,l.attrs,!1),null!==l.mergedAttrs&&mc(l,l.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,l),l}(s,r,o,n,e,i):r.data[s],c=o[s]=G2(a,n,function Jb(){return ae.lFrame.currentNamespace}()),u=Vl(l);return Mi(l,!0),Fh(a,c,l),32!=(32&l.flags)&&tc(r,o,c,l),0===function Lb(){return ae.lFrame.elementDepthCount}()&&qt(c,o),function Hb(){ae.lFrame.elementDepthCount++}(),u&&(D3(r,o,l),S3(r,l,o)),null!==i&&E3(o,l),R}function j(){let t=Lt();v2()?y2():(t=t.parent,Mi(t,!1));const n=t;!function Rb(){ae.lFrame.elementDepthCount--}();const e=Ee();return e.firstCreatePass&&(Hl(e,t),f2(t)&&e.queries.elementEnd(t)),null!=n.classesWithoutHost&&function iM(t){return 0!=(8&t.flags)}(n)&&L3(e,n,S(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function oM(t){return 0!=(16&t.flags)}(n)&&L3(e,n,S(),n.stylesWithoutHost,!1),j}function X(t,n,e,i){return R(t,n,e,i),j(),X}function Re(t,n,e){const i=S(),o=Ee(),r=t+Qe,s=o.firstCreatePass?function jS(t,n,e,i,o){const r=n.consts,s=uo(r,i),a=Kr(n,t,8,"ng-container",s);return null!==s&&mc(a,s,!0),k3(n,e,a,uo(r,o)),null!==n.queries&&n.queries.elementStart(n,a),a}(r,o,i,n,e):o.data[r];Mi(s,!0);const a=i[r]=i[ve].createComment("");return tc(o,i,a,s),qt(a,i),Vl(s)&&(D3(o,i,s),S3(o,s,i)),null!=e&&E3(i,s),Re}function Be(){let t=Lt();const n=Ee();return v2()?y2():(t=t.parent,Mi(t,!1)),n.firstCreatePass&&(Hl(n,t),f2(t)&&n.queries.elementEnd(t)),Be}function ht(){return S()}function pa(t){return!!t&&"function"==typeof t.then}const H3=function ef(t){return!!t&&"function"==typeof t.subscribe};function te(t,n,e,i){const o=S(),r=Ee(),s=Lt();return tf(r,o,o[ve],s,t,n,i),te}function _c(t,n){const e=Lt(),i=S(),o=Ee();return tf(o,i,Vp(C2(o.data),e,i),e,t,n),_c}function tf(t,n,e,i,o,r,s){const a=Vl(i),c=t.firstCreatePass&&Fp(t),u=n[ut],d=Op(n);let h=!0;if(3&i.type||s){const g=Dn(i,n),y=s?s(g):g,C=d.length,E=s?O=>s(Nt(O[i.index])):i.index;let b=null;if(!s&&a&&(b=function US(t,n,e,i){const o=t.cleanup;if(null!=o)for(let r=0;rl?a[l]:null}"string"==typeof s&&(r+=2)}return null}(t,n,o,i.index)),null!==b)(b.__ngLastListenerFn__||b).__ngNextListenerFn__=r,b.__ngLastListenerFn__=r,h=!1;else{r=rf(i,n,u,r,!1);const O=e.listen(y,o,r);d.push(r,O),c&&c.push(o,E,C,C+1)}}else r=rf(i,n,u,r,!1);const p=i.outputs;let m;if(h&&null!==p&&(m=p[o])){const g=m.length;if(g)for(let y=0;y-1?En(t.index,n):n);let l=nf(n,e,i,s),c=r.__ngNextListenerFn__;for(;c;)l=nf(n,e,c,s)&&l,c=c.__ngNextListenerFn__;return o&&!1===l&&(s.preventDefault(),s.returnValue=!1),l}}function x(t=1){return function qb(t){return(ae.lFrame.contextLView=function Kb(t,n){for(;t>0;)n=n[Tr],t--;return n}(t,ae.lFrame.contextLView))[ut]}(t)}function $S(t,n){let e=null;const i=function _w(t){const n=t.attrs;if(null!=n){const e=n.indexOf(5);if(!(1&e))return n[e+1]}return null}(t);for(let o=0;o>17&32767}function B3(t){return 2|t}function Qo(t){return(131068&t)>>2}function Y3(t,n){return-131069&t|n<<2}function j3(t){return 1|t}function mf(t,n,e,i,o){const r=t[e+1],s=null===n;let a=i?fo(r):Qo(r),l=!1;for(;0!==a&&(!1===l||s);){const u=t[a+1];XS(t[a],n)&&(l=!0,t[a+1]=i?j3(u):B3(u)),a=i?fo(u):Qo(u)}l&&(t[e+1]=i?B3(r):j3(r))}function XS(t,n){return null===t||null==n||(Array.isArray(t)?t[1]:t)===n||!(!Array.isArray(t)||"string"!=typeof n)&&Hr(t,n)>=0}const Dt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function gf(t){return t.substring(Dt.key,Dt.keyEnd)}function vf(t,n){const e=Dt.textEnd;return e===n?-1:(n=Dt.keyEnd=function tD(t,n,e){for(;n32;)n++;return n}(t,Dt.key=n,e),rs(t,n,e))}function rs(t,n,e){for(;n=0;e=vf(n,e))Tn(t,gf(n),!0)}function ai(t,n,e,i){const o=S(),r=Ee(),s=Wi(2);r.firstUpdatePass&&zf(r,t,s,i),n!==le&&Kt(o,s,n)&&Sf(r,r.data[an()],o,o[ve],t,o[s+1]=function dD(t,n){return null==t||("string"==typeof n?t+=n:"object"==typeof t&&(t=Ge(kn(t)))),t}(n,e),i,s)}function Mf(t,n){return n>=t.expandoStartIndex}function zf(t,n,e,i){const o=t.data;if(null===o[e+1]){const r=o[an()],s=Mf(t,e);Ef(r,i)&&null===n&&!s&&(n=!1),n=function rD(t,n,e,i){const o=C2(t);let r=i?n.residualClasses:n.residualStyles;if(null===o)0===(i?n.classBindings:n.styleBindings)&&(e=fa(e=$3(null,t,n,e,i),n.attrs,i),r=null);else{const s=n.directiveStylingLast;if(-1===s||t[s]!==o)if(e=$3(o,t,n,e,i),null===r){let l=function sD(t,n,e){const i=e?n.classBindings:n.styleBindings;if(0!==Qo(i))return t[fo(i)]}(t,n,i);void 0!==l&&Array.isArray(l)&&(l=$3(null,t,n,l[1],i),l=fa(l,n.attrs,i),function aD(t,n,e,i){t[fo(e?n.classBindings:n.styleBindings)]=i}(t,n,i,l))}else r=function lD(t,n,e){let i;const o=n.directiveEnd;for(let r=1+n.directiveStylingLast;r0)&&(c=!0)):u=e,o)if(0!==l){const h=fo(t[a+1]);t[i+1]=Cc(h,a),0!==h&&(t[h+1]=Y3(t[h+1],i)),t[a+1]=function GS(t,n){return 131071&t|n<<17}(t[a+1],i)}else t[i+1]=Cc(a,0),0!==a&&(t[a+1]=Y3(t[a+1],i)),a=i;else t[i+1]=Cc(l,0),0===a?a=i:t[l+1]=Y3(t[l+1],i),l=i;c&&(t[i+1]=B3(t[i+1])),mf(t,u,i,!0),mf(t,u,i,!1),function ZS(t,n,e,i,o){const r=o?t.residualClasses:t.residualStyles;null!=r&&"string"==typeof n&&Hr(r,n)>=0&&(e[i+1]=j3(e[i+1]))}(n,u,t,i,r),s=Cc(a,l),r?n.classBindings=s:n.styleBindings=s}(o,r,n,e,s,i)}}function $3(t,n,e,i,o){let r=null;const s=e.directiveEnd;let a=e.directiveStylingLast;for(-1===a?a=e.directiveStart:a++;a0;){const l=t[o],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let h=e[o+1];h===le&&(h=d?Pe:void 0);let p=d?O2(h,i):u===i?h:void 0;if(c&&!bc(p)&&(p=O2(l,i)),bc(p)&&(a=p,s))return a;const m=t[o+1];o=s?fo(m):Qo(m)}if(null!==n){let l=r?n.residualClasses:n.residualStyles;null!=l&&(a=O2(l,i))}return a}function bc(t){return void 0!==t}function Ef(t,n){return 0!=(t.flags&(n?8:16))}function Et(t,n=""){const e=S(),i=Ee(),o=t+Qe,r=i.firstCreatePass?Kr(i,o,1,n,null):i.data[o],s=e[o]=function W2(t,n){return t.createText(n)}(e[ve],n);tc(i,e,s,r),Mi(r,!1)}function mo(t){return Wn("",t,""),mo}function Wn(t,n,e){const i=S(),o=function Xr(t,n,e,i){return Kt(t,Ar(),e)?n+re(e)+i:le}(i,t,n,e);return o!==le&&function Ki(t,n,e){const i=Nl(n,t);!function bh(t,n,e){t.setValue(n,e)}(t[ve],i,e)}(i,an(),o),Wn}function ss(t,n,e){const i=S();if(Kt(i,Ar(),n)){const r=Ee(),s=tt();xn(r,s,i,t,n,Vp(C2(r.data),s,i),e,!0)}return ss}let as={};var V=(()=>((V=V||{})[V.LocaleId=0]="LocaleId",V[V.DayPeriodsFormat=1]="DayPeriodsFormat",V[V.DayPeriodsStandalone=2]="DayPeriodsStandalone",V[V.DaysFormat=3]="DaysFormat",V[V.DaysStandalone=4]="DaysStandalone",V[V.MonthsFormat=5]="MonthsFormat",V[V.MonthsStandalone=6]="MonthsStandalone",V[V.Eras=7]="Eras",V[V.FirstDayOfWeek=8]="FirstDayOfWeek",V[V.WeekendRange=9]="WeekendRange",V[V.DateFormat=10]="DateFormat",V[V.TimeFormat=11]="TimeFormat",V[V.DateTimeFormat=12]="DateTimeFormat",V[V.NumberSymbols=13]="NumberSymbols",V[V.NumberFormats=14]="NumberFormats",V[V.CurrencyCode=15]="CurrencyCode",V[V.CurrencySymbol=16]="CurrencySymbol",V[V.CurrencyName=17]="CurrencyName",V[V.Currencies=18]="Currencies",V[V.Directionality=19]="Directionality",V[V.PluralCase=20]="PluralCase",V[V.ExtraData=21]="ExtraData",V))();const ls="en-US";let qf=ls;function q3(t,n,e,i,o){if(t=q(t),Array.isArray(t))for(let r=0;r>20;if(Ko(t)||!t.multi){const p=new Zs(l,o,f),m=Z3(a,n,o?u:u+h,d);-1===m?(P2($l(c,s),r,a),K3(r,t,n.length),n.push(a),c.directiveStart++,c.directiveEnd++,o&&(c.providerIndexes+=1048576),e.push(p),s.push(p)):(e[m]=p,s[m]=p)}else{const p=Z3(a,n,u+h,d),m=Z3(a,n,u,u+h),y=m>=0&&e[m];if(o&&!y||!o&&!(p>=0&&e[p])){P2($l(c,s),r,a);const C=function xE(t,n,e,i,o){const r=new Zs(t,e,f);return r.multi=[],r.index=n,r.componentProviders=0,C5(r,o,i&&!e),r}(o?kE:TE,e.length,o,i,l);!o&&y&&(e[m].providerFactory=C),K3(r,t,n.length,0),n.push(a),c.directiveStart++,c.directiveEnd++,o&&(c.providerIndexes+=1048576),e.push(C),s.push(C)}else K3(r,t,p>-1?p:m,C5(e[o?m:p],l,!o&&i));!o&&i&&y&&e[m].componentProviders++}}}function K3(t,n,e,i){const o=Ko(n),r=function Uz(t){return!!t.useClass}(n);if(o||r){const l=(r?q(n.useClass):n).prototype.ngOnDestroy;if(l){const c=t.destroyHooks||(t.destroyHooks=[]);if(!o&&n.multi){const u=c.indexOf(e);-1===u?c.push(e,[i,l]):c[u+1].push(i,l)}else c.push(e,l)}}}function C5(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function Z3(t,n,e,i){for(let o=e;o{e.providersResolver=(i,o)=>function EE(t,n,e){const i=Ee();if(i.firstCreatePass){const o=oi(t);q3(e,i.data,i.blueprint,o,!0),q3(n,i.data,i.blueprint,o,!1)}}(i,o?o(t):t,n)}}class cs{}class b5{}class M5 extends cs{constructor(n,e){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Lp(this);const i=wn(n);this._bootstrapComponents=qi(i.bootstrap),this._r3Injector=vp(n,e,[{provide:cs,useValue:this},{provide:Zo,useValue:this.componentFactoryResolver}],Ge(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class Q3 extends b5{constructor(n){super(),this.moduleType=n}create(n){return new M5(this.moduleType,n)}}class AE extends cs{constructor(n,e,i){super(),this.componentFactoryResolver=new Lp(this),this.instance=null;const o=new np([...n,{provide:cs,useValue:this},{provide:Zo,useValue:this.componentFactoryResolver}],e||cc(),i,new Set(["environment"]));this.injector=o,o.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function Dc(t,n,e=null){return new AE(t,n,e).injector}let IE=(()=>{class t{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e.id)){const i=Qh(0,e.type),o=i.length>0?Dc([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e.id,o)}return this.cachedInjectors.get(e.id)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}}return t.\u0275prov=D({token:t,providedIn:"environment",factory:()=>new t(v(Si))}),t})();function J3(t){t.getStandaloneInjector=n=>n.get(IE).getOrCreateStandaloneInjector(t)}function x5(t,n,e,i,o){return function A5(t,n,e,i,o,r,s){const a=n+e;return function Xo(t,n,e,i){const o=Kt(t,n,e);return Kt(t,n+1,i)||o}(t,a,o,r)?Ei(t,a+2,s?i.call(s,o,r):i(o,r)):Ca(t,a+2)}(S(),sn(),t,n,e,i,o)}function Ca(t,n){const e=t[n];return e===le?void 0:e}function P5(t,n,e,i,o,r){const s=n+e;return Kt(t,s,o)?Ei(t,s+1,r?i.call(r,o):i(o)):Ca(t,s+1)}function t8(t,n){const e=Ee();let i;const o=t+Qe;e.firstCreatePass?(i=function ZE(t,n){if(n)for(let e=n.length-1;e>=0;e--){const i=n[e];if(t===i.name)return i}}(n,e.pipeRegistry),e.data[o]=i,i.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(o,i.onDestroy)):i=e.data[o];const r=i.factory||(i.factory=Yo(i.type)),s=Rn(f);try{const a=Ul(!1),l=r();return Ul(a),function BS(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}(e,S(),o,l),l}finally{Rn(s)}}function n8(t,n,e){const i=t+Qe,o=S(),r=Pr(o,i);return function ba(t,n){return t[L].data[n].pure}(o,i)?P5(o,sn(),n,r.transform,e,r):r.transform(e)}function i8(t){return n=>{setTimeout(t,void 0,n)}}const _=class tT extends F{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,e,i){let o=n,r=e||(()=>null),s=i;if(n&&"object"==typeof n){const l=n;o=l.next?.bind(l),r=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(r=i8(r),o&&(o=i8(o)),s&&(s=i8(s)));const a=super.subscribe({next:o,error:r,complete:s});return n instanceof lt&&n.add(a),a}};function nT(){return this._results[Symbol.iterator]()}class Ec{get changes(){return this._changes||(this._changes=new _)}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=Ec.prototype;e[Symbol.iterator]||(e[Symbol.iterator]=nT)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){const i=this;i.dirty=!1;const o=function Yn(t){return t.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function fM(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i{class t{}return t.__NG_ELEMENT_ID__=rT,t})();const iT=$e,oT=class extends iT{constructor(n,e,i){super(),this._declarationLView=n,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(n,e){const i=this._declarationTContainer.tView,o=dc(this._declarationLView,i,n,16,null,i.declTNode,null,null,null,null,e||null);o[Ws]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[bi];return null!==s&&(o[bi]=s.createEmbeddedView(i)),w3(i,o,n),new ua(o)}};function rT(){return Tc(Lt(),S())}function Tc(t,n){return 4&t.type?new oT(n,t,$r(t,n)):null}let Ht=(()=>{class t{}return t.__NG_ELEMENT_ID__=sT,t})();function sT(){return L5(Lt(),S())}const aT=Ht,V5=class extends aT{constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return $r(this._hostTNode,this._hostLView)}get injector(){return new Or(this._hostTNode,this._hostLView)}get parentInjector(){const n=x2(this._hostTNode,this._hostLView);if(B0(n)){const e=jl(n,this._hostLView),i=Yl(n);return new Or(e[L].data[i+8],e)}return new Or(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const e=N5(this._lContainer);return null!==e&&e[n]||null}get length(){return this._lContainer.length-rn}createEmbeddedView(n,e,i){let o,r;"number"==typeof i?o=i:null!=i&&(o=i.index,r=i.injector);const s=n.createEmbeddedView(e||{},r);return this.insert(s,o),s}createComponent(n,e,i,o,r){const s=n&&!function Js(t){return"function"==typeof t}(n);let a;if(s)a=e;else{const d=e||{};a=d.index,i=d.injector,o=d.projectableNodes,r=d.environmentInjector||d.ngModuleRef}const l=s?n:new da(Fe(n)),c=i||this.parentInjector;if(!r&&null==l.ngModule){const h=(s?c:this.parentInjector).get(Si,null);h&&(r=h)}const u=l.create(c,o,void 0,r);return this.insert(u.hostView,a),u}insert(n,e){const i=n._lView,o=i[L];if(function Nb(t){return ii(t[st])}(i)){const u=this.indexOf(n);if(-1!==u)this.detach(u);else{const d=i[st],h=new V5(d,d[Wt],d[st]);h.detach(h.indexOf(n))}}const r=this._adjustIndex(e),s=this._lContainer;!function nz(t,n,e,i){const o=rn+i,r=e.length;i>0&&(e[o-1][ni]=n),i0)i.push(s[a/2]);else{const c=r[a+1],u=n[-l];for(let d=rn;d{class t{constructor(e){this.appInits=e,this.resolve=xc,this.reject=xc,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,o)=>{this.resolve=i,this.reject=o})}runInitializers(){if(this.initialized)return;const e=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o{r.subscribe({complete:a,error:l})});e.push(s)}}Promise.all(e).then(()=>{i()}).catch(o=>{this.reject(o)}),0===e.length&&i(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(v(Pc,8))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const za=new P("AppId",{providedIn:"root",factory:function a7(){return`${m8()}${m8()}${m8()}`}});function m8(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const l7=new P("Platform Initializer"),er=new P("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),tr=new P("AnimationModuleType");let IT=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();const Pi=new P("LocaleId",{providedIn:"root",factory:()=>pe(Pi,K.Optional|K.SkipSelf)||function OT(){return typeof $localize<"u"&&$localize.locale||ls}()});class VT{constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}}let c7=(()=>{class t{compileModuleSync(e){return new Q3(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const i=this.compileModuleSync(e),r=qi(wn(e).declarations).reduce((s,a)=>{const l=Fe(a);return l&&s.push(new da(l)),s},[]);return new VT(i,r)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const HT=(()=>Promise.resolve(0))();function g8(t){typeof Zone>"u"?HT.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class N{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new _(!1),this.onMicrotaskEmpty=new _(!1),this.onStable=new _(!1),this.onError=new _(!1),typeof Zone>"u")throw new z(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!i&&e,o.shouldCoalesceRunChangeDetection=i,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function RT(){let t=Xe.requestAnimationFrame,n=Xe.cancelAnimationFrame;if(typeof Zone<"u"&&t&&n){const e=t[Zone.__symbol__("OriginalDelegate")];e&&(t=e);const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function jT(t){const n=()=>{!function YT(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Xe,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,y8(t),t.isCheckStableRunning=!0,v8(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),y8(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,o,r,s,a)=>{try{return h7(t),e.invokeTask(o,r,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||t.shouldCoalesceRunChangeDetection)&&n(),p7(t)}},onInvoke:(e,i,o,r,s,a,l)=>{try{return h7(t),e.invoke(o,r,s,a,l)}finally{t.shouldCoalesceRunChangeDetection&&n(),p7(t)}},onHasTask:(e,i,o,r)=>{e.hasTask(o,r),i===o&&("microTask"==r.change?(t._hasPendingMicrotasks=r.microTask,y8(t),v8(t)):"macroTask"==r.change&&(t.hasPendingMacrotasks=r.macroTask))},onHandleError:(e,i,o,r)=>(e.handleError(o,r),t.runOutsideAngular(()=>t.onError.emit(r)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!N.isInAngularZone())throw new z(909,!1)}static assertNotInAngularZone(){if(N.isInAngularZone())throw new z(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,o){const r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+o,n,BT,xc,xc);try{return r.runTask(s,e,i)}finally{r.cancelTask(s)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}}const BT={};function v8(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function y8(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function h7(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function p7(t){t._nesting--,v8(t)}class UT{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new _,this.onMicrotaskEmpty=new _,this.onStable=new _,this.onError=new _}run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,o){return n.apply(e,i)}}const f7=new P(""),Ic=new P("");let b8,_8=(()=>{class t{constructor(e,i,o){this._ngZone=e,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,b8||(function $T(t){b8=t}(o),o.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:()=>{N.assertNotInAngularZone(),g8(()=>{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())g8(()=>{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,o){let r=-1;i&&i>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==r),e(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:o})}whenStable(e,i,o){if(o&&!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,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,o){return[]}}return t.\u0275fac=function(e){return new(e||t)(v(N),v(C8),v(Ic))},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})(),C8=(()=>{class t{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 b8?.findTestabilityInTree(this,e,i)??null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();const Zi=!1;let go=null;const m7=new P("AllowMultipleToken"),M8=new P("PlatformDestroyListeners"),g7=new P("appBootstrapListener");class v7{constructor(n,e){this.name=n,this.token=e}}function _7(t,n,e=[]){const i=`Platform: ${n}`,o=new P(i);return(r=[])=>{let s=z8();if(!s||s.injector.get(m7,!1)){const a=[...e,...r,{provide:o,useValue:!0}];t?t(a):function qT(t){if(go&&!go.get(m7,!1))throw new z(400,!1);go=t;const n=t.get(b7);(function y7(t){const n=t.get(l7,null);n&&n.forEach(e=>e())})(t)}(function C7(t=[],n){return St.create({name:n,providers:[{provide:d3,useValue:"platform"},{provide:M8,useValue:new Set([()=>go=null])},...t]})}(a,i))}return function ZT(t){const n=z8();if(!n)throw new z(401,!1);return n}()}}function z8(){return go?.get(b7)??null}let b7=(()=>{class t{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){const o=function z7(t,n){let e;return e="noop"===t?new UT:("zone.js"===t?void 0:t)||new N(n),e}(i?.ngZone,function M7(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!t||!t.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!t||!t.ngZoneRunCoalescing)||!1}}(i)),r=[{provide:N,useValue:o}];return o.run(()=>{const s=St.create({providers:r,parent:this.injector,name:e.moduleType.name}),a=e.create(s),l=a.injector.get(Wr,null);if(!l)throw new z(402,!1);return o.runOutsideAngular(()=>{const c=o.onError.subscribe({next:u=>{l.handleError(u)}});a.onDestroy(()=>{Oc(this._modules,a),c.unsubscribe()})}),function w7(t,n,e){try{const i=e();return pa(i)?i.catch(o=>{throw n.runOutsideAngular(()=>t.handleError(o)),o}):i}catch(i){throw n.runOutsideAngular(()=>t.handleError(i)),i}}(l,o,()=>{const c=a.injector.get(Ac);return c.runInitializers(),c.donePromise.then(()=>(function Kf(t){Hn(t,"Expected localeId to be defined"),"string"==typeof t&&(qf=t.toLowerCase().replace(/_/g,"-"))}(a.injector.get(Pi,ls)||ls),this._moduleDoBootstrap(a),a))})})}bootstrapModule(e,i=[]){const o=S7({},i);return function WT(t,n,e){const i=new Q3(e);return Promise.resolve(i)}(0,0,e).then(r=>this.bootstrapModuleFactory(r,o))}_moduleDoBootstrap(e){const i=e.injector.get(hs);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(o=>i.bootstrap(o));else{if(!e.instance.ngDoBootstrap)throw new z(-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 z(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const e=this._injector.get(M8,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(v(St))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();function S7(t,n){return Array.isArray(n)?n.reduce(S7,t):{...t,...n}}let hs=(()=>{class t{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(e,i,o){this._zone=e,this._injector=i,this._exceptionHandler=o,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 r=new ge(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new ge(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{N.assertNotInAngularZone(),g8(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const c=this._zone.onUnstable.subscribe(()=>{N.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),c.unsubscribe()}});this.isStable=Ro(r,s.pipe(J4()))}bootstrap(e,i){const o=e instanceof op;if(!this._injector.get(Ac).done){!o&&function Dr(t){const n=Fe(t)||$t(t)||fn(t);return null!==n&&n.standalone}(e);throw new z(405,Zi)}let s;s=o?e:this._injector.get(Zo).resolveComponentFactory(e),this.componentTypes.push(s.componentType);const a=function GT(t){return t.isBoundToModule}(s)?void 0:this._injector.get(cs),c=s.create(St.NULL,[],i||s.selector,a),u=c.location.nativeElement,d=c.injector.get(f7,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),Oc(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new z(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;Oc(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);const i=this._injector.get(g7,[]);i.push(...this._bootstrapListeners),i.forEach(o=>o(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),()=>Oc(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new z(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return t.\u0275fac=function(e){return new(e||t)(v(N),v(Si),v(Wr))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Oc(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}let It=(()=>{class t{}return t.__NG_ELEMENT_ID__=QT,t})();function QT(t){return function JT(t,n,e){if(qs(t)&&!e){const i=En(t.index,n);return new ua(i,i)}return 47&t.type?new ua(n[Gt],n):null}(Lt(),S(),16==(16&t))}class P7{constructor(){}supports(n){return vc(n)}create(n){return new rk(n)}}const ok=(t,n)=>n;class rk{constructor(n){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=n||ok}forEachItem(n){let e;for(e=this._itHead;null!==e;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,i=this._removalsHead,o=0,r=null;for(;e||i;){const s=!i||e&&e.currentIndex{s=this._trackByFn(o,a),null!==e&&Object.is(e.trackById,s)?(i&&(e=this._verifyReinsertion(e,a,s,o)),Object.is(e.item,a)||this._addIdentityChange(e,a)):(e=this._mismatch(e,a,s,o),i=!0),e=e._next,o++}),this.length=o;return this._truncate(e),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,e,i,o){let r;return null===n?r=this._itTail:(r=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,r,o)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(i,o))?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,r,o)):n=this._addAfter(new sk(e,i),r,o),n}_verifyReinsertion(n,e,i,o){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==r?n=this._reinsertAfter(r,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;null!==n;){const e=n._next;this._addToRemovals(this._unlink(n)),n=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(n,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const o=n._prevRemoved,r=n._nextRemoved;return null===o?this._removalsHead=r:o._nextRemoved=r,null===r?this._removalsTail=o:r._prevRemoved=o,this._insertAfter(n,e,i),this._addToMoves(n,i),n}_moveAfter(n,e,i){return this._unlink(n),this._insertAfter(n,e,i),this._addToMoves(n,i),n}_addAfter(n,e,i){return this._insertAfter(n,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){const o=null===e?this._itHead:e._next;return n._next=o,n._prev=e,null===o?this._itTail=n:o._prev=n,null===e?this._itHead=n:e._next=n,null===this._linkedRecords&&(this._linkedRecords=new A7),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const e=n._prev,i=n._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new A7),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,e){return n.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class sk{constructor(n,e){this.item=n,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 ak{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){const e=n._prevDup,i=n._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class A7{constructor(){this.map=new Map}put(n){const e=n.trackById;let i=this.map.get(e);i||(i=new ak,this.map.set(e,i)),i.add(n)}get(n,e){const o=this.map.get(n);return o?o.get(n,e):null}remove(n){const e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function I7(t,n,e){const i=t.previousIndex;if(null===i)return i;let o=0;return e&&i{if(e&&e.key===o)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{const r=this._getOrCreateRecordForKey(o,i);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,e){if(n){const i=n._prev;return e._next=n,e._prev=i,n._prev=e,i&&(i._next=e),n===this._mapHead&&(this._mapHead=e),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(n,e){if(this._records.has(n)){const o=this._records.get(n);this._maybeAddToChanges(o,e);const r=o._prev,s=o._next;return r&&(r._next=s),s&&(s._prev=r),o._next=null,o._prev=null,o}const i=new ck(n);return this._records.set(n,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,e){Object.is(e,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=e,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,e){n instanceof Map?n.forEach(e):Object.keys(n).forEach(i=>e(n[i],i))}}class ck{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function F7(){return new wa([new P7])}let wa=(()=>{class t{constructor(e){this.factories=e}static create(e,i){if(null!=i){const o=i.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||F7()),deps:[[t,new Wo,new ho]]}}find(e){const i=this.factories.find(o=>o.supports(e));if(null!=i)return i;throw new z(901,!1)}}return t.\u0275prov=D({token:t,providedIn:"root",factory:F7}),t})();function V7(){return new Sa([new O7])}let Sa=(()=>{class t{constructor(e){this.factories=e}static create(e,i){if(i){const o=i.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||V7()),deps:[[t,new Wo,new ho]]}}find(e){const i=this.factories.find(o=>o.supports(e));if(i)return i;throw new z(901,!1)}}return t.\u0275prov=D({token:t,providedIn:"root",factory:V7}),t})();const hk=_7(null,"core",[]);let pk=(()=>{class t{constructor(e){}}return t.\u0275fac=function(e){return new(e||t)(v(hs))},t.\u0275mod=de({type:t}),t.\u0275inj=se({}),t})();function ps(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}let T8=null;function Xi(){return T8}class gk{}const _e=new P("DocumentToken");let k8=(()=>{class t{historyGo(e){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:function(){return function vk(){return v(N7)}()},providedIn:"platform"}),t})();const yk=new P("Location Initialized");let N7=(()=>{class t extends k8{constructor(e){super(),this._doc=e,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Xi().getBaseHref(this._doc)}onPopState(e){const i=Xi().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=Xi().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,o){L7()?this._history.pushState(e,i,o):this._location.hash=o}replaceState(e,i,o){L7()?this._history.replaceState(e,i,o):this._location.hash=o}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(v(_e))},t.\u0275prov=D({token:t,factory:function(){return function _k(){return new N7(v(_e))}()},providedIn:"platform"}),t})();function L7(){return!!window.history.pushState}function x8(t,n){if(0==t.length)return n;if(0==n.length)return t;let e=0;return t.endsWith("/")&&e++,n.startsWith("/")&&e++,2==e?t+n.substring(1):1==e?t+n:t+"/"+n}function H7(t){const n=t.match(/#|\?|$/),e=n&&n.index||t.length;return t.slice(0,e-("/"===t[e-1]?1:0))+t.slice(e)}function Qi(t){return t&&"?"!==t[0]?"?"+t:t}let ir=(()=>{class t{historyGo(e){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:function(){return pe(B7)},providedIn:"root"}),t})();const R7=new P("appBaseHref");let B7=(()=>{class t extends ir{constructor(e,i){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??pe(_e).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 x8(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+Qi(this._platformLocation.search),o=this._platformLocation.hash;return o&&e?`${i}${o}`:i}pushState(e,i,o,r){const s=this.prepareExternalUrl(o+Qi(r));this._platformLocation.pushState(e,i,s)}replaceState(e,i,o,r){const s=this.prepareExternalUrl(o+Qi(r));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 t.\u0275fac=function(e){return new(e||t)(v(k8),v(R7,8))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Ck=(()=>{class t extends ir{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=x8(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,o,r){let s=this.prepareExternalUrl(o+Qi(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(e,i,s)}replaceState(e,i,o,r){let s=this.prepareExternalUrl(o+Qi(r));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 t.\u0275fac=function(e){return new(e||t)(v(k8),v(R7,8))},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})(),Nc=(()=>{class t{constructor(e){this._subject=new _,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const i=this._locationStrategy.getBaseHref();this._basePath=function zk(t){if(new RegExp("^(https?:)?//").test(t)){const[,e]=t.split(/\/\/[^\/]+/);return e}return t}(H7(Y7(i))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.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+Qi(i))}normalize(e){return t.stripTrailingSlash(function Mk(t,n){if(!t||!n.startsWith(t))return n;const e=n.substring(t.length);return""===e||["/",";","?","#"].includes(e[0])?e:n}(this._basePath,Y7(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",o=null){this._locationStrategy.pushState(o,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Qi(i)),o)}replaceState(e,i="",o=null){this._locationStrategy.replaceState(o,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Qi(i)),o)}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(o=>o(e,i))}subscribe(e,i,o){return this._subject.subscribe({next:e,error:i,complete:o})}}return t.normalizeQueryParams=Qi,t.joinWithSlash=x8,t.stripTrailingSlash=H7,t.\u0275fac=function(e){return new(e||t)(v(ir))},t.\u0275prov=D({token:t,factory:function(){return function bk(){return new Nc(v(ir))}()},providedIn:"root"}),t})();function Y7(t){return t.replace(/\/index.html$/,"")}function X7(t,n){n=encodeURIComponent(n);for(const e of t.split(";")){const i=e.indexOf("="),[o,r]=-1==i?[e,""]:[e.slice(0,i),e.slice(i+1)];if(o.trim()===n)return decodeURIComponent(r)}return null}const R8=/\s+/,Q7=[];let Gc=(()=>{class t{constructor(e,i,o,r){this._iterableDiffers=e,this._keyValueDiffers=i,this._ngEl=o,this._renderer=r,this.initialClasses=Q7,this.stateMap=new Map}set klass(e){this.initialClasses=null!=e?e.trim().split(R8):Q7}set ngClass(e){this.rawClass="string"==typeof e?e.trim().split(R8):e}ngDoCheck(){for(const i of this.initialClasses)this._updateState(i,!0);const e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(const i of e)this._updateState(i,!0);else if(null!=e)for(const i of Object.keys(e))this._updateState(i,Boolean(e[i]));this._applyStateDiff()}_updateState(e,i){const o=this.stateMap.get(e);void 0!==o?(o.enabled!==i&&(o.changed=!0,o.enabled=i),o.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const e of this.stateMap){const i=e[0],o=e[1];o.changed?(this._toggleClass(i,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),o.touched=!1}}_toggleClass(e,i){(e=e.trim()).length>0&&e.split(R8).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}}return t.\u0275fac=function(e){return new(e||t)(f(wa),f(Sa),f(ne),f(dt))},t.\u0275dir=w({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),t})();class lx{constructor(n,e,i,o){this.$implicit=n,this.ngForOf=e,this.index=i,this.count=o}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 qc=(()=>{class t{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,i,o){this._viewContainer=e,this._template=i,this._differs=o,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((o,r,s)=>{if(null==o.previousIndex)i.createEmbeddedView(this._template,new lx(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)i.remove(null===r?void 0:r);else if(null!==r){const a=i.get(r);i.move(a,s),tm(a,o)}});for(let o=0,r=i.length;o{tm(i.get(o.currentIndex),o)})}static ngTemplateContextGuard(e,i){return!0}}return t.\u0275fac=function(e){return new(e||t)(f(Ht),f($e),f(wa))},t.\u0275dir=w({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),t})();function tm(t,n){t.context.$implicit=n.item}let xt=(()=>{class t{constructor(e,i){this._viewContainer=e,this._context=new ux,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){nm("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){nm("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 t.\u0275fac=function(e){return new(e||t)(f(Ht),f($e))},t.\u0275dir=w({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),t})();class ux{constructor(){this.$implicit=null,this.ngIf=null}}function nm(t,n){if(n&&!n.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${Ge(n)}'.`)}class B8{constructor(n,e){this._viewContainerRef=n,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(n){n&&!this._created?this.create():!n&&this._created&&this.destroy()}}let or=(()=>{class t{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews.push(e)}_matchCase(e){const i=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(e){if(this._defaultViews.length>0&&e!==this._defaultUsed){this._defaultUsed=e;for(const i of this._defaultViews)i.enforceState(e)}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=w({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),t})(),Ta=(()=>{class t{constructor(e,i,o){this.ngSwitch=o,o._addCase(),this._view=new B8(e,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(f(Ht),f($e),f(or,9))},t.\u0275dir=w({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),t})(),Kc=(()=>{class t{constructor(e,i,o){o._addDefault(new B8(e,i))}}return t.\u0275fac=function(e){return new(e||t)(f(Ht),f($e),f(or,9))},t.\u0275dir=w({type:t,selectors:[["","ngSwitchDefault",""]],standalone:!0}),t})(),Zc=(()=>{class t{constructor(e,i,o){this._ngEl=e,this._differs=i,this._renderer=o,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,i){const[o,r]=e.split("."),s=-1===o.indexOf("-")?void 0:mn.DashCase;null!=i?this._renderer.setStyle(this._ngEl.nativeElement,o,r?`${i}${r}`:i,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(e){e.forEachRemovedItem(i=>this._setStyle(i.key,null)),e.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),e.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}}return t.\u0275fac=function(e){return new(e||t)(f(ne),f(Sa),f(dt))},t.\u0275dir=w({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),t})(),ka=(()=>{class t{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(e.ngTemplateOutlet||e.ngTemplateOutletInjector){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:o,ngTemplateOutletContext:r,ngTemplateOutletInjector:s}=this;this._viewRef=i.createEmbeddedView(o,r,s?{injector:s}:void 0)}else this._viewRef=null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return t.\u0275fac=function(e){return new(e||t)(f(Ht))},t.\u0275dir=w({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[$]}),t})(),dn=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({}),t})();const rm="browser";function sm(t){return t===rm}let Lx=(()=>{class t{}return t.\u0275prov=D({token:t,providedIn:"root",factory:()=>new Hx(v(_e),window)}),t})();class Hx{constructor(n,e){this.document=n,this.window=e,this.offset=()=>[0,0]}setOffset(n){this.offset=Array.isArray(n)?()=>n:n}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(n){this.supportsScrolling()&&this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){if(!this.supportsScrolling())return;const e=function Rx(t,n){const e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow)){const i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let o=i.currentNode;for(;o;){const r=o.shadowRoot;if(r){const s=r.getElementById(n)||r.querySelector(`[name="${n}"]`);if(s)return s}o=i.nextNode()}}return null}(this.document,n);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(n){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=n)}}scrollToElement(n){const e=n.getBoundingClientRect(),i=e.left+this.window.pageXOffset,o=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(i-r[0],o-r[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const n=am(this.window.history)||am(Object.getPrototypeOf(this.window.history));return!(!n||!n.writable&&!n.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function am(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class lm{}class pP extends gk{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class W8 extends pP{static makeCurrent(){!function mk(t){T8||(T8=t)}(new W8)}onAndCancel(n,e,i){return n.addEventListener(e,i,!1),()=>{n.removeEventListener(e,i,!1)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,e){return(e=e||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return"window"===e?window:"document"===e?n:"body"===e?n.body:null}getBaseHref(n){const e=function fP(){return Pa=Pa||document.querySelector("base"),Pa?Pa.getAttribute("href"):null}();return null==e?null:function mP(t){Jc=Jc||document.createElement("a"),Jc.setAttribute("href",t);const n=Jc.pathname;return"/"===n.charAt(0)?n:`/${n}`}(e)}resetBaseElement(){Pa=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return X7(document.cookie,n)}}let Jc,Pa=null;const pm=new P("TRANSITION_ID"),vP=[{provide:Pc,useFactory:function gP(t,n,e){return()=>{e.get(Ac).donePromise.then(()=>{const i=Xi(),o=n.querySelectorAll(`style[ng-transition="${t}"]`);for(let r=0;r{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})();const e1=new P("EventManagerPlugins");let t1=(()=>{class t{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(o=>{o.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,o){return this._findPluginFor(i).addEventListener(e,i,o)}addGlobalEventListener(e,i,o){return this._findPluginFor(i).addGlobalEventListener(e,i,o)}getZone(){return this._zone}_findPluginFor(e){const i=this._eventNameToPlugin.get(e);if(i)return i;const o=this._plugins;for(let r=0;r{class t{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 o=this.usageCount;let r=o.get(e)??0;return r+=i,r>0?o.set(e,r):o.delete(e),r}ngOnDestroy(){for(const e of this.getAllStyles())this.onStyleRemoved(e);this.usageCount.clear()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})(),Aa=(()=>{class t extends mm{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(r=>r.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 o=this.doc.createElement("style");o.textContent=i,e.appendChild(o);const r=this.styleRef.get(i);r?r.push(o):this.styleRef.set(i,[o])}resetHostNodes(){const e=this.hostNodes;e.clear(),e.add(this.doc.head)}}return t.\u0275fac=function(e){return new(e||t)(v(_e))},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})();const G8={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/"},q8=/%COMP%/g,ym=new P("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function _m(t,n){return n.flat(100).map(e=>e.replace(q8,t))}function Cm(t){return n=>{if("__ngUnwrap__"===n)return t;!1===t(n)&&(n.preventDefault(),n.returnValue=!1)}}let n1=(()=>{class t{constructor(e,i,o,r){this.eventManager=e,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestory=r,this.rendererByCompId=new Map,this.defaultRenderer=new K8(e)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;const o=this.getOrCreateRenderer(e,i);return o instanceof zm?o.applyToHost(e):o instanceof Z8&&o.applyStyles(),o}getOrCreateRenderer(e,i){const o=this.rendererByCompId;let r=o.get(i.id);if(!r){const s=this.eventManager,a=this.sharedStylesHost,l=this.removeStylesOnCompDestory;switch(i.encapsulation){case ti.Emulated:r=new zm(s,a,i,this.appId,l);break;case ti.ShadowDom:return new DP(s,a,e,i);default:r=new Z8(s,a,i,l)}r.onDestroy=()=>o.delete(i.id),o.set(i.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(v(t1),v(Aa),v(za),v(ym))},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})();class K8{constructor(n){this.eventManager=n,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(n,e){return e?document.createElementNS(G8[e]||e,n):document.createElement(n)}createComment(n){return document.createComment(n)}createText(n){return document.createTextNode(n)}appendChild(n,e){(Mm(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(Mm(n)?n.content:n).insertBefore(e,i)}removeChild(n,e){n&&n.removeChild(e)}selectRootElement(n,e){let i="string"==typeof n?document.querySelector(n):n;if(!i)throw new Error(`The selector "${n}" did not match any elements`);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,o){if(o){e=o+":"+e;const r=G8[o];r?n.setAttributeNS(r,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){const o=G8[i];o?n.removeAttributeNS(o,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,o){o&(mn.DashCase|mn.Important)?n.style.setProperty(e,i,o&mn.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&mn.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){n[e]=i}setValue(n,e){n.nodeValue=e}listen(n,e,i){return"string"==typeof n?this.eventManager.addGlobalEventListener(n,e,Cm(i)):this.eventManager.addEventListener(n,e,Cm(i))}}function Mm(t){return"TEMPLATE"===t.tagName&&void 0!==t.content}class DP extends K8{constructor(n,e,i,o){super(n),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const r=_m(o.id,o.styles);for(const s of r){const a=document.createElement("style");a.textContent=s,this.shadowRoot.appendChild(a)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,i){return super.insertBefore(this.nodeOrShadowRoot(n),e,i)}removeChild(n,e){return super.removeChild(this.nodeOrShadowRoot(n),e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Z8 extends K8{constructor(n,e,i,o,r=i.id){super(n),this.sharedStylesHost=e,this.removeStylesOnCompDestory=o,this.rendererUsageCount=0,this.styles=_m(r,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 zm extends Z8{constructor(n,e,i,o,r){const s=o+"-"+i.id;super(n,e,i,r,s),this.contentAttr=function zP(t){return"_ngcontent-%COMP%".replace(q8,t)}(s),this.hostAttr=function wP(t){return"_nghost-%COMP%".replace(q8,t)}(s)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){const i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}}let EP=(()=>{class t extends fm{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,o){return e.addEventListener(i,o,!1),()=>this.removeEventListener(e,i,o)}removeEventListener(e,i,o){return e.removeEventListener(i,o)}}return t.\u0275fac=function(e){return new(e||t)(v(_e))},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})();const wm=["alt","control","meta","shift"],TP={"\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"},kP={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let xP=(()=>{class t extends fm{constructor(e){super(e)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,i,o){const r=t.parseEventName(i),s=t.eventCallback(r.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Xi().onAndCancel(e,r.domEventName,s))}static parseEventName(e){const i=e.toLowerCase().split("."),o=i.shift();if(0===i.length||"keydown"!==o&&"keyup"!==o)return null;const r=t._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),wm.forEach(c=>{const u=i.indexOf(c);u>-1&&(i.splice(u,1),s+=c+".")}),s+=r,0!=i.length||0===r.length)return null;const l={};return l.domEventName=o,l.fullKey=s,l}static matchEventFullKeyCode(e,i){let o=TP[e.key]||e.key,r="";return i.indexOf("code.")>-1&&(o=e.code,r="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),wm.forEach(s=>{s!==o&&(0,kP[s])(e)&&(r+=s+".")}),r+=o,r===i)}static eventCallback(e,i,o){return r=>{t.matchEventFullKeyCode(r,e)&&o.runGuarded(()=>i(r))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return t.\u0275fac=function(e){return new(e||t)(v(_e))},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})();const OP=_7(hk,"browser",[{provide:er,useValue:rm},{provide:l7,useValue:function PP(){W8.makeCurrent()},multi:!0},{provide:_e,useFactory:function IP(){return function mz(t){t3=t}(document),document},deps:[]}]),Em=new P(""),Tm=[{provide:Ic,useClass:class yP{addToWindow(n){Xe.getAngularTestability=(i,o=!0)=>{const r=n.findTestabilityInTree(i,o);if(null==r)throw new Error("Could not find testability for element.");return r},Xe.getAllAngularTestabilities=()=>n.getAllTestabilities(),Xe.getAllAngularRootElements=()=>n.getAllRootElements(),Xe.frameworkStabilizers||(Xe.frameworkStabilizers=[]),Xe.frameworkStabilizers.push(i=>{const o=Xe.getAllAngularTestabilities();let r=o.length,s=!1;const a=function(l){s=s||l,r--,0==r&&i(s)};o.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(n,e,i){return null==e?null:n.getTestability(e)??(i?Xi().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null)}},deps:[]},{provide:f7,useClass:_8,deps:[N,C8,Ic]},{provide:_8,useClass:_8,deps:[N,C8,Ic]}],km=[{provide:d3,useValue:"root"},{provide:Wr,useFactory:function AP(){return new Wr},deps:[]},{provide:e1,useClass:EP,multi:!0,deps:[_e,N,er]},{provide:e1,useClass:xP,multi:!0,deps:[_e]},{provide:n1,useClass:n1,deps:[t1,Aa,za,ym]},{provide:po,useExisting:n1},{provide:mm,useExisting:Aa},{provide:Aa,useClass:Aa,deps:[_e]},{provide:t1,useClass:t1,deps:[e1,N]},{provide:lm,useClass:_P,deps:[]},[]];let xm=(()=>{class t{constructor(e){}static withServerTransition(e){return{ngModule:t,providers:[{provide:za,useValue:e.appId},{provide:pm,useExisting:za},vP]}}}return t.\u0275fac=function(e){return new(e||t)(v(Em,12))},t.\u0275mod=de({type:t}),t.\u0275inj=se({providers:[...km,...Tm],imports:[dn,pk]}),t})(),Pm=(()=>{class t{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return t.\u0275fac=function(e){return new(e||t)(v(_e))},t.\u0275prov=D({token:t,factory:function(e){let i=null;return i=e?new e:function VP(){return new Pm(v(_e))}(),i},providedIn:"root"}),t})();typeof window<"u"&&window;let o1=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:function(e){let i=null;return i=e?new(e||t):v(Om),i},providedIn:"root"}),t})(),Om=(()=>{class t extends o1{constructor(e){super(),this._doc=e}sanitize(e,i){if(null==i)return null;switch(e){case Ue.NONE:return i;case Ue.HTML:return wi(i,"HTML")?kn(i):Wh(this._doc,String(i)).toString();case Ue.STYLE:return wi(i,"Style")?kn(i):i;case Ue.SCRIPT:if(wi(i,"Script"))return kn(i);throw new Error("unsafe value used in a script context");case Ue.URL:return wi(i,"URL")?kn(i):rc(String(i));case Ue.RESOURCE_URL:if(wi(i,"ResourceURL"))return kn(i);throw new Error(`unsafe value used in a resource URL context (see ${zl})`);default:throw new Error(`Unexpected SecurityContext ${e} (see ${zl})`)}}bypassSecurityTrustHtml(e){return function Mz(t){return new gz(t)}(e)}bypassSecurityTrustStyle(e){return function zz(t){return new vz(t)}(e)}bypassSecurityTrustScript(e){return function wz(t){return new yz(t)}(e)}bypassSecurityTrustUrl(e){return function Sz(t){return new _z(t)}(e)}bypassSecurityTrustResourceUrl(e){return function Dz(t){return new Cz(t)}(e)}}return t.\u0275fac=function(e){return new(e||t)(v(_e))},t.\u0275prov=D({token:t,factory:function(e){let i=null;return i=e?new e:function BP(t){return new Om(t.get(_e))}(v(St)),i},providedIn:"root"}),t})();function Y(...t){return rt(t,Rs(t))}class ue extends F{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){const{hasError:n,thrownError:e,_value:i}=this;if(n)throw e;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}const r1=Ns(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"}),{isArray:YP}=Array,{getPrototypeOf:jP,prototype:UP,keys:$P}=Object;function Fm(t){if(1===t.length){const n=t[0];if(YP(n))return{args:n,keys:null};if(function WP(t){return t&&"object"==typeof t&&jP(t)===UP}(n)){const e=$P(n);return{args:e.map(i=>n[i]),keys:e}}}return{args:t,keys:null}}const{isArray:GP}=Array;function s1(t){return B(n=>function qP(t,n){return GP(n)?t(...n):t(n)}(t,n))}function Vm(t,n){return t.reduce((e,i,o)=>(e[i]=n[o],e),{})}function yn(...t){const n=Rs(t),e=Q4(t),{args:i,keys:o}=Fm(t);if(0===i.length)return rt([],n);const r=new ge(function KP(t,n,e=Hi){return i=>{Nm(n,()=>{const{length:o}=t,r=new Array(o);let s=o,a=o;for(let l=0;l{const c=rt(t[l],n);let u=!1;c.subscribe(Le(i,d=>{r[l]=d,u||(u=!0,a--),a||i.next(e(r.slice()))},()=>{--s||i.complete()}))},i)},i)}}(i,n,o?s=>Vm(o,s):Hi));return e?r.pipe(s1(e)):r}function Nm(t,n,e){t?Ri(e,t,n):n()}function a1(...t){return function ZP(){return wr(1)}()(rt(t,Rs(t)))}function J8(t){return new ge(n=>{Vt(t()).subscribe(n)})}function Ia(t,n){const e=Me(t)?t:()=>t,i=o=>o.error(e());return new ge(n?o=>n.schedule(i,0,o):i)}function eu(){return Ze((t,n)=>{let e=null;t._refCount++;const i=Le(n,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount)return void(e=null);const o=t._connection,r=e;e=null,o&&(!r||o===r)&&o.unsubscribe(),n.unsubscribe()});t.subscribe(i),i.closed||(e=t.connect())})}class tu extends ge{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,Hd(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new lt;const e=this.getSubject();n.add(this.source.subscribe(Le(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=lt.EMPTY)}return n}refCount(){return eu()(this)}}function Zt(t,n){return Ze((e,i)=>{let o=null,r=0,s=!1;const a=()=>s&&!o&&i.complete();e.subscribe(Le(i,l=>{o?.unsubscribe();let c=0;const u=r++;Vt(t(l,u)).subscribe(o=Le(i,d=>i.next(n?n(l,d,u,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Ct(t){return t<=0?()=>_i:Ze((n,e)=>{let i=0;n.subscribe(Le(e,o=>{++i<=t&&(e.next(o),t<=i&&e.complete())}))})}function Rt(...t){const n=Rs(t);return Ze((e,i)=>{(n?a1(t,e,n):a1(t,e)).subscribe(i)})}function bt(t,n){return Ze((e,i)=>{let o=0;e.subscribe(Le(i,r=>t.call(n,r,o++)&&i.next(r)))})}function l1(t){return Ze((n,e)=>{let i=!1;n.subscribe(Le(e,o=>{i=!0,e.next(o)},()=>{i||e.next(t),e.complete()}))})}function Lm(t=XP){return Ze((n,e)=>{let i=!1;n.subscribe(Le(e,o=>{i=!0,e.next(o)},()=>i?e.complete():e.error(t())))})}function XP(){return new r1}function yo(t,n){const e=arguments.length>=2;return i=>i.pipe(t?bt((o,r)=>t(o,r,i)):Hi,Ct(1),e?l1(n):Lm(()=>new r1))}function _o(t,n){return Me(n)?vt(t,n,1):vt(t,1)}function Bt(t,n,e){const i=Me(t)||n||e?{next:t,error:n,complete:e}:t;return i?Ze((o,r)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;o.subscribe(Le(r,l=>{var c;null===(c=i.next)||void 0===c||c.call(i,l),r.next(l)},()=>{var l;a=!1,null===(l=i.complete)||void 0===l||l.call(i),r.complete()},l=>{var c;a=!1,null===(c=i.error)||void 0===c||c.call(i,l),r.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)}))}):Hi}function eo(t){return Ze((n,e)=>{let r,i=null,o=!1;i=n.subscribe(Le(e,void 0,void 0,s=>{r=Vt(t(s,eo(t)(n))),i?(i.unsubscribe(),i=null,r.subscribe(e)):o=!0})),o&&(i.unsubscribe(),i=null,r.subscribe(e))})}function Hm(t,n){return Ze(function QP(t,n,e,i,o){return(r,s)=>{let a=e,l=n,c=0;r.subscribe(Le(s,u=>{const d=c++;l=a?t(l,u,d):(a=!0,u),i&&s.next(l)},o&&(()=>{a&&s.next(l),s.complete()})))}}(t,n,arguments.length>=2,!0))}function nu(t){return t<=0?()=>_i:Ze((n,e)=>{let i=[];n.subscribe(Le(e,o=>{i.push(o),t{for(const o of i)e.next(o);e.complete()},void 0,()=>{i=null}))})}function Rm(t,n){const e=arguments.length>=2;return i=>i.pipe(t?bt((o,r)=>t(o,r,i)):Hi,nu(1),e?l1(n):Lm(()=>new r1))}function Bm(t,n=!1){return Ze((e,i)=>{let o=0;e.subscribe(Le(i,r=>{const s=t(r,o++);(s||n)&&i.next(r),!s&&i.complete()}))})}function iu(t){return B(()=>t)}function Oa(t){return Ze((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}const he="primary",Fa=Symbol("RouteTitle");class JP{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){const e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function fs(t){return new JP(t)}function eA(t,n,e){const i=e.path.split("/");if(i.length>t.length||"full"===e.pathMatch&&(n.hasChildren()||i.lengthi[r]===o)}return t===n}function jm(t){return Array.prototype.concat.apply([],t)}function Um(t){return t.length>0?t[t.length-1]:null}function Yt(t,n){for(const e in t)t.hasOwnProperty(e)&&n(t[e],e)}function Co(t){return H3(t)?t:pa(t)?rt(Promise.resolve(t)):Y(t)}const c1=!1,nA={exact:function Gm(t,n,e){if(!rr(t.segments,n.segments)||!u1(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children)if(!t.children[i]||!Gm(t.children[i],n.children[i],e))return!1;return!0},subset:qm},$m={exact:function iA(t,n){return Ai(t,n)},subset:function oA(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>Ym(t[e],n[e]))},ignored:()=>!0};function Wm(t,n,e){return nA[e.paths](t.root,n.root,e.matrixParams)&&$m[e.queryParams](t.queryParams,n.queryParams)&&!("exact"===e.fragment&&t.fragment!==n.fragment)}function qm(t,n,e){return Km(t,n,n.segments,e)}function Km(t,n,e,i){if(t.segments.length>e.length){const o=t.segments.slice(0,e.length);return!(!rr(o,e)||n.hasChildren()||!u1(o,e,i))}if(t.segments.length===e.length){if(!rr(t.segments,e)||!u1(t.segments,e,i))return!1;for(const o in n.children)if(!t.children[o]||!qm(t.children[o],n.children[o],i))return!1;return!0}{const o=e.slice(0,t.segments.length),r=e.slice(t.segments.length);return!!(rr(t.segments,o)&&u1(t.segments,o,i)&&t.children[he])&&Km(t.children[he],n,r,i)}}function u1(t,n,e){return n.every((i,o)=>$m[e](t[o].parameters,i.parameters))}class bo{constructor(n=new Ce([],{}),e={},i=null){this.root=n,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=fs(this.queryParams)),this._queryParamMap}toString(){return aA.serialize(this)}}class Ce{constructor(n,e){this.segments=n,this.children=e,this.parent=null,Yt(e,(i,o)=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return d1(this)}}class Va{constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=fs(this.parameters)),this._parameterMap}toString(){return Qm(this)}}function rr(t,n){return t.length===n.length&&t.every((e,i)=>e.path===n[i].path)}let Na=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:function(){return new ou},providedIn:"root"}),t})();class ou{parse(n){const e=new gA(n);return new bo(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){const e=`/${La(n.root,!0)}`,i=function uA(t){const n=Object.keys(t).map(e=>{const i=t[e];return Array.isArray(i)?i.map(o=>`${h1(e)}=${h1(o)}`).join("&"):`${h1(e)}=${h1(i)}`}).filter(e=>!!e);return n.length?`?${n.join("&")}`:""}(n.queryParams);return`${e}${i}${"string"==typeof n.fragment?`#${function lA(t){return encodeURI(t)}(n.fragment)}`:""}`}}const aA=new ou;function d1(t){return t.segments.map(n=>Qm(n)).join("/")}function La(t,n){if(!t.hasChildren())return d1(t);if(n){const e=t.children[he]?La(t.children[he],!1):"",i=[];return Yt(t.children,(o,r)=>{r!==he&&i.push(`${r}:${La(o,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}{const e=function sA(t,n){let e=[];return Yt(t.children,(i,o)=>{o===he&&(e=e.concat(n(i,o)))}),Yt(t.children,(i,o)=>{o!==he&&(e=e.concat(n(i,o)))}),e}(t,(i,o)=>o===he?[La(t.children[he],!1)]:[`${o}:${La(i,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children[he]?`${d1(t)}/${e[0]}`:`${d1(t)}/(${e.join("//")})`}}function Zm(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function h1(t){return Zm(t).replace(/%3B/gi,";")}function ru(t){return Zm(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function p1(t){return decodeURIComponent(t)}function Xm(t){return p1(t.replace(/\+/g,"%20"))}function Qm(t){return`${ru(t.path)}${function cA(t){return Object.keys(t).map(n=>`;${ru(n)}=${ru(t[n])}`).join("")}(t.parameters)}`}const dA=/^[^\/()?;=#]+/;function f1(t){const n=t.match(dA);return n?n[0]:""}const hA=/^[^=?&#]+/,fA=/^[^&#]+/;class gA{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ce([],{}):new Ce([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(i[he]=new Ce(n,e)),i}parseSegment(){const n=f1(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new z(4009,c1);return this.capture(n),new Va(p1(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const e=f1(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const o=f1(this.remaining);o&&(i=o,this.capture(i))}n[p1(e)]=p1(i)}parseQueryParam(n){const e=function pA(t){const n=t.match(hA);return n?n[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const s=function mA(t){const n=t.match(fA);return n?n[0]:""}(this.remaining);s&&(i=s,this.capture(i))}const o=Xm(e),r=Xm(i);if(n.hasOwnProperty(o)){let s=n[o];Array.isArray(s)||(s=[s],n[o]=s),s.push(r)}else n[o]=r}parseParens(n){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=f1(this.remaining),o=this.remaining[i.length];if("/"!==o&&")"!==o&&";"!==o)throw new z(4010,c1);let r;i.indexOf(":")>-1?(r=i.slice(0,i.indexOf(":")),this.capture(r),this.capture(":")):n&&(r=he);const s=this.parseChildren();e[r]=1===Object.keys(s).length?s[he]:new Ce([],s),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new z(4011,c1)}}function su(t){return t.segments.length>0?new Ce([],{[he]:t}):t}function m1(t){const n={};for(const i of Object.keys(t.children)){const r=m1(t.children[i]);(r.segments.length>0||r.hasChildren())&&(n[i]=r)}return function vA(t){if(1===t.numberOfChildren&&t.children[he]){const n=t.children[he];return new Ce(t.segments.concat(n.segments),n.children)}return t}(new Ce(t.segments,n))}function sr(t){return t instanceof bo}const au=!1;function yA(t,n,e,i,o){if(0===e.length)return ms(n.root,n.root,n.root,i,o);const r=function ig(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new ng(!0,0,t);let n=0,e=!1;const i=t.reduce((o,r,s)=>{if("object"==typeof r&&null!=r){if(r.outlets){const a={};return Yt(r.outlets,(l,c)=>{a[c]="string"==typeof l?l.split("/"):l}),[...o,{outlets:a}]}if(r.segmentPath)return[...o,r.segmentPath]}return"string"!=typeof r?[...o,r]:0===s?(r.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?e=!0:".."===a?n++:""!=a&&o.push(a))}),o):[...o,r]},[]);return new ng(e,n,i)}(e);return r.toRoot()?ms(n.root,n.root,new Ce([],{}),i,o):function s(l){const c=function CA(t,n,e,i){if(t.isAbsolute)return new gs(n.root,!0,0);if(-1===i)return new gs(e,e===n.root,0);return function og(t,n,e){let i=t,o=n,r=e;for(;r>o;){if(r-=o,i=i.parent,!i)throw new z(4005,au&&"Invalid number of '../'");o=i.segments.length}return new gs(i,!1,o-r)}(e,i+(Ha(t.commands[0])?0:1),t.numberOfDoubleDots)}(r,n,t.snapshot?._urlSegment,l),u=c.processChildren?vs(c.segmentGroup,c.index,r.commands):lu(c.segmentGroup,c.index,r.commands);return ms(n.root,c.segmentGroup,u,i,o)}(t.snapshot?._lastPathIndex)}function Ha(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function Ra(t){return"object"==typeof t&&null!=t&&t.outlets}function ms(t,n,e,i,o){let s,r={};i&&Yt(i,(l,c)=>{r[c]=Array.isArray(l)?l.map(u=>`${u}`):`${l}`}),s=t===n?e:tg(t,n,e);const a=su(m1(s));return new bo(a,r,o)}function tg(t,n,e){const i={};return Yt(t.children,(o,r)=>{i[r]=o===n?e:tg(o,n,e)}),new Ce(t.segments,i)}class ng{constructor(n,e,i){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=i,n&&i.length>0&&Ha(i[0]))throw new z(4003,au&&"Root segment cannot have matrix parameters");const o=i.find(Ra);if(o&&o!==Um(i))throw new z(4004,au&&"{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class gs{constructor(n,e,i){this.segmentGroup=n,this.processChildren=e,this.index=i}}function lu(t,n,e){if(t||(t=new Ce([],{})),0===t.segments.length&&t.hasChildren())return vs(t,n,e);const i=function MA(t,n,e){let i=0,o=n;const r={match:!1,pathIndex:0,commandIndex:0};for(;o=e.length)return r;const s=t.segments[o],a=e[i];if(Ra(a))break;const l=`${a}`,c=i0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!sg(l,c,s))return r;i+=2}else{if(!sg(l,{},s))return r;i++}o++}return{match:!0,pathIndex:o,commandIndex:i}}(t,n,e),o=e.slice(i.commandIndex);if(i.match&&i.pathIndex{"string"==typeof r&&(r=[r]),null!==r&&(o[s]=lu(t.children[s],n,r))}),Yt(t.children,(r,s)=>{void 0===i[s]&&(o[s]=r)}),new Ce(t.segments,o))}}function cu(t,n,e){const i=t.segments.slice(0,n);let o=0;for(;o{"string"==typeof e&&(e=[e]),null!==e&&(n[i]=cu(new Ce([],{}),0,e))}),n}function rg(t){const n={};return Yt(t,(e,i)=>n[i]=`${e}`),n}function sg(t,n,e){return t==e.path&&Ai(n,e.parameters)}const Ba="imperative";class Ii{constructor(n,e){this.id=n,this.url=e}}class uu extends Ii{constructor(n,e,i="imperative",o=null){super(n,e),this.type=0,this.navigationTrigger=i,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Mo extends Ii{constructor(n,e,i){super(n,e),this.urlAfterRedirects=i,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class g1 extends Ii{constructor(n,e,i,o){super(n,e),this.reason=i,this.code=o,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class v1 extends Ii{constructor(n,e,i,o){super(n,e),this.reason=i,this.code=o,this.type=16}}class du extends Ii{constructor(n,e,i,o){super(n,e),this.error=i,this.target=o,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class wA extends Ii{constructor(n,e,i,o){super(n,e),this.urlAfterRedirects=i,this.state=o,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class SA extends Ii{constructor(n,e,i,o){super(n,e),this.urlAfterRedirects=i,this.state=o,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class DA extends Ii{constructor(n,e,i,o,r){super(n,e),this.urlAfterRedirects=i,this.state=o,this.shouldActivate=r,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class EA extends Ii{constructor(n,e,i,o){super(n,e),this.urlAfterRedirects=i,this.state=o,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class TA extends Ii{constructor(n,e,i,o){super(n,e),this.urlAfterRedirects=i,this.state=o,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class kA{constructor(n){this.route=n,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class xA{constructor(n){this.route=n,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class PA{constructor(n){this.snapshot=n,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class AA{constructor(n){this.snapshot=n,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class IA{constructor(n){this.snapshot=n,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class OA{constructor(n){this.snapshot=n,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ag{constructor(n,e,i){this.routerEvent=n,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 NA=(()=>{class t{createUrlTree(e,i,o,r,s,a){return yA(e||i.root,o,r,s,a)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})(),HA=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:function(n){return NA.\u0275fac(n)},providedIn:"root"}),t})();class lg{constructor(n){this._root=n}get root(){return this._root.value}parent(n){const e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){const e=hu(n,this._root);return e?e.children.map(i=>i.value):[]}firstChild(n){const e=hu(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){const e=pu(n,this._root);return e.length<2?[]:e[e.length-2].children.map(o=>o.value).filter(o=>o!==n)}pathFromRoot(n){return pu(n,this._root).map(e=>e.value)}}function hu(t,n){if(t===n.value)return n;for(const e of n.children){const i=hu(t,e);if(i)return i}return null}function pu(t,n){if(t===n.value)return[n];for(const e of n.children){const i=pu(t,e);if(i.length)return i.unshift(n),i}return[]}class to{constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}}function ys(t){const n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}class cg extends lg{constructor(n,e){super(n),this.snapshot=e,fu(this,n)}toString(){return this.snapshot.toString()}}function ug(t,n){const e=function RA(t,n){const s=new y1([],{},{},"",{},he,n,null,t.root,-1,{});return new hg("",new to(s,[]))}(t,n),i=new ue([new Va("",{})]),o=new ue({}),r=new ue({}),s=new ue({}),a=new ue(""),l=new _s(i,o,s,a,r,he,n,e.root);return l.snapshot=e.root,new cg(new to(l,[]),e)}class _s{constructor(n,e,i,o,r,s,a,l){this.url=n,this.params=e,this.queryParams=i,this.fragment=o,this.data=r,this.outlet=s,this.component=a,this.title=this.data?.pipe(B(c=>c[Fa]))??Y(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(B(n=>fs(n)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(B(n=>fs(n)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function dg(t,n="emptyOnly"){const e=t.pathFromRoot;let i=0;if("always"!==n)for(i=e.length-1;i>=1;){const o=e[i],r=e[i-1];if(o.routeConfig&&""===o.routeConfig.path)i--;else{if(r.component)break;i--}}return function BA(t){return t.reduce((n,e)=>({params:{...n.params,...e.params},data:{...n.data,...e.data},resolve:{...e.data,...n.resolve,...e.routeConfig?.data,...e._resolvedData}}),{params:{},data:{},resolve:{}})}(e.slice(i))}class y1{get title(){return this.data?.[Fa]}constructor(n,e,i,o,r,s,a,l,c,u,d){this.url=n,this.params=e,this.queryParams=i,this.fragment=o,this.data=r,this.outlet=s,this.component=a,this.routeConfig=l,this._urlSegment=c,this._lastPathIndex=u,this._resolve=d}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=fs(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=fs(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class hg extends lg{constructor(n,e){super(e),this.url=n,fu(this,e)}toString(){return pg(this._root)}}function fu(t,n){n.value._routerState=t,n.children.forEach(e=>fu(t,e))}function pg(t){const n=t.children.length>0?` { ${t.children.map(pg).join(", ")} } `:"";return`${t.value}${n}`}function mu(t){if(t.snapshot){const n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,Ai(n.queryParams,e.queryParams)||t.queryParams.next(e.queryParams),n.fragment!==e.fragment&&t.fragment.next(e.fragment),Ai(n.params,e.params)||t.params.next(e.params),function tA(t,n){if(t.length!==n.length)return!1;for(let e=0;eAi(e.parameters,n[i].parameters))}(t.url,n.url);return e&&!(!t.parent!=!n.parent)&&(!t.parent||gu(t.parent,n.parent))}function Ya(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){const i=e.value;i._futureSnapshot=n.value;const o=function jA(t,n,e){return n.children.map(i=>{for(const o of e.children)if(t.shouldReuseRoute(i.value,o.value.snapshot))return Ya(t,i,o);return Ya(t,i)})}(t,n,e);return new to(i,o)}{if(t.shouldAttach(n.value)){const r=t.retrieve(n.value);if(null!==r){const s=r.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>Ya(t,a)),s}}const i=function UA(t){return new _s(new ue(t.url),new ue(t.params),new ue(t.queryParams),new ue(t.fragment),new ue(t.data),t.outlet,t.component,t)}(n.value),o=n.children.map(r=>Ya(t,r));return new to(i,o)}}const vu="ngNavigationCancelingError";function fg(t,n){const{redirectTo:e,navigationBehaviorOptions:i}=sr(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,o=mg(!1,0,n);return o.url=e,o.navigationBehaviorOptions=i,o}function mg(t,n,e){const i=new Error("NavigationCancelingError: "+(t||""));return i[vu]=!0,i.cancellationCode=n,e&&(i.url=e),i}function gg(t){return vg(t)&&sr(t.url)}function vg(t){return t&&t[vu]}class $A{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new ja,this.attachRef=null}}let ja=(()=>{class t{constructor(){this.contexts=new Map}onChildOutletCreated(e,i){const o=this.getOrCreateContext(e);o.outlet=i,this.contexts.set(e,o)}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 $A,this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const _1=!1;let yu=(()=>{class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=he,this.activateEvents=new _,this.deactivateEvents=new _,this.attachEvents=new _,this.detachEvents=new _,this.parentContexts=pe(ja),this.location=pe(Ht),this.changeDetector=pe(It),this.environmentInjector=pe(Si)}ngOnChanges(e){if(e.name){const{firstChange:i,previousValue:o}=e.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),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 z(4012,_1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new z(4012,_1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new z(4012,_1);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 z(4013,_1);this._activatedRoute=e;const o=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new WA(e,a,o.injector);if(i&&function GA(t){return!!t.resolveComponentFactory}(i)){const c=i.resolveComponentFactory(s);this.activated=o.createComponent(c,o.length,l)}else this.activated=o.createComponent(s,{index:o.length,injector:l,environmentInjector:i??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=w({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[$]}),t})();class WA{constructor(n,e,i){this.route=n,this.childContexts=e,this.parent=i}get(n,e){return n===_s?this.route:n===ja?this.childContexts:this.parent.get(n,e)}}let _u=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=ze({type:t,selectors:[["ng-component"]],standalone:!0,features:[J3],decls:1,vars:0,template:function(e,i){1&e&&X(0,"router-outlet")},dependencies:[yu],encapsulation:2}),t})();function yg(t,n){return t.providers&&!t._injector&&(t._injector=Dc(t.providers,n,`Route: ${t.path}`)),t._injector??n}function bu(t){const n=t.children&&t.children.map(bu),e=n?{...t,children:n}:{...t};return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==he&&(e.component=_u),e}function Kn(t){return t.outlet||he}function _g(t,n){const e=t.filter(i=>Kn(i)===n);return e.push(...t.filter(i=>Kn(i)!==n)),e}function Ua(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let n=t.parent;n;n=n.parent){const e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}class QA{constructor(n,e,i,o){this.routeReuseStrategy=n,this.futureState=e,this.currState=i,this.forwardEvent=o}activate(n){const e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,n),mu(this.futureState.root),this.activateChildRoutes(e,i,n)}deactivateChildRoutes(n,e,i){const o=ys(e);n.children.forEach(r=>{const s=r.value.outlet;this.deactivateRoutes(r,o[s],i),delete o[s]}),Yt(o,(r,s)=>{this.deactivateRouteAndItsChildren(r,i)})}deactivateRoutes(n,e,i){const o=n.value,r=e?e.value:null;if(o===r)if(o.component){const s=i.getContext(o.outlet);s&&this.deactivateChildRoutes(n,e,s.children)}else this.deactivateChildRoutes(n,e,i);else r&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){const i=e.getContext(n.value.outlet),o=i&&n.value.component?i.children:e,r=ys(n);for(const s of Object.keys(r))this.deactivateRouteAndItsChildren(r[s],o);if(i&&i.outlet){const s=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,e){const i=e.getContext(n.value.outlet),o=i&&n.value.component?i.children:e,r=ys(n);for(const s of Object.keys(r))this.deactivateRouteAndItsChildren(r[s],o);i&&i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated(),i.attachRef=null,i.resolver=null,i.route=null)}activateChildRoutes(n,e,i){const o=ys(e);n.children.forEach(r=>{this.activateRoutes(r,o[r.value.outlet],i),this.forwardEvent(new OA(r.value.snapshot))}),n.children.length&&this.forwardEvent(new AA(n.value.snapshot))}activateRoutes(n,e,i){const o=n.value,r=e?e.value:null;if(mu(o),o===r)if(o.component){const s=i.getOrCreateContext(o.outlet);this.activateChildRoutes(n,e,s.children)}else this.activateChildRoutes(n,e,i);else if(o.component){const s=i.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.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),mu(a.route.value),this.activateChildRoutes(n,null,s.children)}else{const a=Ua(o.snapshot),l=a?.get(Zo)??null;s.attachRef=null,s.route=o,s.resolver=l,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(n,null,s.children)}}else this.activateChildRoutes(n,null,i)}}class Cg{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class C1{constructor(n,e){this.component=n,this.route=e}}function JA(t,n,e){const i=t._root;return $a(i,n?n._root:null,e,[i.value])}function Cs(t,n){const e=Symbol(),i=n.get(t,e);return i===e?"function"!=typeof t||function cb(t){return null!==Dl(t)}(t)?n.get(t):t:i}function $a(t,n,e,i,o={canDeactivateChecks:[],canActivateChecks:[]}){const r=ys(n);return t.children.forEach(s=>{(function tI(t,n,e,i,o={canDeactivateChecks:[],canActivateChecks:[]}){const r=t.value,s=n?n.value:null,a=e?e.getContext(t.value.outlet):null;if(s&&r.routeConfig===s.routeConfig){const l=function nI(t,n,e){if("function"==typeof e)return e(t,n);switch(e){case"pathParamsChange":return!rr(t.url,n.url);case"pathParamsOrQueryParamsChange":return!rr(t.url,n.url)||!Ai(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!gu(t,n)||!Ai(t.queryParams,n.queryParams);default:return!gu(t,n)}}(s,r,r.routeConfig.runGuardsAndResolvers);l?o.canActivateChecks.push(new Cg(i)):(r.data=s.data,r._resolvedData=s._resolvedData),$a(t,n,r.component?a?a.children:null:e,i,o),l&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new C1(a.outlet.component,s))}else s&&Wa(n,a,o),o.canActivateChecks.push(new Cg(i)),$a(t,null,r.component?a?a.children:null:e,i,o)})(s,r[s.value.outlet],e,i.concat([s.value]),o),delete r[s.value.outlet]}),Yt(r,(s,a)=>Wa(s,e.getContext(a),o)),o}function Wa(t,n,e){const i=ys(t),o=t.value;Yt(i,(r,s)=>{Wa(r,o.component?n?n.children.getContext(s):null:n,e)}),e.canDeactivateChecks.push(new C1(o.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,o))}function Ga(t){return"function"==typeof t}function Mu(t){return t instanceof r1||"EmptyError"===t?.name}const b1=Symbol("INITIAL_VALUE");function bs(){return Zt(t=>yn(t.map(n=>n.pipe(Ct(1),Rt(b1)))).pipe(B(n=>{for(const e of n)if(!0!==e){if(e===b1)return b1;if(!1===e||e instanceof bo)return e}return!0}),bt(n=>n!==b1),Ct(1)))}function bg(t){return function AC(...t){return Vd(t)}(Bt(n=>{if(sr(n))throw fg(0,n)}),B(n=>!0===n))}const zu={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Mg(t,n,e,i,o){const r=wu(t,n,e);return r.matched?function _I(t,n,e,i){const o=n.canMatch;return o&&0!==o.length?Y(o.map(s=>{const a=Cs(s,t);return Co(function lI(t){return t&&Ga(t.canMatch)}(a)?a.canMatch(n,e):t.runInContext(()=>a(n,e)))})).pipe(bs(),bg()):Y(!0)}(i=yg(n,i),n,e).pipe(B(s=>!0===s?r:{...zu})):Y(r)}function wu(t,n,e){if(""===n.path)return"full"===n.pathMatch&&(t.hasChildren()||e.length>0)?{...zu}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const o=(n.matcher||eA)(e,t,n);if(!o)return{...zu};const r={};Yt(o.posParams,(a,l)=>{r[l]=a.path});const s=o.consumed.length>0?{...r,...o.consumed[o.consumed.length-1].parameters}:r;return{matched:!0,consumedSegments:o.consumed,remainingSegments:e.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function M1(t,n,e,i){if(e.length>0&&function MI(t,n,e){return e.some(i=>z1(t,n,i)&&Kn(i)!==he)}(t,e,i)){const r=new Ce(n,function bI(t,n,e,i){const o={};o[he]=i,i._sourceSegment=t,i._segmentIndexShift=n.length;for(const r of e)if(""===r.path&&Kn(r)!==he){const s=new Ce([],{});s._sourceSegment=t,s._segmentIndexShift=n.length,o[Kn(r)]=s}return o}(t,n,i,new Ce(e,t.children)));return r._sourceSegment=t,r._segmentIndexShift=n.length,{segmentGroup:r,slicedSegments:[]}}if(0===e.length&&function zI(t,n,e){return e.some(i=>z1(t,n,i))}(t,e,i)){const r=new Ce(t.segments,function CI(t,n,e,i,o){const r={};for(const s of i)if(z1(t,e,s)&&!o[Kn(s)]){const a=new Ce([],{});a._sourceSegment=t,a._segmentIndexShift=n.length,r[Kn(s)]=a}return{...o,...r}}(t,n,e,i,t.children));return r._sourceSegment=t,r._segmentIndexShift=n.length,{segmentGroup:r,slicedSegments:e}}const o=new Ce(t.segments,t.children);return o._sourceSegment=t,o._segmentIndexShift=n.length,{segmentGroup:o,slicedSegments:e}}function z1(t,n,e){return(!(t.hasChildren()||n.length>0)||"full"!==e.pathMatch)&&""===e.path}function zg(t,n,e,i){return!!(Kn(t)===i||i!==he&&z1(n,e,t))&&("**"===t.path||wu(n,t,e).matched)}function wg(t,n,e){return 0===n.length&&!t.children[e]}const w1=!1;class S1{constructor(n){this.segmentGroup=n||null}}class Sg{constructor(n){this.urlTree=n}}function qa(t){return Ia(new S1(t))}function Dg(t){return Ia(new Sg(t))}class EI{constructor(n,e,i,o,r){this.injector=n,this.configLoader=e,this.urlSerializer=i,this.urlTree=o,this.config=r,this.allowRedirects=!0}apply(){const n=M1(this.urlTree.root,[],[],this.config).segmentGroup,e=new Ce(n.segments,n.children);return this.expandSegmentGroup(this.injector,this.config,e,he).pipe(B(r=>this.createUrlTree(m1(r),this.urlTree.queryParams,this.urlTree.fragment))).pipe(eo(r=>{if(r instanceof Sg)return this.allowRedirects=!1,this.match(r.urlTree);throw r instanceof S1?this.noMatchError(r):r}))}match(n){return this.expandSegmentGroup(this.injector,this.config,n.root,he).pipe(B(o=>this.createUrlTree(m1(o),n.queryParams,n.fragment))).pipe(eo(o=>{throw o instanceof S1?this.noMatchError(o):o}))}noMatchError(n){return new z(4002,w1)}createUrlTree(n,e,i){const o=su(n);return new bo(o,e,i)}expandSegmentGroup(n,e,i,o){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(n,e,i).pipe(B(r=>new Ce([],r))):this.expandSegment(n,i,e,i.segments,o,!0)}expandChildren(n,e,i){const o=[];for(const r of Object.keys(i.children))"primary"===r?o.unshift(r):o.push(r);return rt(o).pipe(_o(r=>{const s=i.children[r],a=_g(e,r);return this.expandSegmentGroup(n,a,s,r).pipe(B(l=>({segment:l,outlet:r})))}),Hm((r,s)=>(r[s.outlet]=s.segment,r),{}),Rm())}expandSegment(n,e,i,o,r,s){return rt(i).pipe(_o(a=>this.expandSegmentAgainstRoute(n,e,i,a,o,r,s).pipe(eo(c=>{if(c instanceof S1)return Y(null);throw c}))),yo(a=>!!a),eo((a,l)=>{if(Mu(a))return wg(e,o,r)?Y(new Ce([],{})):qa(e);throw a}))}expandSegmentAgainstRoute(n,e,i,o,r,s,a){return zg(o,e,r,s)?void 0===o.redirectTo?this.matchSegmentAgainstRoute(n,e,o,r,s):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(n,e,i,o,r,s):qa(e):qa(e)}expandSegmentAgainstRouteUsingRedirect(n,e,i,o,r,s){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(n,i,o,s):this.expandRegularSegmentAgainstRouteUsingRedirect(n,e,i,o,r,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(n,e,i,o){const r=this.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?Dg(r):this.lineralizeSegments(i,r).pipe(vt(s=>{const a=new Ce(s,{});return this.expandSegment(n,a,e,s,o,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(n,e,i,o,r,s){const{matched:a,consumedSegments:l,remainingSegments:c,positionalParamSegments:u}=wu(e,o,r);if(!a)return qa(e);const d=this.applyRedirectCommands(l,o.redirectTo,u);return o.redirectTo.startsWith("/")?Dg(d):this.lineralizeSegments(o,d).pipe(vt(h=>this.expandSegment(n,e,i,h.concat(c),s,!1)))}matchSegmentAgainstRoute(n,e,i,o,r){return"**"===i.path?(n=yg(i,n),i.loadChildren?(i._loadedRoutes?Y({routes:i._loadedRoutes,injector:i._loadedInjector}):this.configLoader.loadChildren(n,i)).pipe(B(a=>(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,new Ce(o,{})))):Y(new Ce(o,{}))):Mg(e,i,o,n).pipe(Zt(({matched:s,consumedSegments:a,remainingSegments:l})=>s?this.getChildConfig(n=i._injector??n,i,o).pipe(vt(u=>{const d=u.injector??n,h=u.routes,{segmentGroup:p,slicedSegments:m}=M1(e,a,l,h),g=new Ce(p.segments,p.children);if(0===m.length&&g.hasChildren())return this.expandChildren(d,h,g).pipe(B(b=>new Ce(a,b)));if(0===h.length&&0===m.length)return Y(new Ce(a,{}));const y=Kn(i)===r;return this.expandSegment(d,g,h,m,y?he:r,!0).pipe(B(E=>new Ce(a.concat(E.segments),E.children)))})):qa(e)))}getChildConfig(n,e,i){return e.children?Y({routes:e.children,injector:n}):e.loadChildren?void 0!==e._loadedRoutes?Y({routes:e._loadedRoutes,injector:e._loadedInjector}):function yI(t,n,e,i){const o=n.canLoad;return void 0===o||0===o.length?Y(!0):Y(o.map(s=>{const a=Cs(s,t);return Co(function oI(t){return t&&Ga(t.canLoad)}(a)?a.canLoad(n,e):t.runInContext(()=>a(n,e)))})).pipe(bs(),bg())}(n,e,i).pipe(vt(o=>o?this.configLoader.loadChildren(n,e).pipe(Bt(r=>{e._loadedRoutes=r.routes,e._loadedInjector=r.injector})):function SI(t){return Ia(mg(w1,3))}())):Y({routes:[],injector:n})}lineralizeSegments(n,e){let i=[],o=e.root;for(;;){if(i=i.concat(o.segments),0===o.numberOfChildren)return Y(i);if(o.numberOfChildren>1||!o.children[he])return n.redirectTo,Ia(new z(4e3,w1));o=o.children[he]}}applyRedirectCommands(n,e,i){return this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),n,i)}applyRedirectCreateUrlTree(n,e,i,o){const r=this.createSegmentGroup(n,e.root,i,o);return new bo(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){const i={};return Yt(n,(o,r)=>{if("string"==typeof o&&o.startsWith(":")){const a=o.substring(1);i[r]=e[a]}else i[r]=o}),i}createSegmentGroup(n,e,i,o){const r=this.createSegments(n,e.segments,i,o);let s={};return Yt(e.children,(a,l)=>{s[l]=this.createSegmentGroup(n,a,i,o)}),new Ce(r,s)}createSegments(n,e,i,o){return e.map(r=>r.path.startsWith(":")?this.findPosParam(n,r,o):this.findOrReturn(r,i))}findPosParam(n,e,i){const o=i[e.path.substring(1)];if(!o)throw new z(4001,w1);return o}findOrReturn(n,e){let i=0;for(const o of e){if(o.path===n.path)return e.splice(i),o;i++}return n}}class kI{}class AI{constructor(n,e,i,o,r,s,a){this.injector=n,this.rootComponentType=e,this.config=i,this.urlTree=o,this.url=r,this.paramsInheritanceStrategy=s,this.urlSerializer=a}recognize(){const n=M1(this.urlTree.root,[],[],this.config.filter(e=>void 0===e.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,n,he).pipe(B(e=>{if(null===e)return null;const i=new y1([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},he,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new to(i,e),r=new hg(this.url,o);return this.inheritParamsAndData(r._root),r}))}inheritParamsAndData(n){const e=n.value,i=dg(e,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),n.children.forEach(o=>this.inheritParamsAndData(o))}processSegmentGroup(n,e,i,o){return 0===i.segments.length&&i.hasChildren()?this.processChildren(n,e,i):this.processSegment(n,e,i,i.segments,o)}processChildren(n,e,i){return rt(Object.keys(i.children)).pipe(_o(o=>{const r=i.children[o],s=_g(e,o);return this.processSegmentGroup(n,s,r,o)}),Hm((o,r)=>o&&r?(o.push(...r),o):null),Bm(o=>null!==o),l1(null),Rm(),B(o=>{if(null===o)return null;const r=Tg(o);return function II(t){t.sort((n,e)=>n.value.outlet===he?-1:e.value.outlet===he?1:n.value.outlet.localeCompare(e.value.outlet))}(r),r}))}processSegment(n,e,i,o,r){return rt(e).pipe(_o(s=>this.processSegmentAgainstRoute(s._injector??n,s,i,o,r)),yo(s=>!!s),eo(s=>{if(Mu(s))return wg(i,o,r)?Y([]):Y(null);throw s}))}processSegmentAgainstRoute(n,e,i,o,r){if(e.redirectTo||!zg(e,i,o,r))return Y(null);let s;if("**"===e.path){const a=o.length>0?Um(o).parameters:{},l=xg(i)+o.length;s=Y({snapshot:new y1(o,a,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Pg(e),Kn(e),e.component??e._loadedComponent??null,e,kg(i),l,Ag(e)),consumedSegments:[],remainingSegments:[]})}else s=Mg(i,e,o,n).pipe(B(({matched:a,consumedSegments:l,remainingSegments:c,parameters:u})=>{if(!a)return null;const d=xg(i)+l.length;return{snapshot:new y1(l,u,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Pg(e),Kn(e),e.component??e._loadedComponent??null,e,kg(i),d,Ag(e)),consumedSegments:l,remainingSegments:c}}));return s.pipe(Zt(a=>{if(null===a)return Y(null);const{snapshot:l,consumedSegments:c,remainingSegments:u}=a;n=e._injector??n;const d=e._loadedInjector??n,h=function OI(t){return t.children?t.children:t.loadChildren?t._loadedRoutes:[]}(e),{segmentGroup:p,slicedSegments:m}=M1(i,c,u,h.filter(y=>void 0===y.redirectTo));if(0===m.length&&p.hasChildren())return this.processChildren(d,h,p).pipe(B(y=>null===y?null:[new to(l,y)]));if(0===h.length&&0===m.length)return Y([new to(l,[])]);const g=Kn(e)===r;return this.processSegment(d,h,p,m,g?he:r).pipe(B(y=>null===y?null:[new to(l,y)]))}))}}function FI(t){const n=t.value.routeConfig;return n&&""===n.path&&void 0===n.redirectTo}function Tg(t){const n=[],e=new Set;for(const i of t){if(!FI(i)){n.push(i);continue}const o=n.find(r=>i.value.routeConfig===r.value.routeConfig);void 0!==o?(o.children.push(...i.children),e.add(o)):n.push(i)}for(const i of e){const o=Tg(i.children);n.push(new to(i.value,o))}return n.filter(i=>!e.has(i))}function kg(t){let n=t;for(;n._sourceSegment;)n=n._sourceSegment;return n}function xg(t){let n=t,e=n._segmentIndexShift??0;for(;n._sourceSegment;)n=n._sourceSegment,e+=n._segmentIndexShift??0;return e-1}function Pg(t){return t.data||{}}function Ag(t){return t.resolve||{}}function Ig(t){return"string"==typeof t.title||null===t.title}function Su(t){return Zt(n=>{const e=t(n);return e?rt(e).pipe(B(()=>n)):Y(n)})}const Ms=new P("ROUTES");let Du=(()=>{class t{constructor(e,i){this.injector=e,this.compiler=i,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return Y(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const i=Co(e.loadComponent()).pipe(B(Fg),Bt(r=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=r}),Oa(()=>{this.componentLoaders.delete(e)})),o=new tu(i,()=>new F).pipe(eu());return this.componentLoaders.set(e,o),o}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return Y({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const r=this.loadModuleFactoryOrRoutes(i.loadChildren).pipe(B(a=>{this.onLoadEndListener&&this.onLoadEndListener(i);let l,c,u=!1;Array.isArray(a)?c=a:(l=a.create(e).injector,c=jm(l.get(Ms,[],K.Self|K.Optional)));return{routes:c.map(bu),injector:l}}),Oa(()=>{this.childrenLoaders.delete(i)})),s=new tu(r,()=>new F).pipe(eu());return this.childrenLoaders.set(i,s),s}loadModuleFactoryOrRoutes(e){return Co(e()).pipe(B(Fg),vt(o=>o instanceof b5||Array.isArray(o)?Y(o):rt(this.compiler.compileModuleAsync(o))))}}return t.\u0275fac=function(e){return new(e||t)(v(St),v(c7))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Fg(t){return function UI(t){return t&&"object"==typeof t&&"default"in t}(t)?t.default:t}let E1=(()=>{class t{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new F,this.configLoader=pe(Du),this.environmentInjector=pe(Si),this.urlSerializer=pe(Na),this.rootContexts=pe(ja),this.navigationId=0,this.afterPreactivation=()=>Y(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=o=>this.events.next(new xA(o)),this.configLoader.onLoadStartListener=o=>this.events.next(new kA(o))}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 ue({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:Ba,restoredState:null,currentSnapshot:e.routerState.snapshot,targetSnapshot:null,currentRouterState:e.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(bt(i=>0!==i.id),B(i=>({...i,extractedUrl:e.urlHandlingStrategy.extract(i.rawUrl)})),Zt(i=>{let o=!1,r=!1;return Y(i).pipe(Bt(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}}),Zt(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 u="";return this.events.next(new v1(s.id,e.serializeUrl(i.rawUrl),u,0)),e.rawUrlTree=s.rawUrl,s.resolve(null),_i}if(e.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return Vg(s.source)&&(e.browserUrlTree=s.extractedUrl),Y(s).pipe(Zt(u=>{const d=this.transitions?.getValue();return this.events.next(new uu(u.id,this.urlSerializer.serialize(u.extractedUrl),u.source,u.restoredState)),d!==this.transitions?.getValue()?_i:Promise.resolve(u)}),function TI(t,n,e,i){return Zt(o=>function DI(t,n,e,i,o){return new EI(t,n,e,i,o).apply()}(t,n,e,o.extractedUrl,i).pipe(B(r=>({...o,urlAfterRedirects:r}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,e.config),Bt(u=>{this.currentNavigation={...this.currentNavigation,finalUrl:u.urlAfterRedirects},i.urlAfterRedirects=u.urlAfterRedirects}),function NI(t,n,e,i,o){return vt(r=>function PI(t,n,e,i,o,r,s="emptyOnly"){return new AI(t,n,e,i,o,s,r).recognize().pipe(Zt(a=>null===a?function xI(t){return new ge(n=>n.error(t))}(new kI):Y(a)))}(t,n,e,r.urlAfterRedirects,i.serialize(r.urlAfterRedirects),i,o).pipe(B(s=>({...r,targetSnapshot:s}))))}(this.environmentInjector,this.rootComponentType,e.config,this.urlSerializer,e.paramsInheritanceStrategy),Bt(u=>{if(i.targetSnapshot=u.targetSnapshot,"eager"===e.urlUpdateStrategy){if(!u.extras.skipLocationChange){const h=e.urlHandlingStrategy.merge(u.urlAfterRedirects,u.rawUrl);e.setBrowserUrl(h,u)}e.browserUrlTree=u.urlAfterRedirects}const d=new wA(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(d)}));if(l&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){const{id:u,extractedUrl:d,source:h,restoredState:p,extras:m}=s,g=new uu(u,this.urlSerializer.serialize(d),h,p);this.events.next(g);const y=ug(d,this.rootComponentType).snapshot;return Y(i={...s,targetSnapshot:y,urlAfterRedirects:d,extras:{...m,skipLocationChange:!1,replaceUrl:!1}})}{const u="";return this.events.next(new v1(s.id,e.serializeUrl(i.extractedUrl),u,1)),e.rawUrlTree=s.rawUrl,s.resolve(null),_i}}),Bt(s=>{const a=new SA(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),B(s=>i={...s,guards:JA(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),function uI(t,n){return vt(e=>{const{targetSnapshot:i,currentSnapshot:o,guards:{canActivateChecks:r,canDeactivateChecks:s}}=e;return 0===s.length&&0===r.length?Y({...e,guardsResult:!0}):function dI(t,n,e,i){return rt(t).pipe(vt(o=>function vI(t,n,e,i,o){const r=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return r&&0!==r.length?Y(r.map(a=>{const l=Ua(n)??o,c=Cs(a,l);return Co(function aI(t){return t&&Ga(t.canDeactivate)}(c)?c.canDeactivate(t,n,e,i):l.runInContext(()=>c(t,n,e,i))).pipe(yo())})).pipe(bs()):Y(!0)}(o.component,o.route,e,n,i)),yo(o=>!0!==o,!0))}(s,i,o,t).pipe(vt(a=>a&&function iI(t){return"boolean"==typeof t}(a)?function hI(t,n,e,i){return rt(n).pipe(_o(o=>a1(function fI(t,n){return null!==t&&n&&n(new PA(t)),Y(!0)}(o.route.parent,i),function pI(t,n){return null!==t&&n&&n(new IA(t)),Y(!0)}(o.route,i),function gI(t,n,e){const i=n[n.length-1],r=n.slice(0,n.length-1).reverse().map(s=>function eI(t){const n=t.routeConfig?t.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:t,guards:n}:null}(s)).filter(s=>null!==s).map(s=>J8(()=>Y(s.guards.map(l=>{const c=Ua(s.node)??e,u=Cs(l,c);return Co(function sI(t){return t&&Ga(t.canActivateChild)}(u)?u.canActivateChild(i,t):c.runInContext(()=>u(i,t))).pipe(yo())})).pipe(bs())));return Y(r).pipe(bs())}(t,o.path,e),function mI(t,n,e){const i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||0===i.length)return Y(!0);const o=i.map(r=>J8(()=>{const s=Ua(n)??e,a=Cs(r,s);return Co(function rI(t){return t&&Ga(t.canActivate)}(a)?a.canActivate(n,t):s.runInContext(()=>a(n,t))).pipe(yo())}));return Y(o).pipe(bs())}(t,o.route,e))),yo(o=>!0!==o,!0))}(i,r,t,n):Y(a)),B(a=>({...e,guardsResult:a})))})}(this.environmentInjector,s=>this.events.next(s)),Bt(s=>{if(i.guardsResult=s.guardsResult,sr(s.guardsResult))throw fg(0,s.guardsResult);const a=new DA(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.events.next(a)}),bt(s=>!!s.guardsResult||(e.restoreHistory(s),this.cancelNavigationTransition(s,"",3),!1)),Su(s=>{if(s.guards.canActivateChecks.length)return Y(s).pipe(Bt(a=>{const l=new EA(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}),Zt(a=>{let l=!1;return Y(a).pipe(function LI(t,n){return vt(e=>{const{targetSnapshot:i,guards:{canActivateChecks:o}}=e;if(!o.length)return Y(e);let r=0;return rt(o).pipe(_o(s=>function HI(t,n,e,i){const o=t.routeConfig,r=t._resolve;return void 0!==o?.title&&!Ig(o)&&(r[Fa]=o.title),function RI(t,n,e,i){const o=function BI(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}(t);if(0===o.length)return Y({});const r={};return rt(o).pipe(vt(s=>function YI(t,n,e,i){const o=Ua(n)??i,r=Cs(t,o);return Co(r.resolve?r.resolve(n,e):o.runInContext(()=>r(n,e)))}(t[s],n,e,i).pipe(yo(),Bt(a=>{r[s]=a}))),nu(1),iu(r),eo(s=>Mu(s)?_i:Ia(s)))}(r,t,n,i).pipe(B(s=>(t._resolvedData=s,t.data=dg(t,e).resolve,o&&Ig(o)&&(t.data[Fa]=o.title),null)))}(s.route,i,t,n)),Bt(()=>r++),nu(1),vt(s=>r===o.length?Y(e):_i))})}(e.paramsInheritanceStrategy,this.environmentInjector),Bt({next:()=>l=!0,complete:()=>{l||(e.restoreHistory(a),this.cancelNavigationTransition(a,"",2))}}))}),Bt(a=>{const l=new TA(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}))}),Su(s=>{const a=l=>{const c=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&c.push(this.configLoader.loadComponent(l.routeConfig).pipe(Bt(u=>{l.component=u}),B(()=>{})));for(const u of l.children)c.push(...a(u));return c};return yn(a(s.targetSnapshot.root)).pipe(l1(),Ct(1))}),Su(()=>this.afterPreactivation()),B(s=>{const a=function YA(t,n,e){const i=Ya(t,n._root,e?e._root:void 0);return new cg(i,n)}(e.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return i={...s,targetRouterState:a}}),Bt(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)}),((t,n,e)=>B(i=>(new QA(n,i.targetRouterState,i.currentRouterState,e).activate(t),i)))(this.rootContexts,e.routeReuseStrategy,s=>this.events.next(s)),Bt({next:s=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,e.navigated=!0,this.events.next(new Mo(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(e.currentUrlTree))),e.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0)},complete:()=>{o=!0}}),Oa(()=>{o||r||this.cancelNavigationTransition(i,"",1),this.currentNavigation?.id===i.id&&(this.currentNavigation=null)}),eo(s=>{if(r=!0,vg(s)){gg(s)||(e.navigated=!0,e.restoreHistory(i,!0));const a=new g1(i.id,this.urlSerializer.serialize(i.extractedUrl),s.message,s.cancellationCode);if(this.events.next(a),gg(s)){const l=e.urlHandlingStrategy.merge(s.url,e.rawUrlTree),c={skipLocationChange:i.extras.skipLocationChange,replaceUrl:"eager"===e.urlUpdateStrategy||Vg(i.source)};e.scheduleNavigation(l,Ba,null,c,{resolve:i.resolve,reject:i.reject,promise:i.promise})}else i.resolve(!1)}else{e.restoreHistory(i,!0);const a=new du(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 _i}))}))}cancelNavigationTransition(e,i,o){const r=new g1(e.id,this.urlSerializer.serialize(e.extractedUrl),i,o);this.events.next(r),e.resolve(!1)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Vg(t){return t!==Ba}let Ng=(()=>{class t{buildTitle(e){let i,o=e.root;for(;void 0!==o;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(r=>r.outlet===he);return i}getResolvedTitleForRoute(e){return e.data[Fa]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:function(){return pe($I)},providedIn:"root"}),t})(),$I=(()=>{class t extends Ng{constructor(e){super(),this.title=e}updateTitle(e){const i=this.buildTitle(e);void 0!==i&&this.title.setTitle(i)}}return t.\u0275fac=function(e){return new(e||t)(v(Pm))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),WI=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:function(){return pe(qI)},providedIn:"root"}),t})();class GI{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}}let qI=(()=>{class t extends GI{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=je(t)))(i||t)}}(),t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const T1=new P("",{providedIn:"root",factory:()=>({})});let ZI=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:function(){return pe(XI)},providedIn:"root"}),t})(),XI=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function QI(t){throw t}function JI(t,n,e){return n.parse("/")}const eO={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},tO={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let _n=(()=>{class t{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=pe(IT),this.isNgZoneEnabled=!1,this.options=pe(T1,{optional:!0})||{},this.errorHandler=this.options.errorHandler||QI,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||JI,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=pe(ZI),this.routeReuseStrategy=pe(WI),this.urlCreationStrategy=pe(HA),this.titleStrategy=pe(Ng),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=jm(pe(Ms,{optional:!0})??[]),this.navigationTransitions=pe(E1),this.urlSerializer=pe(Na),this.location=pe(Nc),this.isNgZoneEnabled=pe(N)instanceof N&&N.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new bo,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=ug(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this).subscribe(e=>{this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId},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),Ba,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,o){const r={replaceUrl:!0},s=o?.navigationId?o:null;if(o){const l={...o};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(r.state=l)}const a=this.parseUrl(e);this.scheduleNavigation(a,i,s,r)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(e){this.config=e.map(bu),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:o,queryParams:r,fragment:s,queryParamsHandling:a,preserveFragment:l}=i,c=l?this.currentUrlTree.fragment:s;let u=null;switch(a){case"merge":u={...this.currentUrlTree.queryParams,...r};break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=r||null}return null!==u&&(u=this.removeEmptyProps(u)),this.urlCreationStrategy.createUrlTree(o,this.routerState,this.currentUrlTree,e,u,c??null)}navigateByUrl(e,i={skipLocationChange:!1}){const o=sr(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(r,Ba,null,i)}navigate(e,i={skipLocationChange:!1}){return function nO(t){for(let n=0;n{const r=e[o];return null!=r&&(i[o]=r),i},{})}scheduleNavigation(e,i,o,r,s){if(this.disposed)return Promise.resolve(!1);let a,l,c,u;return s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((d,h)=>{a=d,l=h}),u="computed"===this.canceledNavigationResolution?o&&o.\u0275routerPageId?o.\u0275routerPageId:r.replaceUrl||r.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1:0,this.navigationTransitions.handleNavigationRequest({targetPageId:u,source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:r,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(d=>Promise.reject(d))}setBrowserUrl(e,i){const o=this.urlSerializer.serialize(e),r={...i.extras.state,...this.generateNgRouterState(i.id,i.targetPageId)};this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl?this.location.replaceState(o,"",r):this.location.go(o,"",r)}restoreHistory(e,i=!1){if("computed"===this.canceledNavigationResolution){const o=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.getCurrentNavigation()?.finalUrl||0===o?this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===o&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(o)}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 t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Ka=(()=>{class t{constructor(e,i,o,r,s,a){this.router=e,this.route=i,this.tabIndexAttribute=o,this.renderer=r,this.el=s,this.locationStrategy=a,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new F;const l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===l||"area"===l,this.isAnchorElement?this.subscription=e.events.subscribe(c=>{c instanceof Mo&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(e){this._preserveFragment=ps(e)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(e){this._skipLocationChange=ps(e)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(e){this._replaceUrl=ps(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,o,r,s){return!!(null===this.urlTree||this.isAnchorElement&&(0!==e||i||o||r||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 qh(t,n,e){return function Rz(t,n){return"src"===n&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===n&&("base"===t||"link"===t)?Gh:a3}(n,e)(t)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",e)}applyAttributeValue(e,i){const o=this.renderer,r=this.el.nativeElement;null!==i?o.setAttribute(r,e,i):o.removeAttribute(r,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 t.\u0275fac=function(e){return new(e||t)(f(_n),f(_s),function Gl(t){return function lM(t,n){if("class"===n)return t.classes;if("style"===n)return t.styles;const e=t.attrs;if(e){const i=e.length;let o=0;for(;o{class t{constructor(e,i,o,r,s){this.router=e,this.injector=o,this.preloadingStrategy=r,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(bt(e=>e instanceof Mo),_o(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){const o=[];for(const r of i){r.providers&&!r._injector&&(r._injector=Dc(r.providers,e,`Route: ${r.path}`));const s=r._injector??e,a=r._loadedInjector??s;r.loadChildren&&!r._loadedRoutes&&void 0===r.canLoad||r.loadComponent&&!r._loadedComponent?o.push(this.preloadConfig(s,r)):(r.children||r._loadedRoutes)&&o.push(this.processRoutes(a,r.children??r._loadedRoutes))}return rt(o).pipe(wr())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let o;o=i.loadChildren&&void 0===i.canLoad?this.loader.loadChildren(e,i):Y(null);const r=o.pipe(vt(s=>null===s?Y(void 0):(i._loadedRoutes=s.routes,i._loadedInjector=s.injector,this.processRoutes(s.injector??e,s.routes))));return i.loadComponent&&!i._loadedComponent?rt([r,this.loader.loadComponent(i)]).pipe(wr()):r})}}return t.\u0275fac=function(e){return new(e||t)(v(_n),v(c7),v(Si),v(Lg),v(Du))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Tu=new P("");let Hg=(()=>{class t{constructor(e,i,o,r,s={}){this.urlSerializer=e,this.transitions=i,this.viewportScroller=o,this.zone=r,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 uu?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Mo&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof ag&&(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 ag(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return t.\u0275fac=function(e){M3()},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})();var Pn=(()=>((Pn=Pn||{})[Pn.COMPLETE=0]="COMPLETE",Pn[Pn.FAILED=1]="FAILED",Pn[Pn.REDIRECTING=2]="REDIRECTING",Pn))();const zs=!1;function zo(t,n){return{\u0275kind:t,\u0275providers:n}}const ku=new P("",{providedIn:"root",factory:()=>!1});function Bg(){const t=pe(St);return n=>{const e=t.get(hs);if(n!==e.components[0])return;const i=t.get(_n),o=t.get(Yg);1===t.get(xu)&&i.initialNavigation(),t.get(jg,null,K.Optional)?.setUpPreloading(),t.get(Tu,null,K.Optional)?.init(),i.resetRootComponentType(e.componentTypes[0]),o.closed||(o.next(),o.unsubscribe())}}const Yg=new P(zs?"bootstrap done indicator":"",{factory:()=>new F}),xu=new P(zs?"initial navigation":"",{providedIn:"root",factory:()=>1});function uO(){let t=[];return t=zs?[{provide:ac,multi:!0,useFactory:()=>{const n=pe(_n);return()=>n.events.subscribe(e=>{console.group?.(`Router Event: ${e.constructor.name}`),console.log(function FA(t){if(!("type"in t))return`Unknown Router Event: ${t.constructor.name}`;switch(t.type){case 14:return`ActivationEnd(path: '${t.snapshot.routeConfig?.path||""}')`;case 13:return`ActivationStart(path: '${t.snapshot.routeConfig?.path||""}')`;case 12:return`ChildActivationEnd(path: '${t.snapshot.routeConfig?.path||""}')`;case 11:return`ChildActivationStart(path: '${t.snapshot.routeConfig?.path||""}')`;case 8:return`GuardsCheckEnd(id: ${t.id}, url: '${t.url}', urlAfterRedirects: '${t.urlAfterRedirects}', state: ${t.state}, shouldActivate: ${t.shouldActivate})`;case 7:return`GuardsCheckStart(id: ${t.id}, url: '${t.url}', urlAfterRedirects: '${t.urlAfterRedirects}', state: ${t.state})`;case 2:return`NavigationCancel(id: ${t.id}, url: '${t.url}')`;case 16:return`NavigationSkipped(id: ${t.id}, url: '${t.url}')`;case 1:return`NavigationEnd(id: ${t.id}, url: '${t.url}', urlAfterRedirects: '${t.urlAfterRedirects}')`;case 3:return`NavigationError(id: ${t.id}, url: '${t.url}', error: ${t.error})`;case 0:return`NavigationStart(id: ${t.id}, url: '${t.url}')`;case 6:return`ResolveEnd(id: ${t.id}, url: '${t.url}', urlAfterRedirects: '${t.urlAfterRedirects}', state: ${t.state})`;case 5:return`ResolveStart(id: ${t.id}, url: '${t.url}', urlAfterRedirects: '${t.urlAfterRedirects}', state: ${t.state})`;case 10:return`RouteConfigLoadEnd(path: ${t.route.path})`;case 9:return`RouteConfigLoadStart(path: ${t.route.path})`;case 4:return`RoutesRecognized(id: ${t.id}, url: '${t.url}', urlAfterRedirects: '${t.urlAfterRedirects}', state: ${t.state})`;case 15:return`Scroll(anchor: '${t.anchor}', position: '${t.position?`${t.position[0]}, ${t.position[1]}`:null}')`}}(e)),console.log(e),console.groupEnd?.()})}}]:[],zo(1,t)}const jg=new P(zs?"router preloader":"");function dO(t){return zo(0,[{provide:jg,useExisting:rO},{provide:Lg,useExisting:t}])}const Za=!1,Ug=new P(Za?"router duplicate forRoot guard":"ROUTER_FORROOT_GUARD"),hO=[Nc,{provide:Na,useClass:ou},_n,ja,{provide:_s,useFactory:function Rg(t){return t.routerState.root},deps:[_n]},Du,Za?{provide:ku,useValue:!0}:[]];function pO(){return new v7("Router",_n)}let $g=(()=>{class t{constructor(e){}static forRoot(e,i){return{ngModule:t,providers:[hO,Za&&i?.enableTracing?uO().\u0275providers:[],{provide:Ms,multi:!0,useValue:e},{provide:Ug,useFactory:vO,deps:[[_n,new ho,new Wo]]},{provide:T1,useValue:i||{}},i?.useHash?{provide:ir,useClass:Ck}:{provide:ir,useClass:B7},{provide:Tu,useFactory:()=>{const t=pe(Lx),n=pe(N),e=pe(T1),i=pe(E1),o=pe(Na);return e.scrollOffset&&t.setOffset(e.scrollOffset),new Hg(o,i,t,n,e)}},i?.preloadingStrategy?dO(i.preloadingStrategy).\u0275providers:[],{provide:v7,multi:!0,useFactory:pO},i?.initialNavigation?yO(i):[],[{provide:Wg,useFactory:Bg},{provide:g7,multi:!0,useExisting:Wg}]]}}static forChild(e){return{ngModule:t,providers:[{provide:Ms,multi:!0,useValue:e}]}}}return t.\u0275fac=function(e){return new(e||t)(v(Ug,8))},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[_u]}),t})();function vO(t){if(Za&&t)throw new z(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 yO(t){return["disabled"===t.initialNavigation?zo(3,[{provide:Pc,multi:!0,useFactory:()=>{const n=pe(_n);return()=>{n.setUpLocationChangeListener()}}},{provide:xu,useValue:2}]).\u0275providers:[],"enabledBlocking"===t.initialNavigation?zo(2,[{provide:xu,useValue:0},{provide:Pc,multi:!0,deps:[St],useFactory:n=>{const e=n.get(yk,Promise.resolve());return()=>e.then(()=>new Promise(i=>{const o=n.get(_n),r=n.get(Yg);(function sO(t,n){t.events.pipe(bt(e=>e instanceof Mo||e instanceof g1||e instanceof du||e instanceof v1),B(e=>e instanceof Mo||e instanceof v1?Pn.COMPLETE:e instanceof g1&&(0===e.code||1===e.code)?Pn.REDIRECTING:Pn.FAILED),bt(e=>e!==Pn.REDIRECTING),Ct(1)).subscribe(()=>{n()})})(o,()=>{i(!0)}),n.get(E1).afterPreactivation=()=>(i(!0),r.closed?Y(void 0):r),o.initialNavigation()}))}}]).\u0275providers:[]]}const Wg=new P(Za?"Router Initializer":""),CO=[];let bO=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[$g.forRoot(CO),$g]}),t})();function Gg(t,n,e,i,o,r,s){try{var a=t[r](s),l=a.value}catch(c){return void e(c)}a.done?n(l):Promise.resolve(l).then(i,o)}function k1(t){return function(){var n=this,e=arguments;return new Promise(function(i,o){var r=t.apply(n,e);function s(l){Gg(r,i,o,s,a,"next",l)}function a(l){Gg(r,i,o,s,a,"throw",l)}s(void 0)})}}class x1{}class Xa{}class hi{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?this.lazyInit="string"==typeof n?()=>{this.headers=new Map,n.split("\n").forEach(e=>{const i=e.indexOf(":");if(i>0){const o=e.slice(0,i),r=o.toLowerCase(),s=e.slice(i+1).trim();this.maybeSetNormalizedName(o,r),this.headers.has(r)?this.headers.get(r).push(s):this.headers.set(r,[s])}})}:()=>{this.headers=new Map,Object.keys(n).forEach(e=>{let i=n[e];const o=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(this.headers.set(o,i),this.maybeSetNormalizedName(e,o))})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof hi?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){const e=new hi;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof hi?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){const e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(n.name,e);const o=("a"===n.op?this.headers.get(e):void 0)||[];o.push(...i),this.headers.set(e,o);break;case"d":const r=n.value;if(r){let s=this.headers.get(e);if(!s)return;s=s.filter(a=>-1===r.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(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}}class MO{encodeKey(n){return qg(n)}encodeValue(n){return qg(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const wO=/%(\d[a-f0-9])/gi,SO={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function qg(t){return encodeURIComponent(t).replace(wO,(n,e)=>SO[e]??n)}function P1(t){return`${t}`}class wo{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new MO,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function zO(t,n){const e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(o=>{const r=o.indexOf("="),[s,a]=-1==r?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,r)),n.decodeValue(o.slice(r+1))],l=e.get(s)||[];l.push(a),e.set(s,l)}),e}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{const i=n.fromObject[e],o=Array.isArray(i)?i.map(P1):[P1(i)];this.map.set(e,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){const e=[];return Object.keys(n).forEach(i=>{const o=n[i];Array.isArray(o)?o.forEach(r=>{e.push({param:i,value:r,op:"a"})}):e.push({param:i,value:o,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const e=new wo({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const e=("a"===n.op?this.map.get(n.param):void 0)||[];e.push(P1(n.value)),this.map.set(n.param,e);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let i=this.map.get(n.param)||[];const o=i.indexOf(P1(n.value));-1!==o&&i.splice(o,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class DO{constructor(){this.map=new Map}set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function Kg(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Zg(t){return typeof Blob<"u"&&t instanceof Blob}function Xg(t){return typeof FormData<"u"&&t instanceof FormData}class Qa{constructor(n,e,i,o){let r;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function EO(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==i?i:null,r=o):r=i,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params)),this.headers||(this.headers=new hi),this.context||(this.context=new DO),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=e;else{const a=e.indexOf("?");this.urlWithParams=e+(-1===a?"?":ad.set(h,n.setHeaders[h]),l)),n.setParams&&(c=Object.keys(n.setParams).reduce((d,h)=>d.set(h,n.setParams[h]),c)),new Qa(e,i,r,{params:c,headers:l,context:u,reportProgress:a,responseType:o,withCredentials:s})}}var Mt=(()=>((Mt=Mt||{})[Mt.Sent=0]="Sent",Mt[Mt.UploadProgress=1]="UploadProgress",Mt[Mt.ResponseHeader=2]="ResponseHeader",Mt[Mt.DownloadProgress=3]="DownloadProgress",Mt[Mt.Response=4]="Response",Mt[Mt.User=5]="User",Mt))();class Pu{constructor(n,e=200,i="OK"){this.headers=n.headers||new hi,this.status=void 0!==n.status?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class Au extends Pu{constructor(n={}){super(n),this.type=Mt.ResponseHeader}clone(n={}){return new Au({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class A1 extends Pu{constructor(n={}){super(n),this.type=Mt.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new A1({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class Qg extends Pu{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}function Iu(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let Ou=(()=>{class t{constructor(e){this.handler=e}request(e,i,o={}){let r;if(e instanceof Qa)r=e;else{let l,c;l=o.headers instanceof hi?o.headers:new hi(o.headers),o.params&&(c=o.params instanceof wo?o.params:new wo({fromObject:o.params})),r=new Qa(e,i,void 0!==o.body?o.body:null,{headers:l,context:o.context,params:c,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}const s=Y(r).pipe(_o(l=>this.handler.handle(l)));if(e instanceof Qa||"events"===o.observe)return s;const a=s.pipe(bt(l=>l instanceof A1));switch(o.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return a.pipe(B(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(B(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(B(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(B(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.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 wo).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,o={}){return this.request("PATCH",e,Iu(o,i))}post(e,i,o={}){return this.request("POST",e,Iu(o,i))}put(e,i,o={}){return this.request("PUT",e,Iu(o,i))}}return t.\u0275fac=function(e){return new(e||t)(v(x1))},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})();function Jg(t,n){return n(t)}function kO(t,n){return(e,i)=>n.intercept(e,{handle:o=>t(o,i)})}const PO=new P("HTTP_INTERCEPTORS"),Ja=new P("HTTP_INTERCEPTOR_FNS");function AO(){let t=null;return(n,e)=>(null===t&&(t=(pe(PO,{optional:!0})??[]).reduceRight(kO,Jg)),t(n,e))}let e9=(()=>{class t extends x1{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(Ja)));this.chain=i.reduceRight((o,r)=>function xO(t,n,e){return(i,o)=>e.runInContext(()=>n(i,r=>t(r,o)))}(o,r,this.injector),Jg)}return this.chain(e,i=>this.backend.handle(i))}}return t.\u0275fac=function(e){return new(e||t)(v(Xa),v(Si))},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})();const VO=/^\)\]\}',?\n/;let n9=(()=>{class t{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new ge(i=>{const o=this.xhrFactory.build();if(o.open(e.method,e.urlWithParams),e.withCredentials&&(o.withCredentials=!0),e.headers.forEach((p,m)=>o.setRequestHeader(p,m.join(","))),e.headers.has("Accept")||o.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const p=e.detectContentTypeHeader();null!==p&&o.setRequestHeader("Content-Type",p)}if(e.responseType){const p=e.responseType.toLowerCase();o.responseType="json"!==p?p:"text"}const r=e.serializeBody();let s=null;const a=()=>{if(null!==s)return s;const p=o.statusText||"OK",m=new hi(o.getAllResponseHeaders()),g=function NO(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(o)||e.url;return s=new Au({headers:m,status:o.status,statusText:p,url:g}),s},l=()=>{let{headers:p,status:m,statusText:g,url:y}=a(),C=null;204!==m&&(C=typeof o.response>"u"?o.responseText:o.response),0===m&&(m=C?200:0);let E=m>=200&&m<300;if("json"===e.responseType&&"string"==typeof C){const b=C;C=C.replace(VO,"");try{C=""!==C?JSON.parse(C):null}catch(O){C=b,E&&(E=!1,C={error:O,text:C})}}E?(i.next(new A1({body:C,headers:p,status:m,statusText:g,url:y||void 0})),i.complete()):i.error(new Qg({error:C,headers:p,status:m,statusText:g,url:y||void 0}))},c=p=>{const{url:m}=a(),g=new Qg({error:p,status:o.status||0,statusText:o.statusText||"Unknown Error",url:m||void 0});i.error(g)};let u=!1;const d=p=>{u||(i.next(a()),u=!0);let m={type:Mt.DownloadProgress,loaded:p.loaded};p.lengthComputable&&(m.total=p.total),"text"===e.responseType&&o.responseText&&(m.partialText=o.responseText),i.next(m)},h=p=>{let m={type:Mt.UploadProgress,loaded:p.loaded};p.lengthComputable&&(m.total=p.total),i.next(m)};return o.addEventListener("load",l),o.addEventListener("error",c),o.addEventListener("timeout",c),o.addEventListener("abort",c),e.reportProgress&&(o.addEventListener("progress",d),null!==r&&o.upload&&o.upload.addEventListener("progress",h)),o.send(r),i.next({type:Mt.Sent}),()=>{o.removeEventListener("error",c),o.removeEventListener("abort",c),o.removeEventListener("load",l),o.removeEventListener("timeout",c),e.reportProgress&&(o.removeEventListener("progress",d),null!==r&&o.upload&&o.upload.removeEventListener("progress",h)),o.readyState!==o.DONE&&o.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(v(lm))},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})();const Fu=new P("XSRF_ENABLED"),i9=new P("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),o9=new P("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class r9{}let RO=(()=>{class t{constructor(e,i,o){this.doc=e,this.platform=i,this.cookieName=o,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=X7(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(v(_e),v(er),v(i9))},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})();function BO(t,n){const e=t.url.toLowerCase();if(!pe(Fu)||"GET"===t.method||"HEAD"===t.method||e.startsWith("http://")||e.startsWith("https://"))return n(t);const i=pe(r9).getToken(),o=pe(o9);return null!=i&&!t.headers.has(o)&&(t=t.clone({headers:t.headers.set(o,i)})),n(t)}var mt=(()=>((mt=mt||{})[mt.Interceptors=0]="Interceptors",mt[mt.LegacyInterceptors=1]="LegacyInterceptors",mt[mt.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",mt[mt.NoXsrfProtection=3]="NoXsrfProtection",mt[mt.JsonpSupport=4]="JsonpSupport",mt[mt.RequestsMadeViaParent=5]="RequestsMadeViaParent",mt))();function ws(t,n){return{\u0275kind:t,\u0275providers:n}}function YO(...t){const n=[Ou,n9,e9,{provide:x1,useExisting:e9},{provide:Xa,useExisting:n9},{provide:Ja,useValue:BO,multi:!0},{provide:Fu,useValue:!0},{provide:r9,useClass:RO}];for(const e of t)n.push(...e.\u0275providers);return function Bz(t){return{\u0275providers:t}}(n)}const s9=new P("LEGACY_INTERCEPTOR_FN");let a9=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({providers:[YO(ws(mt.LegacyInterceptors,[{provide:s9,useFactory:AO},{provide:Ja,useExisting:s9,multi:!0}]))]}),t})();function I(t){return Ze((n,e)=>{Vt(t).subscribe(Le(e,()=>e.complete(),Ls)),!e.closed&&n.subscribe(e)})}const l9=["*"];class pi{_clearListeners(){for(const n of this._listeners)n.remove();this._listeners=[]}constructor(n){this._ngZone=n,this._pending=[],this._listeners=[],this._targetStream=new ue(void 0)}getLazyEmitter(n){return this._targetStream.pipe(Zt(e=>{const i=new ge(o=>{if(!e)return void this._pending.push({observable:i,observer:o});const r=e.addListener(n,s=>{this._ngZone.run(()=>o.next(s))});if(r)return this._listeners.push(r),()=>r.remove();o.complete()});return i}))}setTarget(n){const e=this._targetStream.value;n!==e&&(e&&(this._clearListeners(),this._pending=[]),this._targetStream.next(n),this._pending.forEach(i=>i.observable.subscribe(i.observer)),this._pending=[])}destroy(){this._clearListeners(),this._pending=[],this._targetStream.complete()}}const el={center:{lat:37.421995,lng:-122.084092},zoom:17,mapTypeId:"roadmap"};let Xt=(()=>{class t{set center(e){this._center=e}set zoom(e){this._zoom=e}set options(e){this._options=e||el}constructor(e,i,o){if(this._elementRef=e,this._ngZone=i,this._eventManager=new pi(this._ngZone),this.height="500px",this.width="500px",this._options=el,this.mapInitialized=new _,this.authFailure=new _,this.boundsChanged=this._eventManager.getLazyEmitter("bounds_changed"),this.centerChanged=this._eventManager.getLazyEmitter("center_changed"),this.mapClick=this._eventManager.getLazyEmitter("click"),this.mapDblclick=this._eventManager.getLazyEmitter("dblclick"),this.mapDrag=this._eventManager.getLazyEmitter("drag"),this.mapDragend=this._eventManager.getLazyEmitter("dragend"),this.mapDragstart=this._eventManager.getLazyEmitter("dragstart"),this.headingChanged=this._eventManager.getLazyEmitter("heading_changed"),this.idle=this._eventManager.getLazyEmitter("idle"),this.maptypeidChanged=this._eventManager.getLazyEmitter("maptypeid_changed"),this.mapMousemove=this._eventManager.getLazyEmitter("mousemove"),this.mapMouseout=this._eventManager.getLazyEmitter("mouseout"),this.mapMouseover=this._eventManager.getLazyEmitter("mouseover"),this.projectionChanged=this._eventManager.getLazyEmitter("projection_changed"),this.mapRightclick=this._eventManager.getLazyEmitter("rightclick"),this.tilesloaded=this._eventManager.getLazyEmitter("tilesloaded"),this.tiltChanged=this._eventManager.getLazyEmitter("tilt_changed"),this.zoomChanged=this._eventManager.getLazyEmitter("zoom_changed"),this._isBrowser=sm(o),this._isBrowser){const r=window;this._existingAuthFailureCallback=r.gm_authFailure,r.gm_authFailure=()=>{this._existingAuthFailureCallback&&this._existingAuthFailureCallback(),this.authFailure.emit()}}}ngOnChanges(e){(e.height||e.width)&&this._setSize();const i=this.googleMap;i&&(e.options&&i.setOptions(this._combineOptions()),e.center&&this._center&&i.setCenter(this._center),e.zoom&&null!=this._zoom&&i.setZoom(this._zoom),e.mapTypeId&&this.mapTypeId&&i.setMapTypeId(this.mapTypeId))}ngOnInit(){this._isBrowser&&(this._mapEl=this._elementRef.nativeElement.querySelector(".map-container"),this._setSize(),this._ngZone.runOutsideAngular(()=>{this.googleMap=new google.maps.Map(this._mapEl,this._combineOptions())}),this._eventManager.setTarget(this.googleMap),this.mapInitialized.emit(this.googleMap))}ngOnDestroy(){this._eventManager.destroy(),this._isBrowser&&(window.gm_authFailure=this._existingAuthFailureCallback)}fitBounds(e,i){this._assertInitialized(),this.googleMap.fitBounds(e,i)}panBy(e,i){this._assertInitialized(),this.googleMap.panBy(e,i)}panTo(e){this._assertInitialized(),this.googleMap.panTo(e)}panToBounds(e,i){this._assertInitialized(),this.googleMap.panToBounds(e,i)}getBounds(){return this._assertInitialized(),this.googleMap.getBounds()||null}getCenter(){return this._assertInitialized(),this.googleMap.getCenter()}getClickableIcons(){return this._assertInitialized(),this.googleMap.getClickableIcons()}getHeading(){return this._assertInitialized(),this.googleMap.getHeading()}getMapTypeId(){return this._assertInitialized(),this.googleMap.getMapTypeId()}getProjection(){return this._assertInitialized(),this.googleMap.getProjection()||null}getStreetView(){return this._assertInitialized(),this.googleMap.getStreetView()}getTilt(){return this._assertInitialized(),this.googleMap.getTilt()}getZoom(){return this._assertInitialized(),this.googleMap.getZoom()}get controls(){return this._assertInitialized(),this.googleMap.controls}get data(){return this._assertInitialized(),this.googleMap.data}get mapTypes(){return this._assertInitialized(),this.googleMap.mapTypes}get overlayMapTypes(){return this._assertInitialized(),this.googleMap.overlayMapTypes}_setSize(){if(this._mapEl){const e=this._mapEl.style;e.height=null===this.height?"":d9(this.height)||"500px",e.width=null===this.width?"":d9(this.width)||"500px"}}_combineOptions(){const e=this._options||{};return{...e,center:this._center||e.center||el.center,zoom:this._zoom??e.zoom??el.zoom,mapTypeId:this.mapTypeId||e.mapTypeId||el.mapTypeId}}_assertInitialized(){}}return t.\u0275fac=function(e){return new(e||t)(f(ne),f(N),f(er))},t.\u0275cmp=ze({type:t,selectors:[["google-map"]],inputs:{height:"height",width:"width",mapTypeId:"mapTypeId",center:"center",zoom:"zoom",options:"options"},outputs:{mapInitialized:"mapInitialized",authFailure:"authFailure",boundsChanged:"boundsChanged",centerChanged:"centerChanged",mapClick:"mapClick",mapDblclick:"mapDblclick",mapDrag:"mapDrag",mapDragend:"mapDragend",mapDragstart:"mapDragstart",headingChanged:"headingChanged",idle:"idle",maptypeidChanged:"maptypeidChanged",mapMousemove:"mapMousemove",mapMouseout:"mapMouseout",mapMouseover:"mapMouseover",projectionChanged:"projectionChanged",mapRightclick:"mapRightclick",tilesloaded:"tilesloaded",tiltChanged:"tiltChanged",zoomChanged:"zoomChanged"},exportAs:["googleMap"],features:[$],ngContentSelectors:l9,decls:2,vars:0,consts:[[1,"map-container"]],template:function(e,i){1&e&&(si(),X(0,"div",0),Un(1))},encapsulation:2,changeDetection:0}),t})();const UO=/([A-Za-z%]+)$/;function d9(t){return null==t?"":UO.test(t)?t:`${t}px`}let h9=(()=>{class t{set options(e){this._options.next(e||{})}set position(e){this._position.next(e)}constructor(e,i,o){this._googleMap=e,this._elementRef=i,this._ngZone=o,this._eventManager=new pi(this._ngZone),this._options=new ue({}),this._position=new ue(void 0),this._destroy=new F,this.closeclick=this._eventManager.getLazyEmitter("closeclick"),this.contentChanged=this._eventManager.getLazyEmitter("content_changed"),this.domready=this._eventManager.getLazyEmitter("domready"),this.positionChanged=this._eventManager.getLazyEmitter("position_changed"),this.zindexChanged=this._eventManager.getLazyEmitter("zindex_changed")}ngOnInit(){this._googleMap._isBrowser&&(this._combineOptions().pipe(Ct(1)).subscribe(i=>{this._ngZone.runOutsideAngular(()=>{this.infoWindow=new google.maps.InfoWindow(i)}),this._eventManager.setTarget(this.infoWindow)}),this._watchForOptionsChanges(),this._watchForPositionChanges())}ngOnDestroy(){this._eventManager.destroy(),this._destroy.next(),this._destroy.complete(),this.infoWindow&&this.close()}close(){this._assertInitialized(),this.infoWindow.close()}getContent(){return this._assertInitialized(),this.infoWindow.getContent()||null}getPosition(){return this._assertInitialized(),this.infoWindow.getPosition()||null}getZIndex(){return this._assertInitialized(),this.infoWindow.getZIndex()}open(e,i){this._assertInitialized();const o=e?e.getAnchor():void 0;(this.infoWindow.get("anchor")!==o||!o)&&(this._elementRef.nativeElement.style.display="",this.infoWindow.open({map:this._googleMap.googleMap,anchor:o,shouldFocus:i}))}_combineOptions(){return yn([this._options,this._position]).pipe(B(([e,i])=>({...e,position:i||e.position,content:this._elementRef.nativeElement})))}_watchForOptionsChanges(){this._options.pipe(I(this._destroy)).subscribe(e=>{this._assertInitialized(),this.infoWindow.setOptions(e)})}_watchForPositionChanges(){this._position.pipe(I(this._destroy)).subscribe(e=>{e&&(this._assertInitialized(),this.infoWindow.setPosition(e))})}_assertInitialized(){}}return t.\u0275fac=function(e){return new(e||t)(f(Xt),f(ne),f(N))},t.\u0275dir=w({type:t,selectors:[["map-info-window"]],hostAttrs:[2,"display","none"],inputs:{options:"options",position:"position"},outputs:{closeclick:"closeclick",contentChanged:"contentChanged",domready:"domready",positionChanged:"positionChanged",zindexChanged:"zindexChanged"},exportAs:["mapInfoWindow"]}),t})();const ZO={position:{lat:37.421995,lng:-122.084092}};let Nu=(()=>{class t{set title(e){this._title=e}set position(e){this._position=e}set label(e){this._label=e}set clickable(e){this._clickable=e}set options(e){this._options=e}set icon(e){this._icon=e}set visible(e){this._visible=e}constructor(e,i){this._googleMap=e,this._ngZone=i,this._eventManager=new pi(this._ngZone),this.animationChanged=this._eventManager.getLazyEmitter("animation_changed"),this.mapClick=this._eventManager.getLazyEmitter("click"),this.clickableChanged=this._eventManager.getLazyEmitter("clickable_changed"),this.cursorChanged=this._eventManager.getLazyEmitter("cursor_changed"),this.mapDblclick=this._eventManager.getLazyEmitter("dblclick"),this.mapDrag=this._eventManager.getLazyEmitter("drag"),this.mapDragend=this._eventManager.getLazyEmitter("dragend"),this.draggableChanged=this._eventManager.getLazyEmitter("draggable_changed"),this.mapDragstart=this._eventManager.getLazyEmitter("dragstart"),this.flatChanged=this._eventManager.getLazyEmitter("flat_changed"),this.iconChanged=this._eventManager.getLazyEmitter("icon_changed"),this.mapMousedown=this._eventManager.getLazyEmitter("mousedown"),this.mapMouseout=this._eventManager.getLazyEmitter("mouseout"),this.mapMouseover=this._eventManager.getLazyEmitter("mouseover"),this.mapMouseup=this._eventManager.getLazyEmitter("mouseup"),this.positionChanged=this._eventManager.getLazyEmitter("position_changed"),this.mapRightclick=this._eventManager.getLazyEmitter("rightclick"),this.shapeChanged=this._eventManager.getLazyEmitter("shape_changed"),this.titleChanged=this._eventManager.getLazyEmitter("title_changed"),this.visibleChanged=this._eventManager.getLazyEmitter("visible_changed"),this.zindexChanged=this._eventManager.getLazyEmitter("zindex_changed")}ngOnInit(){this._googleMap._isBrowser&&(this._ngZone.runOutsideAngular(()=>{this.marker=new google.maps.Marker(this._combineOptions())}),this._assertInitialized(),this.marker.setMap(this._googleMap.googleMap),this._eventManager.setTarget(this.marker))}ngOnChanges(e){const{marker:i,_title:o,_position:r,_label:s,_clickable:a,_icon:l,_visible:c}=this;i&&(e.options&&i.setOptions(this._combineOptions()),e.title&&void 0!==o&&i.setTitle(o),e.position&&r&&i.setPosition(r),e.label&&void 0!==s&&i.setLabel(s),e.clickable&&void 0!==a&&i.setClickable(a),e.icon&&l&&i.setIcon(l),e.visible&&void 0!==c&&i.setVisible(c))}ngOnDestroy(){this._eventManager.destroy(),this.marker&&this.marker.setMap(null)}getAnimation(){return this._assertInitialized(),this.marker.getAnimation()||null}getClickable(){return this._assertInitialized(),this.marker.getClickable()}getCursor(){return this._assertInitialized(),this.marker.getCursor()||null}getDraggable(){return this._assertInitialized(),!!this.marker.getDraggable()}getIcon(){return this._assertInitialized(),this.marker.getIcon()||null}getLabel(){return this._assertInitialized(),this.marker.getLabel()||null}getOpacity(){return this._assertInitialized(),this.marker.getOpacity()||null}getPosition(){return this._assertInitialized(),this.marker.getPosition()||null}getShape(){return this._assertInitialized(),this.marker.getShape()||null}getTitle(){return this._assertInitialized(),this.marker.getTitle()||null}getVisible(){return this._assertInitialized(),this.marker.getVisible()}getZIndex(){return this._assertInitialized(),this.marker.getZIndex()||null}getAnchor(){return this._assertInitialized(),this.marker}_combineOptions(){const e=this._options||ZO;return{...e,title:this._title||e.title,position:this._position||e.position,label:this._label||e.label,clickable:this._clickable??e.clickable,map:this._googleMap.googleMap,icon:this._icon||e.icon,visible:this._visible??e.visible}}_assertInitialized(){}}return t.\u0275fac=function(e){return new(e||t)(f(Xt),f(N))},t.\u0275dir=w({type:t,selectors:[["map-marker"]],inputs:{title:"title",position:"position",label:"label",clickable:"clickable",options:"options",icon:"icon",visible:"visible"},outputs:{animationChanged:"animationChanged",mapClick:"mapClick",clickableChanged:"clickableChanged",cursorChanged:"cursorChanged",mapDblclick:"mapDblclick",mapDrag:"mapDrag",mapDragend:"mapDragend",draggableChanged:"draggableChanged",mapDragstart:"mapDragstart",flatChanged:"flatChanged",iconChanged:"iconChanged",mapMousedown:"mapMousedown",mapMouseout:"mapMouseout",mapMouseover:"mapMouseover",mapMouseup:"mapMouseup",positionChanged:"positionChanged",mapRightclick:"mapRightclick",shapeChanged:"shapeChanged",titleChanged:"titleChanged",visibleChanged:"visibleChanged",zindexChanged:"zindexChanged"},exportAs:["mapMarker"],features:[$]}),t})(),sF=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({}),t})(),p9=(()=>{class t{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=o=>{},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 t.\u0275fac=function(e){return new(e||t)(f(dt),f(ne))},t.\u0275dir=w({type:t}),t})(),ar=(()=>{class t extends p9{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=je(t)))(i||t)}}(),t.\u0275dir=w({type:t,features:[ie]}),t})();const fi=new P("NgValueAccessor"),cF={provide:fi,useExisting:Ae(()=>I1),multi:!0},m9=new P("CompositionEventMode");let I1=(()=>{class t extends p9{constructor(e,i,o){super(e,i),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function uF(){const t=Xi()?Xi().getUserAgent():"";return/android (\d+)/.test(t.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 t.\u0275fac=function(e){return new(e||t)(f(dt),f(ne),f(m9,8))},t.\u0275dir=w({type:t,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&&te("input",function(r){return i._handleInput(r.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(r){return i._compositionEnd(r.target.value)})},features:[ce([cF]),ie]}),t})();const dF=!1,Qt=new P("NgValidators"),Do=new P("NgAsyncValidators");function S9(t){return null!=t}function D9(t){const n=pa(t)?rt(t):t;if(dF&&!H3(n)){let e="Expected async validator to return Promise or Observable.";throw"object"==typeof t&&(e+=" Are you using a synchronous validator where an async validator is expected?"),new z(-1101,e)}return n}function E9(t){let n={};return t.forEach(e=>{n=null!=e?{...n,...e}:n}),0===Object.keys(n).length?null:n}function T9(t,n){return n.map(e=>e(t))}function k9(t){return t.map(n=>function pF(t){return!t.validate}(n)?n:e=>n.validate(e))}function Lu(t){return null!=t?function x9(t){if(!t)return null;const n=t.filter(S9);return 0==n.length?null:function(e){return E9(T9(e,n))}}(k9(t)):null}function Hu(t){return null!=t?function P9(t){if(!t)return null;const n=t.filter(S9);return 0==n.length?null:function(e){return function aF(...t){const n=Q4(t),{args:e,keys:i}=Fm(t),o=new ge(r=>{const{length:s}=e;if(!s)return void r.complete();const a=new Array(s);let l=s,c=s;for(let u=0;u{d||(d=!0,c--),a[u]=h},()=>l--,void 0,()=>{(!l||!d)&&(c||r.next(i?Vm(i,a):a),r.complete())}))}});return n?o.pipe(s1(n)):o}(T9(e,n).map(D9)).pipe(B(E9))}}(k9(t)):null}function A9(t,n){return null===t?[n]:Array.isArray(t)?[...t,n]:[t,n]}function Ru(t){return t?Array.isArray(t)?t:[t]:[]}function F1(t,n){return Array.isArray(t)?t.includes(n):t===n}function F9(t,n){const e=Ru(n);return Ru(t).forEach(o=>{F1(e,o)||e.push(o)}),e}function V9(t,n){return Ru(n).filter(e=>!F1(t,e))}class N9{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(n){this._rawValidators=n||[],this._composedValidatorFn=Lu(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Hu(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n){this.control&&this.control.reset(n)}hasError(n,e){return!!this.control&&this.control.hasError(n,e)}getError(n,e){return this.control?this.control.getError(n,e):null}}class hn extends N9{get formDirective(){return null}get path(){return null}}class Eo extends N9{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class L9{constructor(n){this._cd=n}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 Bu=(()=>{class t extends L9{constructor(e){super(e)}}return t.\u0275fac=function(e){return new(e||t)(f(Eo,2))},t.\u0275dir=w({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,i){2&e&&et("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:[ie]}),t})();const tl="VALID",N1="INVALID",Ss="PENDING",nl="DISABLED";function L1(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class Y9{constructor(n,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(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===tl}get invalid(){return this.status===N1}get pending(){return this.status==Ss}get disabled(){return this.status===nl}get enabled(){return this.status!==nl}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(F9(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(F9(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(V9(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(V9(n,this._rawAsyncValidators))}hasValidator(n){return F1(this._rawValidators,n)}hasAsyncValidator(n){return F1(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=Ss,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=nl,this.errors=null,this._forEachChild(i=>{i.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=tl,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===tl||this.status===Ss)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?nl:tl}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=Ss,this._hasOwnPendingAsyncValidator=!0;const e=D9(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(!1!==e.emitEvent)}get(n){let e=n;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((i,o)=>i&&i._find(o),this)}getError(n,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new _,this.statusChanges=new _}_calculateStatus(){return this._allControlsDisabled()?nl:this.errors?N1:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ss)?Ss:this._anyControlsHaveStatus(N1)?N1:tl}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){L1(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function bF(t){return Array.isArray(t)?Lu(t):t||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function MF(t){return Array.isArray(t)?Hu(t):t||null}(this._rawAsyncValidators)}}const Ds=new P("CallSetDisabledState",{providedIn:"root",factory:()=>H1}),H1="always";function il(t,n,e=H1){(function qu(t,n){const e=function I9(t){return t._rawValidators}(t);null!==n.validator?t.setValidators(A9(e,n.validator)):"function"==typeof e&&t.setValidators([e]);const i=function O9(t){return t._rawAsyncValidators}(t);null!==n.asyncValidator?t.setAsyncValidators(A9(i,n.asyncValidator)):"function"==typeof i&&t.setAsyncValidators([i]);const o=()=>t.updateValueAndValidity();Y1(n._rawValidators,o),Y1(n._rawAsyncValidators,o)})(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||"always"===e)&&n.valueAccessor.setDisabledState?.(t.disabled),function SF(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&j9(t,n)})}(t,n),function EF(t,n){const e=(i,o)=>{n.valueAccessor.writeValue(i),o&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}(t,n),function DF(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&j9(t,n),"submit"!==t.updateOn&&t.markAsTouched()})}(t,n),function wF(t,n){if(n.valueAccessor.setDisabledState){const e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}(t,n)}function Y1(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function j9(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function W9(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}function G9(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}const q9=class extends Y9{constructor(n=null,e,i){super(function $u(t){return(L1(t)?t.validators:t)||null}(e),function Wu(t,n){return(L1(n)?n.asyncValidators:t)||null}(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),L1(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=G9(n)?n.value:n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){W9(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){W9(this._onDisabledChange,n)}_forEachChild(n){}_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(n){G9(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},FF={provide:Eo,useExisting:Ae(()=>U1)},X9=(()=>Promise.resolve())();let U1=(()=>{class t extends Eo{constructor(e,i,o,r,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new q9,this._registered=!1,this.update=new _,this._parent=e,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=function Xu(t,n){if(!n)return null;let e,i,o;return Array.isArray(n),n.forEach(r=>{r.constructor===I1?e=r:function xF(t){return Object.getPrototypeOf(t.constructor)===ar}(r)?i=r:o=r}),o||i||e||null}(0,r)}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 Zu(t,n){if(!t.hasOwnProperty("model"))return!1;const e=t.model;return!!e.isFirstChange()||!Object.is(n,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(){il(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){X9.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const i=e.isDisabled.currentValue,o=0!==i&&ps(i);X9.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?function R1(t,n){return[...n.path,t]}(e,this._parent):[e]}}return t.\u0275fac=function(e){return new(e||t)(f(hn,9),f(Qt,10),f(Do,10),f(fi,10),f(It,8),f(Ds,8))},t.\u0275dir=w({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[ce([FF]),ie,$]}),t})(),J9=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({}),t})(),sV=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[J9]}),t})(),vv=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:Ds,useValue:e.callSetDisabledState??H1}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[sV]}),t})();function cr(t){return null!=t&&"false"!=`${t}`}function $1(t,n=0){return function lV(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):n}function W1(t){return Array.isArray(t)?t:[t]}function zt(t){return null==t?"":"string"==typeof t?t:`${t}px`}function rl(t){return t instanceof ne?t.nativeElement:t}const cV=["addListener","removeListener"],uV=["addEventListener","removeEventListener"],dV=["on","off"];function Zn(t,n,e,i){if(Me(e)&&(i=e,e=void 0),i)return Zn(t,n,e).pipe(s1(i));const[o,r]=function fV(t){return Me(t.addEventListener)&&Me(t.removeEventListener)}(t)?uV.map(s=>a=>t[s](n,a,e)):function hV(t){return Me(t.addListener)&&Me(t.removeListener)}(t)?cV.map(yv(t,n)):function pV(t){return Me(t.on)&&Me(t.off)}(t)?dV.map(yv(t,n)):[];if(!o&&Z4(t))return vt(s=>Zn(s,n,e))(Vt(t));if(!o)throw new TypeError("Invalid event target");return new ge(s=>{const a=(...l)=>s.next(1r(a)})}function yv(t,n){return e=>i=>t[e](n,i)}class mV extends lt{constructor(n,e){super()}schedule(n,e=0){return this}}const G1={setInterval(t,n,...e){const{delegate:i}=G1;return i?.setInterval?i.setInterval(t,n,...e):setInterval(t,n,...e)},clearInterval(t){const{delegate:n}=G1;return(n?.clearInterval||clearInterval)(t)},delegate:void 0};class s6 extends mV{constructor(n,e){super(n,e),this.scheduler=n,this.work=e,this.pending=!1}schedule(n,e=0){var i;if(this.closed)return this;this.state=n;const o=this.id,r=this.scheduler;return null!=o&&(this.id=this.recycleAsyncId(r,o,e)),this.pending=!0,this.delay=e,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(r,this.id,e),this}requestAsyncId(n,e,i=0){return G1.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,e,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return e;null!=e&&G1.clearInterval(e)}execute(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(n,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,e){let o,i=!1;try{this.work(n)}catch(r){i=!0,o=r||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){const{id:n,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,zr(i,this),null!=n&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,super.unsubscribe()}}}const sl={schedule(t){let n=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:i}=sl;i&&(n=i.requestAnimationFrame,e=i.cancelAnimationFrame);const o=n(r=>{e=void 0,t(r)});return new lt(()=>e?.(o))},requestAnimationFrame(...t){const{delegate:n}=sl;return(n?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){const{delegate:n}=sl;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0},a6={now:()=>(a6.delegate||Date).now(),delegate:void 0};class al{constructor(n,e=al.now){this.schedulerActionCtor=n,this.now=e}schedule(n,e=0,i){return new this.schedulerActionCtor(this,n).schedule(i,e)}}al.now=a6.now;class l6 extends al{constructor(n,e=al.now){super(n,e),this.actions=[],this._active=!1}flush(n){const{actions:e}=this;if(this._active)return void e.push(n);let i;this._active=!0;do{if(i=n.execute(n.state,n.delay))break}while(n=e.shift());if(this._active=!1,i){for(;n=e.shift();)n.unsubscribe();throw i}}}const yV=new class vV extends l6{flush(n){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let o;n=n||i.shift();do{if(o=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,o){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw o}}}(class gV extends s6{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return null!==i&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=sl.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,e,i=0){var o;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);const{actions:r}=n;null!=e&&(null===(o=r[r.length-1])||void 0===o?void 0:o.id)!==e&&(sl.cancelAnimationFrame(e),n._scheduled=void 0)}});let c6,_V=1;const q1={};function _v(t){return t in q1&&(delete q1[t],!0)}const CV={setImmediate(t){const n=_V++;return q1[n]=!0,c6||(c6=Promise.resolve()),c6.then(()=>_v(n)&&t()),n},clearImmediate(t){_v(t)}},{setImmediate:bV,clearImmediate:MV}=CV,K1={setImmediate(...t){const{delegate:n}=K1;return(n?.setImmediate||bV)(...t)},clearImmediate(t){const{delegate:n}=K1;return(n?.clearImmediate||MV)(t)},delegate:void 0},SV=new class wV extends l6{flush(n){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let o;n=n||i.shift();do{if(o=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,o){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw o}}}(class zV extends s6{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return null!==i&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=K1.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,e,i=0){var o;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);const{actions:r}=n;null!=e&&(null===(o=r[r.length-1])||void 0===o?void 0:o.id)!==e&&(K1.clearImmediate(e),n._scheduled=void 0)}});function Cv(t){return!!t&&(t instanceof ge||Me(t.lift)&&Me(t.subscribe))}function To(t,n=Hi){return t=t??DV,Ze((e,i)=>{let o,r=!0;e.subscribe(Le(i,s=>{const a=n(s);(r||!t(o,a))&&(r=!1,o=a,i.next(s))}))})}function DV(t,n){return t===n}const u6=new l6(s6),EV=u6;function ll(t,n=u6){return function TV(t){return Ze((n,e)=>{let i=!1,o=null,r=null,s=!1;const a=()=>{if(r?.unsubscribe(),r=null,i){i=!1;const c=o;o=null,e.next(c)}s&&e.complete()},l=()=>{r=null,s&&e.complete()};n.subscribe(Le(e,c=>{i=!0,o=c,r||Vt(t(c)).subscribe(r=Le(e,a,l))},()=>{s=!0,(!i||!r||r.closed)&&e.complete()}))})}(()=>function bv(t=0,n,e=EV){let i=-1;return null!=n&&(Qd(n)?e=n:i=n),new ge(o=>{let r=function kV(t){return t instanceof Date&&!isNaN(t)}(t)?+t-e.now():t;r<0&&(r=0);let s=0;return e.schedule(function(){o.closed||(o.next(s++),0<=i?this.schedule(void 0,i):o.complete())},r)})}(t,n))}class Z1 extends F{constructor(n=1/0,e=1/0,i=a6){super(),this._bufferSize=n,this._windowTime=e,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,e)}next(n){const{isStopped:e,_buffer:i,_infiniteTimeWindow:o,_timestampProvider:r,_windowTime:s}=this;e||(i.push(n),!o&&i.push(r.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:o}=this,r=o.slice();for(let s=0;s{class t{constructor(e){this._platformId=e,this.isBrowser=this._platformId?sm(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&&!d6)&&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 t.\u0275fac=function(e){return new(e||t)(v(er))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),ko=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({}),t})();function wv(t){return function PV(){if(null==cl&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>cl=!0}))}finally{cl=cl||!1}return cl}()?t:!!t.capture}function Sv(){if(null==ur){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return ur=!1,ur;if("scrollBehavior"in document.documentElement.style)ur=!0;else{const t=Element.prototype.scrollTo;ur=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return ur}function ul(){if("object"!=typeof document||!document)return 0;if(null==X1){const t=document.createElement("div"),n=t.style;t.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";const e=document.createElement("div"),i=e.style;i.width="2px",i.height="1px",t.appendChild(e),document.body.appendChild(t),X1=0,0===t.scrollLeft&&(t.scrollLeft=1,X1=0===t.scrollLeft?1:2),t.remove()}return X1}function dr(t){return t.composedPath?t.composedPath()[0]:t.target}function Dv(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}const OV=new P("cdk-dir-doc",{providedIn:"root",factory:function FV(){return pe(_e)}}),VV=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let en=(()=>{class t{constructor(e){this.value="ltr",this.change=new _,e&&(this.value=function NV(t){const n=t?.toLowerCase()||"";return"auto"===n&&typeof navigator<"u"&&navigator?.language?VV.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((e.body?e.body.dir:null)||(e.documentElement?e.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)(v(OV,8))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),An=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({}),t})();class LV{}class RV extends LV{constructor(n){super(),this._data=n}connect(){return Cv(this._data)?this._data:Y(this._data)}disconnect(){}}class BV{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(n,e,i,o,r){n.forEachOperation((s,a,l)=>{let c,u;null==s.previousIndex?(c=this._insertView(()=>i(s,a,l),l,e,o(s)),u=c?1:0):null==l?(this._detachAndCacheView(a,e),u=3):(c=this._moveView(a,l,e,o(s)),u=2),r&&r({context:c?.context,operation:u,record:s})})}detach(){for(const n of this._viewCache)n.destroy();this._viewCache=[]}_insertView(n,e,i,o){const r=this._insertViewFromCache(e,i);if(r)return void(r.context.$implicit=o);const s=n();return i.createEmbeddedView(s.templateRef,s.context,s.index)}_detachAndCacheView(n,e){const i=e.detach(n);this._maybeCacheView(i,e)}_moveView(n,e,i,o){const r=i.get(n);return i.move(r,e),r.context.$implicit=o,r}_maybeCacheView(n,e){if(this._viewCache.length0?r/this._itemSize:0;if(e.end>o){const l=Math.ceil(i/this._itemSize),c=Math.max(0,Math.min(s,o-l));s!=c&&(s=c,r=c*this._itemSize,e.start=Math.floor(s)),e.end=Math.max(0,Math.min(o,e.start+l))}const a=r-e.start*this._itemSize;if(a0&&(e.end=Math.min(o,e.end+c),e.start=Math.max(0,Math.floor(s-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(e),this._viewport.setRenderedContentOffset(this._itemSize*e.start),this._scrolledIndexChange.next(Math.floor(s))}}function $V(t){return t._scrollStrategy}let WV=(()=>{class t{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new UV(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=$1(e)}get minBufferPx(){return this._minBufferPx}set minBufferPx(e){this._minBufferPx=$1(e)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(e){this._maxBufferPx=$1(e)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=w({type:t,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},standalone:!0,features:[ce([{provide:Tv,useFactory:$V,deps:[Ae(()=>t)]}]),$]}),t})(),Q1=(()=>{class t{constructor(e,i,o){this._ngZone=e,this._platform=i,this._scrolled=new F,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}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 ge(i=>{this._globalSubscription||this._addGlobalListener();const o=e>0?this._scrolled.pipe(ll(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Y()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){const o=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(bt(r=>!r||o.indexOf(r)>-1))}getAncestorScrollContainers(e){const i=[];return this.scrollContainers.forEach((o,r)=>{this._scrollableContainsElement(r,e)&&i.push(r)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let o=rl(i),r=e.getElementRef().nativeElement;do{if(o==r)return!0}while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Zn(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(v(N),v(Jt),v(_e,8))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),kv=(()=>{class t{constructor(e,i,o,r){this.elementRef=e,this.scrollDispatcher=i,this.ngZone=o,this.dir=r,this._destroyed=new F,this._elementScrolled=new ge(s=>this.ngZone.runOutsideAngular(()=>Zn(this.elementRef.nativeElement,"scroll").pipe(I(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,o=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=o?e.end:e.start),null==e.right&&(e.right=o?e.start:e.end),null!=e.bottom&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),o&&0!=ul()?(null!=e.left&&(e.right=i.scrollWidth-i.clientWidth-e.left),2==ul()?e.left=e.right:1==ul()&&(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;Sv()?i.scrollTo(e):(null!=e.top&&(i.scrollTop=e.top),null!=e.left&&(i.scrollLeft=e.left))}measureScrollOffset(e){const i="left",o="right",r=this.elementRef.nativeElement;if("top"==e)return r.scrollTop;if("bottom"==e)return r.scrollHeight-r.clientHeight-r.scrollTop;const s=this.dir&&"rtl"==this.dir.value;return"start"==e?e=s?o:i:"end"==e&&(e=s?i:o),s&&2==ul()?e==i?r.scrollWidth-r.clientWidth-r.scrollLeft:r.scrollLeft:s&&1==ul()?e==i?r.scrollLeft+r.scrollWidth-r.clientWidth:-r.scrollLeft:e==i?r.scrollLeft:r.scrollWidth-r.clientWidth-r.scrollLeft}}return t.\u0275fac=function(e){return new(e||t)(f(ne),f(Q1),f(N),f(en,8))},t.\u0275dir=w({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0}),t})(),p6=(()=>{class t{constructor(e,i,o){this._platform=e,this._change=new F,this._changeListener=r=>{this._change.next(r)},this._document=o,i.runOutsideAngular(()=>{if(e.isBrowser){const r=this._getWindow();r.addEventListener("resize",this._changeListener),r.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:o}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+o,right:e.left+i,height:o,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,i=this._getWindow(),o=e.documentElement,r=o.getBoundingClientRect();return{top:-r.top||e.body.scrollTop||i.scrollY||o.scrollTop||0,left:-r.left||e.body.scrollLeft||i.scrollX||o.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(ll(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 t.\u0275fac=function(e){return new(e||t)(v(Jt),v(N),v(_e,8))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const xv=new P("VIRTUAL_SCROLLABLE");let KV=(()=>{class t extends kv{constructor(e,i,o,r){super(e,i,o,r)}measureViewportSize(e){const i=this.elementRef.nativeElement;return"horizontal"===e?i.clientWidth:i.clientHeight}}return t.\u0275fac=function(e){return new(e||t)(f(ne),f(Q1),f(N),f(en,8))},t.\u0275dir=w({type:t,features:[ie]}),t})();const XV=typeof requestAnimationFrame<"u"?yV:SV;let J1=(()=>{class t extends KV{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=cr(e)}constructor(e,i,o,r,s,a,l,c){super(e,a,o,s),this.elementRef=e,this._changeDetectorRef=i,this._scrollStrategy=r,this.scrollable=c,this._platform=pe(Jt),this._detachedSubject=new F,this._renderedRangeSubject=new F,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new ge(u=>this._scrollStrategy.scrolledIndexChange.subscribe(d=>Promise.resolve().then(()=>this.ngZone.run(()=>u.next(d))))),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=lt.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(Rt(null),ll(0,XV)).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(I(this._detachedSubject)).subscribe(i=>{const o=i.length;o!==this._dataLength&&(this._dataLength=o,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 ZV(t,n){return t.start==n.start&&t.end==n.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 r="horizontal"==this.orientation,s=r?"X":"Y";let l=`translate${s}(${Number((r&&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 o={behavior:i};"horizontal"===this.orientation?o.start=e:o.top=e,this.scrollable.scrollTo(o)}scrollToIndex(e,i="auto"){this._scrollStrategy.scrollToIndex(e,i)}measureScrollOffset(e){let i;return i=this.scrollable==this?o=>super.measureScrollOffset(o):o=>this.scrollable.measureScrollOffset(o),Math.max(0,i(e??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(e){let i;const o="left",r="right",s="rtl"==this.dir?.value;i="start"==e?s?r:o:"end"==e?s?o:r: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 t.\u0275fac=function(e){return new(e||t)(f(ne),f(It),f(N),f(Tv,8),f(en,8),f(Q1),f(p6),f(xv,8))},t.\u0275cmp=ze({type:t,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(e,i){if(1&e&&Tt(YV,7),2&e){let o;we(o=Se())&&(i._contentWrapper=o.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(e,i){2&e&&et("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:[ce([{provide:kv,useFactory:(n,e)=>n||e,deps:[[new ho,new Xl(xv)],t]}]),ie,J3],ngContentSelectors:jV,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(e,i){1&e&&(si(),R(0,"div",0,1),Un(2),j(),X(3,"div",2)),2&e&&(k(3),$n("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}),t})();function Pv(t,n,e){if(!e.getBoundingClientRect)return 0;const o=e.getBoundingClientRect();return"horizontal"===t?"start"===n?o.left:o.right:"start"===n?o.top:o.bottom}let QV=(()=>{class t{get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(e){this._cdkVirtualForOf=e,function HV(t){return t&&"function"==typeof t.connect&&!(t instanceof tu)}(e)?this._dataSourceChanges.next(e):this._dataSourceChanges.next(new RV(Cv(e)?e:Array.from(e||[])))}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(e){this._needsUpdate=!0,this._cdkVirtualForTrackBy=e?(i,o)=>e(i+(this._renderedRange?this._renderedRange.start:0),o):void 0}set cdkVirtualForTemplate(e){e&&(this._needsUpdate=!0,this._template=e)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(e){this._viewRepeater.viewCacheSize=$1(e)}constructor(e,i,o,r,s,a){this._viewContainerRef=e,this._template=i,this._differs=o,this._viewRepeater=r,this._viewport=s,this.viewChange=new F,this._dataSourceChanges=new F,this.dataStream=this._dataSourceChanges.pipe(Rt(null),function xV(){return Ze((t,n)=>{let e,i=!1;t.subscribe(Le(n,o=>{const r=e;e=o,i&&n.next([r,o]),i=!0}))})}(),Zt(([l,c])=>this._changeDataSource(l,c)),function Mv(t,n,e){let i,o=!1;return t&&"object"==typeof t?({bufferSize:i=1/0,windowTime:n=1/0,refCount:o=!1,scheduler:e}=t):i=t??1/0,J4({connector:()=>new Z1(i,n,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}(1)),this._differ=null,this._needsUpdate=!1,this._destroyed=new F,this.dataStream.subscribe(l=>{this._data=l,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe(I(this._destroyed)).subscribe(l=>{this._renderedRange=l,this.viewChange.observers.length&&a.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}measureRangeSize(e,i){if(e.start>=e.end)return 0;const o=e.start-this._renderedRange.start,r=e.end-e.start;let s,a;for(let l=0;l-1;l--){const c=this._viewContainerRef.get(l+o);if(c&&c.rootNodes.length){a=c.rootNodes[c.rootNodes.length-1];break}}return s&&a?Pv(i,"end",a)-Pv(i,"start",s):0}ngDoCheck(){if(this._differ&&this._needsUpdate){const e=this._differ.diff(this._renderedItems);e?this._applyChanges(e):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((e,i)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(e,i):i)),this._needsUpdate=!0)}_changeDataSource(e,i){return e&&e.disconnect(this),this._needsUpdate=!0,i?i.connect(this):Y()}_updateContext(){const e=this._data.length;let i=this._viewContainerRef.length;for(;i--;){const o=this._viewContainerRef.get(i);o.context.index=this._renderedRange.start+i,o.context.count=e,this._updateComputedContextProperties(o.context),o.detectChanges()}}_applyChanges(e){this._viewRepeater.applyChanges(e,this._viewContainerRef,(r,s,a)=>this._getEmbeddedViewArgs(r,a),r=>r.item),e.forEachIdentityChange(r=>{this._viewContainerRef.get(r.currentIndex).context.$implicit=r.item});const i=this._data.length;let o=this._viewContainerRef.length;for(;o--;){const r=this._viewContainerRef.get(o);r.context.index=this._renderedRange.start+o,r.context.count=i,this._updateComputedContextProperties(r.context)}}_updateComputedContextProperties(e){e.first=0===e.index,e.last=e.index===e.count-1,e.even=e.index%2==0,e.odd=!e.even}_getEmbeddedViewArgs(e,i){return{templateRef:this._template,context:{$implicit:e.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:i}}}return t.\u0275fac=function(e){return new(e||t)(f(Ht),f($e),f(wa),f(Ev),f(J1,4),f(N))},t.\u0275dir=w({type:t,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},standalone:!0,features:[ce([{provide:Ev,useClass:BV}])]}),t})(),Av=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({}),t})(),f6=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[An,Av,J1,An,Av]}),t})();class m6{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;null!=n&&(this._attachedHost=null,n.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class e4 extends m6{constructor(n,e,i,o,r){super(),this.component=n,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=o,this.projectableNodes=r}}class t4 extends m6{constructor(n,e,i,o){super(),this.templateRef=n,this.viewContainerRef=e,this.context=i,this.injector=o}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}}class JV extends m6{constructor(n){super(),this.element=n instanceof ne?n.nativeElement:n}}class g6{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof e4?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof t4?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof JV?(this._attachedPortal=n,this.attachDomPortal(n)):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(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class eN extends g6{constructor(n,e,i,o,r){super(),this.outletElement=n,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=o,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=r}attachComponentPortal(n){const i=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component);let o;return n.viewContainerRef?(o=n.viewContainerRef.createComponent(i,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector,n.projectableNodes||void 0),this.setDisposeFn(()=>o.destroy())):(o=i.create(n.injector||this._defaultInjector||St.NULL),this._appRef.attachView(o.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(o.hostView),o.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(o)),this._attachedPortal=n,o}attachTemplatePortal(n){let e=n.viewContainerRef,i=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return i.rootNodes.forEach(o=>this.outletElement.appendChild(o)),i.detectChanges(),this.setDisposeFn(()=>{let o=e.indexOf(i);-1!==o&&e.remove(o)}),this._attachedPortal=n,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let dl=(()=>{class t extends g6{constructor(e,i,o){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new _,this.attachDomPortal=r=>{const s=r.element,a=this._document.createComment("dom-portal");r.setAttachedHost(this),s.parentNode.insertBefore(a,s),this._getRootNode().appendChild(s),this._attachedPortal=r,super.setDisposeFn(()=>{a.parentNode&&a.parentNode.replaceChild(s,a)})},this._document=o}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);const i=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,r=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),s=i.createComponent(r,i.length,e.injector||i.injector,e.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=e,this._attachedRef=s,this.attached.emit(s),s}attachTemplatePortal(e){e.setAttachedHost(this);const i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return t.\u0275fac=function(e){return new(e||t)(f(Zo),f(Ht),f(_e))},t.\u0275dir=w({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[ie]}),t})(),v6=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({}),t})();function Iv(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}const Ov=Sv();class hN{constructor(n,e){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=zt(-this._previousScrollPosition.left),n.style.top=zt(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const n=this._document.documentElement,i=n.style,o=this._document.body.style,r=i.scrollBehavior||"",s=o.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),Ov&&(i.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Ov&&(i.scrollBehavior=r,o.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 pN{constructor(n,e,i,o){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=i,this._config=o,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Fv{enable(){}disable(){}attach(){}}function y6(t,n){return n.some(e=>t.bottome.bottom||t.righte.right)}function Vv(t,n){return n.some(e=>t.tope.bottom||t.lefte.right)}class fN{constructor(n,e,i,o){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=i,this._config=o,this._scrollSubscription=null}attach(n){this._overlayRef=n}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:o}=this._viewportRuler.getViewportSize();y6(e,[{width:i,height:o,bottom:o,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 mN=(()=>{class t{constructor(e,i,o,r){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=o,this.noop=()=>new Fv,this.close=s=>new pN(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new hN(this._viewportRuler,this._document),this.reposition=s=>new fN(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=r}}return t.\u0275fac=function(e){return new(e||t)(v(Q1),v(p6),v(N),v(_e))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class _6{constructor(n){if(this.scrollStrategy=new Fv,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){const e=Object.keys(n);for(const i of e)void 0!==n[i]&&(this[i]=n[i])}}}class Je{constructor(n,e,i,o,r){this.offsetX=i,this.offsetY=o,this.panelClass=r,this.originX=n.originX,this.originY=n.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}class gN{constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}}let Nv=(()=>{class t{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 t.\u0275fac=function(e){return new(e||t)(v(_e))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),vN=(()=>{class t extends Nv{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=o=>{const r=this._attachedOverlays;for(let s=r.length-1;s>-1;s--)if(r[s]._keydownEvents.observers.length>0){const a=r[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(o)):a.next(o);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 t.\u0275fac=function(e){return new(e||t)(v(_e),v(N,8))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),yN=(()=>{class t extends Nv{constructor(e,i,o){super(e),this._platform=i,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=r=>{this._pointerDownEventTarget=dr(r)},this._clickListener=r=>{const s=dr(r),a="click"===r.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){const u=l[c];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(s)||u.overlayElement.contains(a))break;const d=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>d.next(r)):d.next(r)}}}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 t.\u0275fac=function(e){return new(e||t)(v(_e),v(Jt),v(N,8))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Lv=(()=>{class t{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||Dv()){const o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let r=0;rthis._backdropClick.next(d),this._backdropTransitionendHandler=d=>{this._disposeBackdrop(d.target)},this._keydownEvents=new F,this._outsidePointerEvents=new F,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Ct(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 n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){const n=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,n&&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(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config={...this._config,...n},this._updateElementSize()}setDirection(n){this._config={...this._config,direction:n},this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){const n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const n=this._pane.style;n.width=zt(this._config.width),n.height=zt(this._config.height),n.minWidth=zt(this._config.minWidth),n.minHeight=zt(this._config.minHeight),n.maxWidth=zt(this._config.maxWidth),n.maxHeight=zt(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){const n="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(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const n=this._backdropElement;if(n){if(this._animationsDisabled)return void this._disposeBackdrop(n);n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",this._backdropTransitionendHandler)}),n.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(n)},500))}}_toggleClasses(n,e,i){const o=W1(e||[]).filter(r=>!!r);o.length&&(i?n.classList.add(...o):n.classList.remove(...o))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const n=this._ngZone.onStable.pipe(I(Ro(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()),n.unsubscribe())})})}_disposeScrollStrategy(){const n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",this._backdropTransitionendHandler),n.remove(),this._backdropElement===n&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const Hv="cdk-overlay-connected-position-bounding-box",_N=/([A-Za-z%]+)$/;class CN{get positions(){return this._preferredPositions}constructor(n,e,i,o,r){this._viewportRuler=e,this._document=i,this._platform=o,this._overlayContainer=r,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 F,this._resizeSubscription=lt.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(n)}attach(n){this._validatePositions(),n.hostElement.classList.add(Hv),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.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 n=this._originRect,e=this._overlayRect,i=this._viewportRect,o=this._containerRect,r=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(n,o,a),c=this._getOverlayPoint(l,e,a),u=this._getOverlayFit(c,e,i,a);if(u.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(u,c,i)?r.push({position:a,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleAreal&&(l=u,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&&hr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Hv),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const n=this._lastPosition;if(n){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,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,i){let o,r;if("center"==i.originX)o=n.left+n.width/2;else{const s=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;o="start"==i.originX?s:a}return e.left<0&&(o-=e.left),r="center"==i.originY?n.top+n.height/2:"top"==i.originY?n.top:n.bottom,e.top<0&&(r-=e.top),{x:o,y:r}}_getOverlayPoint(n,e,i){let o,r;return o="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,r="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:n.x+o,y:n.y+r}}_getOverlayFit(n,e,i,o){const r=Bv(e);let{x:s,y:a}=n,l=this._getOffset(o,"x"),c=this._getOffset(o,"y");l&&(s+=l),c&&(a+=c);let h=0-a,p=a+r.height-i.height,m=this._subtractOverflows(r.width,0-s,s+r.width-i.width),g=this._subtractOverflows(r.height,h,p),y=m*g;return{visibleArea:y,isCompletelyWithinViewport:r.width*r.height===y,fitsInViewportVertically:g===r.height,fitsInViewportHorizontally:m==r.width}}_canFitWithFlexibleDimensions(n,e,i){if(this._hasFlexibleDimensions){const o=i.bottom-e.y,r=i.right-e.x,s=Rv(this._overlayRef.getConfig().minHeight),a=Rv(this._overlayRef.getConfig().minWidth);return(n.fitsInViewportVertically||null!=s&&s<=o)&&(n.fitsInViewportHorizontally||null!=a&&a<=r)}return!1}_pushOverlayOnScreen(n,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};const o=Bv(e),r=this._viewportRect,s=Math.max(n.x+o.width-r.width,0),a=Math.max(n.y+o.height-r.height,0),l=Math.max(r.top-i.top-n.y,0),c=Math.max(r.left-i.left-n.x,0);let u=0,d=0;return u=o.width<=r.width?c||-s:n.xm&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-m/2)}if("end"===e.overlayX&&!o||"start"===e.overlayX&&o)h=i.width-n.x+this._viewportMargin,u=n.x-this._viewportMargin;else if("start"===e.overlayX&&!o||"end"===e.overlayX&&o)d=n.x,u=i.right-n.x;else{const p=Math.min(i.right-n.x+i.left,n.x),m=this._lastBoundingBoxSize.width;u=2*p,d=n.x-p,u>m&&!this._isInitialRender&&!this._growAfterOpen&&(d=n.x-m/2)}return{top:s,left:d,bottom:a,right:h,width:u,height:r}}_setBoundingBoxStyles(n,e){const i=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{const r=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;o.height=zt(i.height),o.top=zt(i.top),o.bottom=zt(i.bottom),o.width=zt(i.width),o.left=zt(i.left),o.right=zt(i.right),o.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",o.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",r&&(o.maxHeight=zt(r)),s&&(o.maxWidth=zt(s))}this._lastBoundingBoxSize=i,hr(this._boundingBox.style,o)}_resetBoundingBoxStyles(){hr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){hr(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){const i={},o=this._hasExactPosition(),r=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(o){const u=this._viewportRuler.getViewportScrollPosition();hr(i,this._getExactOverlayY(e,n,u)),hr(i,this._getExactOverlayX(e,n,u))}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&&(o?i.maxHeight=zt(s.maxHeight):r&&(i.maxHeight="")),s.maxWidth&&(o?i.maxWidth=zt(s.maxWidth):r&&(i.maxWidth="")),hr(this._pane.style,i)}_getExactOverlayY(n,e,i){let o={top:"",bottom:""},r=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i)),"bottom"===n.overlayY?o.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":o.top=zt(r.y),o}_getExactOverlayX(n,e,i){let s,o={left:"",right:""},r=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i)),s=this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left","right"===s?o.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":o.left=zt(r.x),o}_getScrollVisibility(){const n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Vv(n,i),isOriginOutsideView:y6(n,i),isOverlayClipped:Vv(e,i),isOverlayOutsideView:y6(e,i)}}_subtractOverflows(n,...e){return e.reduce((i,o)=>i-Math.max(o,0),n)}_getNarrowedViewportRect(){const n=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+n-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return"x"===e?null==n.offsetX?this._offsetX:n.offsetX:null==n.offsetY?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&W1(n).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){const n=this._origin;if(n instanceof ne)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();const e=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+e,height:i,width:e}}}function hr(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function Rv(t){if("number"!=typeof t&&null!=t){const[n,e]=t.split(_N);return e&&"px"!==e?null:parseFloat(n)}return t||null}function Bv(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}const Yv="cdk-global-overlay-wrapper";class bN{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(n){const e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(Yv),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:o,height:r,maxWidth:s,maxHeight:a}=i,l=!("100%"!==o&&"100vw"!==o||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==r&&"100vh"!==r||a&&"100%"!==a&&"100vh"!==a),u=this._xPosition,d=this._xOffset,h="rtl"===this._overlayRef.getConfig().direction;let p="",m="",g="";l?g="flex-start":"center"===u?(g="center",h?m=d:p=d):h?"left"===u||"end"===u?(g="flex-end",p=d):("right"===u||"start"===u)&&(g="flex-start",m=d):"left"===u||"start"===u?(g="flex-start",p=d):("right"===u||"end"===u)&&(g="flex-end",m=d),n.position=this._cssPosition,n.marginLeft=l?"0":p,n.marginTop=c?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":m,e.justifyContent=g,e.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(Yv),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let MN=(()=>{class t{constructor(e,i,o,r){this._viewportRuler=e,this._document=i,this._platform=o,this._overlayContainer=r}global(){return new bN}flexibleConnectedTo(e){return new CN(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\u0275fac=function(e){return new(e||t)(v(p6),v(_e),v(Jt),v(Lv))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),zN=0,r4=(()=>{class t{constructor(e,i,o,r,s,a,l,c,u,d,h,p){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=o,this._positionBuilder=r,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=c,this._directionality=u,this._location=d,this._outsideClickDispatcher=h,this._animationsModuleType=p}create(e){const i=this._createHostElement(),o=this._createPaneElement(i),r=this._createPortalOutlet(o),s=new _6(e);return s.direction=s.direction||this._directionality.value,new o4(r,i,o,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-"+zN++,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(hs)),new eN(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t.\u0275fac=function(e){return new(e||t)(v(mN),v(Lv),v(Zo),v(MN),v(vN),v(St),v(N),v(_e),v(en),v(Nc),v(yN),v(tr,8))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const wN=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],jv=new P("cdk-connected-overlay-scroll-strategy");let Ts=(()=>{class t{constructor(e){this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(f(ne))},t.\u0275dir=w({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0}),t})(),s4=(()=>{class t{get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=cr(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=cr(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=cr(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=cr(e)}get push(){return this._push}set push(e){this._push=cr(e)}constructor(e,i,o,r,s){this._overlay=e,this._dir=s,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=lt.EMPTY,this._attachSubscription=lt.EMPTY,this._detachSubscription=lt.EMPTY,this._positionSubscription=lt.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new _,this.positionChange=new _,this.attach=new _,this.detach=new _,this.overlayKeydown=new _,this.overlayOutsideClick=new _,this._templatePortal=new t4(i,o),this._scrollStrategyFactory=r,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=wN);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),27===i.keyCode&&!this.disableClose&&!Iv(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{this.overlayOutsideClick.next(i)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new _6({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(i.width=this.width),(this.height||0===this.height)&&(i.height=this.height),(this.minWidth||0===this.minWidth)&&(i.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){const i=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof Ts?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(Bm(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(f(r4),f($e),f(Ht),f(jv),f(en,8))},t.\u0275dir=w({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[$]}),t})();const DN={provide:jv,deps:[r4],useFactory:function SN(t){return()=>t.scrollStrategies.reposition()}};let a4=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({providers:[r4,DN],imports:[An,v6,f6,f6]}),t})();const EN={isTestMode:!1};const ks=(...t)=>function $v(t,...n){EN.isTestMode&&t(...n)}((...n)=>console.warn("[NG-ZORRO]:",...n),...t);function mi(t){return typeof t<"u"&&null!==t}function xN(t){return cr(t)}function oe(){return function b6(t,n){return function e(i,o,r){const s=`$$__zorroPropDecorator__${o}`;return Object.prototype.hasOwnProperty.call(i,s)&&ks(`The prop "${s}" is already exist, it will be overrided by ${t} decorator.`),Object.defineProperty(i,s,{configurable:!0,writable:!0}),{get(){return r&&r.get?r.get.bind(this)():this[s]},set(a){r&&r.set&&r.set.bind(this)(n(a)),this[s]=n(a)}}}}("InputBoolean",xN)}function M6(t){return!!t&&"function"==typeof t.then&&"function"==typeof t.catch}function Gv(t){return"number"==typeof t&&isFinite(t)}function qv(t,n){return Math.round(t*Math.pow(10,n))/Math.pow(10,n)}function Qv(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}typeof window<"u"&&window;const jN="rc-util-key";function Jv({mark:t}={}){return t?t.startsWith("data-")?t:`data-${t}`:jN}function T6(t){return t.attachTo?t.attachTo:document.querySelector("head")||document.body}function ey(t,n={}){if(!Qv())return null;const e=document.createElement("style");n.csp?.nonce&&(e.nonce=n.csp?.nonce),e.innerHTML=t;const i=T6(n),{firstChild:o}=i;return n.prepend&&i.prepend?i.prepend(e):n.prepend&&o?i.insertBefore(e,o):i.appendChild(e),e}const k6=new Map;class ny{}class WN{}const no="*";function Xn(t,n){return{type:7,name:t,definitions:n,options:{}}}function We(t,n=null){return{type:4,styles:n,timings:t}}function iy(t,n=null){return{type:2,steps:t,options:n}}function J(t){return{type:6,styles:t,offset:null}}function Cn(t,n,e){return{type:0,name:t,styles:n,options:e}}function Ke(t,n,e=null){return{type:1,expr:t,animation:n,options:e}}function oy(t,n,e=null){return{type:11,selector:t,animation:n,options:e}}function ry(t,n){return{type:12,timings:t,animation:n}}function sy(t){Promise.resolve().then(t)}class hl{constructor(n=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=n+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){sy(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class ay{constructor(n){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;let e=0,i=0,o=0;const r=this.players.length;0==r?sy(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++e==r&&this._onFinish()}),s.onDestroy(()=>{++i==r&&this._onDestroy()}),s.onStart(()=>{++o==r&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){const e=n*this.totalTime;this.players.forEach(i=>{const o=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(o)})}getPosition(){const n=this.players.reduce((e,i)=>null===e||i.totalTime>e.totalTime?i:e,null);return null!=n?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}const x6="!",ly=["moz","ms","webkit"];function cy(t){if(typeof window>"u")return null;if(window.cancelAnimationFrame)return window.cancelAnimationFrame(t);const n=ly.filter(e=>`${e}CancelAnimationFrame`in window||`${e}CancelRequestAnimationFrame`in window)[0];return n?(window[`${n}CancelAnimationFrame`]||window[`${n}CancelRequestAnimationFrame`]).call(this,t):clearTimeout(t)}const P6=function qN(){if(typeof window>"u")return()=>0;if(window.requestAnimationFrame)return window.requestAnimationFrame.bind(window);const t=ly.filter(n=>`${n}RequestAnimationFrame`in window)[0];return t?window[`${t}RequestAnimationFrame`]:function GN(){let t=0;return function(n){const e=(new Date).getTime(),i=Math.max(0,16-(e-t)),o=setTimeout(()=>{n(e+i)},i);return t=e+i,o}}()}();function A6(t){return bt((n,e)=>t<=e)}let KN=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),ZN=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({providers:[KN]}),t})(),uy=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({}),t})();const dy=new Set;let xs,I6=(()=>{class t{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):JN}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function QN(t){if(!dy.has(t))try{xs||(xs=document.createElement("style"),xs.setAttribute("type","text/css"),document.head.appendChild(xs)),xs.sheet&&(xs.sheet.insertRule(`@media ${t} {body{ }}`,0),dy.add(t))}catch(n){console.error(n)}}(e),this._matchMedia(e)}}return t.\u0275fac=function(e){return new(e||t)(v(Jt))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function JN(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let eL=(()=>{class t{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new F}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return hy(W1(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){let r=yn(hy(W1(e)).map(s=>this._registerQuery(s).observable));return r=a1(r.pipe(Ct(1)),r.pipe(A6(1),function XN(t,n=u6){return Ze((e,i)=>{let o=null,r=null,s=null;const a=()=>{if(o){o.unsubscribe(),o=null;const c=r;r=null,i.next(c)}};function l(){const c=s+t,u=n.now();if(u{r=c,s=n.now(),o||(o=n.schedule(l,t),i.add(o))},()=>{a(),i.complete()},void 0,()=>{r=o=null}))})}(0))),r.pipe(B(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),r={observable:new ge(s=>{const a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(Rt(i),B(({matches:s})=>({query:e,matches:s})),I(this._destroySubject)),mql:i};return this._queries.set(e,r),r}}return t.\u0275fac=function(e){return new(e||t)(v(I6),v(N))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function hy(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}let iL=(()=>{class t{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function rL(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const i=function oL(t){try{return t.frameElement}catch{return null}}(function pL(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}(e));if(i&&(-1===gy(i)||!this.isVisible(i)))return!1;let o=e.nodeName.toLowerCase(),r=gy(e);return e.hasAttribute("contenteditable")?-1!==r:!("iframe"===o||"object"===o||this._platform.WEBKIT&&this._platform.IOS&&!function dL(t){let n=t.nodeName.toLowerCase(),e="input"===n&&t.type;return"text"===e||"password"===e||"select"===n||"textarea"===n}(e))&&("audio"===o?!!e.hasAttribute("controls")&&-1!==r:"video"===o?-1!==r&&(null!==r||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,i){return function hL(t){return!function aL(t){return function cL(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function sL(t){let n=t.nodeName.toLowerCase();return"input"===n||"select"===n||"button"===n||"textarea"===n}(t)||function lL(t){return function uL(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||my(t))}(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}}return t.\u0275fac=function(e){return new(e||t)(v(Jt))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function my(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let n=t.getAttribute("tabindex");return!(!n||isNaN(parseInt(n,10)))}function gy(t){if(!my(t))return null;const n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}class fL{get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}constructor(n,e,i,o,r=!1){this._element=n,this._checker=e,this._ngZone=i,this._document=o,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,r||this.attachAnchors()}destroy(){const n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){const e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return"start"==n?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const i=this._getFirstTabbableElement(e);return i?.focus(n),!!i}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){const e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){const e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;const e=n.children;for(let i=0;i=0;i--){const o=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(o)return o}return null}_createAnchor(){const n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._ngZone.isStable?n():this._ngZone.onStable.pipe(Ct(1)).subscribe(n)}}let vy=(()=>{class t{constructor(e,i,o){this._checker=e,this._ngZone=i,this._document=o}create(e,i=!1){return new fL(e,this._checker,this._ngZone,this._document,i)}}return t.\u0275fac=function(e){return new(e||t)(v(iL),v(N),v(_e))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const vL=new P("cdk-input-modality-detector-options"),yL={ignoreKeys:[18,17,224,91,16]},Ps=wv({passive:!0,capture:!0});let _L=(()=>{class t{get mostRecentModality(){return this._modality.value}constructor(e,i,o,r){this._platform=e,this._mostRecentTarget=null,this._modality=new ue(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(a=>a===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=dr(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<650||(this._modality.next(function mL(t){return 0===t.buttons||0===t.offsetX&&0===t.offsetY}(s)?"keyboard":"mouse"),this._mostRecentTarget=dr(s))},this._onTouchstart=s=>{!function gL(t){const n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!(!n||-1!==n.identifier||null!=n.radiusX&&1!==n.radiusX||null!=n.radiusY&&1!==n.radiusY)}(s)?(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=dr(s)):this._modality.next("keyboard")},this._options={...yL,...r},this.modalityDetected=this._modality.pipe(A6(1)),this.modalityChanged=this.modalityDetected.pipe(To()),e.isBrowser&&i.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,Ps),o.addEventListener("mousedown",this._onMousedown,Ps),o.addEventListener("touchstart",this._onTouchstart,Ps)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ps),document.removeEventListener("mousedown",this._onMousedown,Ps),document.removeEventListener("touchstart",this._onTouchstart,Ps))}}return t.\u0275fac=function(e){return new(e||t)(v(Jt),v(N),v(_e),v(vL,8))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const bL=new P("cdk-focus-monitor-default-options"),c4=wv({passive:!0,capture:!0});let _y=(()=>{class t{constructor(e,i,o,r,s){this._ngZone=e,this._platform=i,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new F,this._rootNodeFocusAndBlurListener=a=>{for(let c=dr(a);c;c=c.parentElement)"focus"===a.type?this._onFocus(a,c):this._onBlur(a,c)},this._document=r,this._detectionMode=s?.detectionMode||0}monitor(e,i=!1){const o=rl(e);if(!this._platform.isBrowser||1!==o.nodeType)return Y(null);const r=function IV(t){if(function AV(){if(null==h6){const t=typeof document<"u"?document.head:null;h6=!(!t||!t.createShadowRoot&&!t.attachShadow)}return h6}()){const n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}(o)||this._getDocument(),s=this._elementInfo.get(o);if(s)return i&&(s.checkChildren=!0),s.subject;const a={checkChildren:i,subject:new F,rootNode:r};return this._elementInfo.set(o,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){const i=rl(e),o=this._elementInfo.get(i);o&&(o.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(o))}focusVia(e,i,o){const r=rl(e);r===this._getDocument().activeElement?this._getClosestElementsInfo(r).forEach(([a,l])=>this._originChanged(a,i,l)):(this._setOrigin(i),"function"==typeof r.focus&&r.focus(o))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused","touch"===i),e.classList.toggle("cdk-keyboard-focused","keyboard"===i),e.classList.toggle("cdk-mouse-focused","mouse"===i),e.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&i,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,i){const o=this._elementInfo.get(i),r=dr(e);!o||!o.checkChildren&&i!==r||this._originChanged(i,this._getFocusOrigin(r),o)}_onBlur(e,i){const o=this._elementInfo.get(i);!o||o.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(o,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const i=e.rootNode,o=this._rootNodeFocusListenerCount.get(i)||0;o||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,c4),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,c4)}),this._rootNodeFocusListenerCount.set(i,o+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(I(this._stopInputModalityDetector)).subscribe(r=>{this._setOrigin(r,!0)}))}_removeGlobalListeners(e){const i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const o=this._rootNodeFocusListenerCount.get(i);o>1?this._rootNodeFocusListenerCount.set(i,o-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,c4),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,c4),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,o){this._setClasses(e,i),this._emitOrigin(o,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){const i=[];return this._elementInfo.forEach((o,r)=>{(r===e||o.checkChildren&&r.contains(e))&&i.push([r,o])}),i}_isLastInteractionFromInputLabel(e){const{_mostRecentTarget:i,mostRecentModality:o}=this._inputModalityDetector;if("mouse"!==o||!i||i===e||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||e.disabled)return!1;const r=e.labels;if(r)for(let s=0;s{class t{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=pe(eL).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,o=i&&i.getComputedStyle?i.getComputedStyle(e):null,r=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),r){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(O6,Cy,by),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?e.add(O6,Cy):2===i&&e.add(O6,by)}}}return t.\u0275fac=function(e){return new(e||t)(v(Jt),v(_e))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),zL=(()=>{class t{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return t.\u0275fac=function(e){return new(e||t)(v(ML))},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[ZN]}),t})();function jt(t,n){(function wL(t){return"string"==typeof t&&-1!==t.indexOf(".")&&1===parseFloat(t)})(t)&&(t="100%");var e=function SL(t){return"string"==typeof t&&-1!==t.indexOf("%")}(t);return t=360===n?t:Math.min(n,Math.max(0,parseFloat(t))),e&&(t=parseInt(String(t*n),10)/100),Math.abs(t-n)<1e-6?1:t=360===n?(t<0?t%n+n:t%n)/parseFloat(String(n)):t%n/parseFloat(String(n))}function u4(t){return Math.min(1,Math.max(0,t))}function My(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function d4(t){return t<=1?"".concat(100*Number(t),"%"):t}function pr(t){return 1===t.length?"0"+t:String(t)}function zy(t,n,e){t=jt(t,255),n=jt(n,255),e=jt(e,255);var i=Math.max(t,n,e),o=Math.min(t,n,e),r=0,s=0,a=(i+o)/2;if(i===o)s=0,r=0;else{var l=i-o;switch(s=a>.5?l/(2-i-o):l/(i+o),i){case t:r=(n-e)/l+(n1&&(e-=1),e<1/6?t+6*e*(n-t):e<.5?n:e<2/3?t+(n-t)*(2/3-e)*6:t}function V6(t,n,e){t=jt(t,255),n=jt(n,255),e=jt(e,255);var i=Math.max(t,n,e),o=Math.min(t,n,e),r=0,s=i,a=i-o,l=0===i?0:a/i;if(i===o)r=0;else{switch(i){case t:r=(n-e)/a+(n>16,g:(65280&t)>>8,b:255&t}}(n)),this.originalInput=n;var o=As(n);this.originalInput=n,this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(i=e.format)&&void 0!==i?i:o.format,this.gradientType=e.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=o.ok}return t.prototype.isDark=function(){return this.getBrightness()<128},t.prototype.isLight=function(){return!this.isDark()},t.prototype.getBrightness=function(){var n=this.toRgb();return(299*n.r+587*n.g+114*n.b)/1e3},t.prototype.getLuminance=function(){var n=this.toRgb(),r=n.r/255,s=n.g/255,a=n.b/255;return.2126*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.7152*(s<=.03928?s/12.92:Math.pow((s+.055)/1.055,2.4))+.0722*(a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4))},t.prototype.getAlpha=function(){return this.a},t.prototype.setAlpha=function(n){return this.a=My(n),this.roundA=Math.round(100*this.a)/100,this},t.prototype.isMonochrome=function(){return 0===this.toHsl().s},t.prototype.toHsv=function(){var n=V6(this.r,this.g,this.b);return{h:360*n.h,s:n.s,v:n.v,a:this.a}},t.prototype.toHsvString=function(){var n=V6(this.r,this.g,this.b),e=Math.round(360*n.h),i=Math.round(100*n.s),o=Math.round(100*n.v);return 1===this.a?"hsv(".concat(e,", ").concat(i,"%, ").concat(o,"%)"):"hsva(".concat(e,", ").concat(i,"%, ").concat(o,"%, ").concat(this.roundA,")")},t.prototype.toHsl=function(){var n=zy(this.r,this.g,this.b);return{h:360*n.h,s:n.s,l:n.l,a:this.a}},t.prototype.toHslString=function(){var n=zy(this.r,this.g,this.b),e=Math.round(360*n.h),i=Math.round(100*n.s),o=Math.round(100*n.l);return 1===this.a?"hsl(".concat(e,", ").concat(i,"%, ").concat(o,"%)"):"hsla(".concat(e,", ").concat(i,"%, ").concat(o,"%, ").concat(this.roundA,")")},t.prototype.toHex=function(n){return void 0===n&&(n=!1),N6(this.r,this.g,this.b,n)},t.prototype.toHexString=function(n){return void 0===n&&(n=!1),"#"+this.toHex(n)},t.prototype.toHex8=function(n){return void 0===n&&(n=!1),function kL(t,n,e,i,o){var r=[pr(Math.round(t).toString(16)),pr(Math.round(n).toString(16)),pr(Math.round(e).toString(16)),pr(wy(i))];return o&&r[0].startsWith(r[0].charAt(1))&&r[1].startsWith(r[1].charAt(1))&&r[2].startsWith(r[2].charAt(1))&&r[3].startsWith(r[3].charAt(1))?r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0)+r[3].charAt(0):r.join("")}(this.r,this.g,this.b,this.a,n)},t.prototype.toHex8String=function(n){return void 0===n&&(n=!1),"#"+this.toHex8(n)},t.prototype.toHexShortString=function(n){return void 0===n&&(n=!1),1===this.a?this.toHexString(n):this.toHex8String(n)},t.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},t.prototype.toRgbString=function(){var n=Math.round(this.r),e=Math.round(this.g),i=Math.round(this.b);return 1===this.a?"rgb(".concat(n,", ").concat(e,", ").concat(i,")"):"rgba(".concat(n,", ").concat(e,", ").concat(i,", ").concat(this.roundA,")")},t.prototype.toPercentageRgb=function(){var n=function(e){return"".concat(Math.round(100*jt(e,255)),"%")};return{r:n(this.r),g:n(this.g),b:n(this.b),a:this.a}},t.prototype.toPercentageRgbString=function(){var n=function(e){return Math.round(100*jt(e,255))};return 1===this.a?"rgb(".concat(n(this.r),"%, ").concat(n(this.g),"%, ").concat(n(this.b),"%)"):"rgba(".concat(n(this.r),"%, ").concat(n(this.g),"%, ").concat(n(this.b),"%, ").concat(this.roundA,")")},t.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var n="#"+N6(this.r,this.g,this.b,!1),e=0,i=Object.entries(L6);e=0&&(n.startsWith("hex")||"name"===n)?"name"===n&&0===this.a?this.toName():this.toRgbString():("rgb"===n&&(i=this.toRgbString()),"prgb"===n&&(i=this.toPercentageRgbString()),("hex"===n||"hex6"===n)&&(i=this.toHexString()),"hex3"===n&&(i=this.toHexString(!0)),"hex4"===n&&(i=this.toHex8String(!0)),"hex8"===n&&(i=this.toHex8String()),"name"===n&&(i=this.toName()),"hsl"===n&&(i=this.toHslString()),"hsv"===n&&(i=this.toHsvString()),i||this.toHexString())},t.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},t.prototype.clone=function(){return new t(this.toString())},t.prototype.lighten=function(n){void 0===n&&(n=10);var e=this.toHsl();return e.l+=n/100,e.l=u4(e.l),new t(e)},t.prototype.brighten=function(n){void 0===n&&(n=10);var e=this.toRgb();return e.r=Math.max(0,Math.min(255,e.r-Math.round(-n/100*255))),e.g=Math.max(0,Math.min(255,e.g-Math.round(-n/100*255))),e.b=Math.max(0,Math.min(255,e.b-Math.round(-n/100*255))),new t(e)},t.prototype.darken=function(n){void 0===n&&(n=10);var e=this.toHsl();return e.l-=n/100,e.l=u4(e.l),new t(e)},t.prototype.tint=function(n){return void 0===n&&(n=10),this.mix("white",n)},t.prototype.shade=function(n){return void 0===n&&(n=10),this.mix("black",n)},t.prototype.desaturate=function(n){void 0===n&&(n=10);var e=this.toHsl();return e.s-=n/100,e.s=u4(e.s),new t(e)},t.prototype.saturate=function(n){void 0===n&&(n=10);var e=this.toHsl();return e.s+=n/100,e.s=u4(e.s),new t(e)},t.prototype.greyscale=function(){return this.desaturate(100)},t.prototype.spin=function(n){var e=this.toHsl(),i=(e.h+n)%360;return e.h=i<0?360+i:i,new t(e)},t.prototype.mix=function(n,e){void 0===e&&(e=50);var i=this.toRgb(),o=new t(n).toRgb(),r=e/100;return new t({r:(o.r-i.r)*r+i.r,g:(o.g-i.g)*r+i.g,b:(o.b-i.b)*r+i.b,a:(o.a-i.a)*r+i.a})},t.prototype.analogous=function(n,e){void 0===n&&(n=6),void 0===e&&(e=30);var i=this.toHsl(),o=360/e,r=[this];for(i.h=(i.h-(o*n>>1)+720)%360;--n;)i.h=(i.h+o)%360,r.push(new t(i));return r},t.prototype.complement=function(){var n=this.toHsl();return n.h=(n.h+180)%360,new t(n)},t.prototype.monochromatic=function(n){void 0===n&&(n=6);for(var e=this.toHsv(),i=e.h,o=e.s,r=e.v,s=[],a=1/n;n--;)s.push(new t({h:i,s:o,v:r})),r=(r+a)%1;return s},t.prototype.splitcomplement=function(){var n=this.toHsl(),e=n.h;return[this,new t({h:(e+72)%360,s:n.s,l:n.l}),new t({h:(e+216)%360,s:n.s,l:n.l})]},t.prototype.onBackground=function(n){var e=this.toRgb(),i=new t(n).toRgb(),o=e.a+i.a*(1-e.a);return new t({r:(e.r*e.a+i.r*i.a*(1-e.a))/o,g:(e.g*e.a+i.g*i.a*(1-e.a))/o,b:(e.b*e.a+i.b*i.a*(1-e.a))/o,a:o})},t.prototype.triad=function(){return this.polyad(3)},t.prototype.tetrad=function(){return this.polyad(4)},t.prototype.polyad=function(n){for(var e=this.toHsl(),i=e.h,o=[this],r=360/n,s=1;s=60&&Math.round(t.h)<=240?e?Math.round(t.h)-h4*n:Math.round(t.h)+h4*n:e?Math.round(t.h)+h4*n:Math.round(t.h)-h4*n,i<0?i+=360:i>=360&&(i-=360),i}function Py(t,n,e){if(0===t.h&&0===t.s)return t.s;let i;return i=e?t.s-Dy*n:n===Ty?t.s+Dy:t.s+VL*n,i>1&&(i=1),e&&n===Ey&&i>.1&&(i=.1),i<.06&&(i=.06),Number(i.toFixed(2))}function Ay(t,n,e){let i;return i=e?t.v+NL*n:t.v-LL*n,i>1&&(i=1),Number(i.toFixed(2))}function Iy(t,n={}){const e=[],i=As(t);for(let o=Ey;o>0;o-=1){const r=ky(i),s=p4(As({h:xy(r,o,!0),s:Py(r,o,!0),v:Ay(r,o,!0)}));e.push(s)}e.push(p4(i));for(let o=1;o<=Ty;o+=1){const r=ky(i),s=p4(As({h:xy(r,o),s:Py(r,o),v:Ay(r,o)}));e.push(s)}return"dark"===n.theme?HL.map(({index:o,opacity:r})=>p4(function RL(t,n,e){const i=e/100;return{r:(n.r-t.r)*i+t.r,g:(n.g-t.g)*i+t.g,b:(n.b-t.b)*i+t.b}}(As(n.backgroundColor||"#141414"),As(e[o]),100*r))):e}const BL=new P("nz-config"),YL=`-ant-${Date.now()}-${Math.random()}`;function Oy(t,n){const e=function jL(t,n){const e={},i=(s,a)=>{let l=s.clone();return l=a?.(l)||l,l.toRgbString()},o=(s,a)=>{const l=new Po(s),c=Iy(l.toRgbString());e[`${a}-color`]=i(l),e[`${a}-color-disabled`]=c[1],e[`${a}-color-hover`]=c[4],e[`${a}-color-active`]=c[7],e[`${a}-color-outline`]=l.clone().setAlpha(.2).toRgbString(),e[`${a}-color-deprecated-bg`]=c[1],e[`${a}-color-deprecated-border`]=c[3]};if(n.primaryColor){o(n.primaryColor,"primary");const s=new Po(n.primaryColor),a=Iy(s.toRgbString());a.forEach((c,u)=>{e[`primary-${u+1}`]=c}),e["primary-color-deprecated-l-35"]=i(s,c=>c.lighten(35)),e["primary-color-deprecated-l-20"]=i(s,c=>c.lighten(20)),e["primary-color-deprecated-t-20"]=i(s,c=>c.tint(20)),e["primary-color-deprecated-t-50"]=i(s,c=>c.tint(50)),e["primary-color-deprecated-f-12"]=i(s,c=>c.setAlpha(.12*c.getAlpha()));const l=new Po(a[0]);e["primary-color-active-deprecated-f-30"]=i(l,c=>c.setAlpha(.3*c.getAlpha())),e["primary-color-active-deprecated-d-02"]=i(l,c=>c.darken(2))}return n.successColor&&o(n.successColor,"success"),n.warningColor&&o(n.warningColor,"warning"),n.errorColor&&o(n.errorColor,"error"),n.infoColor&&o(n.infoColor,"info"),`\n :root {\n ${Object.keys(e).map(s=>`--${t}-${s}: ${e[s]};`).join("\n")}\n }\n `.trim()}(t,n);Qv()?function UN(t,n,e={}){const i=T6(e);if(!k6.has(i)){const s=ey("",e),{parentNode:a}=s;k6.set(i,a),a.removeChild(s)}const o=function ty(t,n={}){const e=T6(n);return Array.from(k6.get(e)?.children||[]).find(i=>"STYLE"===i.tagName&&i.getAttribute(Jv(n))===t)}(n,e);if(o)return e.csp?.nonce&&o.nonce!==e.csp?.nonce&&(o.nonce=e.csp?.nonce),o.innerHTML!==t&&(o.innerHTML=t),o;const r=ey(t,e);r?.setAttribute(Jv(e),n)}(e,`${YL}-dynamic-theme`):ks("NzConfigService: SSR do not support dynamic theme with css variables.")}const Fy=function(t){return void 0!==t};let fr=(()=>{class t{constructor(e){this.configUpdated$=new F,this.config=e||{},this.config.theme&&Oy(this.getConfig().prefixCls?.prefixCls||"ant",this.config.theme)}getConfig(){return this.config}getConfigForComponent(e){return this.config[e]}getConfigChangeEventForComponent(e){return this.configUpdated$.pipe(bt(i=>i===e),iu(void 0))}set(e,i){this.config[e]={...this.config[e],...i},"theme"===e&&this.config.theme&&Oy(this.getConfig().prefixCls?.prefixCls||"ant",this.config.theme),this.configUpdated$.next(e)}}return t.\u0275fac=function(e){return new(e||t)(v(BL,8))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function f4(){return function(n,e,i){const o=`$$__zorroConfigDecorator__${e}`;return Object.defineProperty(n,o,{configurable:!0,writable:!0,enumerable:!1}),{get(){const r=i?.get?i.get.bind(this)():this[o],s=(this.propertyAssignCounter?.[e]||0)>1,a=this.nzConfigService.getConfigForComponent(this._nzModuleName)?.[e];return s&&Fy(r)?r:Fy(a)?a:r},set(r){this.propertyAssignCounter=this.propertyAssignCounter||{},this.propertyAssignCounter[e]=(this.propertyAssignCounter[e]||0)+1,i?.set?i.set.bind(this)(r):this[o]=r},configurable:!0,enumerable:!0}}}var Ny={locale:"en",Pagination:{items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"},DatePicker:{lang:{placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"],locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},timePickerLocale:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},TimePicker:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]},Calendar:{lang:{placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"],locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},timePickerLocale:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",selectNone:"Clear all data"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No Data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Image:{preview:"Preview"},CronExpression:{cronError:"Invalid cron expression",second:"second",minute:"minute",hour:"hour",day:"day",month:"month",week:"week",secondError:"

*Any value

,Separator between multiple values

-Connector for interval values

/Equally distributed

0-59Allowable range

",minuteError:"

*Any value

,Separator between multiple values

-Connector for interval values

/Equally distributed

0-59Allowable range

",hourError:"

*Any value

,Separator between multiple values

-Connector for interval values

/Equally distributed

0-23Allowable range

",dayError:"

*Any value

,Separator between multiple values

-Connector for interval values

/Equally distributed

1-31Allowable range

",monthError:"

*Any value

,Separator between multiple values

-Connector for interval values

/Equally distributed

1-12Allowable range

",weekError:"

*Any value

,Separator between multiple values

-Connector for interval values

/Equally distributed

? Not specify

0-7Allowable range (0 represents Sunday, 1-7 are Monday to Sunday)

"}},UL={locale:"zh-cn",Pagination:{items_per_page:"\u6761/\u9875",jump_to:"\u8df3\u81f3",jump_to_confirm:"\u786e\u5b9a",page:"\u9875",prev_page:"\u4e0a\u4e00\u9875",next_page:"\u4e0b\u4e00\u9875",prev_5:"\u5411\u524d 5 \u9875",next_5:"\u5411\u540e 5 \u9875",prev_3:"\u5411\u524d 3 \u9875",next_3:"\u5411\u540e 3 \u9875",page_size:"\u9875\u7801"},DatePicker:{lang:{placeholder:"\u8bf7\u9009\u62e9\u65e5\u671f",yearPlaceholder:"\u8bf7\u9009\u62e9\u5e74\u4efd",quarterPlaceholder:"\u8bf7\u9009\u62e9\u5b63\u5ea6",monthPlaceholder:"\u8bf7\u9009\u62e9\u6708\u4efd",weekPlaceholder:"\u8bf7\u9009\u62e9\u5468",rangePlaceholder:["\u5f00\u59cb\u65e5\u671f","\u7ed3\u675f\u65e5\u671f"],rangeYearPlaceholder:["\u5f00\u59cb\u5e74\u4efd","\u7ed3\u675f\u5e74\u4efd"],rangeMonthPlaceholder:["\u5f00\u59cb\u6708\u4efd","\u7ed3\u675f\u6708\u4efd"],rangeWeekPlaceholder:["\u5f00\u59cb\u5468","\u7ed3\u675f\u5468"],locale:"zh_CN",today:"\u4eca\u5929",now:"\u6b64\u523b",backToToday:"\u8fd4\u56de\u4eca\u5929",ok:"\u786e\u5b9a",timeSelect:"\u9009\u62e9\u65f6\u95f4",dateSelect:"\u9009\u62e9\u65e5\u671f",weekSelect:"\u9009\u62e9\u5468",clear:"\u6e05\u9664",month:"\u6708",year:"\u5e74",previousMonth:"\u4e0a\u4e2a\u6708 (\u7ffb\u9875\u4e0a\u952e)",nextMonth:"\u4e0b\u4e2a\u6708 (\u7ffb\u9875\u4e0b\u952e)",monthSelect:"\u9009\u62e9\u6708\u4efd",yearSelect:"\u9009\u62e9\u5e74\u4efd",decadeSelect:"\u9009\u62e9\u5e74\u4ee3",yearFormat:"YYYY\u5e74",dayFormat:"D\u65e5",dateFormat:"YYYY\u5e74M\u6708D\u65e5",dateTimeFormat:"YYYY\u5e74M\u6708D\u65e5 HH\u65f6mm\u5206ss\u79d2",previousYear:"\u4e0a\u4e00\u5e74 (Control\u952e\u52a0\u5de6\u65b9\u5411\u952e)",nextYear:"\u4e0b\u4e00\u5e74 (Control\u952e\u52a0\u53f3\u65b9\u5411\u952e)",previousDecade:"\u4e0a\u4e00\u5e74\u4ee3",nextDecade:"\u4e0b\u4e00\u5e74\u4ee3",previousCentury:"\u4e0a\u4e00\u4e16\u7eaa",nextCentury:"\u4e0b\u4e00\u4e16\u7eaa"},timePickerLocale:{placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",rangePlaceholder:["\u5f00\u59cb\u65f6\u95f4","\u7ed3\u675f\u65f6\u95f4"]}},TimePicker:{placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",rangePlaceholder:["\u5f00\u59cb\u65f6\u95f4","\u7ed3\u675f\u65f6\u95f4"]},Calendar:{lang:{placeholder:"\u8bf7\u9009\u62e9\u65e5\u671f",yearPlaceholder:"\u8bf7\u9009\u62e9\u5e74\u4efd",quarterPlaceholder:"\u8bf7\u9009\u62e9\u5b63\u5ea6",monthPlaceholder:"\u8bf7\u9009\u62e9\u6708\u4efd",weekPlaceholder:"\u8bf7\u9009\u62e9\u5468",rangePlaceholder:["\u5f00\u59cb\u65e5\u671f","\u7ed3\u675f\u65e5\u671f"],rangeYearPlaceholder:["\u5f00\u59cb\u5e74\u4efd","\u7ed3\u675f\u5e74\u4efd"],rangeMonthPlaceholder:["\u5f00\u59cb\u6708\u4efd","\u7ed3\u675f\u6708\u4efd"],rangeWeekPlaceholder:["\u5f00\u59cb\u5468","\u7ed3\u675f\u5468"],locale:"zh_CN",today:"\u4eca\u5929",now:"\u6b64\u523b",backToToday:"\u8fd4\u56de\u4eca\u5929",ok:"\u786e\u5b9a",timeSelect:"\u9009\u62e9\u65f6\u95f4",dateSelect:"\u9009\u62e9\u65e5\u671f",weekSelect:"\u9009\u62e9\u5468",clear:"\u6e05\u9664",month:"\u6708",year:"\u5e74",previousMonth:"\u4e0a\u4e2a\u6708 (\u7ffb\u9875\u4e0a\u952e)",nextMonth:"\u4e0b\u4e2a\u6708 (\u7ffb\u9875\u4e0b\u952e)",monthSelect:"\u9009\u62e9\u6708\u4efd",yearSelect:"\u9009\u62e9\u5e74\u4efd",decadeSelect:"\u9009\u62e9\u5e74\u4ee3",yearFormat:"YYYY\u5e74",dayFormat:"D\u65e5",dateFormat:"YYYY\u5e74M\u6708D\u65e5",dateTimeFormat:"YYYY\u5e74M\u6708D\u65e5 HH\u65f6mm\u5206ss\u79d2",previousYear:"\u4e0a\u4e00\u5e74 (Control\u952e\u52a0\u5de6\u65b9\u5411\u952e)",nextYear:"\u4e0b\u4e00\u5e74 (Control\u952e\u52a0\u53f3\u65b9\u5411\u952e)",previousDecade:"\u4e0a\u4e00\u5e74\u4ee3",nextDecade:"\u4e0b\u4e00\u5e74\u4ee3",previousCentury:"\u4e0a\u4e00\u4e16\u7eaa",nextCentury:"\u4e0b\u4e00\u4e16\u7eaa"},timePickerLocale:{placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",rangePlaceholder:["\u5f00\u59cb\u65f6\u95f4","\u7ed3\u675f\u65f6\u95f4"]}},global:{placeholder:"\u8bf7\u9009\u62e9"},Table:{filterTitle:"\u7b5b\u9009",filterConfirm:"\u786e\u5b9a",filterReset:"\u91cd\u7f6e",filterEmptyText:"\u65e0\u7b5b\u9009\u9879",selectAll:"\u5168\u9009\u5f53\u9875",selectInvert:"\u53cd\u9009\u5f53\u9875",selectionAll:"\u5168\u9009\u6240\u6709",sortTitle:"\u6392\u5e8f",expand:"\u5c55\u5f00\u884c",collapse:"\u5173\u95ed\u884c",triggerDesc:"\u70b9\u51fb\u964d\u5e8f",triggerAsc:"\u70b9\u51fb\u5347\u5e8f",cancelSort:"\u53d6\u6d88\u6392\u5e8f",filterCheckall:"\u5168\u9009",filterSearchPlaceholder:"\u5728\u7b5b\u9009\u9879\u4e2d\u641c\u7d22",selectNone:"\u6e05\u7a7a\u6240\u6709"},Modal:{okText:"\u786e\u5b9a",cancelText:"\u53d6\u6d88",justOkText:"\u77e5\u9053\u4e86"},Popconfirm:{cancelText:"\u53d6\u6d88",okText:"\u786e\u5b9a"},Transfer:{searchPlaceholder:"\u8bf7\u8f93\u5165\u641c\u7d22\u5185\u5bb9",itemUnit:"\u9879",itemsUnit:"\u9879",remove:"\u5220\u9664",selectCurrent:"\u5168\u9009\u5f53\u9875",removeCurrent:"\u5220\u9664\u5f53\u9875",selectAll:"\u5168\u9009\u6240\u6709",removeAll:"\u5220\u9664\u5168\u90e8",selectInvert:"\u53cd\u9009\u5f53\u9875"},Upload:{uploading:"\u6587\u4ef6\u4e0a\u4f20\u4e2d",removeFile:"\u5220\u9664\u6587\u4ef6",uploadError:"\u4e0a\u4f20\u9519\u8bef",previewFile:"\u9884\u89c8\u6587\u4ef6",downloadFile:"\u4e0b\u8f7d\u6587\u4ef6"},Empty:{description:"\u6682\u65e0\u6570\u636e"},Icon:{icon:"\u56fe\u6807"},Text:{edit:"\u7f16\u8f91",copy:"\u590d\u5236",copied:"\u590d\u5236\u6210\u529f",expand:"\u5c55\u5f00"},PageHeader:{back:"\u8fd4\u56de"},Image:{preview:"\u9884\u89c8"},CronExpression:{cronError:"cron \u8868\u8fbe\u5f0f\u4e0d\u5408\u6cd5",second:"\u79d2",minute:"\u5206\u949f",hour:"\u5c0f\u65f6",day:"\u65e5",month:"\u6708",week:"\u5468",secondError:"

*\u4efb\u610f\u503c

,\u591a\u4e2a\u503c\u4e4b\u95f4\u7684\u5206\u9694\u7b26

-\u533a\u95f4\u503c\u7684\u8fde\u63a5\u7b26

/\u5e73\u5747\u5206\u914d

0-59\u5141\u8bb8\u8303\u56f4

",minuteError:"

*\u4efb\u610f\u503c

,\u591a\u4e2a\u503c\u4e4b\u95f4\u7684\u5206\u9694\u7b26

-\u533a\u95f4\u503c\u7684\u8fde\u63a5\u7b26

/\u5e73\u5747\u5206\u914d

0-59\u5141\u8bb8\u8303\u56f4

",hourError:"

* \u4efb\u610f\u503c

, \u591a\u4e2a\u503c\u4e4b\u95f4\u7684\u5206\u9694\u7b26

- \u533a\u95f4\u503c\u7684\u8fde\u63a5\u7b26

/ \u5e73\u5747\u5206\u914d

0-23 \u5141\u8bb8\u8303\u56f4

",dayError:"

* \u4efb\u610f\u503c

, \u591a\u4e2a\u503c\u4e4b\u95f4\u7684\u5206\u9694\u7b26

- \u533a\u95f4\u503c\u7684\u8fde\u63a5\u7b26

/ \u5e73\u5747\u5206\u914d

1-31 \u5141\u8bb8\u8303\u56f4

",monthError:"

* \u4efb\u610f\u503c

, \u591a\u4e2a\u503c\u4e4b\u95f4\u7684\u5206\u9694\u7b26

- \u533a\u95f4\u503c\u7684\u8fde\u63a5\u7b26

/ \u5e73\u5747\u5206\u914d

1-12 \u5141\u8bb8\u8303\u56f4

",weekError:"

* \u4efb\u610f\u503c

, \u591a\u4e2a\u503c\u4e4b\u95f4\u7684\u5206\u9694\u7b26

- \u533a\u95f4\u503c\u7684\u8fde\u63a5\u7b26

/ \u5e73\u5747\u5206\u914d

? \u4e0d\u6307\u5b9a

0-7 \u5141\u8bb8\u8303\u56f4\uff080\u4ee3\u8868\u5468\u65e5\uff0c1-7\u4f9d\u6b21\u4e3a\u5468\u4e00\u5230\u5468\u65e5\uff09

"}};const Ly=new P("nz-i18n"),$L=new P("nz-date-locale");let m4=(()=>{class t{constructor(e,i){this._change=new ue(this._locale),this.setLocale(e||UL),this.setDateLocale(i||null)}get localeChange(){return this._change.asObservable()}translate(e,i){let o=this._getObjectPath(this._locale,e);return"string"==typeof o?(i&&Object.keys(i).forEach(r=>o=o.replace(new RegExp(`%${r}%`,"g"),i[r])),o):e}setLocale(e){this._locale&&this._locale.locale===e.locale||(this._locale=e,this._change.next(e))}getLocale(){return this._locale}getLocaleId(){return this._locale?this._locale.locale:""}setDateLocale(e){this.dateLocale=e}getDateLocale(){return this.dateLocale}getLocaleData(e,i){const o=e?this._getObjectPath(this._locale,e):this._locale;return!o&&!i&&ks(`Missing translations for "${e}" in language "${this._locale.locale}".\nYou can use "NzI18nService.setLocale" as a temporary fix.\nWelcome to submit a pull request to help us optimize the translations!\nhttps://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md`),o||i||this._getObjectPath(Ny,e)||{}}_getObjectPath(e,i){let o=e;const r=i.split("."),s=r.length;let a=0;for(;o&&a{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({}),t})();new P("date-config");let Oi=(()=>{class t{constructor(e,i){this.viewContainer=e,this.templateRef=i,this.embeddedViewRef=null,this.context=new KL,this.nzStringTemplateOutletContext=null,this.nzStringTemplateOutlet=null}static ngTemplateContextGuard(e,i){return!0}recreateView(){this.viewContainer.clear();const e=this.nzStringTemplateOutlet instanceof $e;this.embeddedViewRef=this.viewContainer.createEmbeddedView(e?this.nzStringTemplateOutlet:this.templateRef,e?this.nzStringTemplateOutletContext:this.context)}updateContext(){const i=this.nzStringTemplateOutlet instanceof $e?this.nzStringTemplateOutletContext:this.context,o=this.embeddedViewRef.context;if(i)for(const r of Object.keys(i))o[r]=i[r]}ngOnChanges(e){const{nzStringTemplateOutletContext:i,nzStringTemplateOutlet:o}=e;o&&(this.context.$implicit=o.currentValue),(()=>{let a=!1;return o&&(a=!!o.firstChange||(o.previousValue instanceof $e||o.currentValue instanceof $e)),i&&(u=>{const d=Object.keys(u.previousValue||{}),h=Object.keys(u.currentValue||{});if(d.length===h.length){for(const p of h)if(-1===d.indexOf(p))return!0;return!1}return!0})(i)||a})()?this.recreateView():this.updateContext()}}return t.\u0275fac=function(e){return new(e||t)(f(Ht),f($e))},t.\u0275dir=w({type:t,selectors:[["","nzStringTemplateOutlet",""]],inputs:{nzStringTemplateOutletContext:"nzStringTemplateOutletContext",nzStringTemplateOutlet:"nzStringTemplateOutlet"},exportAs:["nzStringTemplateOutlet"],features:[$]}),t})();class KL{}let Is=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[dn]}),t})();var g4=2,Hy=.16,ZL=.05,XL=.05,QL=.15,Ry=5,By=4,JL=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function Yy(t,n,e){var i;return(i=Math.round(t.h)>=60&&Math.round(t.h)<=240?e?Math.round(t.h)-g4*n:Math.round(t.h)+g4*n:e?Math.round(t.h)+g4*n:Math.round(t.h)-g4*n)<0?i+=360:i>=360&&(i-=360),i}function jy(t,n,e){return 0===t.h&&0===t.s?t.s:((i=e?t.s-Hy*n:n===By?t.s+Hy:t.s+ZL*n)>1&&(i=1),e&&n===Ry&&i>.1&&(i=.1),i<.06&&(i=.06),Number(i.toFixed(2)));var i}function Uy(t,n,e){var i;return(i=e?t.v+XL*n:t.v-QL*n)>1&&(i=1),Number(i.toFixed(2))}function Y6(t){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=[],i=new Po(t),o=Ry;o>0;o-=1){var r=i.toHsv(),s=new Po({h:Yy(r,o,!0),s:jy(r,o,!0),v:Uy(r,o,!0)}).toHexString();e.push(s)}e.push(i.toHexString());for(var a=1;a<=By;a+=1){var l=i.toHsv(),c=new Po({h:Yy(l,a),s:jy(l,a),v:Uy(l,a)}).toHexString();e.push(c)}return"dark"===n.theme?JL.map(function(u){var d=u.index,h=u.opacity;return new Po(n.backgroundColor||"#141414").mix(e[d],100*h).toHexString()}):e}var j6={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},tn={},U6={};Object.keys(j6).forEach(function(t){tn[t]=Y6(j6[t]),tn[t].primary=tn[t][5],U6[t]=Y6(j6[t],{theme:"dark",backgroundColor:"#141414"}),U6[t].primary=U6[t][5]});const oo="[@ant-design/icons-angular]:";function Wy(t){return Y6(t)[0]}function v4(t,n){switch(n){case"fill":return`${t}-fill`;case"outline":return`${t}-o`;case"twotone":return`${t}-twotone`;case void 0:return t;default:throw new Error(`${oo}Theme "${n}" is not a recognized theme!`)}}function Gy(t){return"object"==typeof t&&"string"==typeof t.name&&("string"==typeof t.theme||void 0===t.theme)&&"string"==typeof t.icon}function y4(t){const n=t.split(":");switch(n.length){case 1:return[t,""];case 2:return[n[1],n[0]];default:throw new Error(`${oo}The icon type ${t} is not valid!`)}}function qy(t){return new Error(`${oo}the icon ${t} does not exist or is not registered.`)}function dH(){return new Error(`${oo} tag not found.`)}const fH=new P("ant_icons");let Ky=(()=>{class t{constructor(e,i,o,r,s){this._rendererFactory=e,this._handler=i,this._document=o,this.sanitizer=r,this._antIcons=s,this.defaultTheme="outline",this._svgDefinitions=new Map,this._svgRenderedDefinitions=new Map,this._inProgressFetches=new Map,this._assetsUrlRoot="",this._twoToneColorPalette={primaryColor:"#333333",secondaryColor:"#E6E6E6"},this._enableJsonpLoading=!1,this._jsonpIconLoad$=new F,this._renderer=this._rendererFactory.createRenderer(null,null),this._handler&&(this._http=new Ou(this._handler)),this._antIcons&&this.addIcon(...this._antIcons)}set twoToneColor({primaryColor:e,secondaryColor:i}){this._twoToneColorPalette.primaryColor=e,this._twoToneColorPalette.secondaryColor=i||Wy(e)}get twoToneColor(){return{...this._twoToneColorPalette}}get _disableDynamicLoading(){return!1}useJsonpLoading(){this._enableJsonpLoading||(this._enableJsonpLoading=!0,window.__ant_icon_load=e=>{this._jsonpIconLoad$.next(e)})}changeAssetsSource(e){this._assetsUrlRoot=e.endsWith("/")?e:e+"/"}addIcon(...e){e.forEach(i=>{this._svgDefinitions.set(v4(i.name,i.theme),i)})}addIconLiteral(e,i){const[o,r]=y4(e);if(!r)throw function lH(){return new Error(`${oo}Type should have a namespace. Try "namespace:${name}".`)}();this.addIcon({name:e,icon:i})}clear(){this._svgDefinitions.clear(),this._svgRenderedDefinitions.clear()}getRenderedContent(e,i){const o=Gy(e)?e:this._svgDefinitions.get(e)||null;if(!o&&this._disableDynamicLoading)throw qy(e);return(o?Y(o):this._loadIconDynamically(e)).pipe(B(s=>{if(!s)throw qy(e);return this._loadSVGFromCacheOrCreateNew(s,i)}))}getCachedIcons(){return this._svgDefinitions}_loadIconDynamically(e){if(!this._http&&!this._enableJsonpLoading)return Y(function cH(){return function eH(t){console.error(`${oo} ${t}.`)}('you need to import "HttpClientModule" to use dynamic importing.'),null}());let i=this._inProgressFetches.get(e);if(!i){const[o,r]=y4(e),s=r?{name:e,icon:""}:function oH(t){const n=t.split("-"),e=function nH(t){return"o"===t?"outline":t}(n.splice(n.length-1,1)[0]);return{name:n.join("-"),theme:e,icon:""}}(o),l=(r?`${this._assetsUrlRoot}assets/${r}/${o}`:`${this._assetsUrlRoot}assets/${s.theme}/${s.name}`)+(this._enableJsonpLoading?".js":".svg"),c=this.sanitizer.sanitize(Ue.URL,l);if(!c)throw function uH(t){return new Error(`${oo}The url "${t}" is unsafe.`)}(l);i=(this._enableJsonpLoading?this._loadIconDynamicallyWithJsonp(s,c):this._http.get(c,{responseType:"text"}).pipe(B(d=>({...s,icon:d})))).pipe(Bt(d=>this.addIcon(d)),Oa(()=>this._inProgressFetches.delete(e)),eo(()=>Y(null)),J4()),this._inProgressFetches.set(e,i)}return i}_loadIconDynamicallyWithJsonp(e,i){return new ge(o=>{const r=this._document.createElement("script"),s=setTimeout(()=>{a(),o.error(function hH(){return new Error(`${oo}Importing timeout error.`)}())},6e3);function a(){r.parentNode.removeChild(r),clearTimeout(s)}r.src=i,this._document.body.appendChild(r),this._jsonpIconLoad$.pipe(bt(l=>l.name===e.name&&l.theme===e.theme),Ct(1)).subscribe(l=>{o.next(l),a()})})}_loadSVGFromCacheOrCreateNew(e,i){let o;const r=i||this._twoToneColorPalette.primaryColor,s=Wy(r)||this._twoToneColorPalette.secondaryColor,a="twotone"===e.theme?function tH(t,n,e,i){return`${v4(t,n)}-${e}-${i}`}(e.name,e.theme,r,s):void 0===e.theme?e.name:v4(e.name,e.theme),l=this._svgRenderedDefinitions.get(a);return l?o=l.icon:(o=this._setSVGAttribute(this._colorizeSVGIcon(this._createSVGElementFromString(function aH(t){return""!==y4(t)[1]}(e.name)?e.icon:function sH(t){return t.replace(/['"]#333['"]/g,'"primaryColor"').replace(/['"]#E6E6E6['"]/g,'"secondaryColor"').replace(/['"]#D9D9D9['"]/g,'"secondaryColor"').replace(/['"]#D8D8D8['"]/g,'"secondaryColor"')}(e.icon)),"twotone"===e.theme,r,s)),this._svgRenderedDefinitions.set(a,{...e,icon:o})),function rH(t){return t.cloneNode(!0)}(o)}_createSVGElementFromString(e){const i=this._document.createElement("div");i.innerHTML=e;const o=i.querySelector("svg");if(!o)throw dH;return o}_setSVGAttribute(e){return this._renderer.setAttribute(e,"width","1em"),this._renderer.setAttribute(e,"height","1em"),e}_colorizeSVGIcon(e,i,o,r){if(i){const s=e.childNodes,a=s.length;for(let l=0;l{class t{constructor(e,i,o){this._iconService=e,this._elementRef=i,this._renderer=o}ngOnChanges(e){(e.type||e.theme||e.twoToneColor)&&this._changeIcon()}_changeIcon(){return new Promise(e=>{if(!this.type)return this._clearSVGElement(),void e(null);const i=this._getSelfRenderMeta();this._iconService.getRenderedContent(this._parseIconType(this.type,this.theme),this.twoToneColor).subscribe(o=>{const r=this._getSelfRenderMeta();!function mH(t,n){return t.type===n.type&&t.theme===n.theme&&t.twoToneColor===n.twoToneColor}(i,r)?e(null):(this._setSVGElement(o),e(o))})})}_getSelfRenderMeta(){return{type:this.type,theme:this.theme,twoToneColor:this.twoToneColor}}_parseIconType(e,i){if(Gy(e))return e;{const[o,r]=y4(e);return r?e:function iH(t){return t.endsWith("-fill")||t.endsWith("-o")||t.endsWith("-twotone")}(o)?o:v4(o,i||this._iconService.defaultTheme)}}_setSVGElement(e){this._clearSVGElement(),this._renderer.appendChild(this._elementRef.nativeElement,e)}_clearSVGElement(){const e=this._elementRef.nativeElement,i=e.childNodes;for(let r=i.length-1;r>=0;r--){const s=i[r];"svg"===s.tagName?.toLowerCase()&&this._renderer.removeChild(e,s)}}}return t.\u0275fac=function(e){return new(e||t)(f(Ky),f(ne),f(dt))},t.\u0275dir=w({type:t,selectors:[["","antIcon",""]],inputs:{type:"type",theme:"theme",twoToneColor:"twoToneColor"},features:[$]}),t})();const Zy={name:"star",theme:"fill",icon:''},oR=[{name:"bars",theme:"outline",icon:''},{name:"calendar",theme:"outline",icon:''},{name:"caret-up",theme:"fill",icon:''},{name:"caret-up",theme:"outline",icon:''},{name:"caret-down",theme:"fill",icon:''},{name:"caret-down",theme:"outline",icon:''},{name:"check-circle",theme:"fill",icon:''},{name:"check-circle",theme:"outline",icon:''},{name:"check",theme:"outline",icon:''},{name:"clock-circle",theme:"outline",icon:''},{name:"close-circle",theme:"outline",icon:''},{name:"close-circle",theme:"fill",icon:''},{name:"close",theme:"outline",icon:''},{name:"copy",theme:"outline",icon:''},{name:"delete",theme:"outline",icon:''},{name:"double-left",theme:"outline",icon:''},{name:"double-right",theme:"outline",icon:''},{name:"down",theme:"outline",icon:''},{name:"edit",theme:"outline",icon:''},{name:"ellipsis",theme:"outline",icon:''},{name:"exclamation-circle",theme:"fill",icon:''},{name:"exclamation-circle",theme:"outline",icon:''},{name:"eye",theme:"outline",icon:''},{name:"file",theme:"fill",icon:''},{name:"file",theme:"outline",icon:''},{name:"filter",theme:"fill",icon:''},{name:"info-circle",theme:"fill",icon:''},{name:"info-circle",theme:"outline",icon:''},{name:"left",theme:"outline",icon:''},{name:"loading",theme:"outline",icon:''},{name:"paper-clip",theme:"outline",icon:''},{name:"question-circle",theme:"outline",icon:''},{name:"right",theme:"outline",icon:''},{name:"rotate-right",theme:"outline",icon:''},{name:"rotate-left",theme:"outline",icon:''},Zy,{name:"search",theme:"outline",icon:''},Zy,{name:"upload",theme:"outline",icon:''},{name:"vertical-align-top",theme:"outline",icon:''},{name:"up",theme:"outline",icon:''},{name:"swap-right",theme:"outline",icon:''},{name:"zoom-in",theme:"outline",icon:''},{name:"zoom-out",theme:"outline",icon:''}],Xy=new P("nz_icons"),Qy=(new P("nz_icon_default_twotone_color"),"#1890ff");let Jy=(()=>{class t extends Ky{constructor(e,i,o,r,s,a,l){super(e,s,a,i,[...oR,...l||[]]),this.nzConfigService=o,this.platform=r,this.configUpdated$=new F,this.iconfontCache=new Set,this.subscription=null,this.onConfigChange(),this.configDefaultTwotoneColor(),this.configDefaultTheme()}get _disableDynamicLoading(){return!this.platform.isBrowser}ngOnDestroy(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)}normalizeSvgElement(e){e.getAttribute("viewBox")||this._renderer.setAttribute(e,"viewBox","0 0 1024 1024"),(!e.getAttribute("width")||!e.getAttribute("height"))&&(this._renderer.setAttribute(e,"width","1em"),this._renderer.setAttribute(e,"height","1em")),e.getAttribute("fill")||this._renderer.setAttribute(e,"fill","currentColor")}fetchFromIconfont(e){const{scriptUrl:i}=e;if(this._document&&!this.iconfontCache.has(i)){const o=this._renderer.createElement("script");this._renderer.setAttribute(o,"src",i),this._renderer.setAttribute(o,"data-namespace",i.replace(/^(https?|http):/g,"")),this._renderer.appendChild(this._document.body,o),this.iconfontCache.add(i)}}createIconfontIcon(e){return this._createSVGElementFromString(``)}onConfigChange(){this.subscription=this.nzConfigService.getConfigChangeEventForComponent("icon").subscribe(()=>{this.configDefaultTwotoneColor(),this.configDefaultTheme(),this.configUpdated$.next()})}configDefaultTheme(){const e=this.getConfig();this.defaultTheme=e.nzTheme||"outline"}configDefaultTwotoneColor(){const i=this.getConfig().nzTwotoneColor||Qy;let o=Qy;i&&(i.startsWith("#")?o=i:ks("Twotone color must be a hex color!")),this.twoToneColor={primaryColor:o}}getConfig(){return this.nzConfigService.getConfigForComponent("icon")||{}}}return t.\u0275fac=function(e){return new(e||t)(v(po),v(o1),v(fr),v(Jt),v(Xa,8),v(_e,8),v(Xy,8))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const e_=new P("nz_icons_patch");let t_=(()=>{class t{constructor(e,i){this.extraIcons=e,this.rootIconService=i,this.patched=!1}doPatch(){this.patched||(this.extraIcons.forEach(e=>this.rootIconService.addIcon(e)),this.patched=!0)}}return t.\u0275fac=function(e){return new(e||t)(v(e_,2),v(Jy))},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})(),Fi=(()=>{class t extends gH{constructor(e,i,o,r,s,a){super(r,o,s),this.ngZone=e,this.changeDetectorRef=i,this.iconService=r,this.renderer=s,this.cacheClassName=null,this.nzRotate=0,this.spin=!1,this.destroy$=new F,a&&a.doPatch(),this.el=o.nativeElement}set nzSpin(e){this.spin=e}set nzType(e){this.type=e}set nzTheme(e){this.theme=e}set nzTwotoneColor(e){this.twoToneColor=e}set nzIconfont(e){this.iconfont=e}ngOnChanges(e){const{nzType:i,nzTwotoneColor:o,nzSpin:r,nzTheme:s,nzRotate:a}=e;i||o||r||s?this.changeIcon2():a?this.handleRotate(this.el.firstChild):this._setSVGElement(this.iconService.createIconfontIcon(`#${this.iconfont}`))}ngOnInit(){this.renderer.setAttribute(this.el,"class",`anticon ${this.el.className}`.trim())}ngAfterContentChecked(){if(!this.type){const e=this.el.children;let i=e.length;if(!this.type&&e.length)for(;i--;){const o=e[i];"svg"===o.tagName.toLowerCase()&&this.iconService.normalizeSvgElement(o)}}}ngOnDestroy(){this.destroy$.next()}changeIcon2(){this.setClassName(),this.ngZone.runOutsideAngular(()=>{rt(this._changeIcon()).pipe(I(this.destroy$)).subscribe({next:e=>{this.ngZone.run(()=>{this.changeDetectorRef.detectChanges(),e&&(this.setSVGData(e),this.handleSpin(e),this.handleRotate(e))})},error:ks})})}handleSpin(e){this.spin||"loading"===this.type?this.renderer.addClass(e,"anticon-spin"):this.renderer.removeClass(e,"anticon-spin")}handleRotate(e){this.nzRotate?this.renderer.setAttribute(e,"style",`transform: rotate(${this.nzRotate}deg)`):this.renderer.removeAttribute(e,"style")}setClassName(){this.cacheClassName&&this.renderer.removeClass(this.el,this.cacheClassName),this.cacheClassName=`anticon-${this.type}`,this.renderer.addClass(this.el,this.cacheClassName)}setSVGData(e){this.renderer.setAttribute(e,"data-icon",this.type),this.renderer.setAttribute(e,"aria-hidden","true")}}return t.\u0275fac=function(e){return new(e||t)(f(N),f(It),f(ne),f(Jy),f(dt),f(t_,8))},t.\u0275dir=w({type:t,selectors:[["","nz-icon",""]],hostVars:2,hostBindings:function(e,i){2&e&&et("anticon",!0)},inputs:{nzSpin:"nzSpin",nzRotate:"nzRotate",nzType:"nzType",nzTheme:"nzTheme",nzTwotoneColor:"nzTwotoneColor",nzIconfont:"nzIconfont"},exportAs:["nzIcon"],features:[ie,$]}),ee([oe()],t.prototype,"nzSpin",null),t})(),ro=(()=>{class t{static forRoot(e){return{ngModule:t,providers:[{provide:Xy,useValue:e}]}}static forChild(e){return{ngModule:t,providers:[t_,{provide:e_,useValue:e}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[ko]}),t})(),Vi=(()=>{class t{constructor(e,i){this.elementRef=e,this.renderer=i,this.hidden=null,this.renderer.setAttribute(this.elementRef.nativeElement,"hidden","")}setHiddenAttribute(){this.hidden?this.renderer.setAttribute(this.elementRef.nativeElement,"hidden","string"==typeof this.hidden?this.hidden:""):this.renderer.removeAttribute(this.elementRef.nativeElement,"hidden")}ngOnChanges(){this.setHiddenAttribute()}ngAfterViewInit(){this.setHiddenAttribute()}}return t.\u0275fac=function(e){return new(e||t)(f(ne),f(dt))},t.\u0275dir=w({type:t,selectors:[["","nz-button",""],["nz-button-group"],["","nz-icon",""],["","nz-menu-item",""],["","nz-submenu",""],["nz-select-top-control"],["nz-select-placeholder"],["nz-input-group"]],inputs:{hidden:"hidden"},features:[$]}),t})(),$6=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[ko]}),t})();class rR{constructor(n,e,i,o){this.triggerElement=n,this.ngZone=e,this.insertExtraNode=i,this.platformId=o,this.waveTransitionDuration=400,this.styleForPseudo=null,this.extraNode=null,this.lastTime=0,this.onClick=r=>{!this.triggerElement||!this.triggerElement.getAttribute||this.triggerElement.getAttribute("disabled")||"INPUT"===r.target.tagName||this.triggerElement.className.indexOf("disabled")>=0||this.fadeOutWave()},this.platform=new Jt(this.platformId),this.clickHandler=this.onClick.bind(this),this.bindTriggerEvent()}get waveAttributeName(){return this.insertExtraNode?"ant-click-animating":"ant-click-animating-without-extra-node"}bindTriggerEvent(){this.platform.isBrowser&&this.ngZone.runOutsideAngular(()=>{this.removeTriggerEvent(),this.triggerElement&&this.triggerElement.addEventListener("click",this.clickHandler,!0)})}removeTriggerEvent(){this.triggerElement&&this.triggerElement.removeEventListener("click",this.clickHandler,!0)}removeStyleAndExtraNode(){this.styleForPseudo&&document.body.contains(this.styleForPseudo)&&(document.body.removeChild(this.styleForPseudo),this.styleForPseudo=null),this.insertExtraNode&&this.triggerElement.contains(this.extraNode)&&this.triggerElement.removeChild(this.extraNode)}destroy(){this.removeTriggerEvent(),this.removeStyleAndExtraNode()}fadeOutWave(){const n=this.triggerElement,e=this.getWaveColor(n);n.setAttribute(this.waveAttributeName,"true"),!(Date.now(){n.removeAttribute(this.waveAttributeName),this.removeStyleAndExtraNode()},this.waveTransitionDuration))}isValidColor(n){return!!n&&"#ffffff"!==n&&"rgb(255, 255, 255)"!==n&&this.isNotGrey(n)&&!/rgba\(\d*, \d*, \d*, 0\)/.test(n)&&"transparent"!==n}isNotGrey(n){const e=n.match(/rgba?\((\d*), (\d*), (\d*)(, [\.\d]*)?\)/);return!(e&&e[1]&&e[2]&&e[3]&&e[1]===e[2]&&e[2]===e[3])}getWaveColor(n){const e=getComputedStyle(n);return e.getPropertyValue("border-top-color")||e.getPropertyValue("border-color")||e.getPropertyValue("background-color")}runTimeoutOutsideZone(n,e){this.ngZone.runOutsideAngular(()=>setTimeout(n,e))}}const sR={disabled:!1},aR=new P("nz-wave-global-options",{providedIn:"root",factory:function lR(){return sR}});let n_=(()=>{class t{constructor(e,i,o,r,s){this.ngZone=e,this.elementRef=i,this.config=o,this.animationType=r,this.platformId=s,this.nzWaveExtraNode=!1,this.waveDisabled=!1,this.waveDisabled=this.isConfigDisabled()}get disabled(){return this.waveDisabled}get rendererRef(){return this.waveRenderer}isConfigDisabled(){let e=!1;return this.config&&"boolean"==typeof this.config.disabled&&(e=this.config.disabled),"NoopAnimations"===this.animationType&&(e=!0),e}ngOnDestroy(){this.waveRenderer&&this.waveRenderer.destroy()}ngOnInit(){this.renderWaveIfEnabled()}renderWaveIfEnabled(){!this.waveDisabled&&this.elementRef.nativeElement&&(this.waveRenderer=new rR(this.elementRef.nativeElement,this.ngZone,this.nzWaveExtraNode,this.platformId))}disable(){this.waveDisabled=!0,this.waveRenderer&&(this.waveRenderer.removeTriggerEvent(),this.waveRenderer.removeStyleAndExtraNode())}enable(){this.waveDisabled=this.isConfigDisabled()||!1,this.waveRenderer&&this.waveRenderer.bindTriggerEvent()}}return t.\u0275fac=function(e){return new(e||t)(f(N),f(ne),f(aR,8),f(tr,8),f(er))},t.\u0275dir=w({type:t,selectors:[["","nz-wave",""],["button","nz-button","",3,"nzType","link",3,"nzType","text"]],inputs:{nzWaveExtraNode:"nzWaveExtraNode"},exportAs:["nzWave"]}),t})(),i_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[ko]}),t})();const cR=["nz-button",""];function uR(t,n){1&t&&X(0,"span",1)}const dR=["*"];let r_=(()=>{class t{constructor(e,i,o,r,s,a){this.ngZone=e,this.elementRef=i,this.cdr=o,this.renderer=r,this.nzConfigService=s,this.directionality=a,this._nzModuleName="button",this.nzBlock=!1,this.nzGhost=!1,this.nzSearch=!1,this.nzLoading=!1,this.nzDanger=!1,this.disabled=!1,this.tabIndex=null,this.nzType=null,this.nzShape=null,this.nzSize="default",this.dir="ltr",this.destroy$=new F,this.loading$=new F,this.nzConfigService.getConfigChangeEventForComponent("button").pipe(I(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}insertSpan(e,i){e.forEach(o=>{if("#text"===o.nodeName){const r=i.createElement("span"),s=i.parentNode(o);i.insertBefore(s,r,o),i.appendChild(r,o)}})}assertIconOnly(e,i){const o=Array.from(e.childNodes),r=o.filter(c=>{const u=Array.from(c.childNodes||[]);return"SPAN"===c.nodeName&&u.length>0&&u.every(d=>"svg"===d.nodeName)}).length,s=o.every(c=>"#text"!==c.nodeName);o.filter(c=>{const u=Array.from(c.childNodes||[]);return!("SPAN"===c.nodeName&&u.length>0&&u.every(d=>"svg"===d.nodeName))}).every(c=>"SPAN"!==c.nodeName)&&s&&r>=1&&i.addClass(e,"ant-btn-icon-only")}ngOnInit(){this.directionality.change?.pipe(I(this.destroy$)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>{Zn(this.elementRef.nativeElement,"click",{capture:!0}).pipe(I(this.destroy$)).subscribe(e=>{(this.disabled&&"A"===e.target?.tagName||this.nzLoading)&&(e.preventDefault(),e.stopImmediatePropagation())})})}ngOnChanges(e){const{nzLoading:i}=e;i&&this.loading$.next(this.nzLoading)}ngAfterViewInit(){this.assertIconOnly(this.elementRef.nativeElement,this.renderer),this.insertSpan(this.elementRef.nativeElement.childNodes,this.renderer)}ngAfterContentInit(){this.loading$.pipe(Rt(this.nzLoading),bt(()=>!!this.nzIconDirectiveElement),I(this.destroy$)).subscribe(e=>{const i=this.nzIconDirectiveElement.nativeElement;e?this.renderer.setStyle(i,"display","none"):this.renderer.removeStyle(i,"display")})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return t.\u0275fac=function(e){return new(e||t)(f(N),f(ne),f(It),f(dt),f(fr),f(en,8))},t.\u0275cmp=ze({type:t,selectors:[["button","nz-button",""],["a","nz-button",""]],contentQueries:function(e,i,o){if(1&e&&At(o,Fi,5,ne),2&e){let r;we(r=Se())&&(i.nzIconDirectiveElement=r.first)}},hostAttrs:[1,"ant-btn"],hostVars:30,hostBindings:function(e,i){2&e&&(Pt("tabindex",i.disabled?-1:null===i.tabIndex?null:i.tabIndex)("disabled",i.disabled||null),et("ant-btn-primary","primary"===i.nzType)("ant-btn-dashed","dashed"===i.nzType)("ant-btn-link","link"===i.nzType)("ant-btn-text","text"===i.nzType)("ant-btn-circle","circle"===i.nzShape)("ant-btn-round","round"===i.nzShape)("ant-btn-lg","large"===i.nzSize)("ant-btn-sm","small"===i.nzSize)("ant-btn-dangerous",i.nzDanger)("ant-btn-loading",i.nzLoading)("ant-btn-background-ghost",i.nzGhost)("ant-btn-block",i.nzBlock)("ant-input-search-button",i.nzSearch)("ant-btn-rtl","rtl"===i.dir))},inputs:{nzBlock:"nzBlock",nzGhost:"nzGhost",nzSearch:"nzSearch",nzLoading:"nzLoading",nzDanger:"nzDanger",disabled:"disabled",tabIndex:"tabIndex",nzType:"nzType",nzShape:"nzShape",nzSize:"nzSize"},exportAs:["nzButton"],features:[$],attrs:cR,ngContentSelectors:dR,decls:2,vars:1,consts:[["nz-icon","","nzType","loading",4,"ngIf"],["nz-icon","","nzType","loading"]],template:function(e,i){1&e&&(si(),T(0,uR,1,0,"span",0),Un(1)),2&e&&M("ngIf",i.nzLoading)},dependencies:[xt,Fi,Vi],encapsulation:2,changeDetection:0}),ee([oe()],t.prototype,"nzBlock",void 0),ee([oe()],t.prototype,"nzGhost",void 0),ee([oe()],t.prototype,"nzSearch",void 0),ee([oe()],t.prototype,"nzLoading",void 0),ee([oe()],t.prototype,"nzDanger",void 0),ee([oe()],t.prototype,"disabled",void 0),ee([f4()],t.prototype,"nzSize",void 0),t})(),s_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[An,dn,i_,ro,$6,$6,i_]}),t})();class Ut{transform(n,e=0,i="B",o){if(!(Gv(n)&&Gv(e)&&e%1==0&&e>=0))return n;let r=n,s=i;for(;"B"!==s;)r*=1024,s=Ut.formats[s].prev;if(o){const l=qv(Ut.calculateResult(Ut.formats[o],r),e);return Ut.formatResult(l,o)}for(const a in Ut.formats)if(Ut.formats.hasOwnProperty(a)){const l=Ut.formats[a];if(r{class t{transform(e,i="px"){let l="px";return["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","1h","vw","vh","vmin","vmax","%"].some(c=>c===i)&&(l=i),"number"==typeof e?`${e}${l}`:`${e}`}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=ct({name:"nzToCssUnit",type:t,pure:!0}),t})(),a_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[dn]}),t})();const l_="nz-animate-disabled";let pl=(()=>{class t{constructor(e,i,o){this.element=e,this.renderer=i,this.animationType=o,this.nzNoAnimation=!1}ngOnChanges(){this.updateClass()}ngAfterViewInit(){this.updateClass()}updateClass(){const e=rl(this.element);e&&(this.nzNoAnimation||"NoopAnimations"===this.animationType?this.renderer.addClass(e,l_):this.renderer.removeClass(e,l_))}}return t.\u0275fac=function(e){return new(e||t)(f(ne),f(dt),f(tr,8))},t.\u0275dir=w({type:t,selectors:[["","nzNoAnimation",""]],inputs:{nzNoAnimation:"nzNoAnimation"},exportAs:["nzNoAnimation"],features:[$]}),ee([oe()],t.prototype,"nzNoAnimation",void 0),t})(),_4=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[dn]}),t})();const pR=["nz-modal-close",""];function fR(t,n){if(1&t&&(Re(0),X(1,"span",2),Be()),2&t){const e=n.$implicit;k(1),M("nzType",e)}}const c_=["modalElement"];function mR(t,n){if(1&t){const e=ht();R(0,"button",16),te("click",function(){return Ve(e),Ne(x().onCloseClick())}),j()}}function gR(t,n){if(1&t&&(Re(0),X(1,"span",17),Be()),2&t){const e=x();k(1),M("innerHTML",e.config.nzTitle,jr)}}function vR(t,n){}function yR(t,n){1&t&&X(0,"div",17),2&t&&M("innerHTML",x().config.nzContent,jr)}function _R(t,n){if(1&t){const e=ht();R(0,"button",18),te("click",function(){return Ve(e),Ne(x().onCancel())}),Et(1),j()}if(2&t){const e=x();M("nzLoading",!!e.config.nzCancelLoading)("disabled",e.config.nzCancelDisabled),Pt("cdkFocusInitial","cancel"===e.config.nzAutofocus||null),k(1),Wn(" ",e.config.nzCancelText||e.locale.cancelText," ")}}function CR(t,n){if(1&t){const e=ht();R(0,"button",19),te("click",function(){return Ve(e),Ne(x().onOk())}),Et(1),j()}if(2&t){const e=x();M("nzType",e.config.nzOkType)("nzLoading",!!e.config.nzOkLoading)("disabled",e.config.nzOkDisabled)("nzDanger",e.config.nzOkDanger),Pt("cdkFocusInitial","ok"===e.config.nzAutofocus||null),k(1),Wn(" ",e.config.nzOkText||e.locale.okText," ")}}const bR=["nz-modal-footer",""];function MR(t,n){1&t&&X(0,"div",5),2&t&&M("innerHTML",x(3).config.nzFooter,jr)}function zR(t,n){if(1&t){const e=ht();R(0,"button",7),te("click",function(){const r=Ve(e).$implicit;return Ne(x(4).onButtonClick(r))}),Et(1),j()}if(2&t){const e=n.$implicit,i=x(4);M("hidden",!i.getButtonCallableProp(e,"show"))("nzLoading",i.getButtonCallableProp(e,"loading"))("disabled",i.getButtonCallableProp(e,"disabled"))("nzType",e.type)("nzDanger",e.danger)("nzShape",e.shape)("nzSize",e.size)("nzGhost",e.ghost),k(1),Wn(" ",e.label," ")}}function wR(t,n){if(1&t&&(Re(0),T(1,zR,2,9,"button",6),Be()),2&t){const e=x(3);k(1),M("ngForOf",e.buttons)}}function SR(t,n){if(1&t&&(Re(0),T(1,MR,1,1,"div",3),T(2,wR,2,1,"ng-container",4),Be()),2&t){const e=x(2);k(1),M("ngIf",!e.buttonsFooter),k(1),M("ngIf",e.buttonsFooter)}}const DR=function(t,n){return{$implicit:t,modalRef:n}};function ER(t,n){if(1&t&&(Re(0),T(1,SR,3,2,"ng-container",2),Be()),2&t){const e=x();k(1),M("nzStringTemplateOutlet",e.config.nzFooter)("nzStringTemplateOutletContext",x5(2,DR,e.config.nzComponentParams,e.modalRef))}}function TR(t,n){if(1&t){const e=ht();R(0,"button",10),te("click",function(){return Ve(e),Ne(x(2).onCancel())}),Et(1),j()}if(2&t){const e=x(2);M("nzLoading",!!e.config.nzCancelLoading)("disabled",e.config.nzCancelDisabled),Pt("cdkFocusInitial","cancel"===e.config.nzAutofocus||null),k(1),Wn(" ",e.config.nzCancelText||e.locale.cancelText," ")}}function kR(t,n){if(1&t){const e=ht();R(0,"button",11),te("click",function(){return Ve(e),Ne(x(2).onOk())}),Et(1),j()}if(2&t){const e=x(2);M("nzType",e.config.nzOkType)("nzDanger",e.config.nzOkDanger)("nzLoading",!!e.config.nzOkLoading)("disabled",e.config.nzOkDisabled),Pt("cdkFocusInitial","ok"===e.config.nzAutofocus||null),k(1),Wn(" ",e.config.nzOkText||e.locale.okText," ")}}function xR(t,n){if(1&t&&(T(0,TR,2,4,"button",8),T(1,kR,2,6,"button",9)),2&t){const e=x();M("ngIf",null!==e.config.nzCancelText),k(1),M("ngIf",null!==e.config.nzOkText)}}const PR=["nz-modal-title",""];function AR(t,n){if(1&t&&(Re(0),X(1,"div",2),Be()),2&t){const e=x();k(1),M("innerHTML",e.config.nzTitle,jr)}}function IR(t,n){if(1&t){const e=ht();R(0,"button",9),te("click",function(){return Ve(e),Ne(x().onCloseClick())}),j()}}function OR(t,n){1&t&&X(0,"div",10)}function FR(t,n){}function VR(t,n){1&t&&X(0,"div",11),2&t&&M("innerHTML",x().config.nzContent,jr)}function NR(t,n){if(1&t){const e=ht();R(0,"div",12),te("cancelTriggered",function(){return Ve(e),Ne(x().onCloseClick())})("okTriggered",function(){return Ve(e),Ne(x().onOkClick())}),j()}2&t&&M("modalRef",x().modalRef)}const u_=()=>{};class mr{constructor(){this.nzCentered=!1,this.nzClosable=!0,this.nzOkLoading=!1,this.nzOkDisabled=!1,this.nzCancelDisabled=!1,this.nzCancelLoading=!1,this.nzNoAnimation=!1,this.nzAutofocus="auto",this.nzKeyboard=!0,this.nzZIndex=1e3,this.nzWidth=520,this.nzCloseIcon="close",this.nzOkType="primary",this.nzOkDanger=!1,this.nzModalType="default",this.nzOnCancel=u_,this.nzOnOk=u_,this.nzIconType="question-circle"}}const C4="ant-modal-mask",b4="modal",d_={modalContainer:Xn("modalContainer",[Cn("void, exit",J({})),Cn("enter",J({})),Ke("* => enter",We(".24s",J({}))),Ke("* => void, * => exit",We(".2s",J({})))])};function fl(t,n,e){return typeof t>"u"?typeof n>"u"?e:n:t}function h_(t){const{nzCentered:n,nzMask:e,nzMaskClosable:i,nzClosable:o,nzOkLoading:r,nzOkDisabled:s,nzCancelDisabled:a,nzCancelLoading:l,nzKeyboard:c,nzNoAnimation:u,nzContent:d,nzComponentParams:h,nzFooter:p,nzZIndex:m,nzWidth:g,nzWrapClassName:y,nzClassName:C,nzStyle:E,nzTitle:b,nzCloseIcon:O,nzMaskStyle:ye,nzBodyStyle:De,nzOkText:gt,nzCancelText:Nn,nzOkType:Te,nzOkDanger:it,nzIconType:bn,nzModalType:Ot,nzOnOk:Mn,nzOnCancel:ao,nzAfterOpen:lo,nzAfterClose:H,nzCloseOnNavigation:U,nzAutofocus:G}=t;return{nzCentered:n,nzMask:e,nzMaskClosable:i,nzClosable:o,nzOkLoading:r,nzOkDisabled:s,nzCancelDisabled:a,nzCancelLoading:l,nzKeyboard:c,nzNoAnimation:u,nzContent:d,nzComponentParams:h,nzFooter:p,nzZIndex:m,nzWidth:g,nzWrapClassName:y,nzClassName:C,nzStyle:E,nzTitle:b,nzCloseIcon:O,nzMaskStyle:ye,nzBodyStyle:De,nzOkText:gt,nzCancelText:Nn,nzOkType:Te,nzOkDanger:it,nzIconType:bn,nzModalType:Ot,nzOnOk:Mn,nzOnCancel:ao,nzAfterOpen:lo,nzAfterClose:H,nzCloseOnNavigation:U,nzAutofocus:G}}function p_(){throw Error("Attempting to attach modal content after content is already attached")}let f_=(()=>{class t extends g6{constructor(e,i,o,r,s,a,l,c,u,d){super(),this.ngZone=e,this.host=i,this.focusTrapFactory=o,this.cdr=r,this.render=s,this.overlayRef=a,this.nzConfigService=l,this.config=c,this.animationType=d,this.animationStateChanged=new _,this.containerClick=new _,this.cancelTriggered=new _,this.okTriggered=new _,this.state="enter",this.isStringContent=!1,this.dir="ltr",this.elementFocusedBeforeModalWasOpened=null,this.mouseDown=!1,this.oldMaskStyle=null,this.destroy$=new F,this.document=u,this.dir=a.getDirection(),this.isStringContent="string"==typeof c.nzContent,this.nzConfigService.getConfigChangeEventForComponent(b4).pipe(I(this.destroy$)).subscribe(()=>{this.updateMaskClassname()})}get showMask(){const e=this.nzConfigService.getConfigForComponent(b4)||{};return!!fl(this.config.nzMask,e.nzMask,!0)}get maskClosable(){const e=this.nzConfigService.getConfigForComponent(b4)||{};return!!fl(this.config.nzMaskClosable,e.nzMaskClosable,!0)}onContainerClick(e){e.target===e.currentTarget&&!this.mouseDown&&this.showMask&&this.maskClosable&&this.containerClick.emit()}onCloseClick(){this.cancelTriggered.emit()}onOkClick(){this.okTriggered.emit()}attachComponentPortal(e){return this.portalOutlet.hasAttached()&&p_(),this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop(),this.portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this.portalOutlet.hasAttached()&&p_(),this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop(),this.portalOutlet.attachTemplatePortal(e)}attachStringContent(){this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop()}getNativeElement(){return this.host.nativeElement}animationDisabled(){return this.config.nzNoAnimation||"NoopAnimations"===this.animationType}setModalTransformOrigin(){const e=this.modalElementRef.nativeElement;if(this.elementFocusedBeforeModalWasOpened){const i=this.elementFocusedBeforeModalWasOpened.getBoundingClientRect(),o=function IN(t){if(!t.getClientRects().length)return{top:0,left:0};const n=t.getBoundingClientRect(),e=t.ownerDocument.defaultView;return{top:n.top+e.pageYOffset,left:n.left+e.pageXOffset}}(this.elementFocusedBeforeModalWasOpened);this.render.setStyle(e,"transform-origin",`${o.left+i.width/2-e.offsetLeft}px ${o.top+i.height/2-e.offsetTop}px 0px`)}}savePreviouslyFocusedElement(){this.focusTrap||(this.focusTrap=this.focusTrapFactory.create(this.host.nativeElement)),this.document&&(this.elementFocusedBeforeModalWasOpened=this.document.activeElement,this.host.nativeElement.focus&&this.ngZone.runOutsideAngular(()=>P6(()=>this.host.nativeElement.focus())))}trapFocus(){const e=this.host.nativeElement;if(this.config.nzAutofocus)this.focusTrap.focusInitialElementWhenReady();else{const i=this.document.activeElement;i!==e&&!e.contains(i)&&e.focus()}}restoreFocus(){const e=this.elementFocusedBeforeModalWasOpened;if(e&&"function"==typeof e.focus){const i=this.document.activeElement,o=this.host.nativeElement;(!i||i===this.document.body||i===o||o.contains(i))&&e.focus()}this.focusTrap&&this.focusTrap.destroy()}setEnterAnimationClass(){if(this.animationDisabled())return;this.setModalTransformOrigin();const e=this.modalElementRef.nativeElement,i=this.overlayRef.backdropElement;e.classList.add("ant-zoom-enter"),e.classList.add("ant-zoom-enter-active"),i&&(i.classList.add("ant-fade-enter"),i.classList.add("ant-fade-enter-active"))}setExitAnimationClass(){const e=this.modalElementRef.nativeElement;e.classList.add("ant-zoom-leave"),e.classList.add("ant-zoom-leave-active"),this.setMaskExitAnimationClass()}setMaskExitAnimationClass(e=!1){const i=this.overlayRef.backdropElement;if(i){if(this.animationDisabled()||e)return void i.classList.remove(C4);i.classList.add("ant-fade-leave"),i.classList.add("ant-fade-leave-active")}}cleanAnimationClass(){if(this.animationDisabled())return;const e=this.overlayRef.backdropElement,i=this.modalElementRef.nativeElement;e&&(e.classList.remove("ant-fade-enter"),e.classList.remove("ant-fade-enter-active")),i.classList.remove("ant-zoom-enter"),i.classList.remove("ant-zoom-enter-active"),i.classList.remove("ant-zoom-leave"),i.classList.remove("ant-zoom-leave-active")}setZIndexForBackdrop(){const e=this.overlayRef.backdropElement;e&&mi(this.config.nzZIndex)&&this.render.setStyle(e,"z-index",this.config.nzZIndex)}bindBackdropStyle(){const e=this.overlayRef.backdropElement;if(e&&(this.oldMaskStyle&&(Object.keys(this.oldMaskStyle).forEach(o=>{this.render.removeStyle(e,o)}),this.oldMaskStyle=null),this.setZIndexForBackdrop(),"object"==typeof this.config.nzMaskStyle&&Object.keys(this.config.nzMaskStyle).length)){const i={...this.config.nzMaskStyle};Object.keys(i).forEach(o=>{this.render.setStyle(e,o,i[o])}),this.oldMaskStyle=i}}updateMaskClassname(){const e=this.overlayRef.backdropElement;e&&(this.showMask?e.classList.add(C4):e.classList.remove(C4))}onAnimationDone(e){"enter"===e.toState?this.trapFocus():"exit"===e.toState&&this.restoreFocus(),this.cleanAnimationClass(),this.animationStateChanged.emit(e)}onAnimationStart(e){"enter"===e.toState?(this.setEnterAnimationClass(),this.bindBackdropStyle()):"exit"===e.toState&&this.setExitAnimationClass(),this.animationStateChanged.emit(e)}startExitAnimation(){this.state="exit",this.cdr.markForCheck()}ngOnDestroy(){this.setMaskExitAnimationClass(!0),this.destroy$.next(),this.destroy$.complete()}setupMouseListeners(e){this.ngZone.runOutsideAngular(()=>{Zn(this.host.nativeElement,"mouseup").pipe(I(this.destroy$)).subscribe(()=>{this.mouseDown&&setTimeout(()=>{this.mouseDown=!1})}),Zn(e.nativeElement,"mousedown").pipe(I(this.destroy$)).subscribe(()=>{this.mouseDown=!0})})}}return t.\u0275fac=function(e){M3()},t.\u0275dir=w({type:t,features:[ie]}),t})(),m_=(()=>{class t{constructor(e){this.config=e}}return t.\u0275fac=function(e){return new(e||t)(f(mr))},t.\u0275cmp=ze({type:t,selectors:[["button","nz-modal-close",""]],hostAttrs:["aria-label","Close",1,"ant-modal-close"],exportAs:["NzModalCloseBuiltin"],attrs:pR,decls:2,vars:1,consts:[[1,"ant-modal-close-x"],[4,"nzStringTemplateOutlet"],["nz-icon","",1,"ant-modal-close-icon",3,"nzType"]],template:function(e,i){1&e&&(R(0,"span",0),T(1,fR,2,1,"ng-container",1),j()),2&e&&(k(1),M("nzStringTemplateOutlet",i.config.nzCloseIcon))},dependencies:[Oi,Vi,Fi],encapsulation:2,changeDetection:0}),t})(),RR=(()=>{class t extends f_{constructor(e,i,o,r,s,a,l,c,u,d,h){super(e,o,r,s,a,l,c,u,d,h),this.i18n=i,this.config=u,this.cancelTriggered=new _,this.okTriggered=new _,this.i18n.localeChange.pipe(I(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Modal")})}ngOnInit(){this.setupMouseListeners(this.modalElementRef)}onCancel(){this.cancelTriggered.emit()}onOk(){this.okTriggered.emit()}}return t.\u0275fac=function(e){return new(e||t)(f(N),f(m4),f(ne),f(vy),f(It),f(dt),f(o4),f(fr),f(mr),f(_e,8),f(tr,8))},t.\u0275cmp=ze({type:t,selectors:[["nz-modal-confirm-container"]],viewQuery:function(e,i){if(1&e&&(Tt(dl,7),Tt(c_,7)),2&e){let o;we(o=Se())&&(i.portalOutlet=o.first),we(o=Se())&&(i.modalElementRef=o.first)}},hostAttrs:["tabindex","-1","role","dialog"],hostVars:10,hostBindings:function(e,i){1&e&&(_c("@modalContainer.start",function(r){return i.onAnimationStart(r)})("@modalContainer.done",function(r){return i.onAnimationDone(r)}),te("click",function(r){return i.onContainerClick(r)})),2&e&&(ss("@.disabled",i.config.nzNoAnimation)("@modalContainer",i.state),U3(i.config.nzWrapClassName?"ant-modal-wrap "+i.config.nzWrapClassName:"ant-modal-wrap"),$n("z-index",i.config.nzZIndex),et("ant-modal-wrap-rtl","rtl"===i.dir)("ant-modal-centered",i.config.nzCentered))},outputs:{cancelTriggered:"cancelTriggered",okTriggered:"okTriggered"},exportAs:["nzModalConfirmContainer"],features:[ie],decls:17,vars:13,consts:[["role","document",1,"ant-modal",3,"ngClass","ngStyle"],["modalElement",""],[1,"ant-modal-content"],["nz-modal-close","",3,"click",4,"ngIf"],[1,"ant-modal-body",3,"ngStyle"],[1,"ant-modal-confirm-body-wrapper"],[1,"ant-modal-confirm-body"],["nz-icon","",3,"nzType"],[1,"ant-modal-confirm-title"],[4,"nzStringTemplateOutlet"],[1,"ant-modal-confirm-content"],["cdkPortalOutlet",""],[3,"innerHTML",4,"ngIf"],[1,"ant-modal-confirm-btns"],["nz-button","",3,"nzLoading","disabled","click",4,"ngIf"],["nz-button","",3,"nzType","nzLoading","disabled","nzDanger","click",4,"ngIf"],["nz-modal-close","",3,"click"],[3,"innerHTML"],["nz-button","",3,"nzLoading","disabled","click"],["nz-button","",3,"nzType","nzLoading","disabled","nzDanger","click"]],template:function(e,i){1&e&&(R(0,"div",0,1),t8(2,"nzToCssUnit"),R(3,"div",2),T(4,mR,1,0,"button",3),R(5,"div",4)(6,"div",5)(7,"div",6),X(8,"span",7),R(9,"span",8),T(10,gR,2,1,"ng-container",9),j(),R(11,"div",10),T(12,vR,0,0,"ng-template",11),T(13,yR,1,1,"div",12),j()(),R(14,"div",13),T(15,_R,2,4,"button",14),T(16,CR,2,6,"button",15),j()()()()()),2&e&&($n("width",n8(2,11,null==i.config?null:i.config.nzWidth)),M("ngClass",i.config.nzClassName)("ngStyle",i.config.nzStyle),k(4),M("ngIf",i.config.nzClosable),k(1),M("ngStyle",i.config.nzBodyStyle),k(3),M("nzType",i.config.nzIconType),k(2),M("nzStringTemplateOutlet",i.config.nzTitle),k(3),M("ngIf",i.isStringContent),k(2),M("ngIf",null!==i.config.nzCancelText),k(1),M("ngIf",null!==i.config.nzOkText))},dependencies:[Gc,xt,Zc,Oi,dl,r_,Vi,n_,Fi,m_,W6],encapsulation:2,data:{animation:[d_.modalContainer]}}),t})(),BR=(()=>{class t{constructor(e,i){this.i18n=e,this.config=i,this.buttonsFooter=!1,this.buttons=[],this.cancelTriggered=new _,this.okTriggered=new _,this.destroy$=new F,Array.isArray(i.nzFooter)&&(this.buttonsFooter=!0,this.buttons=i.nzFooter.map(YR)),this.i18n.localeChange.pipe(I(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Modal")})}onCancel(){this.cancelTriggered.emit()}onOk(){this.okTriggered.emit()}getButtonCallableProp(e,i){const o=e[i],r=this.modalRef.getContentComponent();return"function"==typeof o?o.apply(e,r&&[r]):o}onButtonClick(e){if(!this.getButtonCallableProp(e,"loading")){const o=this.getButtonCallableProp(e,"onClick");e.autoLoading&&M6(o)&&(e.loading=!0,o.then(()=>e.loading=!1).catch(r=>{throw e.loading=!1,r}))}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return t.\u0275fac=function(e){return new(e||t)(f(m4),f(mr))},t.\u0275cmp=ze({type:t,selectors:[["div","nz-modal-footer",""]],hostAttrs:[1,"ant-modal-footer"],inputs:{modalRef:"modalRef"},outputs:{cancelTriggered:"cancelTriggered",okTriggered:"okTriggered"},exportAs:["NzModalFooterBuiltin"],attrs:bR,decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["defaultFooterButtons",""],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[3,"innerHTML",4,"ngIf"],[4,"ngIf"],[3,"innerHTML"],["nz-button","",3,"hidden","nzLoading","disabled","nzType","nzDanger","nzShape","nzSize","nzGhost","click",4,"ngFor","ngForOf"],["nz-button","",3,"hidden","nzLoading","disabled","nzType","nzDanger","nzShape","nzSize","nzGhost","click"],["nz-button","",3,"nzLoading","disabled","click",4,"ngIf"],["nz-button","",3,"nzType","nzDanger","nzLoading","disabled","click",4,"ngIf"],["nz-button","",3,"nzLoading","disabled","click"],["nz-button","",3,"nzType","nzDanger","nzLoading","disabled","click"]],template:function(e,i){if(1&e&&(T(0,ER,2,5,"ng-container",0),T(1,xR,2,2,"ng-template",null,1,xi)),2&e){const o=ln(2);M("ngIf",i.config.nzFooter)("ngIfElse",o)}},dependencies:[qc,xt,Oi,r_,Vi,n_],encapsulation:2}),t})();function YR(t){return{type:null,size:"default",autoLoading:!0,show:!0,loading:!1,disabled:!1,...t}}let jR=(()=>{class t{constructor(e){this.config=e}}return t.\u0275fac=function(e){return new(e||t)(f(mr))},t.\u0275cmp=ze({type:t,selectors:[["div","nz-modal-title",""]],hostAttrs:[1,"ant-modal-header"],exportAs:["NzModalTitleBuiltin"],attrs:PR,decls:2,vars:1,consts:[[1,"ant-modal-title"],[4,"nzStringTemplateOutlet"],[3,"innerHTML"]],template:function(e,i){1&e&&(R(0,"div",0),T(1,AR,2,1,"ng-container",1),j()),2&e&&(k(1),M("nzStringTemplateOutlet",i.config.nzTitle))},dependencies:[Oi],encapsulation:2,changeDetection:0}),t})(),UR=(()=>{class t extends f_{constructor(e,i,o,r,s,a,l,c,u,d){super(e,i,o,r,s,a,l,c,u,d),this.config=c}ngOnInit(){this.setupMouseListeners(this.modalElementRef)}}return t.\u0275fac=function(e){return new(e||t)(f(N),f(ne),f(vy),f(It),f(dt),f(o4),f(fr),f(mr),f(_e,8),f(tr,8))},t.\u0275cmp=ze({type:t,selectors:[["nz-modal-container"]],viewQuery:function(e,i){if(1&e&&(Tt(dl,7),Tt(c_,7)),2&e){let o;we(o=Se())&&(i.portalOutlet=o.first),we(o=Se())&&(i.modalElementRef=o.first)}},hostAttrs:["tabindex","-1","role","dialog"],hostVars:10,hostBindings:function(e,i){1&e&&(_c("@modalContainer.start",function(r){return i.onAnimationStart(r)})("@modalContainer.done",function(r){return i.onAnimationDone(r)}),te("click",function(r){return i.onContainerClick(r)})),2&e&&(ss("@.disabled",i.config.nzNoAnimation)("@modalContainer",i.state),U3(i.config.nzWrapClassName?"ant-modal-wrap "+i.config.nzWrapClassName:"ant-modal-wrap"),$n("z-index",i.config.nzZIndex),et("ant-modal-wrap-rtl","rtl"===i.dir)("ant-modal-centered",i.config.nzCentered))},exportAs:["nzModalContainer"],features:[ie],decls:10,vars:11,consts:[["role","document",1,"ant-modal",3,"ngClass","ngStyle"],["modalElement",""],[1,"ant-modal-content"],["nz-modal-close","",3,"click",4,"ngIf"],["nz-modal-title","",4,"ngIf"],[1,"ant-modal-body",3,"ngStyle"],["cdkPortalOutlet",""],[3,"innerHTML",4,"ngIf"],["nz-modal-footer","",3,"modalRef","cancelTriggered","okTriggered",4,"ngIf"],["nz-modal-close","",3,"click"],["nz-modal-title",""],[3,"innerHTML"],["nz-modal-footer","",3,"modalRef","cancelTriggered","okTriggered"]],template:function(e,i){1&e&&(R(0,"div",0,1),t8(2,"nzToCssUnit"),R(3,"div",2),T(4,IR,1,0,"button",3),T(5,OR,1,0,"div",4),R(6,"div",5),T(7,FR,0,0,"ng-template",6),T(8,VR,1,1,"div",7),j(),T(9,NR,1,1,"div",8),j()()),2&e&&($n("width",n8(2,9,null==i.config?null:i.config.nzWidth)),M("ngClass",i.config.nzClassName)("ngStyle",i.config.nzStyle),k(4),M("ngIf",i.config.nzClosable),k(1),M("ngIf",i.config.nzTitle),k(1),M("ngStyle",i.config.nzBodyStyle),k(2),M("ngIf",i.isStringContent),k(1),M("ngIf",null!==i.config.nzFooter))},dependencies:[Gc,xt,Zc,dl,m_,BR,jR,W6],encapsulation:2,data:{animation:[d_.modalContainer]}}),t})();class M4{constructor(n,e,i){this.overlayRef=n,this.config=e,this.containerInstance=i,this.componentInstance=null,this.state=0,this.afterClose=new F,this.afterOpen=new F,this.destroy$=new F,i.animationStateChanged.pipe(bt(o=>"done"===o.phaseName&&"enter"===o.toState),Ct(1)).subscribe(()=>{this.afterOpen.next(),this.afterOpen.complete(),e.nzAfterOpen instanceof _&&e.nzAfterOpen.emit()}),i.animationStateChanged.pipe(bt(o=>"done"===o.phaseName&&"exit"===o.toState),Ct(1)).subscribe(()=>{clearTimeout(this.closeTimeout),this._finishDialogClose()}),i.containerClick.pipe(Ct(1),I(this.destroy$)).subscribe(()=>{!this.config.nzCancelLoading&&!this.config.nzOkLoading&&this.trigger("cancel")}),n.keydownEvents().pipe(bt(o=>this.config.nzKeyboard&&!this.config.nzCancelLoading&&!this.config.nzOkLoading&&27===o.keyCode&&!Iv(o))).subscribe(o=>{o.preventDefault(),this.trigger("cancel")}),i.cancelTriggered.pipe(I(this.destroy$)).subscribe(()=>this.trigger("cancel")),i.okTriggered.pipe(I(this.destroy$)).subscribe(()=>this.trigger("ok")),n.detachments().subscribe(()=>{this.afterClose.next(this.result),this.afterClose.complete(),e.nzAfterClose instanceof _&&e.nzAfterClose.emit(this.result),this.componentInstance=null,this.overlayRef.dispose()})}getContentComponent(){return this.componentInstance}getElement(){return this.containerInstance.getNativeElement()}destroy(n){this.close(n)}triggerOk(){return this.trigger("ok")}triggerCancel(){return this.trigger("cancel")}close(n){0===this.state&&(this.result=n,this.containerInstance.animationStateChanged.pipe(bt(e=>"start"===e.phaseName),Ct(1)).subscribe(e=>{this.overlayRef.detachBackdrop(),this.closeTimeout=setTimeout(()=>{this._finishDialogClose()},e.totalTime+100)}),this.containerInstance.startExitAnimation(),this.state=1)}updateConfig(n){Object.assign(this.config,n),this.containerInstance.bindBackdropStyle(),this.containerInstance.cdr.markForCheck()}getState(){return this.state}getConfig(){return this.config}getBackdropElement(){return this.overlayRef.backdropElement}trigger(n){var e=this;return k1(function*(){if(1===e.state)return;const i={ok:e.config.nzOnOk,cancel:e.config.nzOnCancel}[n],o={ok:"nzOkLoading",cancel:"nzCancelLoading"}[n];if(!e.config[o])if(i instanceof _)i.emit(e.getContentComponent());else if("function"==typeof i){const s=i(e.getContentComponent());if(M6(s)){e.config[o]=!0;let a=!1;try{a=yield s}finally{e.config[o]=!1,e.closeWhitResult(a)}}else e.closeWhitResult(s)}})()}closeWhitResult(n){!1!==n&&this.close(n)}_finishDialogClose(){this.state=2,this.overlayRef.dispose(),this.destroy$.next()}}let g_=(()=>{class t{constructor(e,i,o,r,s){this.overlay=e,this.injector=i,this.nzConfigService=o,this.parentModal=r,this.directionality=s,this.openModalsAtThisLevel=[],this.afterAllClosedAtThisLevel=new F,this.afterAllClose=J8(()=>this.openModals.length?this._afterAllClosed:this._afterAllClosed.pipe(Rt(void 0)))}get openModals(){return this.parentModal?this.parentModal.openModals:this.openModalsAtThisLevel}get _afterAllClosed(){const e=this.parentModal;return e?e._afterAllClosed:this.afterAllClosedAtThisLevel}create(e){return this.open(e.nzContent,e)}closeAll(){this.closeModals(this.openModals)}confirm(e={},i="confirm"){return"nzFooter"in e&&ks('The Confirm-Modal doesn\'t support "nzFooter", this property will be ignored.'),"nzWidth"in e||(e.nzWidth=416),"nzMaskClosable"in e||(e.nzMaskClosable=!1),e.nzModalType="confirm",e.nzClassName=`ant-modal-confirm ant-modal-confirm-${i} ${e.nzClassName||""}`,this.create(e)}info(e={}){return this.confirmFactory(e,"info")}success(e={}){return this.confirmFactory(e,"success")}error(e={}){return this.confirmFactory(e,"error")}warning(e={}){return this.confirmFactory(e,"warning")}open(e,i){const o=function LR(t,n){return{...n,...t}}(i||{},new mr),r=this.createOverlay(o),s=this.attachModalContainer(r,o),a=this.attachModalContent(e,s,r,o);return s.modalRef=a,this.openModals.push(a),a.afterClose.subscribe(()=>this.removeOpenModal(a)),a}removeOpenModal(e){const i=this.openModals.indexOf(e);i>-1&&(this.openModals.splice(i,1),this.openModals.length||this._afterAllClosed.next())}closeModals(e){let i=e.length;for(;i--;)e[i].close(),this.openModals.length||this._afterAllClosed.next()}createOverlay(e){const i=this.nzConfigService.getConfigForComponent(b4)||{},o=new _6({hasBackdrop:!0,scrollStrategy:this.overlay.scrollStrategies.block(),positionStrategy:this.overlay.position().global(),disposeOnNavigation:fl(e.nzCloseOnNavigation,i.nzCloseOnNavigation,!0),direction:fl(e.nzDirection,i.nzDirection,this.directionality.value)});return fl(e.nzMask,i.nzMask,!0)&&(o.backdropClass=C4),this.overlay.create(o)}attachModalContainer(e,i){const r=St.create({parent:i&&i.nzViewContainerRef&&i.nzViewContainerRef.injector||this.injector,providers:[{provide:o4,useValue:e},{provide:mr,useValue:i}]}),a=new e4("confirm"===i.nzModalType?RR:UR,i.nzViewContainerRef,r);return e.attach(a).instance}attachModalContent(e,i,o,r){const s=new M4(o,r,i);if(e instanceof $e)i.attachTemplatePortal(new t4(e,null,{$implicit:r.nzComponentParams,modalRef:s}));else if(mi(e)&&"string"!=typeof e){const a=this.createInjector(s,r),l=i.attachComponentPortal(new e4(e,r.nzViewContainerRef,a));(function HR(t,n){Object.assign(t,n)})(l.instance,r.nzComponentParams),s.componentInstance=l.instance}else i.attachStringContent();return s}createInjector(e,i){return St.create({parent:i&&i.nzViewContainerRef&&i.nzViewContainerRef.injector||this.injector,providers:[{provide:M4,useValue:e}]})}confirmFactory(e={},i){return"nzIconType"in e||(e.nzIconType={info:"info-circle",success:"check-circle",error:"close-circle",warning:"exclamation-circle"}[i]),"nzCancelText"in e||(e.nzCancelText=null),this.confirm(e,i)}ngOnDestroy(){this.closeModals(this.openModalsAtThisLevel),this.afterAllClosedAtThisLevel.complete()}}return t.\u0275fac=function(e){return new(e||t)(v(r4),v(St),v(fr),v(t,12),v(en,8))},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})(),v_=(()=>{class t{constructor(e){this.templateRef=e}}return t.\u0275fac=function(e){return new(e||t)(f($e))},t.\u0275dir=w({type:t,selectors:[["","nzModalContent",""]],exportAs:["nzModalContent"]}),t})(),$R=(()=>{class t{constructor(e,i){this.nzModalRef=e,this.templateRef=i,this.nzModalRef&&this.nzModalRef.updateConfig({nzFooter:this.templateRef})}}return t.\u0275fac=function(e){return new(e||t)(f(M4,8),f($e))},t.\u0275dir=w({type:t,selectors:[["","nzModalFooter",""]],exportAs:["nzModalFooter"]}),t})(),WR=(()=>{class t{constructor(e,i){this.nzModalRef=e,this.templateRef=i,this.nzModalRef&&this.nzModalRef.updateConfig({nzTitle:this.templateRef})}}return t.\u0275fac=function(e){return new(e||t)(f(M4,8),f($e))},t.\u0275dir=w({type:t,selectors:[["","nzModalTitle",""]],exportAs:["nzModalTitle"]}),t})(),GR=(()=>{class t{constructor(e,i,o){this.cdr=e,this.modal=i,this.viewContainerRef=o,this.nzVisible=!1,this.nzClosable=!0,this.nzOkLoading=!1,this.nzOkDisabled=!1,this.nzCancelDisabled=!1,this.nzCancelLoading=!1,this.nzKeyboard=!0,this.nzNoAnimation=!1,this.nzCentered=!1,this.nzZIndex=1e3,this.nzWidth=520,this.nzCloseIcon="close",this.nzOkType="primary",this.nzOkDanger=!1,this.nzIconType="question-circle",this.nzModalType="default",this.nzAutofocus="auto",this.nzOnOk=new _,this.nzOnCancel=new _,this.nzAfterOpen=new _,this.nzAfterClose=new _,this.nzVisibleChange=new _,this.modalRef=null,this.destroy$=new F}set modalTitle(e){e&&this.setTitleWithTemplate(e)}set modalFooter(e){e&&this.setFooterWithTemplate(e)}get afterOpen(){return this.nzAfterOpen.asObservable()}get afterClose(){return this.nzAfterClose.asObservable()}open(){if(this.nzVisible||(this.nzVisible=!0,this.nzVisibleChange.emit(!0)),!this.modalRef){const e=this.getConfig();this.modalRef=this.modal.create(e),this.modalRef.afterClose.asObservable().pipe(I(this.destroy$)).subscribe(()=>{this.close()})}}close(e){this.nzVisible&&(this.nzVisible=!1,this.nzVisibleChange.emit(!1)),this.modalRef&&(this.modalRef.close(e),this.modalRef=null)}destroy(e){this.close(e)}triggerOk(){this.modalRef?.triggerOk()}triggerCancel(){this.modalRef?.triggerCancel()}getContentComponent(){return this.modalRef?.getContentComponent()}getElement(){return this.modalRef?.getElement()}getModalRef(){return this.modalRef}setTitleWithTemplate(e){this.nzTitle=e,this.modalRef&&Promise.resolve().then(()=>{this.modalRef.updateConfig({nzTitle:this.nzTitle})})}setFooterWithTemplate(e){this.nzFooter=e,this.modalRef&&Promise.resolve().then(()=>{this.modalRef.updateConfig({nzFooter:this.nzFooter})}),this.cdr.markForCheck()}getConfig(){const e=h_(this);return e.nzViewContainerRef=this.viewContainerRef,e.nzContent=this.nzContent||this.contentFromContentChild,e}ngOnChanges(e){const{nzVisible:i,...o}=e;Object.keys(o).length&&this.modalRef&&this.modalRef.updateConfig(h_(this)),i&&(this.nzVisible?this.open():this.close())}ngOnDestroy(){this.modalRef?._finishDialogClose(),this.destroy$.next(),this.destroy$.complete()}}return t.\u0275fac=function(e){return new(e||t)(f(It),f(g_),f(Ht))},t.\u0275cmp=ze({type:t,selectors:[["nz-modal"]],contentQueries:function(e,i,o){if(1&e&&(At(o,WR,7,$e),At(o,v_,7,$e),At(o,$R,7,$e)),2&e){let r;we(r=Se())&&(i.modalTitle=r.first),we(r=Se())&&(i.contentFromContentChild=r.first),we(r=Se())&&(i.modalFooter=r.first)}},inputs:{nzMask:"nzMask",nzMaskClosable:"nzMaskClosable",nzCloseOnNavigation:"nzCloseOnNavigation",nzVisible:"nzVisible",nzClosable:"nzClosable",nzOkLoading:"nzOkLoading",nzOkDisabled:"nzOkDisabled",nzCancelDisabled:"nzCancelDisabled",nzCancelLoading:"nzCancelLoading",nzKeyboard:"nzKeyboard",nzNoAnimation:"nzNoAnimation",nzCentered:"nzCentered",nzContent:"nzContent",nzComponentParams:"nzComponentParams",nzFooter:"nzFooter",nzZIndex:"nzZIndex",nzWidth:"nzWidth",nzWrapClassName:"nzWrapClassName",nzClassName:"nzClassName",nzStyle:"nzStyle",nzTitle:"nzTitle",nzCloseIcon:"nzCloseIcon",nzMaskStyle:"nzMaskStyle",nzBodyStyle:"nzBodyStyle",nzOkText:"nzOkText",nzCancelText:"nzCancelText",nzOkType:"nzOkType",nzOkDanger:"nzOkDanger",nzIconType:"nzIconType",nzModalType:"nzModalType",nzAutofocus:"nzAutofocus",nzOnOk:"nzOnOk",nzOnCancel:"nzOnCancel"},outputs:{nzOnOk:"nzOnOk",nzOnCancel:"nzOnCancel",nzAfterOpen:"nzAfterOpen",nzAfterClose:"nzAfterClose",nzVisibleChange:"nzVisibleChange"},exportAs:["nzModal"],features:[$],decls:0,vars:0,template:function(e,i){},encapsulation:2,changeDetection:0}),ee([oe()],t.prototype,"nzMask",void 0),ee([oe()],t.prototype,"nzMaskClosable",void 0),ee([oe()],t.prototype,"nzCloseOnNavigation",void 0),ee([oe()],t.prototype,"nzVisible",void 0),ee([oe()],t.prototype,"nzClosable",void 0),ee([oe()],t.prototype,"nzOkLoading",void 0),ee([oe()],t.prototype,"nzOkDisabled",void 0),ee([oe()],t.prototype,"nzCancelDisabled",void 0),ee([oe()],t.prototype,"nzCancelLoading",void 0),ee([oe()],t.prototype,"nzKeyboard",void 0),ee([oe()],t.prototype,"nzNoAnimation",void 0),ee([oe()],t.prototype,"nzCentered",void 0),ee([oe()],t.prototype,"nzOkDanger",void 0),t})(),qR=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({providers:[g_],imports:[dn,An,a4,Is,v6,B6,s_,ro,a_,_4,a_]}),t})();const G6=()=>{};let KR=(()=>{class t{constructor(e,i){this.ngZone=e,this.rendererFactory2=i,this.resizeSource$=new F,this.listeners=0,this.disposeHandle=G6,this.handler=()=>{this.ngZone.run(()=>{this.resizeSource$.next()})},this.renderer=this.rendererFactory2.createRenderer(null,null)}ngOnDestroy(){this.handler=G6}subscribe(){return this.registerListener(),this.resizeSource$.pipe(ll(16),Oa(()=>this.unregisterListener()))}unsubscribe(){this.unregisterListener()}registerListener(){0===this.listeners&&this.ngZone.runOutsideAngular(()=>{this.disposeHandle=this.renderer.listen("window","resize",this.handler)}),this.listeners+=1}unregisterListener(){this.listeners-=1,0===this.listeners&&(this.disposeHandle(),this.disposeHandle=G6)}}return t.\u0275fac=function(e){return new(e||t)(v(N),v(po))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var z4=(()=>{return(t=z4||(z4={})).xxl="xxl",t.xl="xl",t.lg="lg",t.md="md",t.sm="sm",t.xs="xs",z4;var t})();const w4={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"};let ZR=(()=>{class t{constructor(e,i){this.resizeService=e,this.mediaMatcher=i,this.destroy$=new F,this.resizeService.subscribe().pipe(I(this.destroy$)).subscribe(()=>{})}ngOnDestroy(){this.destroy$.next()}subscribe(e,i){if(i){const o=()=>this.matchMedia(e,!0);return this.resizeService.subscribe().pipe(B(o),Rt(o()),To((r,s)=>r[0]===s[0]),B(r=>r[1]))}{const o=()=>this.matchMedia(e);return this.resizeService.subscribe().pipe(B(o),Rt(o()),To())}}matchMedia(e,i){let o=z4.md;const r={};return Object.keys(e).map(s=>{const a=s,l=this.mediaMatcher.matchMedia(w4[a]).matches;r[s]=l,l&&(o=a)}),i?[o,r]:o}}return t.\u0275fac=function(e){return new(e||t)(v(KR),v(I6))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Io=(()=>{class t extends F{ngOnDestroy(){this.next(),this.complete()}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=je(t)))(i||t)}}(),t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})();const ke={top:new Je({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),topCenter:new Je({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),topLeft:new Je({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}),topRight:new Je({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"}),right:new Je({originX:"end",originY:"center"},{overlayX:"start",overlayY:"center"}),rightTop:new Je({originX:"end",originY:"top"},{overlayX:"start",overlayY:"top"}),rightBottom:new Je({originX:"end",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),bottom:new Je({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),bottomCenter:new Je({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),bottomLeft:new Je({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}),bottomRight:new Je({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"}),left:new Je({originX:"start",originY:"center"},{overlayX:"end",overlayY:"center"}),leftTop:new Je({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"}),leftBottom:new Je({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"})};function q6(t){for(const n in ke)if(t.connectionPair.originX===ke[n].originX&&t.connectionPair.originY===ke[n].originY&&t.connectionPair.overlayX===ke[n].overlayX&&t.connectionPair.overlayY===ke[n].overlayY)return n}new Je({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),new Je({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"}),new Je({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"top"}),new Je({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"},void 0,2),new Je({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"},void 0,-2),new Je({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"},void 0,2),new Je({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"},void 0,-2);let XR=(()=>{class t{constructor(e,i){this.cdkConnectedOverlay=e,this.nzDestroyService=i,this.nzArrowPointAtCenter=!1,this.cdkConnectedOverlay.backdropClass="nz-overlay-transparent-backdrop",this.cdkConnectedOverlay.positionChange.pipe(I(this.nzDestroyService)).subscribe(o=>{this.nzArrowPointAtCenter&&this.updateArrowPosition(o)})}updateArrowPosition(e){const i=this.getOriginRect(),o=q6(e);let r=0,s=0;"topLeft"===o||"bottomLeft"===o?r=i.width/2-14:"topRight"===o||"bottomRight"===o?r=-(i.width/2-14):"leftTop"===o||"rightTop"===o?s=i.height/2-10:("leftBottom"===o||"rightBottom"===o)&&(s=-(i.height/2-10)),(this.cdkConnectedOverlay.offsetX!==r||this.cdkConnectedOverlay.offsetY!==s)&&(this.cdkConnectedOverlay.offsetY=s,this.cdkConnectedOverlay.offsetX=r,this.cdkConnectedOverlay.overlayRef.updatePosition())}getFlexibleConnectedPositionStrategyOrigin(){return this.cdkConnectedOverlay.origin instanceof Ts?this.cdkConnectedOverlay.origin.elementRef:this.cdkConnectedOverlay.origin}getOriginRect(){const e=this.getFlexibleConnectedPositionStrategyOrigin();if(e instanceof ne)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();const i=e.width||0,o=e.height||0;return{top:e.y,bottom:e.y+o,left:e.x,right:e.x+i,height:o,width:i}}}return t.\u0275fac=function(e){return new(e||t)(f(s4),f(Io))},t.\u0275dir=w({type:t,selectors:[["","cdkConnectedOverlay","","nzConnectedOverlay",""]],inputs:{nzArrowPointAtCenter:"nzArrowPointAtCenter"},exportAs:["nzConnectedOverlay"],features:[ce([Io])]}),ee([oe()],t.prototype,"nzArrowPointAtCenter",void 0),t})(),y_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({}),t})(),On=(()=>{class t{}return t.SLOW="0.3s",t.BASE="0.2s",t.FAST="0.1s",t})(),nn=(()=>{class t{}return t.EASE_BASE_OUT="cubic-bezier(0.7, 0.3, 0.1, 1)",t.EASE_BASE_IN="cubic-bezier(0.9, 0, 0.3, 0.7)",t.EASE_OUT="cubic-bezier(0.215, 0.61, 0.355, 1)",t.EASE_IN="cubic-bezier(0.55, 0.055, 0.675, 0.19)",t.EASE_IN_OUT="cubic-bezier(0.645, 0.045, 0.355, 1)",t.EASE_OUT_BACK="cubic-bezier(0.12, 0.4, 0.29, 1.46)",t.EASE_IN_BACK="cubic-bezier(0.71, -0.46, 0.88, 0.6)",t.EASE_IN_OUT_BACK="cubic-bezier(0.71, -0.46, 0.29, 1.46)",t.EASE_OUT_CIRC="cubic-bezier(0.08, 0.82, 0.17, 1)",t.EASE_IN_CIRC="cubic-bezier(0.6, 0.04, 0.98, 0.34)",t.EASE_IN_OUT_CIRC="cubic-bezier(0.78, 0.14, 0.15, 0.86)",t.EASE_OUT_QUINT="cubic-bezier(0.23, 1, 0.32, 1)",t.EASE_IN_QUINT="cubic-bezier(0.755, 0.05, 0.855, 0.06)",t.EASE_IN_OUT_QUINT="cubic-bezier(0.86, 0, 0.07, 1)",t})();const QR=Xn("collapseMotion",[Cn("expanded",J({height:"*"})),Cn("collapsed",J({height:0,overflow:"hidden"})),Cn("hidden",J({height:0,overflow:"hidden",borderTopWidth:"0"})),Ke("expanded => collapsed",We(`150ms ${nn.EASE_IN_OUT}`)),Ke("expanded => hidden",We(`150ms ${nn.EASE_IN_OUT}`)),Ke("collapsed => expanded",We(`150ms ${nn.EASE_IN_OUT}`)),Ke("hidden => expanded",We(`150ms ${nn.EASE_IN_OUT}`))]),JR=(Xn("treeCollapseMotion",[Ke("* => *",[oy("nz-tree-node:leave,nz-tree-builtin-node:leave",[J({overflow:"hidden"}),ry(0,[We(`150ms ${nn.EASE_IN_OUT}`,J({height:0,opacity:0,"padding-bottom":0}))])],{optional:!0}),oy("nz-tree-node:enter,nz-tree-builtin-node:enter",[J({overflow:"hidden",height:0,opacity:0,"padding-bottom":0}),ry(0,[We(`150ms ${nn.EASE_IN_OUT}`,J({overflow:"hidden",height:"*",opacity:"*","padding-bottom":"*"}))])],{optional:!0})])]),Xn("fadeMotion",[Ke(":enter",[J({opacity:0}),We(`${On.BASE}`,J({opacity:1}))]),Ke(":leave",[J({opacity:1}),We(`${On.BASE}`,J({opacity:0}))])]),Xn("helpMotion",[Ke(":enter",[J({opacity:0,transform:"translateY(-5px)"}),We(`${On.SLOW} ${nn.EASE_IN_OUT}`,J({opacity:1,transform:"translateY(0)"}))]),Ke(":leave",[J({opacity:1,transform:"translateY(0)"}),We(`${On.SLOW} ${nn.EASE_IN_OUT}`,J({opacity:0,transform:"translateY(-5px)"}))])]),Xn("moveUpMotion",[Ke("* => enter",[J({transformOrigin:"0 0",transform:"translateY(-100%)",opacity:0}),We(`${On.BASE}`,J({transformOrigin:"0 0",transform:"translateY(0%)",opacity:1}))]),Ke("* => leave",[J({transformOrigin:"0 0",transform:"translateY(0%)",opacity:1}),We(`${On.BASE}`,J({transformOrigin:"0 0",transform:"translateY(-100%)",opacity:0}))])]),Xn("notificationMotion",[Cn("enterRight",J({opacity:1,transform:"translateX(0)"})),Ke("* => enterRight",[J({opacity:0,transform:"translateX(5%)"}),We("100ms linear")]),Cn("enterLeft",J({opacity:1,transform:"translateX(0)"})),Ke("* => enterLeft",[J({opacity:0,transform:"translateX(-5%)"}),We("100ms linear")]),Cn("enterTop",J({opacity:1,transform:"translateY(0)"})),Ke("* => enterTop",[J({opacity:0,transform:"translateY(-5%)"}),We("100ms linear")]),Cn("enterBottom",J({opacity:1,transform:"translateY(0)"})),Ke("* => enterBottom",[J({opacity:0,transform:"translateY(5%)"}),We("100ms linear")]),Cn("leave",J({opacity:0,transform:"scaleY(0.8)",transformOrigin:"0% 0%"})),Ke("* => leave",[J({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),We("100ms linear")])]),`${On.BASE} ${nn.EASE_OUT_QUINT}`),eB=`${On.BASE} ${nn.EASE_IN_QUINT}`,__=Xn("slideMotion",[Cn("void",J({opacity:0,transform:"scaleY(0.8)"})),Cn("enter",J({opacity:1,transform:"scaleY(1)"})),Ke("void => *",[We(JR)]),Ke("* => void",[We(eB)])]),tB=(Xn("slideAlertMotion",[Ke(":leave",[J({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),We(`${On.SLOW} ${nn.EASE_IN_OUT_CIRC}`,J({opacity:0,transform:"scaleY(0)",transformOrigin:"0% 0%"}))])]),Xn("zoomBigMotion",[Ke("void => active",[J({opacity:0,transform:"scale(0.8)"}),We(`${On.BASE} ${nn.EASE_OUT_CIRC}`,J({opacity:1,transform:"scale(1)"}))]),Ke("active => void",[J({opacity:1,transform:"scale(1)"}),We(`${On.BASE} ${nn.EASE_IN_OUT_CIRC}`,J({opacity:0,transform:"scale(0.8)"}))])])),nB=(Xn("zoomBadgeMotion",[Ke(":enter",[J({opacity:0,transform:"scale(0) translate(50%, -50%)"}),We(`${On.SLOW} ${nn.EASE_OUT_BACK}`,J({opacity:1,transform:"scale(1) translate(50%, -50%)"}))]),Ke(":leave",[J({opacity:1,transform:"scale(1) translate(50%, -50%)"}),We(`${On.SLOW} ${nn.EASE_IN_BACK}`,J({opacity:0,transform:"scale(0) translate(50%, -50%)"}))])]),Xn("thumbMotion",[Cn("from",J({transform:"translateX({{ transform }}px)",width:"{{ width }}px"}),{params:{transform:0,width:0}}),Cn("to",J({transform:"translateX({{ transform }}px)",width:"{{ width }}px"}),{params:{transform:100,width:0}}),Ke("from => to",We(`300ms ${nn.EASE_IN_OUT}`))]),["nz-submenu-title",""]);function iB(t,n){1&t&&X(0,"span",4),2&t&&M("nzType",x().nzIcon)}function oB(t,n){if(1&t&&(Re(0),R(1,"span"),Et(2),j(),Be()),2&t){const e=x();k(2),mo(e.nzTitle)}}function rB(t,n){1&t&&X(0,"span",8)}function sB(t,n){1&t&&X(0,"span",9)}function aB(t,n){1&t&&(R(0,"span",5),T(1,rB,1,0,"span",6),T(2,sB,1,0,"span",7),j()),2&t&&(M("ngSwitch",x().dir),k(1),M("ngSwitchCase","rtl"))}function lB(t,n){1&t&&X(0,"span",10)}const cB=["*"],uB=["nz-submenu-inline-child",""];function dB(t,n){}const hB=["nz-submenu-none-inline-child",""];function pB(t,n){}const fB=["nz-submenu",""];function mB(t,n){1&t&&Un(0,0,["*ngIf","!nzTitle"])}function gB(t,n){if(1&t&&X(0,"div",6),2&t){const e=x(),i=ln(7);M("mode",e.mode)("nzOpen",e.nzOpen)("@.disabled",!(null==e.noAnimation||!e.noAnimation.nzNoAnimation))("nzNoAnimation",null==e.noAnimation?null:e.noAnimation.nzNoAnimation)("menuClass",e.nzMenuClassName)("templateOutlet",i)}}function vB(t,n){if(1&t){const e=ht();R(0,"div",8),te("subMenuMouseState",function(o){return Ve(e),Ne(x(2).setMouseEnterState(o))}),j()}if(2&t){const e=x(2),i=ln(7);M("theme",e.theme)("mode",e.mode)("nzOpen",e.nzOpen)("position",e.position)("nzDisabled",e.nzDisabled)("isMenuInsideDropDown",e.isMenuInsideDropDown)("templateOutlet",i)("menuClass",e.nzMenuClassName)("@.disabled",!(null==e.noAnimation||!e.noAnimation.nzNoAnimation))("nzNoAnimation",null==e.noAnimation?null:e.noAnimation.nzNoAnimation)}}function yB(t,n){if(1&t){const e=ht();T(0,vB,1,10,"ng-template",7),te("positionChange",function(o){return Ve(e),Ne(x().onPositionChange(o))})}if(2&t){const e=x(),i=ln(1);M("cdkConnectedOverlayPositions",e.overlayPositions)("cdkConnectedOverlayOrigin",i)("cdkConnectedOverlayWidth",e.triggerWidth)("cdkConnectedOverlayOpen",e.nzOpen)("cdkConnectedOverlayTransformOriginOn",".ant-menu-submenu")}}function _B(t,n){1&t&&Un(0,1)}const CB=[[["","title",""]],"*"],bB=["[title]","*"],Fs=new P("NzIsInDropDownMenuToken"),C_=new P("NzMenuServiceLocalToken");let gr=(()=>{class t{constructor(){this.descendantMenuItemClick$=new F,this.childMenuItemClick$=new F,this.theme$=new ue("light"),this.mode$=new ue("vertical"),this.inlineIndent$=new ue(24),this.isChildSubMenuOpen$=new ue(!1)}onDescendantMenuItemClick(e){this.descendantMenuItemClick$.next(e)}onChildMenuItemClick(e){this.childMenuItemClick$.next(e)}setMode(e){this.mode$.next(e)}setTheme(e){this.theme$.next(e)}setInlineIndent(e){this.inlineIndent$.next(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})(),K6=(()=>{class t{constructor(e,i,o){this.nzHostSubmenuService=e,this.nzMenuService=i,this.isMenuInsideDropDown=o,this.mode$=this.nzMenuService.mode$.pipe(B(l=>"inline"===l?"inline":"vertical"===l||this.nzHostSubmenuService?"vertical":"horizontal")),this.level=1,this.isCurrentSubMenuOpen$=new ue(!1),this.isChildSubMenuOpen$=new ue(!1),this.isMouseEnterTitleOrOverlay$=new F,this.childMenuItemClick$=new F,this.destroy$=new F,this.nzHostSubmenuService&&(this.level=this.nzHostSubmenuService.level+1);const r=this.childMenuItemClick$.pipe(vt(()=>this.mode$),bt(l=>"inline"!==l||this.isMenuInsideDropDown),iu(!1)),s=Ro(this.isMouseEnterTitleOrOverlay$,r);yn([this.isChildSubMenuOpen$,s]).pipe(B(([l,c])=>l||c),ll(150),To(),I(this.destroy$)).pipe(To()).subscribe(l=>{this.setOpenStateWithoutDebounce(l),this.nzHostSubmenuService?this.nzHostSubmenuService.isChildSubMenuOpen$.next(l):this.nzMenuService.isChildSubMenuOpen$.next(l)})}onChildMenuItemClick(e){this.childMenuItemClick$.next(e)}setOpenStateWithoutDebounce(e){this.isCurrentSubMenuOpen$.next(e)}setMouseEnterTitleOrOverlayState(e){this.isMouseEnterTitleOrOverlay$.next(e)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return t.\u0275fac=function(e){return new(e||t)(v(t,12),v(gr),v(Fs))},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})(),Z6=(()=>{class t{constructor(e,i,o,r,s,a,l){this.nzMenuService=e,this.cdr=i,this.nzSubmenuService=o,this.isMenuInsideDropDown=r,this.directionality=s,this.routerLink=a,this.router=l,this.destroy$=new F,this.level=this.nzSubmenuService?this.nzSubmenuService.level+1:1,this.selected$=new F,this.inlinePaddingLeft=null,this.dir="ltr",this.nzDisabled=!1,this.nzSelected=!1,this.nzDanger=!1,this.nzMatchRouterExact=!1,this.nzMatchRouter=!1,l&&this.router.events.pipe(I(this.destroy$),bt(c=>c instanceof Mo)).subscribe(()=>{this.updateRouterActive()})}clickMenuItem(e){this.nzDisabled?(e.preventDefault(),e.stopPropagation()):(this.nzMenuService.onDescendantMenuItemClick(this),this.nzSubmenuService?this.nzSubmenuService.onChildMenuItemClick(this):this.nzMenuService.onChildMenuItemClick(this))}setSelectedState(e){this.nzSelected=e,this.selected$.next(e)}updateRouterActive(){!this.listOfRouterLink||!this.router||!this.router.navigated||!this.nzMatchRouter||Promise.resolve().then(()=>{const e=this.hasActiveLinks();this.nzSelected!==e&&(this.nzSelected=e,this.setSelectedState(this.nzSelected),this.cdr.markForCheck())})}hasActiveLinks(){const e=this.isLinkActive(this.router);return this.routerLink&&e(this.routerLink)||this.listOfRouterLink.some(e)}isLinkActive(e){return i=>e.isActive(i.urlTree||"",{paths:this.nzMatchRouterExact?"exact":"subset",queryParams:this.nzMatchRouterExact?"exact":"subset",fragment:"ignored",matrixParams:"ignored"})}ngOnInit(){yn([this.nzMenuService.mode$,this.nzMenuService.inlineIndent$]).pipe(I(this.destroy$)).subscribe(([e,i])=>{this.inlinePaddingLeft="inline"===e?this.level*i:null}),this.dir=this.directionality.value,this.directionality.change?.pipe(I(this.destroy$)).subscribe(e=>{this.dir=e})}ngAfterContentInit(){this.listOfRouterLink.changes.pipe(I(this.destroy$)).subscribe(()=>this.updateRouterActive()),this.updateRouterActive()}ngOnChanges(e){e.nzSelected&&this.setSelectedState(this.nzSelected)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return t.\u0275fac=function(e){return new(e||t)(f(gr),f(It),f(K6,8),f(Fs),f(en,8),f(Ka,8),f(_n,8))},t.\u0275dir=w({type:t,selectors:[["","nz-menu-item",""]],contentQueries:function(e,i,o){if(1&e&&At(o,Ka,5),2&e){let r;we(r=Se())&&(i.listOfRouterLink=r)}},hostVars:20,hostBindings:function(e,i){1&e&&te("click",function(r){return i.clickMenuItem(r)}),2&e&&($n("padding-left","rtl"===i.dir?null:i.nzPaddingLeft||i.inlinePaddingLeft,"px")("padding-right","rtl"===i.dir?i.nzPaddingLeft||i.inlinePaddingLeft:null,"px"),et("ant-dropdown-menu-item",i.isMenuInsideDropDown)("ant-dropdown-menu-item-selected",i.isMenuInsideDropDown&&i.nzSelected)("ant-dropdown-menu-item-danger",i.isMenuInsideDropDown&&i.nzDanger)("ant-dropdown-menu-item-disabled",i.isMenuInsideDropDown&&i.nzDisabled)("ant-menu-item",!i.isMenuInsideDropDown)("ant-menu-item-selected",!i.isMenuInsideDropDown&&i.nzSelected)("ant-menu-item-danger",!i.isMenuInsideDropDown&&i.nzDanger)("ant-menu-item-disabled",!i.isMenuInsideDropDown&&i.nzDisabled))},inputs:{nzPaddingLeft:"nzPaddingLeft",nzDisabled:"nzDisabled",nzSelected:"nzSelected",nzDanger:"nzDanger",nzMatchRouterExact:"nzMatchRouterExact",nzMatchRouter:"nzMatchRouter"},exportAs:["nzMenuItem"],features:[$]}),ee([oe()],t.prototype,"nzDisabled",void 0),ee([oe()],t.prototype,"nzSelected",void 0),ee([oe()],t.prototype,"nzDanger",void 0),ee([oe()],t.prototype,"nzMatchRouterExact",void 0),ee([oe()],t.prototype,"nzMatchRouter",void 0),t})(),MB=(()=>{class t{constructor(e,i){this.cdr=e,this.directionality=i,this.nzIcon=null,this.nzTitle=null,this.isMenuInsideDropDown=!1,this.nzDisabled=!1,this.paddingLeft=null,this.mode="vertical",this.toggleSubMenu=new _,this.subMenuMouseState=new _,this.dir="ltr",this.destroy$=new F}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe(I(this.destroy$)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}setMouseState(e){this.nzDisabled||this.subMenuMouseState.next(e)}clickTitle(){"inline"===this.mode&&!this.nzDisabled&&this.toggleSubMenu.emit()}}return t.\u0275fac=function(e){return new(e||t)(f(It),f(en,8))},t.\u0275cmp=ze({type:t,selectors:[["","nz-submenu-title",""]],hostVars:8,hostBindings:function(e,i){1&e&&te("click",function(){return i.clickTitle()})("mouseenter",function(){return i.setMouseState(!0)})("mouseleave",function(){return i.setMouseState(!1)}),2&e&&($n("padding-left","rtl"===i.dir?null:i.paddingLeft,"px")("padding-right","rtl"===i.dir?i.paddingLeft:null,"px"),et("ant-dropdown-menu-submenu-title",i.isMenuInsideDropDown)("ant-menu-submenu-title",!i.isMenuInsideDropDown))},inputs:{nzIcon:"nzIcon",nzTitle:"nzTitle",isMenuInsideDropDown:"isMenuInsideDropDown",nzDisabled:"nzDisabled",paddingLeft:"paddingLeft",mode:"mode"},outputs:{toggleSubMenu:"toggleSubMenu",subMenuMouseState:"subMenuMouseState"},exportAs:["nzSubmenuTitle"],attrs:nB,ngContentSelectors:cB,decls:6,vars:4,consts:[["nz-icon","",3,"nzType",4,"ngIf"],[4,"nzStringTemplateOutlet"],["class","ant-dropdown-menu-submenu-expand-icon",3,"ngSwitch",4,"ngIf","ngIfElse"],["notDropdownTpl",""],["nz-icon","",3,"nzType"],[1,"ant-dropdown-menu-submenu-expand-icon",3,"ngSwitch"],["nz-icon","","nzType","left","class","ant-dropdown-menu-submenu-arrow-icon",4,"ngSwitchCase"],["nz-icon","","nzType","right","class","ant-dropdown-menu-submenu-arrow-icon",4,"ngSwitchDefault"],["nz-icon","","nzType","left",1,"ant-dropdown-menu-submenu-arrow-icon"],["nz-icon","","nzType","right",1,"ant-dropdown-menu-submenu-arrow-icon"],[1,"ant-menu-submenu-arrow"]],template:function(e,i){if(1&e&&(si(),T(0,iB,1,1,"span",0),T(1,oB,3,1,"ng-container",1),Un(2),T(3,aB,3,2,"span",2),T(4,lB,1,0,"ng-template",null,3,xi)),2&e){const o=ln(5);M("ngIf",i.nzIcon),k(1),M("nzStringTemplateOutlet",i.nzTitle),k(2),M("ngIf",i.isMenuInsideDropDown)("ngIfElse",o)}},dependencies:[xt,or,Ta,Kc,Fi,Oi],encapsulation:2,changeDetection:0}),t})(),zB=(()=>{class t{constructor(e,i,o){this.elementRef=e,this.renderer=i,this.directionality=o,this.templateOutlet=null,this.menuClass="",this.mode="vertical",this.nzOpen=!1,this.listOfCacheClassName=[],this.expandState="collapsed",this.dir="ltr",this.destroy$=new F}calcMotionState(){this.expandState=this.nzOpen?"expanded":"collapsed"}ngOnInit(){this.calcMotionState(),this.dir=this.directionality.value,this.directionality.change?.pipe(I(this.destroy$)).subscribe(e=>{this.dir=e})}ngOnChanges(e){const{mode:i,nzOpen:o,menuClass:r}=e;(i||o)&&this.calcMotionState(),r&&(this.listOfCacheClassName.length&&this.listOfCacheClassName.filter(s=>!!s).forEach(s=>{this.renderer.removeClass(this.elementRef.nativeElement,s)}),this.menuClass&&(this.listOfCacheClassName=this.menuClass.split(" "),this.listOfCacheClassName.filter(s=>!!s).forEach(s=>{this.renderer.addClass(this.elementRef.nativeElement,s)})))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return t.\u0275fac=function(e){return new(e||t)(f(ne),f(dt),f(en,8))},t.\u0275cmp=ze({type:t,selectors:[["","nz-submenu-inline-child",""]],hostAttrs:[1,"ant-menu","ant-menu-inline","ant-menu-sub"],hostVars:3,hostBindings:function(e,i){2&e&&(ss("@collapseMotion",i.expandState),et("ant-menu-rtl","rtl"===i.dir))},inputs:{templateOutlet:"templateOutlet",menuClass:"menuClass",mode:"mode",nzOpen:"nzOpen"},exportAs:["nzSubmenuInlineChild"],features:[$],attrs:uB,decls:1,vars:1,consts:[[3,"ngTemplateOutlet"]],template:function(e,i){1&e&&T(0,dB,0,0,"ng-template",0),2&e&&M("ngTemplateOutlet",i.templateOutlet)},dependencies:[ka],encapsulation:2,data:{animation:[QR]},changeDetection:0}),t})(),wB=(()=>{class t{constructor(e){this.directionality=e,this.menuClass="",this.theme="light",this.templateOutlet=null,this.isMenuInsideDropDown=!1,this.mode="vertical",this.position="right",this.nzDisabled=!1,this.nzOpen=!1,this.subMenuMouseState=new _,this.expandState="collapsed",this.dir="ltr",this.destroy$=new F}setMouseState(e){this.nzDisabled||this.subMenuMouseState.next(e)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}calcMotionState(){this.nzOpen?"horizontal"===this.mode?this.expandState="bottom":"vertical"===this.mode&&(this.expandState="active"):this.expandState="collapsed"}ngOnInit(){this.calcMotionState(),this.dir=this.directionality.value,this.directionality.change?.pipe(I(this.destroy$)).subscribe(e=>{this.dir=e})}ngOnChanges(e){const{mode:i,nzOpen:o}=e;(i||o)&&this.calcMotionState()}}return t.\u0275fac=function(e){return new(e||t)(f(en,8))},t.\u0275cmp=ze({type:t,selectors:[["","nz-submenu-none-inline-child",""]],hostAttrs:[1,"ant-menu-submenu","ant-menu-submenu-popup"],hostVars:14,hostBindings:function(e,i){1&e&&te("mouseenter",function(){return i.setMouseState(!0)})("mouseleave",function(){return i.setMouseState(!1)}),2&e&&(ss("@slideMotion",i.expandState)("@zoomBigMotion",i.expandState),et("ant-menu-light","light"===i.theme)("ant-menu-dark","dark"===i.theme)("ant-menu-submenu-placement-bottom","horizontal"===i.mode)("ant-menu-submenu-placement-right","vertical"===i.mode&&"right"===i.position)("ant-menu-submenu-placement-left","vertical"===i.mode&&"left"===i.position)("ant-menu-submenu-rtl","rtl"===i.dir))},inputs:{menuClass:"menuClass",theme:"theme",templateOutlet:"templateOutlet",isMenuInsideDropDown:"isMenuInsideDropDown",mode:"mode",position:"position",nzDisabled:"nzDisabled",nzOpen:"nzOpen"},outputs:{subMenuMouseState:"subMenuMouseState"},exportAs:["nzSubmenuNoneInlineChild"],features:[$],attrs:hB,decls:2,vars:16,consts:[[3,"ngClass"],[3,"ngTemplateOutlet"]],template:function(e,i){1&e&&(R(0,"div",0),T(1,pB,0,0,"ng-template",1),j()),2&e&&(et("ant-dropdown-menu",i.isMenuInsideDropDown)("ant-menu",!i.isMenuInsideDropDown)("ant-dropdown-menu-vertical",i.isMenuInsideDropDown)("ant-menu-vertical",!i.isMenuInsideDropDown)("ant-dropdown-menu-sub",i.isMenuInsideDropDown)("ant-menu-sub",!i.isMenuInsideDropDown)("ant-menu-rtl","rtl"===i.dir),M("ngClass",i.menuClass),k(1),M("ngTemplateOutlet",i.templateOutlet))},dependencies:[Gc,ka],encapsulation:2,data:{animation:[tB,__]},changeDetection:0}),t})();const b_=[ke.rightTop,ke.right,ke.rightBottom,ke.leftTop,ke.left,ke.leftBottom],SB=[ke.bottomLeft,ke.bottomRight,ke.topRight,ke.topLeft];let M_=(()=>{class t{constructor(e,i,o,r,s,a,l){this.nzMenuService=e,this.cdr=i,this.nzSubmenuService=o,this.platform=r,this.isMenuInsideDropDown=s,this.directionality=a,this.noAnimation=l,this.nzMenuClassName="",this.nzPaddingLeft=null,this.nzTitle=null,this.nzIcon=null,this.nzOpen=!1,this.nzDisabled=!1,this.nzPlacement="bottomLeft",this.nzOpenChange=new _,this.cdkOverlayOrigin=null,this.listOfNzSubMenuComponent=null,this.listOfNzMenuItemDirective=null,this.level=this.nzSubmenuService.level,this.destroy$=new F,this.position="right",this.triggerWidth=null,this.theme="light",this.mode="vertical",this.inlinePaddingLeft=null,this.overlayPositions=b_,this.isSelected=!1,this.isActive=!1,this.dir="ltr"}setOpenStateWithoutDebounce(e){this.nzSubmenuService.setOpenStateWithoutDebounce(e)}toggleSubMenu(){this.setOpenStateWithoutDebounce(!this.nzOpen)}setMouseEnterState(e){this.isActive=e,"inline"!==this.mode&&this.nzSubmenuService.setMouseEnterTitleOrOverlayState(e)}setTriggerWidth(){"horizontal"===this.mode&&this.platform.isBrowser&&this.cdkOverlayOrigin&&"bottomLeft"===this.nzPlacement&&(this.triggerWidth=this.cdkOverlayOrigin.nativeElement.getBoundingClientRect().width)}onPositionChange(e){const i=q6(e);"rightTop"===i||"rightBottom"===i||"right"===i?this.position="right":("leftTop"===i||"leftBottom"===i||"left"===i)&&(this.position="left")}ngOnInit(){this.nzMenuService.theme$.pipe(I(this.destroy$)).subscribe(e=>{this.theme=e,this.cdr.markForCheck()}),this.nzSubmenuService.mode$.pipe(I(this.destroy$)).subscribe(e=>{this.mode=e,"horizontal"===e?this.overlayPositions=[ke[this.nzPlacement],...SB]:"vertical"===e&&(this.overlayPositions=b_),this.cdr.markForCheck()}),yn([this.nzSubmenuService.mode$,this.nzMenuService.inlineIndent$]).pipe(I(this.destroy$)).subscribe(([e,i])=>{this.inlinePaddingLeft="inline"===e?this.level*i:null,this.cdr.markForCheck()}),this.nzSubmenuService.isCurrentSubMenuOpen$.pipe(I(this.destroy$)).subscribe(e=>{this.isActive=e,e!==this.nzOpen&&(this.setTriggerWidth(),this.nzOpen=e,this.nzOpenChange.emit(this.nzOpen),this.cdr.markForCheck())}),this.dir=this.directionality.value,this.directionality.change?.pipe(I(this.destroy$)).subscribe(e=>{this.dir=e,this.cdr.markForCheck()})}ngAfterContentInit(){this.setTriggerWidth();const e=this.listOfNzMenuItemDirective,i=e.changes,o=Ro(i,...e.map(r=>r.selected$));i.pipe(Rt(e),Zt(()=>o),Rt(!0),B(()=>e.some(r=>r.nzSelected)),I(this.destroy$)).subscribe(r=>{this.isSelected=r,this.cdr.markForCheck()})}ngOnChanges(e){const{nzOpen:i}=e;i&&(this.nzSubmenuService.setOpenStateWithoutDebounce(this.nzOpen),this.setTriggerWidth())}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return t.\u0275fac=function(e){return new(e||t)(f(gr),f(It),f(K6),f(Jt),f(Fs),f(en,8),f(pl,9))},t.\u0275cmp=ze({type:t,selectors:[["","nz-submenu",""]],contentQueries:function(e,i,o){if(1&e&&(At(o,t,5),At(o,Z6,5)),2&e){let r;we(r=Se())&&(i.listOfNzSubMenuComponent=r),we(r=Se())&&(i.listOfNzMenuItemDirective=r)}},viewQuery:function(e,i){if(1&e&&Tt(Ts,7,ne),2&e){let o;we(o=Se())&&(i.cdkOverlayOrigin=o.first)}},hostVars:34,hostBindings:function(e,i){2&e&&et("ant-dropdown-menu-submenu",i.isMenuInsideDropDown)("ant-dropdown-menu-submenu-disabled",i.isMenuInsideDropDown&&i.nzDisabled)("ant-dropdown-menu-submenu-open",i.isMenuInsideDropDown&&i.nzOpen)("ant-dropdown-menu-submenu-selected",i.isMenuInsideDropDown&&i.isSelected)("ant-dropdown-menu-submenu-vertical",i.isMenuInsideDropDown&&"vertical"===i.mode)("ant-dropdown-menu-submenu-horizontal",i.isMenuInsideDropDown&&"horizontal"===i.mode)("ant-dropdown-menu-submenu-inline",i.isMenuInsideDropDown&&"inline"===i.mode)("ant-dropdown-menu-submenu-active",i.isMenuInsideDropDown&&i.isActive)("ant-menu-submenu",!i.isMenuInsideDropDown)("ant-menu-submenu-disabled",!i.isMenuInsideDropDown&&i.nzDisabled)("ant-menu-submenu-open",!i.isMenuInsideDropDown&&i.nzOpen)("ant-menu-submenu-selected",!i.isMenuInsideDropDown&&i.isSelected)("ant-menu-submenu-vertical",!i.isMenuInsideDropDown&&"vertical"===i.mode)("ant-menu-submenu-horizontal",!i.isMenuInsideDropDown&&"horizontal"===i.mode)("ant-menu-submenu-inline",!i.isMenuInsideDropDown&&"inline"===i.mode)("ant-menu-submenu-active",!i.isMenuInsideDropDown&&i.isActive)("ant-menu-submenu-rtl","rtl"===i.dir)},inputs:{nzMenuClassName:"nzMenuClassName",nzPaddingLeft:"nzPaddingLeft",nzTitle:"nzTitle",nzIcon:"nzIcon",nzOpen:"nzOpen",nzDisabled:"nzDisabled",nzPlacement:"nzPlacement"},outputs:{nzOpenChange:"nzOpenChange"},exportAs:["nzSubmenu"],features:[ce([K6]),$],attrs:fB,ngContentSelectors:bB,decls:8,vars:9,consts:[["nz-submenu-title","","cdkOverlayOrigin","",3,"nzIcon","nzTitle","mode","nzDisabled","isMenuInsideDropDown","paddingLeft","subMenuMouseState","toggleSubMenu"],["origin","cdkOverlayOrigin"],[4,"ngIf"],["nz-submenu-inline-child","",3,"mode","nzOpen","nzNoAnimation","menuClass","templateOutlet",4,"ngIf","ngIfElse"],["nonInlineTemplate",""],["subMenuTemplate",""],["nz-submenu-inline-child","",3,"mode","nzOpen","nzNoAnimation","menuClass","templateOutlet"],["cdkConnectedOverlay","",3,"cdkConnectedOverlayPositions","cdkConnectedOverlayOrigin","cdkConnectedOverlayWidth","cdkConnectedOverlayOpen","cdkConnectedOverlayTransformOriginOn","positionChange"],["nz-submenu-none-inline-child","",3,"theme","mode","nzOpen","position","nzDisabled","isMenuInsideDropDown","templateOutlet","menuClass","nzNoAnimation","subMenuMouseState"]],template:function(e,i){if(1&e&&(si(CB),R(0,"div",0,1),te("subMenuMouseState",function(r){return i.setMouseEnterState(r)})("toggleSubMenu",function(){return i.toggleSubMenu()}),T(2,mB,1,0,"ng-content",2),j(),T(3,gB,1,6,"div",3),T(4,yB,1,5,"ng-template",null,4,xi),T(6,_B,1,0,"ng-template",null,5,xi)),2&e){const o=ln(5);M("nzIcon",i.nzIcon)("nzTitle",i.nzTitle)("mode",i.mode)("nzDisabled",i.nzDisabled)("isMenuInsideDropDown",i.isMenuInsideDropDown)("paddingLeft",i.nzPaddingLeft||i.inlinePaddingLeft),k(2),M("ngIf",!i.nzTitle),k(1),M("ngIf","inline"===i.mode)("ngIfElse",o)}},dependencies:[xt,s4,Ts,pl,MB,zB,wB],encapsulation:2,changeDetection:0}),ee([oe()],t.prototype,"nzOpen",void 0),ee([oe()],t.prototype,"nzDisabled",void 0),t})();function DB(t,n){return t||n}function EB(t){return t||!1}let TB=(()=>{class t{constructor(e,i,o,r){this.nzMenuService=e,this.isMenuInsideDropDown=i,this.cdr=o,this.directionality=r,this.nzInlineIndent=24,this.nzTheme="light",this.nzMode="vertical",this.nzInlineCollapsed=!1,this.nzSelectable=!this.isMenuInsideDropDown,this.nzClick=new _,this.actualMode="vertical",this.dir="ltr",this.inlineCollapsed$=new ue(this.nzInlineCollapsed),this.mode$=new ue(this.nzMode),this.destroy$=new F,this.listOfOpenedNzSubMenuComponent=[]}setInlineCollapsed(e){this.nzInlineCollapsed=e,this.inlineCollapsed$.next(e)}updateInlineCollapse(){this.listOfNzMenuItemDirective&&(this.nzInlineCollapsed?(this.listOfOpenedNzSubMenuComponent=this.listOfNzSubMenuComponent.filter(e=>e.nzOpen),this.listOfNzSubMenuComponent.forEach(e=>e.setOpenStateWithoutDebounce(!1))):(this.listOfOpenedNzSubMenuComponent.forEach(e=>e.setOpenStateWithoutDebounce(!0)),this.listOfOpenedNzSubMenuComponent=[]))}ngOnInit(){yn([this.inlineCollapsed$,this.mode$]).pipe(I(this.destroy$)).subscribe(([e,i])=>{this.actualMode=e?"vertical":i,this.nzMenuService.setMode(this.actualMode),this.cdr.markForCheck()}),this.nzMenuService.descendantMenuItemClick$.pipe(I(this.destroy$)).subscribe(e=>{this.nzClick.emit(e),this.nzSelectable&&!e.nzMatchRouter&&this.listOfNzMenuItemDirective.forEach(i=>i.setSelectedState(i===e))}),this.dir=this.directionality.value,this.directionality.change?.pipe(I(this.destroy$)).subscribe(e=>{this.dir=e,this.nzMenuService.setMode(this.actualMode),this.cdr.markForCheck()})}ngAfterContentInit(){this.inlineCollapsed$.pipe(I(this.destroy$)).subscribe(()=>{this.updateInlineCollapse(),this.cdr.markForCheck()})}ngOnChanges(e){const{nzInlineCollapsed:i,nzInlineIndent:o,nzTheme:r,nzMode:s}=e;i&&this.inlineCollapsed$.next(this.nzInlineCollapsed),o&&this.nzMenuService.setInlineIndent(this.nzInlineIndent),r&&this.nzMenuService.setTheme(this.nzTheme),s&&(this.mode$.next(this.nzMode),!e.nzMode.isFirstChange()&&this.listOfNzSubMenuComponent&&this.listOfNzSubMenuComponent.forEach(a=>a.setOpenStateWithoutDebounce(!1)))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return t.\u0275fac=function(e){return new(e||t)(f(gr),f(Fs),f(It),f(en,8))},t.\u0275dir=w({type:t,selectors:[["","nz-menu",""]],contentQueries:function(e,i,o){if(1&e&&(At(o,Z6,5),At(o,M_,5)),2&e){let r;we(r=Se())&&(i.listOfNzMenuItemDirective=r),we(r=Se())&&(i.listOfNzSubMenuComponent=r)}},hostVars:34,hostBindings:function(e,i){2&e&&et("ant-dropdown-menu",i.isMenuInsideDropDown)("ant-dropdown-menu-root",i.isMenuInsideDropDown)("ant-dropdown-menu-light",i.isMenuInsideDropDown&&"light"===i.nzTheme)("ant-dropdown-menu-dark",i.isMenuInsideDropDown&&"dark"===i.nzTheme)("ant-dropdown-menu-vertical",i.isMenuInsideDropDown&&"vertical"===i.actualMode)("ant-dropdown-menu-horizontal",i.isMenuInsideDropDown&&"horizontal"===i.actualMode)("ant-dropdown-menu-inline",i.isMenuInsideDropDown&&"inline"===i.actualMode)("ant-dropdown-menu-inline-collapsed",i.isMenuInsideDropDown&&i.nzInlineCollapsed)("ant-menu",!i.isMenuInsideDropDown)("ant-menu-root",!i.isMenuInsideDropDown)("ant-menu-light",!i.isMenuInsideDropDown&&"light"===i.nzTheme)("ant-menu-dark",!i.isMenuInsideDropDown&&"dark"===i.nzTheme)("ant-menu-vertical",!i.isMenuInsideDropDown&&"vertical"===i.actualMode)("ant-menu-horizontal",!i.isMenuInsideDropDown&&"horizontal"===i.actualMode)("ant-menu-inline",!i.isMenuInsideDropDown&&"inline"===i.actualMode)("ant-menu-inline-collapsed",!i.isMenuInsideDropDown&&i.nzInlineCollapsed)("ant-menu-rtl","rtl"===i.dir)},inputs:{nzInlineIndent:"nzInlineIndent",nzTheme:"nzTheme",nzMode:"nzMode",nzInlineCollapsed:"nzInlineCollapsed",nzSelectable:"nzSelectable"},outputs:{nzClick:"nzClick"},exportAs:["nzMenu"],features:[ce([{provide:C_,useClass:gr},{provide:gr,useFactory:DB,deps:[[new Wo,new ho,gr],C_]},{provide:Fs,useFactory:EB,deps:[[new Wo,new ho,Fs]]}]),$]}),ee([oe()],t.prototype,"nzInlineCollapsed",void 0),ee([oe()],t.prototype,"nzSelectable",void 0),t})(),X6=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[An,dn,ko,a4,ro,_4,Is]}),t})(),z_=(()=>{class t{constructor(e,i,o,r,s,a,l){this.elementRef=e,this.renderer=i,this.mediaMatcher=o,this.ngZone=r,this.platform=s,this.breakpointService=a,this.directionality=l,this.nzAlign=null,this.nzJustify=null,this.nzGutter=null,this.actualGutter$=new Z1(1),this.dir="ltr",this.destroy$=new F}getGutter(){const e=[null,null],i=this.nzGutter||0;return(Array.isArray(i)?i:[i,null]).forEach((r,s)=>{"object"==typeof r&&null!==r?(e[s]=null,Object.keys(w4).map(a=>{const l=a;this.mediaMatcher.matchMedia(w4[l]).matches&&r[l]&&(e[s]=r[l])})):e[s]=Number(r)||null}),e}setGutterStyle(){const[e,i]=this.getGutter();this.actualGutter$.next([e,i]);const o=(r,s)=>{null!==s&&this.renderer.setStyle(this.elementRef.nativeElement,r,`-${s/2}px`)};o("margin-left",e),o("margin-right",e),o("margin-top",i),o("margin-bottom",i)}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe(I(this.destroy$)).subscribe(e=>{this.dir=e}),this.setGutterStyle()}ngOnChanges(e){e.nzGutter&&this.setGutterStyle()}ngAfterViewInit(){this.platform.isBrowser&&this.breakpointService.subscribe(w4).pipe(I(this.destroy$)).subscribe(()=>{this.setGutterStyle()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return t.\u0275fac=function(e){return new(e||t)(f(ne),f(dt),f(I6),f(N),f(Jt),f(ZR),f(en,8))},t.\u0275dir=w({type:t,selectors:[["","nz-row",""],["nz-row"],["nz-form-item"]],hostAttrs:[1,"ant-row"],hostVars:20,hostBindings:function(e,i){2&e&&et("ant-row-top","top"===i.nzAlign)("ant-row-middle","middle"===i.nzAlign)("ant-row-bottom","bottom"===i.nzAlign)("ant-row-start","start"===i.nzJustify)("ant-row-end","end"===i.nzJustify)("ant-row-center","center"===i.nzJustify)("ant-row-space-around","space-around"===i.nzJustify)("ant-row-space-between","space-between"===i.nzJustify)("ant-row-space-evenly","space-evenly"===i.nzJustify)("ant-row-rtl","rtl"===i.dir)},inputs:{nzAlign:"nzAlign",nzJustify:"nzJustify",nzGutter:"nzGutter"},exportAs:["nzRow"],features:[$]}),t})(),kB=(()=>{class t{constructor(e,i,o,r){this.elementRef=e,this.nzRowDirective=i,this.renderer=o,this.directionality=r,this.classMap={},this.destroy$=new F,this.hostFlexStyle=null,this.dir="ltr",this.nzFlex=null,this.nzSpan=null,this.nzOrder=null,this.nzOffset=null,this.nzPush=null,this.nzPull=null,this.nzXs=null,this.nzSm=null,this.nzMd=null,this.nzLg=null,this.nzXl=null,this.nzXXl=null}setHostClassMap(){const e={"ant-col":!0,[`ant-col-${this.nzSpan}`]:mi(this.nzSpan),[`ant-col-order-${this.nzOrder}`]:mi(this.nzOrder),[`ant-col-offset-${this.nzOffset}`]:mi(this.nzOffset),[`ant-col-pull-${this.nzPull}`]:mi(this.nzPull),[`ant-col-push-${this.nzPush}`]:mi(this.nzPush),"ant-col-rtl":"rtl"===this.dir,...this.generateClass()};for(const i in this.classMap)this.classMap.hasOwnProperty(i)&&this.renderer.removeClass(this.elementRef.nativeElement,i);this.classMap={...e};for(const i in this.classMap)this.classMap.hasOwnProperty(i)&&this.classMap[i]&&this.renderer.addClass(this.elementRef.nativeElement,i)}setHostFlexStyle(){this.hostFlexStyle=this.parseFlex(this.nzFlex)}parseFlex(e){return"number"==typeof e?`${e} ${e} auto`:"string"==typeof e&&/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}generateClass(){const i={};return["nzXs","nzSm","nzMd","nzLg","nzXl","nzXXl"].forEach(o=>{const r=o.replace("nz","").toLowerCase();if(mi(this[o]))if("number"==typeof this[o]||"string"==typeof this[o])i[`ant-col-${r}-${this[o]}`]=!0;else{const s=this[o];["span","pull","push","offset","order"].forEach(l=>{i[`ant-col-${r}${"span"===l?"-":`-${l}-`}${s[l]}`]=s&&mi(s[l])})}}),i}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe(I(this.destroy$)).subscribe(e=>{this.dir=e,this.setHostClassMap()}),this.setHostClassMap(),this.setHostFlexStyle()}ngOnChanges(e){this.setHostClassMap();const{nzFlex:i}=e;i&&this.setHostFlexStyle()}ngAfterViewInit(){this.nzRowDirective&&this.nzRowDirective.actualGutter$.pipe(I(this.destroy$)).subscribe(([e,i])=>{const o=(r,s)=>{null!==s&&this.renderer.setStyle(this.elementRef.nativeElement,r,s/2+"px")};o("padding-left",e),o("padding-right",e),o("padding-top",i),o("padding-bottom",i)})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return t.\u0275fac=function(e){return new(e||t)(f(ne),f(z_,9),f(dt),f(en,8))},t.\u0275dir=w({type:t,selectors:[["","nz-col",""],["nz-col"],["nz-form-control"],["nz-form-label"]],hostVars:2,hostBindings:function(e,i){2&e&&$n("flex",i.hostFlexStyle)},inputs:{nzFlex:"nzFlex",nzSpan:"nzSpan",nzOrder:"nzOrder",nzOffset:"nzOffset",nzPush:"nzPush",nzPull:"nzPull",nzXs:"nzXs",nzSm:"nzSm",nzMd:"nzMd",nzLg:"nzLg",nzXl:"nzXl",nzXXl:"nzXXl"},exportAs:["nzCol"],features:[$]}),t})(),xB=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[An,dn,uy,ko]}),t})();function PB(t,n){if(1&t&&(Re(0),X(1,"img",5),Be()),2&t){const e=x(2);k(1),M("src",e.nzNotFoundImage,a3)("alt",e.isContentString?e.nzNotFoundContent:"empty")}}function AB(t,n){if(1&t&&(Re(0),T(1,PB,2,2,"ng-container",4),Be()),2&t){const e=x();k(1),M("nzStringTemplateOutlet",e.nzNotFoundImage)}}function IB(t,n){1&t&&X(0,"nz-empty-default")}function OB(t,n){1&t&&X(0,"nz-empty-simple")}function FB(t,n){if(1&t&&(Re(0),Et(1),Be()),2&t){const e=x(2);k(1),Wn(" ",e.isContentString?e.nzNotFoundContent:e.locale.description," ")}}function VB(t,n){if(1&t&&(R(0,"p",6),T(1,FB,2,1,"ng-container",4),j()),2&t){const e=x();k(1),M("nzStringTemplateOutlet",e.nzNotFoundContent)}}function NB(t,n){if(1&t&&(Re(0),Et(1),Be()),2&t){const e=x(2);k(1),Wn(" ",e.nzNotFoundFooter," ")}}function LB(t,n){if(1&t&&(R(0,"div",7),T(1,NB,2,1,"ng-container",4),j()),2&t){const e=x();k(1),M("nzStringTemplateOutlet",e.nzNotFoundFooter)}}function HB(t,n){1&t&&X(0,"nz-empty",6),2&t&&M("nzNotFoundImage","simple")}function RB(t,n){1&t&&X(0,"nz-empty",7),2&t&&M("nzNotFoundImage","simple")}function BB(t,n){1&t&&X(0,"nz-empty")}function YB(t,n){1&t&&(Re(0,2),T(1,HB,1,1,"nz-empty",3),T(2,RB,1,1,"nz-empty",4),T(3,BB,1,0,"nz-empty",5),Be()),2&t&&(M("ngSwitch",x().size),k(1),M("ngSwitchCase","normal"),k(1),M("ngSwitchCase","small"))}function jB(t,n){}function UB(t,n){1&t&&T(0,jB,0,0,"ng-template",8),2&t&&M("cdkPortalOutlet",x(2).contentPortal)}function $B(t,n){if(1&t&&(Re(0),Et(1),Be()),2&t){const e=x(2);k(1),Wn(" ",e.content," ")}}function WB(t,n){if(1&t&&(Re(0),T(1,UB,1,1,null,1),T(2,$B,2,1,"ng-container",1),Be()),2&t){const e=x();k(1),M("ngIf","string"!==e.contentType),k(1),M("ngIf","string"===e.contentType)}}const GB=new P("nz-empty-component-name");let qB=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=ze({type:t,selectors:[["nz-empty-default"]],exportAs:["nzEmptyDefault"],decls:12,vars:0,consts:[["width","184","height","152","viewBox","0 0 184 152","xmlns","http://www.w3.org/2000/svg",1,"ant-empty-img-default"],["fill","none","fill-rule","evenodd"],["transform","translate(24 31.67)"],["cx","67.797","cy","106.89","rx","67.797","ry","12.668",1,"ant-empty-img-default-ellipse"],["d","M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",1,"ant-empty-img-default-path-1"],["d","M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z","transform","translate(13.56)",1,"ant-empty-img-default-path-2"],["d","M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",1,"ant-empty-img-default-path-3"],["d","M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",1,"ant-empty-img-default-path-4"],["d","M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",1,"ant-empty-img-default-path-5"],["transform","translate(149.65 15.383)",1,"ant-empty-img-default-g"],["cx","20.654","cy","3.167","rx","2.849","ry","2.815"],["d","M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"]],template:function(e,i){1&e&&(w2(),R(0,"svg",0)(1,"g",1)(2,"g",2),X(3,"ellipse",3)(4,"path",4)(5,"path",5)(6,"path",6)(7,"path",7),j(),X(8,"path",8),R(9,"g",9),X(10,"ellipse",10)(11,"path",11),j()()())},encapsulation:2,changeDetection:0}),t})(),KB=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=ze({type:t,selectors:[["nz-empty-simple"]],exportAs:["nzEmptySimple"],decls:6,vars:0,consts:[["width","64","height","41","viewBox","0 0 64 41","xmlns","http://www.w3.org/2000/svg",1,"ant-empty-img-simple"],["transform","translate(0 1)","fill","none","fill-rule","evenodd"],["cx","32","cy","33","rx","32","ry","7",1,"ant-empty-img-simple-ellipse"],["fill-rule","nonzero",1,"ant-empty-img-simple-g"],["d","M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"],["d","M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",1,"ant-empty-img-simple-path"]],template:function(e,i){1&e&&(w2(),R(0,"svg",0)(1,"g",1),X(2,"ellipse",2),R(3,"g",3),X(4,"path",4)(5,"path",5),j()()())},encapsulation:2,changeDetection:0}),t})();const ZB=["default","simple"];let XB=(()=>{class t{constructor(e,i){this.i18n=e,this.cdr=i,this.nzNotFoundImage="default",this.isContentString=!1,this.isImageBuildIn=!0,this.destroy$=new F}ngOnChanges(e){const{nzNotFoundContent:i,nzNotFoundImage:o}=e;if(i&&(this.isContentString="string"==typeof i.currentValue),o){const r=o.currentValue||"default";this.isImageBuildIn=ZB.findIndex(s=>s===r)>-1}}ngOnInit(){this.i18n.localeChange.pipe(I(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Empty"),this.cdr.markForCheck()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return t.\u0275fac=function(e){return new(e||t)(f(m4),f(It))},t.\u0275cmp=ze({type:t,selectors:[["nz-empty"]],hostAttrs:[1,"ant-empty"],inputs:{nzNotFoundImage:"nzNotFoundImage",nzNotFoundContent:"nzNotFoundContent",nzNotFoundFooter:"nzNotFoundFooter"},exportAs:["nzEmpty"],features:[$],decls:6,vars:5,consts:[[1,"ant-empty-image"],[4,"ngIf"],["class","ant-empty-description",4,"ngIf"],["class","ant-empty-footer",4,"ngIf"],[4,"nzStringTemplateOutlet"],[3,"src","alt"],[1,"ant-empty-description"],[1,"ant-empty-footer"]],template:function(e,i){1&e&&(R(0,"div",0),T(1,AB,2,1,"ng-container",1),T(2,IB,1,0,"nz-empty-default",1),T(3,OB,1,0,"nz-empty-simple",1),j(),T(4,VB,2,1,"p",2),T(5,LB,2,1,"div",3)),2&e&&(k(1),M("ngIf",!i.isImageBuildIn),k(1),M("ngIf",i.isImageBuildIn&&"simple"!==i.nzNotFoundImage),k(1),M("ngIf",i.isImageBuildIn&&"simple"===i.nzNotFoundImage),k(1),M("ngIf",null!==i.nzNotFoundContent),k(1),M("ngIf",i.nzNotFoundFooter))},dependencies:[xt,Oi,qB,KB],encapsulation:2,changeDetection:0}),t})(),JB=(()=>{class t{constructor(e,i,o,r){this.configService=e,this.viewContainerRef=i,this.cdr=o,this.injector=r,this.contentType="string",this.size="",this.destroy$=new F}ngOnChanges(e){e.nzComponentName&&(this.size=function QB(t){switch(t){case"table":case"list":return"normal";case"select":case"tree-select":case"cascader":case"transfer":return"small";default:return""}}(e.nzComponentName.currentValue)),e.specificContent&&!e.specificContent.isFirstChange()&&(this.content=e.specificContent.currentValue,this.renderEmpty())}ngOnInit(){this.subscribeDefaultEmptyContentChange()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}renderEmpty(){const e=this.content;if("string"==typeof e)this.contentType="string";else if(e instanceof $e){const i={$implicit:this.nzComponentName};this.contentType="template",this.contentPortal=new t4(e,this.viewContainerRef,i)}else if(e instanceof ql){const i=St.create({parent:this.injector,providers:[{provide:GB,useValue:this.nzComponentName}]});this.contentType="component",this.contentPortal=new e4(e,this.viewContainerRef,i)}else this.contentType="string",this.contentPortal=void 0;this.cdr.detectChanges()}subscribeDefaultEmptyContentChange(){this.configService.getConfigChangeEventForComponent("empty").pipe(Rt(!0),I(this.destroy$)).subscribe(()=>{this.content=this.specificContent||this.getUserDefaultEmptyContent(),this.renderEmpty()})}getUserDefaultEmptyContent(){return(this.configService.getConfigForComponent("empty")||{}).nzDefaultEmptyContent}}return t.\u0275fac=function(e){return new(e||t)(f(fr),f(Ht),f(It),f(St))},t.\u0275cmp=ze({type:t,selectors:[["nz-embed-empty"]],inputs:{nzComponentName:"nzComponentName",specificContent:"specificContent"},exportAs:["nzEmbedEmpty"],features:[$],decls:2,vars:2,consts:[[3,"ngSwitch",4,"ngIf"],[4,"ngIf"],[3,"ngSwitch"],["class","ant-empty-normal",3,"nzNotFoundImage",4,"ngSwitchCase"],["class","ant-empty-small",3,"nzNotFoundImage",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"ant-empty-normal",3,"nzNotFoundImage"],[1,"ant-empty-small",3,"nzNotFoundImage"],[3,"cdkPortalOutlet"]],template:function(e,i){1&e&&(T(0,YB,4,3,"ng-container",0),T(1,WB,3,2,"ng-container",1)),2&e&&(M("ngIf",!i.content&&null!==i.specificContent),k(1),M("ngIf",i.content))},dependencies:[xt,or,Ta,Kc,dl,XB],encapsulation:2,changeDetection:0}),t})(),eY=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[An,dn,v6,Is,B6]}),t})();function nY(t,n){1&t&&X(0,"span",1),2&t&&M("nzType",x().iconType)}let iY=(()=>{class t{constructor(){this.formStatusChanges=new Z1(1)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})(),oY=(()=>{class t{constructor(){this.noFormStatus=new ue(!1)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})();const rY={error:"close-circle-fill",validating:"loading",success:"check-circle-fill",warning:"exclamation-circle-fill"};let sY=(()=>{class t{constructor(e){this.cdr=e,this.status="",this.iconType=null}ngOnChanges(e){this.updateIcon()}updateIcon(){this.iconType=this.status?rY[this.status]:null,this.cdr.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(f(It))},t.\u0275cmp=ze({type:t,selectors:[["nz-form-item-feedback-icon"]],hostAttrs:[1,"ant-form-item-feedback-icon"],hostVars:8,hostBindings:function(e,i){2&e&&et("ant-form-item-feedback-icon-error","error"===i.status)("ant-form-item-feedback-icon-warning","warning"===i.status)("ant-form-item-feedback-icon-success","success"===i.status)("ant-form-item-feedback-icon-validating","validating"===i.status)},inputs:{status:"status"},exportAs:["nzFormFeedbackIcon"],features:[$],decls:1,vars:1,consts:[["nz-icon","",3,"nzType",4,"ngIf"],["nz-icon","",3,"nzType"]],template:function(e,i){1&e&&T(0,nY,1,1,"span",0),2&e&&M("ngIf",i.iconType)},dependencies:[xt,Fi],encapsulation:2,changeDetection:0}),t})(),aY=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[dn,ro]}),t})();const w_=["*"];function lY(t,n){}function cY(t,n){1&t&&T(0,lY,0,0,"ng-template",4),2&t&&M("ngTemplateOutlet",x().template)}function uY(t,n){1&t&&Et(0),2&t&&mo(x().label)}function dY(t,n){1&t&&X(0,"span",7)}function hY(t,n){if(1&t&&(R(0,"div",5),T(1,dY,1,0,"span",6),j()),2&t){const e=x();k(1),M("ngIf",!e.icon)("ngIfElse",e.icon)}}function pY(t,n){if(1&t&&(Re(0),Et(1),Be()),2&t){const e=x();k(1),mo(e.nzLabel)}}function fY(t,n){if(1&t&&(R(0,"div",4),X(1,"nz-embed-empty",5),j()),2&t){const e=x();k(1),M("specificContent",e.notFoundContent)}}function mY(t,n){1&t&&X(0,"nz-option-item-group",9),2&t&&M("nzLabel",x().$implicit.groupLabel)}function gY(t,n){if(1&t){const e=ht();R(0,"nz-option-item",10),te("itemHover",function(o){return Ve(e),Ne(x(2).onItemHover(o))})("itemClick",function(o){return Ve(e),Ne(x(2).onItemClick(o))}),j()}if(2&t){const e=x().$implicit,i=x();M("icon",i.menuItemSelectedIcon)("customContent",e.nzCustomContent)("template",e.template)("grouped",!!e.groupLabel)("disabled",e.nzDisabled)("showState","tags"===i.mode||"multiple"===i.mode)("label",e.nzLabel)("compareWith",i.compareWith)("activatedValue",i.activatedValue)("listOfSelectedValue",i.listOfSelectedValue)("value",e.nzValue)}}function vY(t,n){1&t&&(Re(0,6),T(1,mY,1,1,"nz-option-item-group",7),T(2,gY,1,11,"nz-option-item",8),Be()),2&t&&(M("ngSwitch",n.$implicit.type),k(1),M("ngSwitchCase","group"),k(1),M("ngSwitchCase","item"))}function yY(t,n){}function _Y(t,n){1&t&&Un(0)}const CY=["inputElement"],bY=["mirrorElement"];function MY(t,n){1&t&&X(0,"span",3,4)}function zY(t,n){if(1&t&&(R(0,"div",4),Et(1),j()),2&t){const e=x(2);k(1),mo(e.label)}}function wY(t,n){1&t&&Et(0),2&t&&mo(x(2).label)}function SY(t,n){if(1&t&&(Re(0),T(1,zY,2,1,"div",2),T(2,wY,1,1,"ng-template",null,3,xi),Be()),2&t){const e=ln(3),i=x();k(1),M("ngIf",i.deletable)("ngIfElse",e)}}function DY(t,n){1&t&&X(0,"span",7)}function EY(t,n){if(1&t){const e=ht();R(0,"span",5),te("click",function(o){return Ve(e),Ne(x().onDelete(o))}),T(1,DY,1,0,"span",6),j()}if(2&t){const e=x();k(1),M("ngIf",!e.removeIcon)("ngIfElse",e.removeIcon)}}const TY=function(t){return{$implicit:t}};function kY(t,n){if(1&t&&(Re(0),Et(1),Be()),2&t){const e=x();k(1),Wn(" ",e.placeholder," ")}}function xY(t,n){if(1&t&&X(0,"nz-select-item",6),2&t){const e=x(2);M("deletable",!1)("disabled",!1)("removeIcon",e.removeIcon)("label",e.listOfTopItem[0].nzLabel)("contentTemplateOutlet",e.customTemplate)("contentTemplateOutletContext",e.listOfTopItem[0])}}function PY(t,n){if(1&t){const e=ht();Re(0),R(1,"nz-select-search",4),te("isComposingChange",function(o){return Ve(e),Ne(x().isComposingChange(o))})("valueChange",function(o){return Ve(e),Ne(x().onInputValueChange(o))}),j(),T(2,xY,1,6,"nz-select-item",5),Be()}if(2&t){const e=x();k(1),M("nzId",e.nzId)("disabled",e.disabled)("value",e.inputValue)("showInput",e.showSearch)("mirrorSync",!1)("autofocus",e.autofocus)("focusTrigger",e.open),k(1),M("ngIf",e.isShowSingleLabel)}}function AY(t,n){if(1&t){const e=ht();R(0,"nz-select-item",9),te("delete",function(){const r=Ve(e).$implicit;return Ne(x(2).onDeleteItem(r.contentTemplateOutletContext))}),j()}if(2&t){const e=n.$implicit,i=x(2);M("removeIcon",i.removeIcon)("label",e.nzLabel)("disabled",e.nzDisabled||i.disabled)("contentTemplateOutlet",e.contentTemplateOutlet)("deletable",!0)("contentTemplateOutletContext",e.contentTemplateOutletContext)}}function IY(t,n){if(1&t){const e=ht();Re(0),T(1,AY,1,6,"nz-select-item",7),R(2,"nz-select-search",8),te("isComposingChange",function(o){return Ve(e),Ne(x().isComposingChange(o))})("valueChange",function(o){return Ve(e),Ne(x().onInputValueChange(o))}),j(),Be()}if(2&t){const e=x();k(1),M("ngForOf",e.listOfSlicedItem)("ngForTrackBy",e.trackValue),k(1),M("nzId",e.nzId)("disabled",e.disabled)("value",e.inputValue)("autofocus",e.autofocus)("showInput",!0)("mirrorSync",!0)("focusTrigger",e.open)}}function OY(t,n){1&t&&X(0,"nz-select-placeholder",10),2&t&&M("placeholder",x().placeHolder)}function FY(t,n){1&t&&X(0,"span",1)}function VY(t,n){1&t&&X(0,"span",3)}function NY(t,n){1&t&&X(0,"span",8)}function LY(t,n){1&t&&X(0,"span",9)}function HY(t,n){if(1&t&&(Re(0),T(1,NY,1,0,"span",6),T(2,LY,1,0,"span",7),Be()),2&t){const e=x(2);k(1),M("ngIf",!e.search),k(1),M("ngIf",e.search)}}function RY(t,n){1&t&&X(0,"span",11),2&t&&M("nzType",x().$implicit)}function BY(t,n){if(1&t&&(Re(0),T(1,RY,1,1,"span",10),Be()),2&t){const e=n.$implicit;k(1),M("ngIf",e)}}function YY(t,n){1&t&&T(0,BY,2,1,"ng-container",2),2&t&&M("nzStringTemplateOutlet",x(2).suffixIcon)}function jY(t,n){if(1&t&&(T(0,HY,3,2,"ng-container",4),T(1,YY,1,1,"ng-template",null,5,xi)),2&t){const e=ln(2),i=x();M("ngIf",i.showArrow&&!i.suffixIcon)("ngIfElse",e)}}function UY(t,n){if(1&t&&(Re(0),Et(1),Be()),2&t){const e=x();k(1),mo(e.feedbackIcon)}}function $Y(t,n){1&t&&X(0,"nz-form-item-feedback-icon",8),2&t&&M("status",x(3).status)}function WY(t,n){if(1&t&&T(0,$Y,1,1,"nz-form-item-feedback-icon",7),2&t){const e=x(2);M("ngIf",e.hasFeedback&&!!e.status)}}function GY(t,n){if(1&t&&(R(0,"nz-select-arrow",5),T(1,WY,1,1,"ng-template",null,6,xi),j()),2&t){const e=ln(2),i=x();M("showArrow",i.nzShowArrow)("loading",i.nzLoading)("search",i.nzOpen&&i.nzShowSearch)("suffixIcon",i.nzSuffixIcon)("feedbackIcon",e)}}function qY(t,n){if(1&t){const e=ht();R(0,"nz-select-clear",9),te("clear",function(){return Ve(e),Ne(x().onClearSelection())}),j()}2&t&&M("clearIcon",x().nzClearIcon)}function KY(t,n){if(1&t){const e=ht();R(0,"nz-option-container",10),te("keydown",function(o){return Ve(e),Ne(x().onKeyDown(o))})("itemClick",function(o){return Ve(e),Ne(x().onItemClick(o))})("scrollToBottom",function(){return Ve(e),Ne(x().nzScrollToBottom.emit())}),j()}if(2&t){const e=x();et("ant-select-dropdown-placement-bottomLeft","bottomLeft"===e.dropDownPosition)("ant-select-dropdown-placement-topLeft","topLeft"===e.dropDownPosition)("ant-select-dropdown-placement-bottomRight","bottomRight"===e.dropDownPosition)("ant-select-dropdown-placement-topRight","topRight"===e.dropDownPosition),M("ngStyle",e.nzDropdownStyle)("itemSize",e.nzOptionHeightPx)("maxItemLength",e.nzOptionOverflowSize)("matchWidth",e.nzDropdownMatchSelectWidth)("@slideMotion","enter")("@.disabled",!(null==e.noAnimation||!e.noAnimation.nzNoAnimation))("nzNoAnimation",null==e.noAnimation?null:e.noAnimation.nzNoAnimation)("listOfContainerItem",e.listOfContainerItem)("menuItemSelectedIcon",e.nzMenuItemSelectedIcon)("notFoundContent",e.nzNotFoundContent)("activatedValue",e.activatedValue)("listOfSelectedValue",e.listOfValue)("dropdownRender",e.nzDropdownRender)("compareWith",e.compareWith)("mode",e.nzMode)}}let Q6=(()=>{class t{constructor(){this.nzLabel=null,this.changes=new F}ngOnChanges(){this.changes.next()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=ze({type:t,selectors:[["nz-option-group"]],inputs:{nzLabel:"nzLabel"},exportAs:["nzOptionGroup"],features:[$],ngContentSelectors:w_,decls:1,vars:0,template:function(e,i){1&e&&(si(),Un(0))},encapsulation:2,changeDetection:0}),t})(),ZY=(()=>{class t{constructor(e,i,o){this.elementRef=e,this.ngZone=i,this.destroy$=o,this.selected=!1,this.activated=!1,this.grouped=!1,this.customContent=!1,this.template=null,this.disabled=!1,this.showState=!1,this.label=null,this.value=null,this.activatedValue=null,this.listOfSelectedValue=[],this.icon=null,this.itemClick=new _,this.itemHover=new _}ngOnChanges(e){const{value:i,activatedValue:o,listOfSelectedValue:r}=e;(i||r)&&(this.selected=this.listOfSelectedValue.some(s=>this.compareWith(s,this.value))),(i||o)&&(this.activated=this.compareWith(this.activatedValue,this.value))}ngOnInit(){this.ngZone.runOutsideAngular(()=>{Zn(this.elementRef.nativeElement,"click").pipe(I(this.destroy$)).subscribe(()=>{this.disabled||this.ngZone.run(()=>this.itemClick.emit(this.value))}),Zn(this.elementRef.nativeElement,"mouseenter").pipe(I(this.destroy$)).subscribe(()=>{this.disabled||this.ngZone.run(()=>this.itemHover.emit(this.value))})})}}return t.\u0275fac=function(e){return new(e||t)(f(ne),f(N),f(Io))},t.\u0275cmp=ze({type:t,selectors:[["nz-option-item"]],hostAttrs:[1,"ant-select-item","ant-select-item-option"],hostVars:9,hostBindings:function(e,i){2&e&&(Pt("title",i.label),et("ant-select-item-option-grouped",i.grouped)("ant-select-item-option-selected",i.selected&&!i.disabled)("ant-select-item-option-disabled",i.disabled)("ant-select-item-option-active",i.activated&&!i.disabled))},inputs:{grouped:"grouped",customContent:"customContent",template:"template",disabled:"disabled",showState:"showState",label:"label",value:"value",activatedValue:"activatedValue",listOfSelectedValue:"listOfSelectedValue",icon:"icon",compareWith:"compareWith"},outputs:{itemClick:"itemClick",itemHover:"itemHover"},features:[ce([Io]),$],decls:5,vars:3,consts:[[1,"ant-select-item-option-content"],[3,"ngIf","ngIfElse"],["noCustomContent",""],["class","ant-select-item-option-state","style","user-select: none","unselectable","on",4,"ngIf"],[3,"ngTemplateOutlet"],["unselectable","on",1,"ant-select-item-option-state",2,"user-select","none"],["nz-icon","","nzType","check","class","ant-select-selected-icon",4,"ngIf","ngIfElse"],["nz-icon","","nzType","check",1,"ant-select-selected-icon"]],template:function(e,i){if(1&e&&(R(0,"div",0),T(1,cY,1,1,"ng-template",1),T(2,uY,1,1,"ng-template",null,2,xi),j(),T(4,hY,2,2,"div",3)),2&e){const o=ln(3);k(1),M("ngIf",i.customContent)("ngIfElse",o),k(3),M("ngIf",i.showState&&i.selected)}},dependencies:[xt,ka,Fi,Vi],encapsulation:2,changeDetection:0}),t})(),XY=(()=>{class t{constructor(){this.nzLabel=null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=ze({type:t,selectors:[["nz-option-item-group"]],hostAttrs:[1,"ant-select-item","ant-select-item-group"],inputs:{nzLabel:"nzLabel"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"]],template:function(e,i){1&e&&T(0,pY,2,1,"ng-container",0),2&e&&M("nzStringTemplateOutlet",i.nzLabel)},dependencies:[Oi],encapsulation:2,changeDetection:0}),t})(),QY=(()=>{class t{constructor(){this.notFoundContent=void 0,this.menuItemSelectedIcon=null,this.dropdownRender=null,this.activatedValue=null,this.listOfSelectedValue=[],this.mode="default",this.matchWidth=!0,this.itemSize=32,this.maxItemLength=8,this.listOfContainerItem=[],this.itemClick=new _,this.scrollToBottom=new _,this.scrolledIndex=0}onItemClick(e){this.itemClick.emit(e)}onItemHover(e){this.activatedValue=e}trackValue(e,i){return i.key}onScrolledIndexChange(e){this.scrolledIndex=e,e===this.listOfContainerItem.length-this.maxItemLength&&this.scrollToBottom.emit()}scrollToActivatedValue(){const e=this.listOfContainerItem.findIndex(i=>this.compareWith(i.key,this.activatedValue));(e=this.scrolledIndex+this.maxItemLength)&&this.cdkVirtualScrollViewport.scrollToIndex(e||0)}ngOnChanges(e){const{listOfContainerItem:i,activatedValue:o}=e;(i||o)&&this.scrollToActivatedValue()}ngAfterViewInit(){setTimeout(()=>this.scrollToActivatedValue())}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=ze({type:t,selectors:[["nz-option-container"]],viewQuery:function(e,i){if(1&e&&Tt(J1,7),2&e){let o;we(o=Se())&&(i.cdkVirtualScrollViewport=o.first)}},hostAttrs:[1,"ant-select-dropdown"],inputs:{notFoundContent:"notFoundContent",menuItemSelectedIcon:"menuItemSelectedIcon",dropdownRender:"dropdownRender",activatedValue:"activatedValue",listOfSelectedValue:"listOfSelectedValue",compareWith:"compareWith",mode:"mode",matchWidth:"matchWidth",itemSize:"itemSize",maxItemLength:"maxItemLength",listOfContainerItem:"listOfContainerItem"},outputs:{itemClick:"itemClick",scrollToBottom:"scrollToBottom"},exportAs:["nzOptionContainer"],features:[$],decls:5,vars:14,consts:[["class","ant-select-item-empty",4,"ngIf"],[3,"itemSize","maxBufferPx","minBufferPx","scrolledIndexChange"],["cdkVirtualFor","",3,"cdkVirtualForOf","cdkVirtualForTrackBy","cdkVirtualForTemplateCacheSize"],[3,"ngTemplateOutlet"],[1,"ant-select-item-empty"],["nzComponentName","select",3,"specificContent"],[3,"ngSwitch"],[3,"nzLabel",4,"ngSwitchCase"],[3,"icon","customContent","template","grouped","disabled","showState","label","compareWith","activatedValue","listOfSelectedValue","value","itemHover","itemClick",4,"ngSwitchCase"],[3,"nzLabel"],[3,"icon","customContent","template","grouped","disabled","showState","label","compareWith","activatedValue","listOfSelectedValue","value","itemHover","itemClick"]],template:function(e,i){1&e&&(R(0,"div"),T(1,fY,2,1,"div",0),R(2,"cdk-virtual-scroll-viewport",1),te("scrolledIndexChange",function(r){return i.onScrolledIndexChange(r)}),T(3,vY,3,3,"ng-template",2),j(),T(4,yY,0,0,"ng-template",3),j()),2&e&&(k(1),M("ngIf",0===i.listOfContainerItem.length),k(1),$n("height",i.listOfContainerItem.length*i.itemSize,"px")("max-height",i.itemSize*i.maxItemLength,"px"),et("full-width",!i.matchWidth),M("itemSize",i.itemSize)("maxBufferPx",i.itemSize*i.maxItemLength)("minBufferPx",i.itemSize*i.maxItemLength),k(1),M("cdkVirtualForOf",i.listOfContainerItem)("cdkVirtualForTrackBy",i.trackValue)("cdkVirtualForTemplateCacheSize",0),k(1),M("ngTemplateOutlet",i.dropdownRender))},dependencies:[xt,ka,or,Ta,WV,QV,J1,JB,ZY,XY],encapsulation:2,changeDetection:0}),t})(),JY=(()=>{class t{constructor(e,i){this.nzOptionGroupComponent=e,this.destroy$=i,this.changes=new F,this.groupLabel=null,this.nzLabel=null,this.nzValue=null,this.nzDisabled=!1,this.nzHide=!1,this.nzCustomContent=!1}ngOnInit(){this.nzOptionGroupComponent&&this.nzOptionGroupComponent.changes.pipe(Rt(!0),I(this.destroy$)).subscribe(()=>{this.groupLabel=this.nzOptionGroupComponent.nzLabel})}ngOnChanges(){this.changes.next()}}return t.\u0275fac=function(e){return new(e||t)(f(Q6,8),f(Io))},t.\u0275cmp=ze({type:t,selectors:[["nz-option"]],viewQuery:function(e,i){if(1&e&&Tt($e,7),2&e){let o;we(o=Se())&&(i.template=o.first)}},inputs:{nzLabel:"nzLabel",nzValue:"nzValue",nzDisabled:"nzDisabled",nzHide:"nzHide",nzCustomContent:"nzCustomContent"},exportAs:["nzOption"],features:[ce([Io]),$],ngContentSelectors:w_,decls:1,vars:0,template:function(e,i){1&e&&(si(),T(0,_Y,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),ee([oe()],t.prototype,"nzDisabled",void 0),ee([oe()],t.prototype,"nzHide",void 0),ee([oe()],t.prototype,"nzCustomContent",void 0),t})(),S_=(()=>{class t{constructor(e,i,o){this.elementRef=e,this.renderer=i,this.focusMonitor=o,this.nzId=null,this.disabled=!1,this.mirrorSync=!1,this.showInput=!0,this.focusTrigger=!1,this.value="",this.autofocus=!1,this.valueChange=new _,this.isComposingChange=new _}setCompositionState(e){this.isComposingChange.next(e)}onValueChange(e){this.value=e,this.valueChange.next(e),this.mirrorSync&&this.syncMirrorWidth()}clearInputValue(){this.inputElement.nativeElement.value="",this.onValueChange("")}syncMirrorWidth(){const e=this.mirrorElement.nativeElement,i=this.elementRef.nativeElement,o=this.inputElement.nativeElement;this.renderer.removeStyle(i,"width"),this.renderer.setProperty(e,"textContent",`${o.value}\xa0`),this.renderer.setStyle(i,"width",`${e.scrollWidth}px`)}focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}ngOnChanges(e){const i=this.inputElement.nativeElement,{focusTrigger:o,showInput:r}=e;r&&(this.showInput?this.renderer.removeAttribute(i,"readonly"):this.renderer.setAttribute(i,"readonly","readonly")),o&&!0===o.currentValue&&!1===o.previousValue&&i.focus()}ngAfterViewInit(){this.mirrorSync&&this.syncMirrorWidth(),this.autofocus&&this.focus()}}return t.\u0275fac=function(e){return new(e||t)(f(ne),f(dt),f(_y))},t.\u0275cmp=ze({type:t,selectors:[["nz-select-search"]],viewQuery:function(e,i){if(1&e&&(Tt(CY,7),Tt(bY,5)),2&e){let o;we(o=Se())&&(i.inputElement=o.first),we(o=Se())&&(i.mirrorElement=o.first)}},hostAttrs:[1,"ant-select-selection-search"],inputs:{nzId:"nzId",disabled:"disabled",mirrorSync:"mirrorSync",showInput:"showInput",focusTrigger:"focusTrigger",value:"value",autofocus:"autofocus"},outputs:{valueChange:"valueChange",isComposingChange:"isComposingChange"},features:[ce([{provide:m9,useValue:!1}]),$],decls:3,vars:7,consts:[["autocomplete","off",1,"ant-select-selection-search-input",3,"ngModel","disabled","ngModelChange","compositionstart","compositionend"],["inputElement",""],["class","ant-select-selection-search-mirror",4,"ngIf"],[1,"ant-select-selection-search-mirror"],["mirrorElement",""]],template:function(e,i){1&e&&(R(0,"input",0,1),te("ngModelChange",function(r){return i.onValueChange(r)})("compositionstart",function(){return i.setCompositionState(!0)})("compositionend",function(){return i.setCompositionState(!1)}),j(),T(2,MY,2,0,"span",2)),2&e&&($n("opacity",i.showInput?null:0),M("ngModel",i.value)("disabled",i.disabled),Pt("id",i.nzId)("autofocus",i.autofocus?"autofocus":null),k(2),M("ngIf",i.mirrorSync))},dependencies:[xt,I1,Bu,U1],encapsulation:2,changeDetection:0}),t})(),ej=(()=>{class t{constructor(){this.disabled=!1,this.label=null,this.deletable=!1,this.removeIcon=null,this.contentTemplateOutletContext=null,this.contentTemplateOutlet=null,this.delete=new _}onDelete(e){e.preventDefault(),e.stopPropagation(),this.disabled||this.delete.next(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=ze({type:t,selectors:[["nz-select-item"]],hostAttrs:[1,"ant-select-selection-item"],hostVars:3,hostBindings:function(e,i){2&e&&(Pt("title",i.label),et("ant-select-selection-item-disabled",i.disabled))},inputs:{disabled:"disabled",label:"label",deletable:"deletable",removeIcon:"removeIcon",contentTemplateOutletContext:"contentTemplateOutletContext",contentTemplateOutlet:"contentTemplateOutlet"},outputs:{delete:"delete"},decls:2,vars:5,consts:[[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["class","ant-select-selection-item-remove",3,"click",4,"ngIf"],["class","ant-select-selection-item-content",4,"ngIf","ngIfElse"],["labelTemplate",""],[1,"ant-select-selection-item-content"],[1,"ant-select-selection-item-remove",3,"click"],["nz-icon","","nzType","close",4,"ngIf","ngIfElse"],["nz-icon","","nzType","close"]],template:function(e,i){1&e&&(T(0,SY,4,2,"ng-container",0),T(1,EY,2,2,"span",1)),2&e&&(M("nzStringTemplateOutlet",i.contentTemplateOutlet)("nzStringTemplateOutletContext",function k5(t,n,e,i){return P5(S(),sn(),t,n,e,i)}(3,TY,i.contentTemplateOutletContext)),k(1),M("ngIf",i.deletable&&!i.disabled))},dependencies:[xt,Fi,Oi,Vi],encapsulation:2,changeDetection:0}),t})(),tj=(()=>{class t{constructor(){this.placeholder=null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=ze({type:t,selectors:[["nz-select-placeholder"]],hostAttrs:[1,"ant-select-selection-placeholder"],inputs:{placeholder:"placeholder"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"]],template:function(e,i){1&e&&T(0,kY,2,1,"ng-container",0),2&e&&M("nzStringTemplateOutlet",i.placeholder)},dependencies:[Oi],encapsulation:2,changeDetection:0}),t})(),J6=(()=>{class t{constructor(e,i,o){this.elementRef=e,this.ngZone=i,this.noAnimation=o,this.nzId=null,this.showSearch=!1,this.placeHolder=null,this.open=!1,this.maxTagCount=1/0,this.autofocus=!1,this.disabled=!1,this.mode="default",this.customTemplate=null,this.maxTagPlaceholder=null,this.removeIcon=null,this.listOfTopItem=[],this.tokenSeparators=[],this.tokenize=new _,this.inputValueChange=new _,this.deleteItem=new _,this.listOfSlicedItem=[],this.isShowPlaceholder=!0,this.isShowSingleLabel=!1,this.isComposing=!1,this.inputValue=null,this.destroy$=new F}updateTemplateVariable(){const e=0===this.listOfTopItem.length;this.isShowPlaceholder=e&&!this.isComposing&&!this.inputValue,this.isShowSingleLabel=!e&&!this.isComposing&&!this.inputValue}isComposingChange(e){this.isComposing=e,this.updateTemplateVariable()}onInputValueChange(e){e!==this.inputValue&&(this.inputValue=e,this.updateTemplateVariable(),this.inputValueChange.emit(e),this.tokenSeparate(e,this.tokenSeparators))}tokenSeparate(e,i){if(e&&e.length&&i.length&&"default"!==this.mode&&((s,a)=>{for(let l=0;l0)return!0;return!1})(e,i)){const s=((s,a)=>{const l=new RegExp(`[${a.join()}]`),c=s.split(l).filter(u=>u);return[...new Set(c)]})(e,i);this.tokenize.next(s)}}clearInputValue(){this.nzSelectSearchComponent&&this.nzSelectSearchComponent.clearInputValue()}focus(){this.nzSelectSearchComponent&&this.nzSelectSearchComponent.focus()}blur(){this.nzSelectSearchComponent&&this.nzSelectSearchComponent.blur()}trackValue(e,i){return i.nzValue}onDeleteItem(e){!this.disabled&&!e.nzDisabled&&this.deleteItem.next(e)}ngOnChanges(e){const{listOfTopItem:i,maxTagCount:o,customTemplate:r,maxTagPlaceholder:s}=e;if(i&&this.updateTemplateVariable(),i||o||r||s){const a=this.listOfTopItem.slice(0,this.maxTagCount).map(l=>({nzLabel:l.nzLabel,nzValue:l.nzValue,nzDisabled:l.nzDisabled,contentTemplateOutlet:this.customTemplate,contentTemplateOutletContext:l}));if(this.listOfTopItem.length>this.maxTagCount){const l=`+ ${this.listOfTopItem.length-this.maxTagCount} ...`,c=this.listOfTopItem.map(d=>d.nzValue),u={nzLabel:l,nzValue:"$$__nz_exceeded_item",nzDisabled:!0,contentTemplateOutlet:this.maxTagPlaceholder,contentTemplateOutletContext:c.slice(this.maxTagCount)};a.push(u)}this.listOfSlicedItem=a}}ngOnInit(){this.ngZone.runOutsideAngular(()=>{Zn(this.elementRef.nativeElement,"click").pipe(I(this.destroy$)).subscribe(e=>{e.target!==this.nzSelectSearchComponent.inputElement.nativeElement&&this.nzSelectSearchComponent.focus()}),Zn(this.elementRef.nativeElement,"keydown").pipe(I(this.destroy$)).subscribe(e=>{e.target instanceof HTMLInputElement&&8===e.keyCode&&"default"!==this.mode&&!e.target.value&&this.listOfTopItem.length>0&&(e.preventDefault(),this.ngZone.run(()=>this.onDeleteItem(this.listOfTopItem[this.listOfTopItem.length-1])))})})}ngOnDestroy(){this.destroy$.next()}}return t.\u0275fac=function(e){return new(e||t)(f(ne),f(N),f(pl,9))},t.\u0275cmp=ze({type:t,selectors:[["nz-select-top-control"]],viewQuery:function(e,i){if(1&e&&Tt(S_,5),2&e){let o;we(o=Se())&&(i.nzSelectSearchComponent=o.first)}},hostAttrs:[1,"ant-select-selector"],inputs:{nzId:"nzId",showSearch:"showSearch",placeHolder:"placeHolder",open:"open",maxTagCount:"maxTagCount",autofocus:"autofocus",disabled:"disabled",mode:"mode",customTemplate:"customTemplate",maxTagPlaceholder:"maxTagPlaceholder",removeIcon:"removeIcon",listOfTopItem:"listOfTopItem",tokenSeparators:"tokenSeparators"},outputs:{tokenize:"tokenize",inputValueChange:"inputValueChange",deleteItem:"deleteItem"},exportAs:["nzSelectTopControl"],features:[$],decls:4,vars:3,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"placeholder",4,"ngIf"],[3,"nzId","disabled","value","showInput","mirrorSync","autofocus","focusTrigger","isComposingChange","valueChange"],[3,"deletable","disabled","removeIcon","label","contentTemplateOutlet","contentTemplateOutletContext",4,"ngIf"],[3,"deletable","disabled","removeIcon","label","contentTemplateOutlet","contentTemplateOutletContext"],[3,"removeIcon","label","disabled","contentTemplateOutlet","deletable","contentTemplateOutletContext","delete",4,"ngFor","ngForOf","ngForTrackBy"],[3,"nzId","disabled","value","autofocus","showInput","mirrorSync","focusTrigger","isComposingChange","valueChange"],[3,"removeIcon","label","disabled","contentTemplateOutlet","deletable","contentTemplateOutletContext","delete"],[3,"placeholder"]],template:function(e,i){1&e&&(Re(0,0),T(1,PY,3,8,"ng-container",1),T(2,IY,3,9,"ng-container",2),Be(),T(3,OY,1,1,"nz-select-placeholder",3)),2&e&&(M("ngSwitch",i.mode),k(1),M("ngSwitchCase","default"),k(2),M("ngIf",i.isShowPlaceholder))},dependencies:[qc,xt,or,Ta,Kc,Vi,S_,ej,tj],encapsulation:2,changeDetection:0}),t})(),nj=(()=>{class t{constructor(){this.clearIcon=null,this.clear=new _}onClick(e){e.preventDefault(),e.stopPropagation(),this.clear.emit(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=ze({type:t,selectors:[["nz-select-clear"]],hostAttrs:[1,"ant-select-clear"],hostBindings:function(e,i){1&e&&te("click",function(r){return i.onClick(r)})},inputs:{clearIcon:"clearIcon"},outputs:{clear:"clear"},decls:1,vars:2,consts:[["nz-icon","","nzType","close-circle","nzTheme","fill","class","ant-select-close-icon",4,"ngIf","ngIfElse"],["nz-icon","","nzType","close-circle","nzTheme","fill",1,"ant-select-close-icon"]],template:function(e,i){1&e&&T(0,FY,1,0,"span",0),2&e&&M("ngIf",!i.clearIcon)("ngIfElse",i.clearIcon)},dependencies:[xt,Fi,Vi],encapsulation:2,changeDetection:0}),t})(),ij=(()=>{class t{constructor(){this.loading=!1,this.search=!1,this.showArrow=!1,this.suffixIcon=null,this.feedbackIcon=null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=ze({type:t,selectors:[["nz-select-arrow"]],hostAttrs:[1,"ant-select-arrow"],hostVars:2,hostBindings:function(e,i){2&e&&et("ant-select-arrow-loading",i.loading)},inputs:{loading:"loading",search:"search",showArrow:"showArrow",suffixIcon:"suffixIcon",feedbackIcon:"feedbackIcon"},decls:4,vars:3,consts:[["nz-icon","","nzType","loading",4,"ngIf","ngIfElse"],["defaultArrow",""],[4,"nzStringTemplateOutlet"],["nz-icon","","nzType","loading"],[4,"ngIf","ngIfElse"],["suffixTemplate",""],["nz-icon","","nzType","down",4,"ngIf"],["nz-icon","","nzType","search",4,"ngIf"],["nz-icon","","nzType","down"],["nz-icon","","nzType","search"],["nz-icon","",3,"nzType",4,"ngIf"],["nz-icon","",3,"nzType"]],template:function(e,i){if(1&e&&(T(0,VY,1,0,"span",0),T(1,jY,3,2,"ng-template",null,1,xi),T(3,UY,2,1,"ng-container",2)),2&e){const o=ln(2);M("ngIf",i.loading)("ngIfElse",o),k(3),M("nzStringTemplateOutlet",i.feedbackIcon)}},dependencies:[xt,Fi,Oi,Vi],encapsulation:2,changeDetection:0}),t})();const oj=(t,n)=>!(!n||!n.nzLabel)&&n.nzLabel.toString().toLowerCase().indexOf(t.toLowerCase())>-1;let sj=(()=>{class t{constructor(e,i,o,r,s,a,l,c,u,d,h,p){this.ngZone=e,this.destroy$=i,this.nzConfigService=o,this.cdr=r,this.host=s,this.renderer=a,this.platform=l,this.focusMonitor=c,this.directionality=u,this.noAnimation=d,this.nzFormStatusService=h,this.nzFormNoStatusService=p,this._nzModuleName="select",this.nzId=null,this.nzSize="default",this.nzStatus="",this.nzOptionHeightPx=32,this.nzOptionOverflowSize=8,this.nzDropdownClassName=null,this.nzDropdownMatchSelectWidth=!0,this.nzDropdownStyle=null,this.nzNotFoundContent=void 0,this.nzPlaceHolder=null,this.nzPlacement=null,this.nzMaxTagCount=1/0,this.nzDropdownRender=null,this.nzCustomTemplate=null,this.nzSuffixIcon=null,this.nzClearIcon=null,this.nzRemoveIcon=null,this.nzMenuItemSelectedIcon=null,this.nzTokenSeparators=[],this.nzMaxTagPlaceholder=null,this.nzMaxMultipleCount=1/0,this.nzMode="default",this.nzFilterOption=oj,this.compareWith=(m,g)=>m===g,this.nzAllowClear=!1,this.nzBorderless=!1,this.nzShowSearch=!1,this.nzLoading=!1,this.nzAutoFocus=!1,this.nzAutoClearSearchValue=!0,this.nzServerSearch=!1,this.nzDisabled=!1,this.nzOpen=!1,this.nzSelectOnTab=!1,this.nzBackdrop=!1,this.nzOptions=[],this.nzOnSearch=new _,this.nzScrollToBottom=new _,this.nzOpenChange=new _,this.nzBlur=new _,this.nzFocus=new _,this.listOfValue$=new ue([]),this.listOfTemplateItem$=new ue([]),this.listOfTagAndTemplateItem=[],this.searchValue="",this.isReactiveDriven=!1,this.requestId=-1,this.isNzDisableFirstChange=!0,this.onChange=()=>{},this.onTouched=()=>{},this.dropDownPosition="bottomLeft",this.triggerWidth=null,this.listOfContainerItem=[],this.listOfTopItem=[],this.activatedValue=null,this.listOfValue=[],this.focused=!1,this.dir="ltr",this.positions=[],this.prefixCls="ant-select",this.statusCls={},this.status="",this.hasFeedback=!1}set nzShowArrow(e){this._nzShowArrow=e}get nzShowArrow(){return void 0===this._nzShowArrow?"default"===this.nzMode:this._nzShowArrow}generateTagItem(e){return{nzValue:e,nzLabel:e,type:"item"}}onItemClick(e){if(this.activatedValue=e,"default"===this.nzMode)(0===this.listOfValue.length||!this.compareWith(this.listOfValue[0],e))&&this.updateListOfValue([e]),this.setOpenState(!1);else{const i=this.listOfValue.findIndex(o=>this.compareWith(o,e));if(-1!==i){const o=this.listOfValue.filter((r,s)=>s!==i);this.updateListOfValue(o)}else if(this.listOfValue.length!this.compareWith(o,e.nzValue));this.updateListOfValue(i),this.clearInput()}updateListOfContainerItem(){let e=this.listOfTagAndTemplateItem.filter(r=>!r.nzHide).filter(r=>!(!this.nzServerSearch&&this.searchValue)||this.nzFilterOption(this.searchValue,r));if("tags"===this.nzMode&&this.searchValue){const r=this.listOfTagAndTemplateItem.find(s=>s.nzLabel===this.searchValue);if(r)this.activatedValue=r.nzValue;else{const s=this.generateTagItem(this.searchValue);e=[s,...e],this.activatedValue=s.nzValue}}const i=e.find(r=>r.nzLabel===this.searchValue)||e.find(r=>this.compareWith(r.nzValue,this.activatedValue))||e.find(r=>this.compareWith(r.nzValue,this.listOfValue[0]))||e[0];this.activatedValue=i&&i.nzValue||null;let o=[];this.isReactiveDriven?o=[...new Set(this.nzOptions.filter(r=>r.groupLabel).map(r=>r.groupLabel))]:this.listOfNzOptionGroupComponent&&(o=this.listOfNzOptionGroupComponent.map(r=>r.nzLabel)),o.forEach(r=>{const s=e.findIndex(a=>r===a.groupLabel);s>-1&&e.splice(s,0,{groupLabel:r,type:"group",key:r})}),this.listOfContainerItem=[...e],this.updateCdkConnectedOverlayPositions()}clearInput(){this.nzSelectTopControlComponent.clearInputValue()}updateListOfValue(e){const o=((r,s)=>"default"===this.nzMode?r.length>0?r[0]:null:r)(e);this.value!==o&&(this.listOfValue=e,this.listOfValue$.next(e),this.value=o,this.onChange(this.value))}onTokenSeparate(e){const i=this.listOfTagAndTemplateItem.filter(o=>-1!==e.findIndex(r=>r===o.nzLabel)).map(o=>o.nzValue).filter(o=>-1===this.listOfValue.findIndex(r=>this.compareWith(r,o)));if("multiple"===this.nzMode)this.updateListOfValue([...this.listOfValue,...i]);else if("tags"===this.nzMode){const o=e.filter(r=>-1===this.listOfTagAndTemplateItem.findIndex(s=>s.nzLabel===r));this.updateListOfValue([...this.listOfValue,...i,...o])}this.clearInput()}onKeyDown(e){if(this.nzDisabled)return;const i=this.listOfContainerItem.filter(r=>"item"===r.type).filter(r=>!r.nzDisabled),o=i.findIndex(r=>this.compareWith(r.nzValue,this.activatedValue));switch(e.keyCode){case 38:e.preventDefault(),this.nzOpen&&i.length>0&&(this.activatedValue=i[o>0?o-1:i.length-1].nzValue);break;case 40:e.preventDefault(),this.nzOpen&&i.length>0?this.activatedValue=i[o{this.triggerWidth=this.originElement.nativeElement.getBoundingClientRect().width,e!==this.triggerWidth&&this.cdr.detectChanges()})}}updateCdkConnectedOverlayPositions(){P6(()=>{this.cdkConnectedOverlay?.overlayRef?.updatePosition()})}writeValue(e){if(this.value!==e){this.value=e;const o=((r,s)=>null==r?[]:"default"===this.nzMode?[r]:r)(e);this.listOfValue=o,this.listOfValue$.next(o),this.cdr.markForCheck()}}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||e,this.isNzDisableFirstChange=!1,this.nzDisabled&&this.setOpenState(!1),this.cdr.markForCheck()}ngOnChanges(e){const{nzOpen:i,nzDisabled:o,nzOptions:r,nzStatus:s,nzPlacement:a}=e;if(i&&this.onOpenChange(),o&&this.nzDisabled&&this.setOpenState(!1),r){this.isReactiveDriven=!0;const c=(this.nzOptions||[]).map(u=>({template:u.label instanceof $e?u.label:null,nzLabel:"string"==typeof u.label||"number"==typeof u.label?u.label:null,nzValue:u.value,nzDisabled:u.disabled||!1,nzHide:u.hide||!1,nzCustomContent:u.label instanceof $e,groupLabel:u.groupLabel||null,type:"item",key:u.value}));this.listOfTemplateItem$.next(c)}if(s&&this.setStatusStyles(this.nzStatus,this.hasFeedback),a){const{currentValue:l}=a;this.dropDownPosition=l;const c=["bottomLeft","topLeft","bottomRight","topRight"];this.positions=l&&c.includes(l)?[ke[l]]:c.map(u=>ke[u])}}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe(To((e,i)=>e.status===i.status&&e.hasFeedback===i.hasFeedback),function tY(...t){const n=Q4(t);return Ze((e,i)=>{const o=t.length,r=new Array(o);let s=t.map(()=>!1),a=!1;for(let l=0;l{r[l]=c,!a&&!s[l]&&(s[l]=!0,(a=s.every(Hi))&&(s=null))},Ls));e.subscribe(Le(i,l=>{if(a){const c=[l,...r];i.next(n?n(...c):c)}}))})}(this.nzFormNoStatusService?this.nzFormNoStatusService.noFormStatus:Y(!1)),B(([{status:e,hasFeedback:i},o])=>({status:o?"":e,hasFeedback:i})),I(this.destroy$)).subscribe(({status:e,hasFeedback:i})=>{this.setStatusStyles(e,i)}),this.focusMonitor.monitor(this.host,!0).pipe(I(this.destroy$)).subscribe(e=>{e?(this.focused=!0,this.cdr.markForCheck(),this.nzFocus.emit()):(this.focused=!1,this.cdr.markForCheck(),this.nzBlur.emit(),Promise.resolve().then(()=>{this.onTouched()}))}),yn([this.listOfValue$,this.listOfTemplateItem$]).pipe(I(this.destroy$)).subscribe(([e,i])=>{const o=e.filter(()=>"tags"===this.nzMode).filter(r=>-1===i.findIndex(s=>this.compareWith(s.nzValue,r))).map(r=>this.listOfTopItem.find(s=>this.compareWith(s.nzValue,r))||this.generateTagItem(r));this.listOfTagAndTemplateItem=[...i,...o],this.listOfTopItem=this.listOfValue.map(r=>[...this.listOfTagAndTemplateItem,...this.listOfTopItem].find(s=>this.compareWith(r,s.nzValue))).filter(r=>!!r),this.updateListOfContainerItem()}),this.directionality.change?.pipe(I(this.destroy$)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.nzConfigService.getConfigChangeEventForComponent("select").pipe(I(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>Zn(this.host.nativeElement,"click").pipe(I(this.destroy$)).subscribe(()=>{this.nzOpen&&this.nzShowSearch||this.nzDisabled||this.ngZone.run(()=>this.setOpenState(!this.nzOpen))})),this.cdkConnectedOverlay.overlayKeydown.pipe(I(this.destroy$)).subscribe(e=>{27===e.keyCode&&this.setOpenState(!1)})}ngAfterContentInit(){this.isReactiveDriven||Ro(this.listOfNzOptionGroupComponent.changes,this.listOfNzOptionComponent.changes).pipe(Rt(!0),Zt(()=>Ro(this.listOfNzOptionComponent.changes,this.listOfNzOptionGroupComponent.changes,...this.listOfNzOptionComponent.map(e=>e.changes),...this.listOfNzOptionGroupComponent.map(e=>e.changes)).pipe(Rt(!0))),I(this.destroy$)).subscribe(()=>{const e=this.listOfNzOptionComponent.toArray().map(i=>{const{template:o,nzLabel:r,nzValue:s,nzDisabled:a,nzHide:l,nzCustomContent:c,groupLabel:u}=i;return{template:o,nzLabel:r,nzValue:s,nzDisabled:a,nzHide:l,nzCustomContent:c,groupLabel:u,type:"item",key:s}});this.listOfTemplateItem$.next(e),this.cdr.markForCheck()})}ngOnDestroy(){cy(this.requestId),this.focusMonitor.stopMonitoring(this.host)}setStatusStyles(e,i){this.status=e,this.hasFeedback=i,this.cdr.markForCheck(),this.statusCls=function $N(t,n,e){return{[`${t}-status-success`]:"success"===n,[`${t}-status-warning`]:"warning"===n,[`${t}-status-error`]:"error"===n,[`${t}-status-validating`]:"validating"===n,[`${t}-has-feedback`]:e}}(this.prefixCls,e,i),Object.keys(this.statusCls).forEach(o=>{this.statusCls[o]?this.renderer.addClass(this.host.nativeElement,o):this.renderer.removeClass(this.host.nativeElement,o)})}}return t.\u0275fac=function(e){return new(e||t)(f(N),f(Io),f(fr),f(It),f(ne),f(dt),f(Jt),f(_y),f(en,8),f(pl,9),f(iY,8),f(oY,8))},t.\u0275cmp=ze({type:t,selectors:[["nz-select"]],contentQueries:function(e,i,o){if(1&e&&(At(o,JY,5),At(o,Q6,5)),2&e){let r;we(r=Se())&&(i.listOfNzOptionComponent=r),we(r=Se())&&(i.listOfNzOptionGroupComponent=r)}},viewQuery:function(e,i){if(1&e&&(Tt(Ts,7,ne),Tt(s4,7),Tt(J6,7),Tt(Q6,7,ne),Tt(J6,7,ne)),2&e){let o;we(o=Se())&&(i.originElement=o.first),we(o=Se())&&(i.cdkConnectedOverlay=o.first),we(o=Se())&&(i.nzSelectTopControlComponent=o.first),we(o=Se())&&(i.nzOptionGroupComponentElement=o.first),we(o=Se())&&(i.nzSelectTopControlComponentElement=o.first)}},hostAttrs:[1,"ant-select"],hostVars:26,hostBindings:function(e,i){2&e&&et("ant-select-in-form-item",!!i.nzFormStatusService)("ant-select-lg","large"===i.nzSize)("ant-select-sm","small"===i.nzSize)("ant-select-show-arrow",i.nzShowArrow)("ant-select-disabled",i.nzDisabled)("ant-select-show-search",(i.nzShowSearch||"default"!==i.nzMode)&&!i.nzDisabled)("ant-select-allow-clear",i.nzAllowClear)("ant-select-borderless",i.nzBorderless)("ant-select-open",i.nzOpen)("ant-select-focused",i.nzOpen||i.focused)("ant-select-single","default"===i.nzMode)("ant-select-multiple","default"!==i.nzMode)("ant-select-rtl","rtl"===i.dir)},inputs:{nzId:"nzId",nzSize:"nzSize",nzStatus:"nzStatus",nzOptionHeightPx:"nzOptionHeightPx",nzOptionOverflowSize:"nzOptionOverflowSize",nzDropdownClassName:"nzDropdownClassName",nzDropdownMatchSelectWidth:"nzDropdownMatchSelectWidth",nzDropdownStyle:"nzDropdownStyle",nzNotFoundContent:"nzNotFoundContent",nzPlaceHolder:"nzPlaceHolder",nzPlacement:"nzPlacement",nzMaxTagCount:"nzMaxTagCount",nzDropdownRender:"nzDropdownRender",nzCustomTemplate:"nzCustomTemplate",nzSuffixIcon:"nzSuffixIcon",nzClearIcon:"nzClearIcon",nzRemoveIcon:"nzRemoveIcon",nzMenuItemSelectedIcon:"nzMenuItemSelectedIcon",nzTokenSeparators:"nzTokenSeparators",nzMaxTagPlaceholder:"nzMaxTagPlaceholder",nzMaxMultipleCount:"nzMaxMultipleCount",nzMode:"nzMode",nzFilterOption:"nzFilterOption",compareWith:"compareWith",nzAllowClear:"nzAllowClear",nzBorderless:"nzBorderless",nzShowSearch:"nzShowSearch",nzLoading:"nzLoading",nzAutoFocus:"nzAutoFocus",nzAutoClearSearchValue:"nzAutoClearSearchValue",nzServerSearch:"nzServerSearch",nzDisabled:"nzDisabled",nzOpen:"nzOpen",nzSelectOnTab:"nzSelectOnTab",nzBackdrop:"nzBackdrop",nzOptions:"nzOptions",nzShowArrow:"nzShowArrow"},outputs:{nzOnSearch:"nzOnSearch",nzScrollToBottom:"nzScrollToBottom",nzOpenChange:"nzOpenChange",nzBlur:"nzBlur",nzFocus:"nzFocus"},exportAs:["nzSelect"],features:[ce([Io,{provide:fi,useExisting:Ae(()=>t),multi:!0}]),$],decls:5,vars:25,consts:[["cdkOverlayOrigin","",3,"nzId","open","disabled","mode","nzNoAnimation","maxTagPlaceholder","removeIcon","placeHolder","maxTagCount","customTemplate","tokenSeparators","showSearch","autofocus","listOfTopItem","inputValueChange","tokenize","deleteItem","keydown"],["origin","cdkOverlayOrigin"],[3,"showArrow","loading","search","suffixIcon","feedbackIcon",4,"ngIf"],[3,"clearIcon","clear",4,"ngIf"],["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayMinWidth","cdkConnectedOverlayWidth","cdkConnectedOverlayOrigin","cdkConnectedOverlayTransformOriginOn","cdkConnectedOverlayPanelClass","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","overlayOutsideClick","detach","positionChange"],[3,"showArrow","loading","search","suffixIcon","feedbackIcon"],["feedbackIconTpl",""],[3,"status",4,"ngIf"],[3,"status"],[3,"clearIcon","clear"],[3,"ngStyle","itemSize","maxItemLength","matchWidth","nzNoAnimation","listOfContainerItem","menuItemSelectedIcon","notFoundContent","activatedValue","listOfSelectedValue","dropdownRender","compareWith","mode","keydown","itemClick","scrollToBottom"]],template:function(e,i){if(1&e&&(R(0,"nz-select-top-control",0,1),te("inputValueChange",function(r){return i.onInputValueChange(r)})("tokenize",function(r){return i.onTokenSeparate(r)})("deleteItem",function(r){return i.onItemDelete(r)})("keydown",function(r){return i.onKeyDown(r)}),j(),T(2,GY,3,5,"nz-select-arrow",2),T(3,qY,1,1,"nz-select-clear",3),T(4,KY,1,23,"ng-template",4),te("overlayOutsideClick",function(r){return i.onClickOutside(r)})("detach",function(){return i.setOpenState(!1)})("positionChange",function(r){return i.onPositionChange(r)})),2&e){const o=ln(1);M("nzId",i.nzId)("open",i.nzOpen)("disabled",i.nzDisabled)("mode",i.nzMode)("@.disabled",!(null==i.noAnimation||!i.noAnimation.nzNoAnimation))("nzNoAnimation",null==i.noAnimation?null:i.noAnimation.nzNoAnimation)("maxTagPlaceholder",i.nzMaxTagPlaceholder)("removeIcon",i.nzRemoveIcon)("placeHolder",i.nzPlaceHolder)("maxTagCount",i.nzMaxTagCount)("customTemplate",i.nzCustomTemplate)("tokenSeparators",i.nzTokenSeparators)("showSearch",i.nzShowSearch)("autofocus",i.nzAutoFocus)("listOfTopItem",i.listOfTopItem),k(2),M("ngIf",i.nzShowArrow||i.hasFeedback&&!!i.status),k(1),M("ngIf",i.nzAllowClear&&!i.nzDisabled&&i.listOfValue.length),k(1),M("cdkConnectedOverlayHasBackdrop",i.nzBackdrop)("cdkConnectedOverlayMinWidth",i.nzDropdownMatchSelectWidth?null:i.triggerWidth)("cdkConnectedOverlayWidth",i.nzDropdownMatchSelectWidth?i.triggerWidth:null)("cdkConnectedOverlayOrigin",o)("cdkConnectedOverlayTransformOriginOn",".ant-select-dropdown")("cdkConnectedOverlayPanelClass",i.nzDropdownClassName)("cdkConnectedOverlayOpen",i.nzOpen)("cdkConnectedOverlayPositions",i.positions)}},dependencies:[xt,Zc,s4,Ts,XR,pl,Vi,sY,QY,J6,nj,ij],encapsulation:2,data:{animation:[__]},changeDetection:0}),ee([f4()],t.prototype,"nzSuffixIcon",void 0),ee([oe()],t.prototype,"nzAllowClear",void 0),ee([f4(),oe()],t.prototype,"nzBorderless",void 0),ee([oe()],t.prototype,"nzShowSearch",void 0),ee([oe()],t.prototype,"nzLoading",void 0),ee([oe()],t.prototype,"nzAutoFocus",void 0),ee([oe()],t.prototype,"nzAutoClearSearchValue",void 0),ee([oe()],t.prototype,"nzServerSearch",void 0),ee([oe()],t.prototype,"nzDisabled",void 0),ee([oe()],t.prototype,"nzOpen",void 0),ee([oe()],t.prototype,"nzSelectOnTab",void 0),ee([f4(),oe()],t.prototype,"nzBackdrop",void 0),t})(),aj=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[An,dn,B6,vv,ko,a4,ro,Is,eY,y_,_4,$6,aY,f6,zL]}),t})();function lj(t,n){if(1&t){const e=ht();R(0,"map-marker",8,9),te("mapMouseover",function(){const r=Ve(e).$implicit,s=ln(1);return Ne(x().openInfoWindow(s,r))})("mapMouseout",function(){return Ve(e),Ne(x().closeInfoWindow())})("centerChanged",function(o){return Ve(e),Ne(x().onMapCenterChanged(o))})("mapClick",function(){const r=Ve(e).$implicit,s=ln(1);return Ne(x().openPopup(s,r))}),j()}if(2&t){const e=n.$implicit;M("position",e)("options",e.markerOptions)}}function cj(t,n){if(1&t){const e=ht();Re(0),R(1,"div",10),X(2,"div",11),R(3,"div",12)(4,"ul",13),X(5,"li",14),R(6,"li",15),te("nzOpenChange",function(o){return Ve(e),Ne(x().change(o))}),j(),R(7,"li",16)(8,"ul")(9,"li",17),Et(10,"Option 9"),j(),R(11,"li",17),Et(12,"Option 10"),j(),R(13,"li",17),Et(14,"Option 11"),j()()()()()(),Be()}2&t&&(k(2),M("nzSpan",18)("nzPush",6),k(1),M("nzSpan",6)("nzPull",18),k(1),M("nzMode","vertical"))}function uj(t,n){if(1&t){const e=ht();R(0,"a",18),te("click",function(){return Ve(e),Ne(x().clickBack())}),X(1,"i",19),j()}}let dj=(()=>{class t{constructor(e){this.$http=e,this.backButton=!1,this.title="mapDashboard",this.allData=[],this.allDataBckUp=[],this.isVisible=!1,this.selectedValue=void 0,this.selectReport=void 0,this.multipleValue=[],this.listOfOptionMulti=[{label:"R1",value:"R1"},{label:"R2",value:"R2"}],this.listOfOption=[{label:"Green",value:"Green"},{label:"Red",value:"Red"},{label:"Blue",value:"Blue"}],this.center={lat:22.5630255,lng:88.39625699999999},this.options={zoomControl:!1,scrollwheel:!0,disableDoubleClickZoom:!1,styles:[{featureType:"administrative",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"poi",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"road",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"transit",elementType:"labels",stylers:[{visibility:"off"}]}],maxZoom:18,minZoom:3},this.zoom=10,this.markerOptions={},this.vertices=[],this.verticesOption={strokeColor:"red",strokeWeight:100},this.markerPositions=[],this.optionObj={},this.geocoder=new google.maps.Geocoder,this.window=window,console.log(this.markerOptions)}ngOnInit(){this.CommonPostApi()}getmapData(e){var i=this;return k1(function*(){i.allData=[],i.markerPositions=[];const s=a=>{switch(a){case"Red":return"assets/img/red-vactor.png";case"Green":return"assets/img/green.png";case"Blue":return"assets/img/vector-blue.png";default:return"assets/img/Distribution.png"}};e.forEach(function(){var a=k1(function*(l,c){const u=yield i.getLatLongFromPincode(String(l.distributor_pin));console.log(u.lat()),console.log(u.lng()),i.markerPositions.push({distributor:l.distributor,route_name:l.route_name,distributor_hash:l.distributor_hash,route_hash:l.route_hash,lat:Number(u.lat()),lng:Number(u.lng()),Distributorcolor:c+1,markerOptions:i.markerOptions={icon:{url:s(l.final_color),scaledSize:new google.maps.Size(20,25)},title:l.distributor}})});return function(l,c){return a.apply(this,arguments)}}()),i.allData=[...e]})()}openInfoWindow(e,i){null!=this.infoWindow&&(this.infoWindow.open(e),this.optionObj=i)}closeInfoWindow(){null!=this.infoWindow&&this.infoWindow.close()}handleOk(){console.log("Button ok clicked!"),this.isVisible=!1}handleCancel(){console.log("Button cancel clicked!"),this.isVisible=!1}openPopup(e,i){console.log(this.options),this.optionObj=i,i.distributor_hash&&(this.CommonPostclickApi(i),this.backButton=!0)}change(e){console.log(e)}colorChange(){if(this.selectedValue){const e=this.allDataBckUp.filter(i=>i.final_color==this.selectedValue);this.getmapData(e)}else this.getmapData(this.allDataBckUp)}DistributorChange(){console.log("multipleValue",this.multipleValue);let e=[];this.multipleValue.length?this.multipleValue.forEach(i=>{e=[...this.allDataBckUp.filter(r=>r.Distributor==i),...e]}):e=[...this.allDataBckUp],console.log("tempdata",e),this.getmapData(e)}CommonPostApi(){this.allData=[],this.allDataBckUp=[];const i={headers:new hi({"Content-Type":"application/json","x-functions-key":"eXVKxfpuQQVGJzCYDPQvV4osimM3M9F3tZBmJ_4d4qIjAzFuHahl7A=="})};return this.$http.post("https://fieldfourceappaz.azurewebsites.net/api/common_api?report_name=map_order_status&sp_name=sp_CRM",JSON.stringify({}),i).subscribe(o=>{console.log(o.data),this.allData=o.data,this.allDataBckUp=[...this.allData],this.getmapData(this.allData)})}getLatLongFromPincode(e){return new Promise((i,o)=>{this.geocoder.geocode({address:e},(r,s)=>{if("OK"===s&&r.length>0){const a=r[0].geometry.location,l=new google.maps.LatLng(a.lat(),a.lng());i(l)}else o("Geocode was not successful for the following reason: "+s)})})}CommonPostclickApi(e){var i=this;this.allData=[],this.allDataBckUp=[],this.markerPositions=[];const r={headers:new hi({"Content-Type":"application/json","x-functions-key":"eXVKxfpuQQVGJzCYDPQvV4osimM3M9F3tZBmJ_4d4qIjAzFuHahl7A=="})};this.$http.post("https://fieldfourceappaz.azurewebsites.net/api/common_api?report_name=map_order_status_outlet&sp_name=sp_CRM",JSON.stringify({distributor_hash:e.distributor_hash,route_hash:e.route_hash}),r).subscribe(s=>{console.log(s.data),this.allData=s.data,this.allDataBckUp=[...this.allData];const a=c=>{switch(c){case 1:return"#0222E9";case 2:return"#47054D";case 3:return"#9A52A1";case 4:return"#FF7F00";case 5:case 80:return"#40E0D0";case 6:return"#CCCCFF";case 7:case 45:return"#008000";case 8:case 67:case 87:return"#9932CC";case 9:return"#FFD700";case 10:return"#FF00FF";case 11:return"#FF1493";case 12:return"#E6E6FA";case 13:case 65:case 84:return"#8A2BE2";case 14:case 56:return"#4B0082";case 15:case 62:case 81:return"#4682B4";case 16:case 91:return"#20B2AA";case 17:return"#B0E0E6";case 18:return"#7FFFD4";case 19:case 60:return"#DAA520";case 20:case 90:return"#ADFF2F";case 21:case 93:return"#8FBC8F";case 22:return"#CD5C5C";case 23:return"#FF69B4";case 24:case 53:case 71:return"#556B2F";case 25:case 69:return"#8B4513";case 26:case 77:return"#2E8B57";case 27:return"#808000";case 28:case 66:return"#B8860B";case 29:case 85:return"#00FFFF";case 30:case 73:return"#008080";case 31:case 83:return"#D2691E";case 32:return"#F0E68C";case 33:return"#DA70D6";case 34:return"#FFFACD";case 35:return"#F5F5F5";case 36:case 100:return"#F5F5DC";case 37:return"#8B0000";case 38:case 88:return"#FF6347";case 39:return"#A0522D";case 40:case 86:return"#800080";case 41:return"#696969";case 42:return"#008B8B";case 43:return"#800000";case 44:case 74:return"#BDB76B";case 46:case 70:return"#483D8B";case 47:return"#A9A9A9";case 48:return"#FFA07A";case 49:return"#B0C4DE";case 50:return"#7FFF00";case 51:case 92:return"#00FF7F";case 52:return"#D3D3D3";case 54:return"#F5DEB3";case 55:return"#9ACD32";case 57:return"#00CED1";case 58:return"#00FA9A";case 59:return"#2F4F4F";case 61:return"#808080";case 63:return"#FF8C00";case 64:case 89:return"#FF4500";case 68:return"#E9967A";case 72:return"#FF7F50";case 75:return"#F0FFF0";case 76:return"#FFF5EE";case 78:return"#A52A2A";case 79:return"#00FF00";case 82:return"#00BFFF";case 94:return"#FFFF00";case 95:return"#32CD32";case 96:return"#FAFAD2";case 97:return"#FFEFD5";case 98:return"#E0FFFF";case 99:return"#FAEBD7";default:return"#FFFFFF"}};this.allData.forEach(function(){var c=k1(function*(u,d){i.markerPositions.push({distributor:u.distributor,route_name:u.route_name,lat:Number(u.lat),lng:Number(u.long),markerOptions:i.markerOptions={icon:{path:google.maps.SymbolPath.CIRCLE,scale:10,strokeColor:a(u.Distributorcolor),fillColor:u.color,fillOpacity:1,strokeWeight:7}}})});return function(u,d){return c.apply(this,arguments)}}())})}onMapCenterChanged(e){console.log(e)}clickBack(){this.backButton=!1,this.CommonPostApi()}}return t.\u0275fac=function(e){return new(e||t)(f(Ou))},t.\u0275cmp=ze({type:t,selectors:[["app-root"]],viewQuery:function(e,i){if(1&e&&(Tt(h9,5),Tt(Xt,5)),2&e){let o;we(o=Se())&&(i.infoWindow=o.first),we(o=Se())&&(i.map=o.first)}},decls:9,vars:12,consts:[[2,"text-align","right","background-color","#85cf9454"],["nzAllowClear","","nzPlaceHolder","Choose Report",2,"width","12%","text-align","left","margin","6px",3,"ngModel","nzOptions","ngModelChange"],["nzAllowClear","","nzPlaceHolder","Filter Color",2,"width","10%","text-align","left","margin","6px",3,"ngModel","nzOptions","ngModelChange"],["height","93%","width","100%",3,"center","zoom","options"],[3,"position","options","mapMouseover","mapMouseout","centerChanged","mapClick",4,"ngFor","ngForOf"],[3,"nzVisible","nzTitle","nzWidth","nzVisibleChange","nzOnCancel","nzOnOk"],[4,"nzModalContent"],["class","float",3,"click",4,"ngIf"],[3,"position","options","mapMouseover","mapMouseout","centerChanged","mapClick"],["marker","mapMarker"],["nz-row",""],["nz-col","",3,"nzSpan","nzPush"],["nz-col","",3,"nzSpan","nzPull"],["nz-menu","",3,"nzMode"],["nz-submenu","","nzTitle","Order Information","nzIcon","mail"],["nz-submenu","","nzTitle","Payment Information","nzIcon","appstore",3,"nzOpenChange"],["nz-submenu","","nzTitle","Delivery Information","nzIcon","setting"],["nz-menu-item",""],[1,"float",3,"click"],[1,"fa","fa-arrow-left","my-float"]],template:function(e,i){1&e&&(R(0,"div",0)(1,"nz-select",1),te("ngModelChange",function(r){return i.selectReport=r}),j(),R(2,"nz-select",2),te("ngModelChange",function(r){return i.selectedValue=r})("ngModelChange",function(){return i.colorChange()}),j()(),R(3,"google-map",3),T(4,lj,2,2,"map-marker",4),j(),R(5,"nz-modal",5),te("nzVisibleChange",function(r){return i.isVisible=r})("nzOnCancel",function(){return i.handleCancel()})("nzOnOk",function(){return i.handleOk()}),T(6,cj,15,5,"ng-container",6),j(),T(7,uj,2,0,"a",7),X(8,"router-outlet")),2&e&&(k(1),M("ngModel",i.selectReport)("nzOptions",i.listOfOptionMulti),k(1),M("ngModel",i.selectedValue)("nzOptions",i.listOfOption),k(1),M("center",i.center)("zoom",i.zoom)("options",i.options),k(1),M("ngForOf",i.markerPositions),k(1),M("nzVisible",i.isVisible)("nzTitle",i.optionObj.SalesMan)("nzWidth",850),k(2),M("ngIf",i.backButton))},dependencies:[qc,xt,yu,Xt,Nu,Bu,U1,GR,v_,TB,Z6,M_,kB,z_,sj],styles:[".float[_ngcontent-%COMP%]{position:fixed;width:43px;height:52px;bottom:39px;right:39px;background-color:#900c3f;color:#fff;border-radius:50px;text-align:center;box-shadow:2px 2px 3px #999}.my-float[_ngcontent-%COMP%]{margin-top:18px}"]}),t})(),D4=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})();class k_{getNativeWindow(){return window}}class x_{getNativeDocument(){return document}}const fj=[k_,x_];var vr=(()=>{return(t=vr||(vr={}))[t.HTTP=1]="HTTP",t[t.HTTPS=2]="HTTPS",t[t.AUTO=3]="AUTO",vr;var t})();const P_=new P("angular-google-maps LAZY_MAPS_API_CONFIG");let mj=(()=>{class t extends D4{constructor(e=null,i,o,r){super(),this.localeId=r,this._SCRIPT_ID="agmGoogleMapsApiScript",this.callbackName="agmLazyMapsAPILoader",this._config=e||{},this._windowRef=i,this._documentRef=o}load(){const e=this._windowRef.getNativeWindow();if(e.google&&e.google.maps)return Promise.resolve();if(this._scriptLoadingPromise)return this._scriptLoadingPromise;const i=this._documentRef.getNativeDocument().getElementById(this._SCRIPT_ID);if(i)return this._assignScriptLoadingPromise(i),this._scriptLoadingPromise;const o=this._documentRef.getNativeDocument().createElement("script");return o.type="text/javascript",o.async=!0,o.defer=!0,o.id=this._SCRIPT_ID,o.src=this._getScriptSrc(this.callbackName),this._assignScriptLoadingPromise(o),this._documentRef.getNativeDocument().body.appendChild(o),this._scriptLoadingPromise}_assignScriptLoadingPromise(e){this._scriptLoadingPromise=new Promise((i,o)=>{this._windowRef.getNativeWindow()[this.callbackName]=()=>{i()},e.onerror=r=>{o(r)}})}_getScriptSrc(e){let o;switch(this._config&&this._config.protocol||vr.HTTPS){case vr.AUTO:o="";break;case vr.HTTP:o="http:";break;case vr.HTTPS:o="https:"}const s={v:this._config.apiVersion||"quarterly",callback:e,key:this._config.apiKey,client:this._config.clientId,channel:this._config.channel,libraries:this._config.libraries,region:this._config.region,language:this._config.language||("en-US"!==this.localeId?this.localeId:null)};return`${o}//${this._config.hostAndPath||"maps.googleapis.com/maps/api/js"}?${Object.keys(s).filter(l=>null!=s[l]).filter(l=>!Array.isArray(s[l])||Array.isArray(s[l])&&s[l].length>0).map(l=>{const c=s[l];return Array.isArray(c)?{key:l,value:c.join(",")}:{key:l,value:s[l]}}).map(l=>`${l.key}=${l.value}`).join("&")}`}}return t.\u0275fac=function(e){return new(e||t)(v(P_,8),v(k_),v(x_),v(Pi))},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})(),Bj=(()=>{class t{static forRoot(e){return{ngModule:t,providers:[...fj,{provide:D4,useClass:mj},{provide:P_,useValue:e}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({}),t})();const yr=void 0,jj=["en",[["a","p"],["AM","PM"],yr],[["AM","PM"],yr,yr],[["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"]],yr,[["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"]],yr,[["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}",yr,"{1} 'at' {0}",yr],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Yj(t){const e=Math.floor(Math.abs(t)),i=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===i?1:5}];function R_(t){return new z(3e3,!1)}function wU(){return typeof window<"u"&&typeof window.document<"u"}function sd(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Oo(t){switch(t.length){case 0:return new hl;case 1:return t[0];default:return new ay(t)}}function B_(t,n,e,i,o=new Map,r=new Map){const s=[],a=[];let l=-1,c=null;if(i.forEach(u=>{const d=u.get("offset"),h=d==l,p=h&&c||new Map;u.forEach((m,g)=>{let y=g,C=m;if("offset"!==g)switch(y=n.normalizePropertyName(y,s),C){case x6:C=o.get(g);break;case no:C=r.get(g);break;default:C=n.normalizeStyleValue(g,y,C,s)}p.set(y,C)}),h||a.push(p),c=p,l=d}),s.length)throw function hU(t){return new z(3502,!1)}();return a}function ad(t,n,e,i){switch(n){case"start":t.onStart(()=>i(e&&ld(e,"start",t)));break;case"done":t.onDone(()=>i(e&&ld(e,"done",t)));break;case"destroy":t.onDestroy(()=>i(e&&ld(e,"destroy",t)))}}function ld(t,n,e){const r=cd(t.element,t.triggerName,t.fromState,t.toState,n||t.phaseName,e.totalTime??t.totalTime,!!e.disabled),s=t._data;return null!=s&&(r._data=s),r}function cd(t,n,e,i,o="",r=0,s){return{element:t,triggerName:n,fromState:e,toState:i,phaseName:o,totalTime:r,disabled:!!s}}function Fn(t,n,e){let i=t.get(n);return i||t.set(n,i=e),i}function Y_(t){const n=t.indexOf(":");return[t.substring(1,n),t.slice(n+1)]}let ud=(t,n)=>!1,j_=(t,n,e)=>[],U_=null;function dd(t){const n=t.parentNode||t.host;return n===U_?null:n}(sd()||typeof Element<"u")&&(wU()?(U_=(()=>document.documentElement)(),ud=(t,n)=>{for(;n;){if(n===t)return!0;n=dd(n)}return!1}):ud=(t,n)=>t.contains(n),j_=(t,n,e)=>{if(e)return Array.from(t.querySelectorAll(n));const i=t.querySelector(n);return i?[i]:[]});let _r=null,$_=!1;const W_=ud,G_=j_;let q_=(()=>{class t{validateStyleProperty(e){return function DU(t){_r||(_r=function EU(){return typeof document<"u"?document.body:null}()||{},$_=!!_r.style&&"WebkitAppearance"in _r.style);let n=!0;return _r.style&&!function SU(t){return"ebkit"==t.substring(1,6)}(t)&&(n=t in _r.style,!n&&$_&&(n="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in _r.style)),n}(e)}matchesElement(e,i){return!1}containsElement(e,i){return W_(e,i)}getParentElement(e){return dd(e)}query(e,i,o){return G_(e,i,o)}computeStyle(e,i,o){return o||""}animate(e,i,o,r,s,a=[],l){return new hl(o,r)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})(),hd=(()=>{class t{}return t.NOOP=new q_,t})();const TU=1e3,pd="ng-enter",E4="ng-leave",T4="ng-trigger",k4=".ng-trigger",Z_="ng-animating",fd=".ng-animating";function so(t){if("number"==typeof t)return t;const n=t.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:md(parseFloat(n[1]),n[2])}function md(t,n){return"s"===n?t*TU:t}function x4(t,n,e){return t.hasOwnProperty("duration")?t:function xU(t,n,e){let o,r=0,s="";if("string"==typeof t){const a=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return n.push(R_()),{duration:0,delay:0,easing:""};o=md(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(r=md(parseFloat(l),a[4]));const c=a[5];c&&(s=c)}else o=t;if(!e){let a=!1,l=n.length;o<0&&(n.push(function Uj(){return new z(3100,!1)}()),a=!0),r<0&&(n.push(function $j(){return new z(3101,!1)}()),a=!0),a&&n.splice(l,0,R_())}return{duration:o,delay:r,easing:s}}(t,n,e)}function ml(t,n={}){return Object.keys(t).forEach(e=>{n[e]=t[e]}),n}function X_(t){const n=new Map;return Object.keys(t).forEach(e=>{n.set(e,t[e])}),n}function Fo(t,n=new Map,e){if(e)for(let[i,o]of e)n.set(i,o);for(let[i,o]of t)n.set(i,o);return n}function J_(t,n,e){return e?n+":"+e+";":""}function eC(t){let n="";for(let e=0;e{const r=vd(o);e&&!e.has(o)&&e.set(o,t.style[r]),t.style[r]=i}),sd()&&eC(t))}function Cr(t,n){t.style&&(n.forEach((e,i)=>{const o=vd(i);t.style[o]=""}),sd()&&eC(t))}function gl(t){return Array.isArray(t)?1==t.length?t[0]:iy(t):t}const gd=new RegExp("{{\\s*(.+?)\\s*}}","g");function tC(t){let n=[];if("string"==typeof t){let e;for(;e=gd.exec(t);)n.push(e[1]);gd.lastIndex=0}return n}function vl(t,n,e){const i=t.toString(),o=i.replace(gd,(r,s)=>{let a=n[s];return null==a&&(e.push(function Gj(t){return new z(3003,!1)}()),a=""),a.toString()});return o==i?t:o}function P4(t){const n=[];let e=t.next();for(;!e.done;)n.push(e.value),e=t.next();return n}const IU=/-+([a-z0-9])/g;function vd(t){return t.replace(IU,(...n)=>n[1].toUpperCase())}function OU(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Vn(t,n,e){switch(n.type){case 7:return t.visitTrigger(n,e);case 0:return t.visitState(n,e);case 1:return t.visitTransition(n,e);case 2:return t.visitSequence(n,e);case 3:return t.visitGroup(n,e);case 4:return t.visitAnimate(n,e);case 5:return t.visitKeyframes(n,e);case 6:return t.visitStyle(n,e);case 8:return t.visitReference(n,e);case 9:return t.visitAnimateChild(n,e);case 10:return t.visitAnimateRef(n,e);case 11:return t.visitQuery(n,e);case 12:return t.visitStagger(n,e);default:throw function qj(t){return new z(3004,!1)}()}}function nC(t,n){return window.getComputedStyle(t)[n]}const O4="*";function RU(t,n){const e=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(i=>function BU(t,n,e){if(":"==t[0]){const l=function YU(t,n){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i) *"}}(t,e);if("function"==typeof l)return void n.push(l);t=l}const i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(function aU(t){return new z(3015,!1)}()),n;const o=i[1],r=i[2],s=i[3];n.push(iC(o,s));"<"==r[0]&&!(o==O4&&s==O4)&&n.push(iC(s,o))}(i,e,n)):e.push(t),e}const F4=new Set(["true","1"]),V4=new Set(["false","0"]);function iC(t,n){const e=F4.has(t)||V4.has(t),i=F4.has(n)||V4.has(n);return(o,r)=>{let s=t==O4||t==o,a=n==O4||n==r;return!s&&e&&"boolean"==typeof o&&(s=o?F4.has(t):V4.has(t)),!a&&i&&"boolean"==typeof r&&(a=r?F4.has(n):V4.has(n)),s&&a}}const jU=new RegExp("s*:selfs*,?","g");function yd(t,n,e,i){return new UU(t).build(n,e,i)}class UU{constructor(n){this._driver=n}build(n,e,i){const o=new GU(e);return this._resetContextStyleTimingState(o),Vn(this,gl(n),o)}_resetContextStyleTimingState(n){n.currentQuerySelector="",n.collectedStyles=new Map,n.collectedStyles.set("",new Map),n.currentTime=0}visitTrigger(n,e){let i=e.queryCount=0,o=e.depCount=0;const r=[],s=[];return"@"==n.name.charAt(0)&&e.errors.push(function Zj(){return new z(3006,!1)}()),n.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),0==a.type){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,r.push(this.visitState(l,e))}),l.name=c}else if(1==a.type){const l=this.visitTransition(a,e);i+=l.queryCount,o+=l.depCount,s.push(l)}else e.errors.push(function Xj(){return new z(3007,!1)}())}),{type:7,name:n.name,states:r,transitions:s,queryCount:i,depCount:o,options:null}}visitState(n,e){const i=this.visitStyle(n.styles,e),o=n.options&&n.options.params||null;if(i.containsDynamicStyles){const r=new Set,s=o||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{tC(l).forEach(c=>{s.hasOwnProperty(c)||r.add(c)})})}),r.size&&(P4(r.values()),e.errors.push(function Qj(t,n){return new z(3008,!1)}()))}return{type:0,name:n.name,style:i,options:o?{params:o}:null}}visitTransition(n,e){e.queryCount=0,e.depCount=0;const i=Vn(this,gl(n.animation),e);return{type:1,matchers:RU(n.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:br(n.options)}}visitSequence(n,e){return{type:2,steps:n.steps.map(i=>Vn(this,i,e)),options:br(n.options)}}visitGroup(n,e){const i=e.currentTime;let o=0;const r=n.steps.map(s=>{e.currentTime=i;const a=Vn(this,s,e);return o=Math.max(o,e.currentTime),a});return e.currentTime=o,{type:3,steps:r,options:br(n.options)}}visitAnimate(n,e){const i=function KU(t,n){if(t.hasOwnProperty("duration"))return t;if("number"==typeof t)return _d(x4(t,n).duration,0,"");const e=t;if(e.split(/\s+/).some(r=>"{"==r.charAt(0)&&"{"==r.charAt(1))){const r=_d(0,0,"");return r.dynamic=!0,r.strValue=e,r}const o=x4(e,n);return _d(o.duration,o.delay,o.easing)}(n.timings,e.errors);e.currentAnimateTimings=i;let o,r=n.styles?n.styles:J({});if(5==r.type)o=this.visitKeyframes(r,e);else{let s=n.styles,a=!1;if(!s){a=!0;const c={};i.easing&&(c.easing=i.easing),s=J(c)}e.currentTime+=i.duration+i.delay;const l=this.visitStyle(s,e);l.isEmptyStep=a,o=l}return e.currentAnimateTimings=null,{type:4,timings:i,style:o,options:null}}visitStyle(n,e){const i=this._makeStyleAst(n,e);return this._validateStyleAst(i,e),i}_makeStyleAst(n,e){const i=[],o=Array.isArray(n.styles)?n.styles:[n.styles];for(let a of o)"string"==typeof a?a===no?i.push(a):e.errors.push(new z(3002,!1)):i.push(X_(a));let r=!1,s=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!r))for(let l of a.values())if(l.toString().indexOf("{{")>=0){r=!0;break}}),{type:6,styles:i,easing:s,offset:n.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(n,e){const i=e.currentAnimateTimings;let o=e.currentTime,r=e.currentTime;i&&r>0&&(r-=i.duration+i.delay),n.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const c=e.collectedStyles.get(e.currentQuerySelector),u=c.get(l);let d=!0;u&&(r!=o&&r>=u.startTime&&o<=u.endTime&&(e.errors.push(function eU(t,n,e,i,o){return new z(3010,!1)}()),d=!1),r=u.startTime),d&&c.set(l,{startTime:r,endTime:o}),e.options&&function AU(t,n,e){const i=n.params||{},o=tC(t);o.length&&o.forEach(r=>{i.hasOwnProperty(r)||e.push(function Wj(t){return new z(3001,!1)}())})}(a,e.options,e.errors)})})}visitKeyframes(n,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function tU(){return new z(3011,!1)}()),i;let r=0;const s=[];let a=!1,l=!1,c=0;const u=n.steps.map(C=>{const E=this._makeStyleAst(C,e);let b=null!=E.offset?E.offset:function qU(t){if("string"==typeof t)return null;let n=null;if(Array.isArray(t))t.forEach(e=>{if(e instanceof Map&&e.has("offset")){const i=e;n=parseFloat(i.get("offset")),i.delete("offset")}});else if(t instanceof Map&&t.has("offset")){const e=t;n=parseFloat(e.get("offset")),e.delete("offset")}return n}(E.styles),O=0;return null!=b&&(r++,O=E.offset=b),l=l||O<0||O>1,a=a||O0&&r{const b=h>0?E==p?1:h*E:s[E],O=b*y;e.currentTime=m+g.delay+O,g.duration=O,this._validateStyleAst(C,e),C.offset=b,i.styles.push(C)}),i}visitReference(n,e){return{type:8,animation:Vn(this,gl(n.animation),e),options:br(n.options)}}visitAnimateChild(n,e){return e.depCount++,{type:9,options:br(n.options)}}visitAnimateRef(n,e){return{type:10,animation:this.visitReference(n.animation,e),options:br(n.options)}}visitQuery(n,e){const i=e.currentQuerySelector,o=n.options||{};e.queryCount++,e.currentQuery=n;const[r,s]=function $U(t){const n=!!t.split(/\s*,\s*/).find(e=>":self"==e);return n&&(t=t.replace(jU,"")),t=t.replace(/@\*/g,k4).replace(/@\w+/g,e=>k4+"-"+e.slice(1)).replace(/:animating/g,fd),[t,n]}(n.selector);e.currentQuerySelector=i.length?i+" "+r:r,Fn(e.collectedStyles,e.currentQuerySelector,new Map);const a=Vn(this,gl(n.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:r,limit:o.limit||0,optional:!!o.optional,includeSelf:s,animation:a,originalSelector:n.selector,options:br(n.options)}}visitStagger(n,e){e.currentQuery||e.errors.push(function rU(){return new z(3013,!1)}());const i="full"===n.timings?{duration:0,delay:0,easing:"full"}:x4(n.timings,e.errors,!0);return{type:12,animation:Vn(this,gl(n.animation),e),timings:i,options:null}}}class GU{constructor(n){this.errors=n,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 br(t){return t?(t=ml(t)).params&&(t.params=function WU(t){return t?ml(t):null}(t.params)):t={},t}function _d(t,n,e){return{duration:t,delay:n,easing:e}}function Cd(t,n,e,i,o,r,s=null,a=!1){return{type:1,element:t,keyframes:n,preStyleProps:e,postStyleProps:i,duration:o,delay:r,totalTime:o+r,easing:s,subTimeline:a}}class N4{constructor(){this._map=new Map}get(n){return this._map.get(n)||[]}append(n,e){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...e)}has(n){return this._map.has(n)}clear(){this._map.clear()}}const QU=new RegExp(":enter","g"),e$=new RegExp(":leave","g");function bd(t,n,e,i,o,r=new Map,s=new Map,a,l,c=[]){return(new t$).buildKeyframes(t,n,e,i,o,r,s,a,l,c)}class t${buildKeyframes(n,e,i,o,r,s,a,l,c,u=[]){c=c||new N4;const d=new Md(n,e,c,o,r,u,[]);d.options=l;const h=l.delay?so(l.delay):0;d.currentTimeline.delayNextStep(h),d.currentTimeline.setStyles([s],null,d.errors,l),Vn(this,i,d);const p=d.timelines.filter(m=>m.containsAnimation());if(p.length&&a.size){let m;for(let g=p.length-1;g>=0;g--){const y=p[g];if(y.element===e){m=y;break}}m&&!m.allowOnlyTimelineStyles()&&m.setStyles([a],null,d.errors,l)}return p.length?p.map(m=>m.buildKeyframes()):[Cd(e,[],[],[],0,h,"",!1)]}visitTrigger(n,e){}visitState(n,e){}visitTransition(n,e){}visitAnimateChild(n,e){const i=e.subInstructions.get(e.element);if(i){const o=e.createSubContext(n.options),r=e.currentTimeline.currentTime,s=this._visitSubInstructions(i,o,o.options);r!=s&&e.transformIntoNewTimeline(s)}e.previousNode=n}visitAnimateRef(n,e){const i=e.createSubContext(n.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],e,i),this.visitReference(n.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=n}_applyAnimationRefDelays(n,e,i){for(const o of n){const r=o?.delay;if(r){const s="number"==typeof r?r:so(vl(r,o?.params??{},e.errors));i.delayNextStep(s)}}}_visitSubInstructions(n,e,i){let r=e.currentTimeline.currentTime;const s=null!=i.duration?so(i.duration):null,a=null!=i.delay?so(i.delay):null;return 0!==s&&n.forEach(l=>{const c=e.appendInstructionToTimeline(l,s,a);r=Math.max(r,c.duration+c.delay)}),r}visitReference(n,e){e.updateOptions(n.options,!0),Vn(this,n.animation,e),e.previousNode=n}visitSequence(n,e){const i=e.subContextCount;let o=e;const r=n.options;if(r&&(r.params||r.delay)&&(o=e.createSubContext(r),o.transformIntoNewTimeline(),null!=r.delay)){6==o.previousNode.type&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=L4);const s=so(r.delay);o.delayNextStep(s)}n.steps.length&&(n.steps.forEach(s=>Vn(this,s,o)),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>i&&o.transformIntoNewTimeline()),e.previousNode=n}visitGroup(n,e){const i=[];let o=e.currentTimeline.currentTime;const r=n.options&&n.options.delay?so(n.options.delay):0;n.steps.forEach(s=>{const a=e.createSubContext(n.options);r&&a.delayNextStep(r),Vn(this,s,a),o=Math.max(o,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>e.currentTimeline.mergeTimelineCollectedStyles(s)),e.transformIntoNewTimeline(o),e.previousNode=n}_visitTiming(n,e){if(n.dynamic){const i=n.strValue;return x4(e.params?vl(i,e.params,e.errors):i,e.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,e){const i=e.currentAnimateTimings=this._visitTiming(n.timings,e),o=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),o.snapshotCurrentStyles());const r=n.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(i.duration),this.visitStyle(r,e),o.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=n}visitStyle(n,e){const i=e.currentTimeline,o=e.currentAnimateTimings;!o&&i.hasCurrentStyleProperties()&&i.forwardFrame();const r=o&&o.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(r):i.setStyles(n.styles,r,e.errors,e.options),e.previousNode=n}visitKeyframes(n,e){const i=e.currentAnimateTimings,o=e.currentTimeline.duration,r=i.duration,a=e.createSubContext().currentTimeline;a.easing=i.easing,n.styles.forEach(l=>{a.forwardTime((l.offset||0)*r),a.setStyles(l.styles,l.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(o+r),e.previousNode=n}visitQuery(n,e){const i=e.currentTimeline.currentTime,o=n.options||{},r=o.delay?so(o.delay):0;r&&(6===e.previousNode.type||0==i&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=L4);let s=i;const a=e.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!o.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((c,u)=>{e.currentQueryIndex=u;const d=e.createSubContext(n.options,c);r&&d.delayNextStep(r),c===e.element&&(l=d.currentTimeline),Vn(this,n.animation,d),d.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,d.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=n}visitStagger(n,e){const i=e.parentContext,o=e.currentTimeline,r=n.timings,s=Math.abs(r.duration),a=s*(e.currentQueryTotal-1);let l=s*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime}const u=e.currentTimeline;l&&u.delayNextStep(l);const d=u.currentTime;Vn(this,n.animation,e),e.previousNode=n,i.currentStaggerTime=o.currentTime-d+(o.startTime-i.currentTimeline.startTime)}}const L4={};class Md{constructor(n,e,i,o,r,s,a,l){this._driver=n,this.element=e,this.subInstructions=i,this._enterClassName=o,this._leaveClassName=r,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=L4,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new H4(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,e){if(!n)return;const i=n;let o=this.options;null!=i.duration&&(o.duration=so(i.duration)),null!=i.delay&&(o.delay=so(i.delay));const r=i.params;if(r){let s=o.params;s||(s=this.options.params={}),Object.keys(r).forEach(a=>{(!e||!s.hasOwnProperty(a))&&(s[a]=vl(r[a],s,this.errors))})}}_copyOptions(){const n={};if(this.options){const e=this.options.params;if(e){const i=n.params={};Object.keys(e).forEach(o=>{i[o]=e[o]})}}return n}createSubContext(n=null,e,i){const o=e||this.element,r=new Md(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,i||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(n),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(n){return this.previousNode=L4,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,e,i){const o={duration:e??n.duration,delay:this.currentTimeline.currentTime+(i??0)+n.delay,easing:""},r=new n$(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,o,n.stretchStartingKeyframe);return this.timelines.push(r),o}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,e,i,o,r,s){let a=[];if(o&&a.push(this.element),n.length>0){n=(n=n.replace(QU,"."+this._enterClassName)).replace(e$,"."+this._leaveClassName);let c=this._driver.query(this.element,n,1!=i);0!==i&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!r&&0==a.length&&s.push(function sU(t){return new z(3014,!1)}()),a}}class H4{constructor(n,e,i,o){this._driver=n,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=o,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(n){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+n),e&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,e){return this.applyStylesToKeyframe(),new H4(this._driver,n,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(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,e){this._localTimelineStyles.set(n,e),this._globalTimelineStyles.set(n,e),this._styleSummary.set(n,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||no),this._currentKeyframe.set(e,no);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,e,i,o){e&&this._previousKeyframe.set("easing",e);const r=o&&o.params||{},s=function i$(t,n){const e=new Map;let i;return t.forEach(o=>{if("*"===o){i=i||n.keys();for(let r of i)e.set(r,no)}else Fo(o,e)}),e}(n,this._globalTimelineStyles);for(let[a,l]of s){const c=vl(l,r,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??no),this._updateStyle(a,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((n,e)=>{this._currentKeyframe.set(e,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,n)}))}snapshotCurrentStyles(){for(let[n,e]of this._localTimelineStyles)this._pendingStyles.set(n,e),this._updateStyle(n,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const n=[];for(let e in this._currentKeyframe)n.push(e);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((e,i)=>{const o=this._styleSummary.get(i);(!o||e.time>o.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const n=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let o=[];this._keyframes.forEach((a,l)=>{const c=Fo(a,new Map,this._backFill);c.forEach((u,d)=>{u===x6?n.add(d):u===no&&e.add(d)}),i||c.set("offset",l/this.duration),o.push(c)});const r=n.size?P4(n.values()):[],s=e.size?P4(e.values()):[];if(i){const a=o[0],l=new Map(a);a.set("offset",0),l.set("offset",1),o=[a,l]}return Cd(this.element,o,r,s,this.duration,this.startTime,this.easing,!1)}}class n$ extends H4{constructor(n,e,i,o,r,s,a=!1){super(n,e,s.delay),this.keyframes=i,this.preStyleProps=o,this.postStyleProps=r,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:e,duration:i,easing:o}=this.timings;if(this._stretchStartingKeyframe&&e){const r=[],s=i+e,a=e/s,l=Fo(n[0]);l.set("offset",0),r.push(l);const c=Fo(n[0]);c.set("offset",sC(a)),r.push(c);const u=n.length-1;for(let d=1;d<=u;d++){let h=Fo(n[d]);const p=h.get("offset");h.set("offset",sC((e+p*i)/s)),r.push(h)}i=s,e=0,o="",n=r}return Cd(this.element,n,this.preStyleProps,this.postStyleProps,i,e,o,!0)}}function sC(t,n=3){const e=Math.pow(10,n-1);return Math.round(t*e)/e}class zd{}const o$=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 r$ extends zd{normalizePropertyName(n,e){return vd(n)}normalizeStyleValue(n,e,i,o){let r="";const s=i.toString().trim();if(o$.has(e)&&0!==i&&"0"!==i)if("number"==typeof i)r="px";else{const a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&o.push(function Kj(t,n){return new z(3005,!1)}())}return s+r}}function aC(t,n,e,i,o,r,s,a,l,c,u,d,h){return{type:0,element:t,triggerName:n,isRemovalTransition:o,fromState:e,fromStyles:r,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:d,errors:h}}const wd={};class lC{constructor(n,e,i){this._triggerName=n,this.ast=e,this._stateStyles=i}match(n,e,i,o){return function s$(t,n,e,i,o){return t.some(r=>r(n,e,i,o))}(this.ast.matchers,n,e,i,o)}buildStyles(n,e,i){let o=this._stateStyles.get("*");return void 0!==n&&(o=this._stateStyles.get(n?.toString())||o),o?o.buildStyles(e,i):new Map}build(n,e,i,o,r,s,a,l,c,u){const d=[],h=this.ast.options&&this.ast.options.params||wd,m=this.buildStyles(i,a&&a.params||wd,d),g=l&&l.params||wd,y=this.buildStyles(o,g,d),C=new Set,E=new Map,b=new Map,O="void"===o,ye={params:a$(g,h),delay:this.ast.options?.delay},De=u?[]:bd(n,e,this.ast.animation,r,s,m,y,ye,c,d);let gt=0;if(De.forEach(Te=>{gt=Math.max(Te.duration+Te.delay,gt)}),d.length)return aC(e,this._triggerName,i,o,O,m,y,[],[],E,b,gt,d);De.forEach(Te=>{const it=Te.element,bn=Fn(E,it,new Set);Te.preStyleProps.forEach(Mn=>bn.add(Mn));const Ot=Fn(b,it,new Set);Te.postStyleProps.forEach(Mn=>Ot.add(Mn)),it!==e&&C.add(it)});const Nn=P4(C.values());return aC(e,this._triggerName,i,o,O,m,y,De,Nn,E,b,gt)}}function a$(t,n){const e=ml(n);for(const i in t)t.hasOwnProperty(i)&&null!=t[i]&&(e[i]=t[i]);return e}class l${constructor(n,e,i){this.styles=n,this.defaultParams=e,this.normalizer=i}buildStyles(n,e){const i=new Map,o=ml(this.defaultParams);return Object.keys(n).forEach(r=>{const s=n[r];null!==s&&(o[r]=s)}),this.styles.styles.forEach(r=>{"string"!=typeof r&&r.forEach((s,a)=>{s&&(s=vl(s,o,e));const l=this.normalizer.normalizePropertyName(a,e);s=this.normalizer.normalizeStyleValue(a,l,s,e),i.set(a,s)})}),i}}class u${constructor(n,e,i){this.name=n,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(o=>{this.states.set(o.name,new l$(o.style,o.options&&o.options.params||{},i))}),cC(this.states,"true","1"),cC(this.states,"false","0"),e.transitions.forEach(o=>{this.transitionFactories.push(new lC(n,o,this.states))}),this.fallbackTransition=function d$(t,n,e){return new lC(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},n)}(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,e,i,o){return this.transitionFactories.find(s=>s.match(n,e,i,o))||null}matchStyles(n,e,i){return this.fallbackTransition.buildStyles(n,e,i)}}function cC(t,n,e){t.has(n)?t.has(e)||t.set(e,t.get(n)):t.has(e)&&t.set(n,t.get(e))}const h$=new N4;class p${constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(n,e){const i=[],o=[],r=yd(this._driver,e,i,o);if(i.length)throw function pU(t){return new z(3503,!1)}();this._animations.set(n,r)}_buildPlayer(n,e,i){const o=n.element,r=B_(0,this._normalizer,0,n.keyframes,e,i);return this._driver.animate(o,r,n.duration,n.delay,n.easing,[],!0)}create(n,e,i={}){const o=[],r=this._animations.get(n);let s;const a=new Map;if(r?(s=bd(this._driver,e,r,pd,E4,new Map,new Map,i,h$,o),s.forEach(u=>{const d=Fn(a,u.element,new Map);u.postStyleProps.forEach(h=>d.set(h,null))})):(o.push(function fU(){return new z(3300,!1)}()),s=[]),o.length)throw function mU(t){return new z(3504,!1)}();a.forEach((u,d)=>{u.forEach((h,p)=>{u.set(p,this._driver.computeStyle(d,p,no))})});const c=Oo(s.map(u=>{const d=a.get(u.element);return this._buildPlayer(u,new Map,d)}));return this._playersById.set(n,c),c.onDestroy(()=>this.destroy(n)),this.players.push(c),c}destroy(n){const e=this._getPlayer(n);e.destroy(),this._playersById.delete(n);const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(n){const e=this._playersById.get(n);if(!e)throw function gU(t){return new z(3301,!1)}();return e}listen(n,e,i,o){const r=cd(e,"","","");return ad(this._getPlayer(n),i,r,o),()=>{}}command(n,e,i,o){if("register"==i)return void this.register(n,o[0]);if("create"==i)return void this.create(n,e,o[0]||{});const r=this._getPlayer(n);switch(i){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(o[0]));break;case"destroy":this.destroy(n)}}}const uC="ng-animate-queued",Sd="ng-animate-disabled",y$=[],dC={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},_$={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Qn="__ng_removed";class Dd{get params(){return this.options.params}constructor(n,e=""){this.namespaceId=e;const i=n&&n.hasOwnProperty("value");if(this.value=function z$(t){return t??null}(i?n.value:n),i){const r=ml(n);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){const e=n.params;if(e){const i=this.options.params;Object.keys(e).forEach(o=>{null==i[o]&&(i[o]=e[o])})}}}const yl="void",Ed=new Dd(yl);class C${constructor(n,e,i){this.id=n,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,Jn(e,this._hostClassName)}listen(n,e,i,o){if(!this._triggers.has(e))throw function vU(t,n){return new z(3302,!1)}();if(null==i||0==i.length)throw function yU(t){return new z(3303,!1)}();if(!function w$(t){return"start"==t||"done"==t}(i))throw function _U(t,n){return new z(3400,!1)}();const r=Fn(this._elementListeners,n,[]),s={name:e,phase:i,callback:o};r.push(s);const a=Fn(this._engine.statesByElement,n,new Map);return a.has(e)||(Jn(n,T4),Jn(n,T4+"-"+e),a.set(e,Ed)),()=>{this._engine.afterFlush(()=>{const l=r.indexOf(s);l>=0&&r.splice(l,1),this._triggers.has(e)||a.delete(e)})}}register(n,e){return!this._triggers.has(n)&&(this._triggers.set(n,e),!0)}_getTrigger(n){const e=this._triggers.get(n);if(!e)throw function CU(t){return new z(3401,!1)}();return e}trigger(n,e,i,o=!0){const r=this._getTrigger(e),s=new Td(this.id,e,n);let a=this._engine.statesByElement.get(n);a||(Jn(n,T4),Jn(n,T4+"-"+e),this._engine.statesByElement.set(n,a=new Map));let l=a.get(e);const c=new Dd(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(e,c),l||(l=Ed),c.value!==yl&&l.value===c.value){if(!function E$(t,n){const e=Object.keys(t),i=Object.keys(n);if(e.length!=i.length)return!1;for(let o=0;o{Cr(n,y),Ni(n,C)})}return}const h=Fn(this._engine.playersByElement,n,[]);h.forEach(g=>{g.namespaceId==this.id&&g.triggerName==e&&g.queued&&g.destroy()});let p=r.matchTransition(l.value,c.value,n,c.params),m=!1;if(!p){if(!o)return;p=r.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:e,transition:p,fromState:l,toState:c,player:s,isFallbackTransition:m}),m||(Jn(n,uC),s.onStart(()=>{Vs(n,uC)})),s.onDone(()=>{let g=this.players.indexOf(s);g>=0&&this.players.splice(g,1);const y=this._engine.playersByElement.get(n);if(y){let C=y.indexOf(s);C>=0&&y.splice(C,1)}}),this.players.push(s),h.push(s),s}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(e=>e.delete(n)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(o=>o.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);const e=this._engine.playersByElement.get(n);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,e){const i=this._engine.driver.query(n,k4,!0);i.forEach(o=>{if(o[Qn])return;const r=this._engine.fetchNamespacesByElement(o);r.size?r.forEach(s=>s.triggerLeaveAnimation(o,e,!1,!0)):this.clearElementCache(o)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(o=>this.clearElementCache(o)))}triggerLeaveAnimation(n,e,i,o){const r=this._engine.statesByElement.get(n),s=new Map;if(r){const a=[];if(r.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){const u=this.trigger(n,c,yl,o);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,e,s),i&&Oo(a).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){const e=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);if(e&&i){const o=new Set;e.forEach(r=>{const s=r.name;if(o.has(s))return;o.add(s);const l=this._triggers.get(s).fallbackTransition,c=i.get(s)||Ed,u=new Dd(yl),d=new Td(this.id,s,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:s,transition:l,fromState:c,toState:u,player:d,isFallbackTransition:!0})})}}removeNode(n,e){const i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,e),this.triggerLeaveAnimation(n,e,!0))return;let o=!1;if(i.totalAnimations){const r=i.players.length?i.playersByQueriedElement.get(n):[];if(r&&r.length)o=!0;else{let s=n;for(;s=s.parentNode;)if(i.statesByElement.get(s)){o=!0;break}}}if(this.prepareLeaveAnimationListeners(n),o)i.markElementAsRemoved(this.id,n,!1,e);else{const r=n[Qn];(!r||r===dC)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,e))}}insertNode(n,e){Jn(n,this._hostClassName)}drainQueuedTransitions(n){const e=[];return this._queue.forEach(i=>{const o=i.player;if(o.destroyed)return;const r=i.element,s=this._elementListeners.get(r);s&&s.forEach(a=>{if(a.name==i.triggerName){const l=cd(r,i.triggerName,i.fromState.value,i.toState.value);l._data=n,ad(i.player,a.phase,l,a.callback)}}),o.markedForDestroy?this._engine.afterFlush(()=>{o.destroy()}):e.push(i)}),this._queue=[],e.sort((i,o)=>{const r=i.transition.ast.depCount,s=o.transition.ast.depCount;return 0==r||0==s?r-s:this._engine.driver.containsElement(i.element,o.element)?1:-1})}destroy(n){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}elementContainsData(n){let e=!1;return this._elementListeners.has(n)&&(e=!0),e=!!this._queue.find(i=>i.element===n)||e,e}}class b${_onRemovalComplete(n,e){this.onRemovalComplete(n,e)}constructor(n,e,i){this.bodyNode=n,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=(o,r)=>{}}get queuedPlayers(){const n=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,e){const i=new C$(n,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[n]=i}_balanceNamespaceList(n,e){const i=this._namespaceList,o=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(e);for(;a;){const l=o.get(a);if(l){const c=i.indexOf(l);i.splice(c+1,0,n),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(n)}else i.push(n);return o.set(e,n),n}register(n,e){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,e)),i}registerTrigger(n,e,i){let o=this._namespaceLookup[n];o&&o.register(e,i)&&this.totalAnimations++}destroy(n,e){if(!n)return;const i=this._fetchNamespace(n);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[n];const o=this._namespaceList.indexOf(i);o>=0&&this._namespaceList.splice(o,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){const e=new Set,i=this.statesByElement.get(n);if(i)for(let o of i.values())if(o.namespaceId){const r=this._fetchNamespace(o.namespaceId);r&&e.add(r)}return e}trigger(n,e,i,o){if(R4(e)){const r=this._fetchNamespace(n);if(r)return r.trigger(e,i,o),!0}return!1}insertNode(n,e,i,o){if(!R4(e))return;const r=e[Qn];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;const s=this.collectedLeaveElements.indexOf(e);s>=0&&this.collectedLeaveElements.splice(s,1)}if(n){const s=this._fetchNamespace(n);s&&s.insertNode(e,i)}o&&this.collectEnterElement(e)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,e){e?this.disabledNodes.has(n)||(this.disabledNodes.add(n),Jn(n,Sd)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),Vs(n,Sd))}removeNode(n,e,i,o){if(R4(e)){const r=n?this._fetchNamespace(n):null;if(r?r.removeNode(e,o):this.markElementAsRemoved(n,e,!1,o),i){const s=this.namespacesByHostElement.get(e);s&&s.id!==n&&s.removeNode(e,o)}}else this._onRemovalComplete(e,o)}markElementAsRemoved(n,e,i,o,r){this.collectedLeaveElements.push(e),e[Qn]={namespaceId:n,setForRemoval:o,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:r}}listen(n,e,i,o,r){return R4(e)?this._fetchNamespace(n).listen(e,i,o,r):()=>{}}_buildInstruction(n,e,i,o,r){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,o,n.fromState.options,n.toState.options,e,r)}destroyInnerAnimations(n){let e=this.driver.query(n,k4,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(n,fd,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){const e=this.playersByElement.get(n);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){const e=this.playersByQueriedElement.get(n);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return Oo(this.players).onDone(()=>n());n()})}processLeaveNode(n){const e=n[Qn];if(e&&e.setForRemoval){if(n[Qn]=dC,e.namespaceId){this.destroyInnerAnimations(n);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,e.setForRemoval)}n.classList?.contains(Sd)&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(n=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,o)=>this._balanceNamespaceList(i,o)),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?Oo(e).onDone(()=>{i.forEach(o=>o())}):i.forEach(o=>o())}}reportError(n){throw function bU(t){return new z(3402,!1)}()}_flushAnimations(n,e){const i=new N4,o=[],r=new Map,s=[],a=new Map,l=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(H=>{u.add(H);const U=this.driver.query(H,".ng-animate-queued",!0);for(let G=0;G{const G=pd+g++;m.set(U,G),H.forEach(xe=>Jn(xe,G))});const y=[],C=new Set,E=new Set;for(let H=0;HC.add(xe)):E.add(U))}const b=new Map,O=fC(h,Array.from(C));O.forEach((H,U)=>{const G=E4+g++;b.set(U,G),H.forEach(xe=>Jn(xe,G))}),n.push(()=>{p.forEach((H,U)=>{const G=m.get(U);H.forEach(xe=>Vs(xe,G))}),O.forEach((H,U)=>{const G=b.get(U);H.forEach(xe=>Vs(xe,G))}),y.forEach(H=>{this.processLeaveNode(H)})});const ye=[],De=[];for(let H=this._namespaceList.length-1;H>=0;H--)this._namespaceList[H].drainQueuedTransitions(e).forEach(G=>{const xe=G.player,Ft=G.element;if(ye.push(xe),this.collectedEnterElements.length){const on=Ft[Qn];if(on&&on.setForMove){if(on.previousTriggersValues&&on.previousTriggersValues.has(G.triggerName)){const Mr=on.previousTriggersValues.get(G.triggerName),ei=this.statesByElement.get(G.element);if(ei&&ei.has(G.triggerName)){const j4=ei.get(G.triggerName);j4.value=Mr,ei.set(G.triggerName,j4)}}return void xe.destroy()}}const Li=!d||!this.driver.containsElement(d,Ft),Ln=b.get(Ft),Vo=m.get(Ft),ot=this._buildInstruction(G,i,Vo,Ln,Li);if(ot.errors&&ot.errors.length)return void De.push(ot);if(Li)return xe.onStart(()=>Cr(Ft,ot.fromStyles)),xe.onDestroy(()=>Ni(Ft,ot.toStyles)),void o.push(xe);if(G.isFallbackTransition)return xe.onStart(()=>Cr(Ft,ot.fromStyles)),xe.onDestroy(()=>Ni(Ft,ot.toStyles)),void o.push(xe);const zC=[];ot.timelines.forEach(on=>{on.stretchStartingKeyframe=!0,this.disabledNodes.has(on.element)||zC.push(on)}),ot.timelines=zC,i.append(Ft,ot.timelines),s.push({instruction:ot,player:xe,element:Ft}),ot.queriedElements.forEach(on=>Fn(a,on,[]).push(xe)),ot.preStyleProps.forEach((on,Mr)=>{if(on.size){let ei=l.get(Mr);ei||l.set(Mr,ei=new Set),on.forEach((j4,Pd)=>ei.add(Pd))}}),ot.postStyleProps.forEach((on,Mr)=>{let ei=c.get(Mr);ei||c.set(Mr,ei=new Set),on.forEach((j4,Pd)=>ei.add(Pd))})});if(De.length){const H=[];De.forEach(U=>{H.push(function MU(t,n){return new z(3505,!1)}())}),ye.forEach(U=>U.destroy()),this.reportError(H)}const gt=new Map,Nn=new Map;s.forEach(H=>{const U=H.element;i.has(U)&&(Nn.set(U,U),this._beforeAnimationBuild(H.player.namespaceId,H.instruction,gt))}),o.forEach(H=>{const U=H.element;this._getPreviousPlayers(U,!1,H.namespaceId,H.triggerName,null).forEach(xe=>{Fn(gt,U,[]).push(xe),xe.destroy()})});const Te=y.filter(H=>gC(H,l,c)),it=new Map;pC(it,this.driver,E,c,no).forEach(H=>{gC(H,l,c)&&Te.push(H)});const Ot=new Map;p.forEach((H,U)=>{pC(Ot,this.driver,new Set(H),l,x6)}),Te.forEach(H=>{const U=it.get(H),G=Ot.get(H);it.set(H,new Map([...Array.from(U?.entries()??[]),...Array.from(G?.entries()??[])]))});const Mn=[],ao=[],lo={};s.forEach(H=>{const{element:U,player:G,instruction:xe}=H;if(i.has(U)){if(u.has(U))return G.onDestroy(()=>Ni(U,xe.toStyles)),G.disabled=!0,G.overrideTotalTime(xe.totalTime),void o.push(G);let Ft=lo;if(Nn.size>1){let Ln=U;const Vo=[];for(;Ln=Ln.parentNode;){const ot=Nn.get(Ln);if(ot){Ft=ot;break}Vo.push(Ln)}Vo.forEach(ot=>Nn.set(ot,Ft))}const Li=this._buildAnimation(G.namespaceId,xe,gt,r,Ot,it);if(G.setRealPlayer(Li),Ft===lo)Mn.push(G);else{const Ln=this.playersByElement.get(Ft);Ln&&Ln.length&&(G.parentPlayer=Oo(Ln)),o.push(G)}}else Cr(U,xe.fromStyles),G.onDestroy(()=>Ni(U,xe.toStyles)),ao.push(G),u.has(U)&&o.push(G)}),ao.forEach(H=>{const U=r.get(H.element);if(U&&U.length){const G=Oo(U);H.setRealPlayer(G)}}),o.forEach(H=>{H.parentPlayer?H.syncPlayerEvents(H.parentPlayer):H.destroy()});for(let H=0;H!Li.destroyed);Ft.length?S$(this,U,Ft):this.processLeaveNode(U)}return y.length=0,Mn.forEach(H=>{this.players.push(H),H.onDone(()=>{H.destroy();const U=this.players.indexOf(H);this.players.splice(U,1)}),H.play()}),Mn}elementContainsData(n,e){let i=!1;const o=e[Qn];return o&&o.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(n).elementContainsData(e)||i}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,e,i,o,r){let s=[];if(e){const a=this.playersByQueriedElement.get(n);a&&(s=a)}else{const a=this.playersByElement.get(n);if(a){const l=!r||r==yl;a.forEach(c=>{c.queued||!l&&c.triggerName!=o||s.push(c)})}}return(i||o)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||o&&o!=a.triggerName))),s}_beforeAnimationBuild(n,e,i){const r=e.element,s=e.isRemovalTransition?void 0:n,a=e.isRemovalTransition?void 0:e.triggerName;for(const l of e.timelines){const c=l.element,u=c!==r,d=Fn(i,c,[]);this._getPreviousPlayers(c,u,s,a,e.toState).forEach(p=>{const m=p.getRealPlayer();m.beforeDestroy&&m.beforeDestroy(),p.destroy(),d.push(p)})}Cr(r,e.fromStyles)}_buildAnimation(n,e,i,o,r,s){const a=e.triggerName,l=e.element,c=[],u=new Set,d=new Set,h=e.timelines.map(m=>{const g=m.element;u.add(g);const y=g[Qn];if(y&&y.removedBeforeQueried)return new hl(m.duration,m.delay);const C=g!==l,E=function D$(t){const n=[];return mC(t,n),n}((i.get(g)||y$).map(gt=>gt.getRealPlayer())).filter(gt=>!!gt.element&>.element===g),b=r.get(g),O=s.get(g),ye=B_(0,this._normalizer,0,m.keyframes,b,O),De=this._buildPlayer(m,ye,E);if(m.subTimeline&&o&&d.add(g),C){const gt=new Td(n,a,g);gt.setRealPlayer(De),c.push(gt)}return De});c.forEach(m=>{Fn(this.playersByQueriedElement,m.element,[]).push(m),m.onDone(()=>function M$(t,n,e){let i=t.get(n);if(i){if(i.length){const o=i.indexOf(e);i.splice(o,1)}0==i.length&&t.delete(n)}return i}(this.playersByQueriedElement,m.element,m))}),u.forEach(m=>Jn(m,Z_));const p=Oo(h);return p.onDestroy(()=>{u.forEach(m=>Vs(m,Z_)),Ni(l,e.toStyles)}),d.forEach(m=>{Fn(o,m,[]).push(p)}),p}_buildPlayer(n,e,i){return e.length>0?this.driver.animate(n.element,e,n.duration,n.delay,n.easing,i):new hl(n.duration,n.delay)}}class Td{constructor(n,e,i){this.namespaceId=n,this.triggerName=e,this.element=i,this._player=new hl,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(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((e,i)=>{e.forEach(o=>ad(n,i,void 0,o))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){const e=this._player;e.triggerCallback&&n.onStart(()=>e.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,e){Fn(this._queuedCallbacks,n,[]).push(e)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}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(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){const e=this._player;e.triggerCallback&&e.triggerCallback(n)}}function R4(t){return t&&1===t.nodeType}function hC(t,n){const e=t.style.display;return t.style.display=n??"none",e}function pC(t,n,e,i,o){const r=[];e.forEach(l=>r.push(hC(l)));const s=[];i.forEach((l,c)=>{const u=new Map;l.forEach(d=>{const h=n.computeStyle(c,d,o);u.set(d,h),(!h||0==h.length)&&(c[Qn]=_$,s.push(c))}),t.set(c,u)});let a=0;return e.forEach(l=>hC(l,r[a++])),s}function fC(t,n){const e=new Map;if(t.forEach(a=>e.set(a,[])),0==n.length)return e;const i=1,o=new Set(n),r=new Map;function s(a){if(!a)return i;let l=r.get(a);if(l)return l;const c=a.parentNode;return l=e.has(c)?c:o.has(c)?i:s(c),r.set(a,l),l}return n.forEach(a=>{const l=s(a);l!==i&&e.get(l).push(a)}),e}function Jn(t,n){t.classList?.add(n)}function Vs(t,n){t.classList?.remove(n)}function S$(t,n,e){Oo(e).onDone(()=>t.processLeaveNode(n))}function mC(t,n){for(let e=0;eo.add(r)):n.set(t,i),e.delete(t),!0}class B4{constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(o,r)=>{},this._transitionEngine=new b$(n,e,i),this._timelineEngine=new p$(n,e,i),this._transitionEngine.onRemovalComplete=(o,r)=>this.onRemovalComplete(o,r)}registerTrigger(n,e,i,o,r){const s=n+"-"+o;let a=this._triggerCache[s];if(!a){const l=[],c=[],u=yd(this._driver,r,l,c);if(l.length)throw function dU(t,n){return new z(3404,!1)}();a=function c$(t,n,e){return new u$(t,n,e)}(o,u,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,o,a)}register(n,e){this._transitionEngine.register(n,e)}destroy(n,e){this._transitionEngine.destroy(n,e)}onInsert(n,e,i,o){this._transitionEngine.insertNode(n,e,i,o)}onRemove(n,e,i,o){this._transitionEngine.removeNode(n,e,o||!1,i)}disableAnimations(n,e){this._transitionEngine.markElementAsDisabled(n,e)}process(n,e,i,o){if("@"==i.charAt(0)){const[r,s]=Y_(i);this._timelineEngine.command(r,e,s,o)}else this._transitionEngine.trigger(n,e,i,o)}listen(n,e,i,o,r){if("@"==i.charAt(0)){const[s,a]=Y_(i);return this._timelineEngine.listen(s,e,a,r)}return this._transitionEngine.listen(n,e,i,o,r)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let k$=(()=>{class t{constructor(e,i,o){this._element=e,this._startStyles=i,this._endStyles=o,this._state=0;let r=t.initialStylesByElement.get(e);r||t.initialStylesByElement.set(e,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&Ni(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ni(this._element,this._initialStyles),this._endStyles&&(Ni(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Cr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Cr(this._element,this._endStyles),this._endStyles=null),Ni(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function kd(t){let n=null;return t.forEach((e,i)=>{(function x$(t){return"display"===t||"position"===t})(i)&&(n=n||new Map,n.set(i,e))}),n}class vC{constructor(n,e,i,o){this.element=n,this.keyframes=e,this.options=i,this._specialStyles=o,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(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(n){const e=[];return n.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(n,e,i){return n.animate(this._convertKeyframesToObject(e),i)}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),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(n=>n()),this._onDestroyFns=[])}setPosition(n){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,o)=>{"offset"!==o&&n.set(o,this._finished?i:nC(this.element,o))}),this.currentSnapshot=n}triggerCallback(n){const e="start"===n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class P${validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}matchesElement(n,e){return!1}containsElement(n,e){return W_(n,e)}getParentElement(n){return dd(n)}query(n,e,i){return G_(n,e,i)}computeStyle(n,e,i){return window.getComputedStyle(n)[e]}animate(n,e,i,o,r,s=[]){const l={duration:i,delay:o,fill:0==o?"both":"forwards"};r&&(l.easing=r);const c=new Map,u=s.filter(p=>p instanceof vC);(function FU(t,n){return 0===t||0===n})(i,o)&&u.forEach(p=>{p.currentSnapshot.forEach((m,g)=>c.set(g,m))});let d=function PU(t){return t.length?t[0]instanceof Map?t:t.map(n=>X_(n)):[]}(e).map(p=>Fo(p));d=function VU(t,n,e){if(e.size&&n.length){let i=n[0],o=[];if(e.forEach((r,s)=>{i.has(s)||o.push(s),i.set(s,r)}),o.length)for(let r=1;rs.set(a,nC(t,a)))}}return n}(n,d,c);const h=function T$(t,n){let e=null,i=null;return Array.isArray(n)&&n.length?(e=kd(n[0]),n.length>1&&(i=kd(n[n.length-1]))):n instanceof Map&&(e=kd(n)),e||i?new k$(t,e,i):null}(n,d);return new vC(n,d,l,h)}}let A$=(()=>{class t extends ny{constructor(e,i){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(i.body,{id:"0",encapsulation:ti.None,styles:[],data:{animation:[]}})}build(e){const i=this._nextAnimationId.toString();this._nextAnimationId++;const o=Array.isArray(e)?iy(e):e;return yC(this._renderer,null,i,"register",[o]),new I$(i,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(v(po),v(_e))},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})();class I$ extends WN{constructor(n,e){super(),this._id=n,this._renderer=e}create(n,e){return new O$(this._id,n,e||{},this._renderer)}}class O${constructor(n,e,i,o){this.id=n,this.element=e,this._renderer=o,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(n,e){return this._renderer.listen(this.element,`@@${this.id}:${n}`,e)}_command(n,...e){return yC(this._renderer,this.element,this.id,n,e)}onDone(n){this._listen("done",n)}onStart(n){this._listen("start",n)}onDestroy(n){this._listen("destroy",n)}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(n){this._command("setPosition",n)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function yC(t,n,e,i,o){return t.setProperty(n,`@@${e}:${i}`,o)}const _C="@.disabled";let F$=(()=>{class t{constructor(e,i,o){this.delegate=e,this.engine=i,this._zone=o,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),i.onRemovalComplete=(r,s)=>{const a=s?.parentNode(r);a&&s.removeChild(a,r)}}createRenderer(e,i){const r=this.delegate.createRenderer(e,i);if(!(e&&i&&i.data&&i.data.animation)){let u=this._rendererCache.get(r);return u||(u=new CC("",r,this.engine,()=>this._rendererCache.delete(r)),this._rendererCache.set(r,u)),u}const s=i.id,a=i.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);const l=u=>{Array.isArray(u)?u.forEach(l):this.engine.registerTrigger(s,a,e,u.name,u)};return i.data.animation.forEach(l),new V$(this,a,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,o){e>=0&&ei(o)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(r=>{const[s,a]=r;s(a)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,o]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return t.\u0275fac=function(e){return new(e||t)(v(po),v(B4),v(N))},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})();class CC{constructor(n,e,i,o){this.namespaceId=n,this.delegate=e,this.engine=i,this._onDestroy=o,this.destroyNode=this.delegate.destroyNode?r=>e.destroyNode(r):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(n,e){return this.delegate.createElement(n,e)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,e){this.delegate.appendChild(n,e),this.engine.onInsert(this.namespaceId,e,n,!1)}insertBefore(n,e,i,o=!0){this.delegate.insertBefore(n,e,i),this.engine.onInsert(this.namespaceId,e,n,o)}removeChild(n,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate,i)}selectRootElement(n,e){return this.delegate.selectRootElement(n,e)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,e,i,o){this.delegate.setAttribute(n,e,i,o)}removeAttribute(n,e,i){this.delegate.removeAttribute(n,e,i)}addClass(n,e){this.delegate.addClass(n,e)}removeClass(n,e){this.delegate.removeClass(n,e)}setStyle(n,e,i,o){this.delegate.setStyle(n,e,i,o)}removeStyle(n,e,i){this.delegate.removeStyle(n,e,i)}setProperty(n,e,i){"@"==e.charAt(0)&&e==_C?this.disableAnimations(n,!!i):this.delegate.setProperty(n,e,i)}setValue(n,e){this.delegate.setValue(n,e)}listen(n,e,i){return this.delegate.listen(n,e,i)}disableAnimations(n,e){this.engine.disableAnimations(n,e)}}class V$ extends CC{constructor(n,e,i,o,r){super(e,i,o,r),this.factory=n,this.namespaceId=e}setProperty(n,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==_C?this.disableAnimations(n,i=void 0===i||!!i):this.engine.process(this.namespaceId,n,e.slice(1),i):this.delegate.setProperty(n,e,i)}listen(n,e,i){if("@"==e.charAt(0)){const o=function N$(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(n);let r=e.slice(1),s="";return"@"!=r.charAt(0)&&([r,s]=function L$(t){const n=t.indexOf(".");return[t.substring(0,n),t.slice(n+1)]}(r)),this.engine.listen(this.namespaceId,o,r,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,i,a)})}return this.delegate.listen(n,e,i)}}const bC=[{provide:ny,useClass:A$},{provide:zd,useFactory:function R$(){return new r$}},{provide:B4,useClass:(()=>{class t extends B4{constructor(e,i,o,r){super(e.body,i,o)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(e){return new(e||t)(v(_e),v(hd),v(zd),v(hs))},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})()},{provide:po,useFactory:function B$(t,n,e){return new F$(t,n,e)},deps:[n1,B4,N]}],xd=[{provide:hd,useFactory:()=>new P$},{provide:tr,useValue:"BrowserAnimations"},...bC],MC=[{provide:hd,useClass:q_},{provide:tr,useValue:"NoopAnimations"},...bC];let Y$=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?MC:xd}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({providers:xd,imports:[xm]}),t})(),G$=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[An,dn,ro,uy,ko]}),t})(),X$=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[An,dn]}),t})(),cW=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[An,dn,Is,ro]}),t})(),uW=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({}),t})(),dW=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[An,dn,a4,s_,X6,ro,_4,ko,y_,uW,Is,X6]}),t})();new Je({originX:"start",originY:"top"},{overlayX:"start",overlayY:"top"}),new Je({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}),new Je({originX:"start",originY:"top"},{overlayX:"end",overlayY:"bottom"}),new Je({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"}),function sx(t,n,e){(function AD(t,n,e){"string"!=typeof n&&(e=n,n=t[V.LocaleId]),n=n.toLowerCase().replace(/_/g,"-"),as[n]=t,e&&(as[n][V.ExtraData]=e)})(t,n,e)}(jj);let hW=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t,bootstrap:[dj]}),t.\u0275inj=se({providers:[{provide:Ly,useValue:Ny}],imports:[xm,bO,sF,Bj.forRoot({apiKey:"AIzaSyDFaXNvUSNlqQoqlNBgCgppWcSeYxb5kDM",libraries:["places","geometry","drawing"]}),vv,a9,Y$,qR,X6,xB,G$,X$,cW,dW,ro,aj,a9]}),t})();OP().bootstrapModule(hW).catch(t=>console.error(t))}},Me=>{Me(Me.s=677)}]); \ No newline at end of file +"use strict";(self.webpackChunkmapDashboard=self.webpackChunkmapDashboard||[]).push([[179],{677:()=>{function Me(t){return"function"==typeof t}function Ns(t){const e=t(i=>{Error.call(i),i.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const _l=Ns(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((i,o)=>`${o+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e});function zr(t,n){if(t){const e=t.indexOf(n);0<=e&&t.splice(e,1)}}class lt{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const r of e)r.remove(this);else e.remove(this);const{initialTeardown:i}=this;if(Me(i))try{i()}catch(r){n=r instanceof _l?r.errors:[r]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const r of o)try{Od(r)}catch(s){n=n??[],s instanceof _l?n=[...n,...s.errors]:n.push(s)}}if(n)throw new _l(n)}}add(n){var e;if(n&&n!==this)if(this.closed)Od(n);else{if(n instanceof lt){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(n)}}_hasParent(n){const{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){const{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&zr(e,n)}remove(n){const{_finalizers:e}=this;e&&zr(e,n),n instanceof lt&&n._removeParent(this)}}lt.EMPTY=(()=>{const t=new lt;return t.closed=!0,t})();const Ad=lt.EMPTY;function Id(t){return t instanceof lt||t&&"closed"in t&&Me(t.remove)&&Me(t.add)&&Me(t.unsubscribe)}function Od(t){Me(t)?t():t.unsubscribe()}const No={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Cl={setTimeout(t,n,...e){const{delegate:i}=Cl;return i?.setTimeout?i.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){const{delegate:n}=Cl;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Fd(t){Cl.setTimeout(()=>{const{onUnhandledError:n}=No;if(!n)throw t;n(t)})}function Ls(){}const wC=U4("C",void 0,void 0);function U4(t,n,e){return{kind:t,value:n,error:e}}let Lo=null;function bl(t){if(No.useDeprecatedSynchronousErrorHandling){const n=!Lo;if(n&&(Lo={errorThrown:!1,error:null}),t(),n){const{errorThrown:e,error:i}=Lo;if(Lo=null,e)throw i}}else t()}class $4 extends lt{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Id(n)&&n.add(this)):this.destination=PC}static create(n,e,i){return new Hs(n,e,i)}next(n){this.isStopped?G4(function DC(t){return U4("N",t,void 0)}(n),this):this._next(n)}error(n){this.isStopped?G4(function SC(t){return U4("E",void 0,t)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?G4(wC,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const EC=Function.prototype.bind;function W4(t,n){return EC.call(t,n)}class kC{constructor(n){this.partialObserver=n}next(n){const{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(i){Ml(i)}}error(n){const{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(i){Ml(i)}else Ml(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){Ml(e)}}}class Hs extends $4{constructor(n,e,i){let o;if(super(),Me(n)||!n)o={next:n??void 0,error:e??void 0,complete:i??void 0};else{let r;this&&No.useDeprecatedNextContext?(r=Object.create(n),r.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&W4(n.next,r),error:n.error&&W4(n.error,r),complete:n.complete&&W4(n.complete,r)}):o=n}this.destination=new kC(o)}}function Ml(t){No.useDeprecatedSynchronousErrorHandling?function TC(t){No.useDeprecatedSynchronousErrorHandling&&Lo&&(Lo.errorThrown=!0,Lo.error=t)}(t):Fd(t)}function G4(t,n){const{onStoppedNotification:e}=No;e&&Cl.setTimeout(()=>e(t,n))}const PC={closed:!0,next:Ls,error:function xC(t){throw t},complete:Ls},q4="function"==typeof Symbol&&Symbol.observable||"@@observable";function Hi(t){return t}function Vd(t){return 0===t.length?Hi:1===t.length?t[0]:function(e){return t.reduce((i,o)=>o(i),e)}}let ge=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){const i=new t;return i.source=this,i.operator=e,i}subscribe(e,i,o){const r=function OC(t){return t&&t instanceof $4||function IC(t){return t&&Me(t.next)&&Me(t.error)&&Me(t.complete)}(t)&&Id(t)}(e)?e:new Hs(e,i,o);return bl(()=>{const{operator:s,source:a}=this;r.add(s?s.call(r,a):a?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return new(i=Nd(i))((o,r)=>{const s=new Hs({next:a=>{try{e(a)}catch(l){r(l),s.unsubscribe()}},error:r,complete:o});this.subscribe(s)})}_subscribe(e){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(e)}[q4](){return this}pipe(...e){return Vd(e)(this)}toPromise(e){return new(e=Nd(e))((i,o)=>{let r;this.subscribe(s=>r=s,s=>o(s),()=>i(r))})}}return t.create=n=>new t(n),t})();function Nd(t){var n;return null!==(n=t??No.Promise)&&void 0!==n?n:Promise}const FC=Ns(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let F=(()=>{class t extends ge{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const i=new Ld(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new FC}next(e){bl(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(e)}})}error(e){bl(()=>{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(){bl(()=>{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:o,observers:r}=this;return i||o?Ad:(this.currentObservers=null,r.push(e),new lt(()=>{this.currentObservers=null,zr(r,e)}))}_checkFinalizedStatuses(e){const{hasError:i,thrownError:o,isStopped:r}=this;i?e.error(o):r&&e.complete()}asObservable(){const e=new ge;return e.source=this,e}}return t.create=(n,e)=>new Ld(n,e),t})();class Ld extends F{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===i||i.call(e,n)}error(n){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===i||i.call(e,n)}complete(){var n,e;null===(e=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===e||e.call(n)}_subscribe(n){var e,i;return null!==(i=null===(e=this.source)||void 0===e?void 0:e.subscribe(n))&&void 0!==i?i:Ad}}function Hd(t){return Me(t?.lift)}function Ze(t){return n=>{if(Hd(n))return n.lift(function(e){try{return t(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function Le(t,n,e,i,o){return new VC(t,n,e,i,o)}class VC extends $4{constructor(n,e,i,o,r,s){super(n),this.onFinalize=r,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(a)}catch(l){n.error(l)}}:super._next,this._error=o?function(a){try{o(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function B(t,n){return Ze((e,i)=>{let o=0;e.subscribe(Le(i,r=>{i.next(t.call(n,r,o++))}))})}function ee(t,n,e,i){var s,o=arguments.length,r=o<3?n:null===i?i=Object.getOwnPropertyDescriptor(n,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,n,e,i);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(r=(o<3?s(r):o>3?s(n,e,r):s(n,e))||r);return o>3&&r&&Object.defineProperty(n,e,r),r}function Ho(t){return this instanceof Ho?(this.v=t,this):new Ho(t)}function HC(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=function Yd(t){var n="function"==typeof Symbol&&Symbol.iterator,e=n&&t[n],i=0;if(e)return e.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(r){e[r]=t[r]&&function(s){return new Promise(function(a,l){!function o(r,s,a,l){Promise.resolve(l).then(function(c){r({value:c,done:a})},s)}(a,l,(s=t[r](s)).done,s.value)})}}}const Z4=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function jd(t){return Me(t?.then)}function Ud(t){return Me(t[q4])}function $d(t){return Symbol.asyncIterator&&Me(t?.[Symbol.asyncIterator])}function Wd(t){return new TypeError(`You provided ${null!==t&&"object"==typeof t?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Gd=function BC(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function qd(t){return Me(t?.[Gd])}function Kd(t){return function LC(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,i=e.apply(t,n||[]),r=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(h){i[h]&&(o[h]=function(p){return new Promise(function(m,g){r.push([h,p,m,g])>1||a(h,p)})})}function a(h,p){try{!function l(h){h.value instanceof Ho?Promise.resolve(h.value.v).then(c,u):d(r[0][2],h)}(i[h](p))}catch(m){d(r[0][3],m)}}function c(h){a("next",h)}function u(h){a("throw",h)}function d(h,p){h(p),r.shift(),r.length&&a(r[0][0],r[0][1])}}(this,arguments,function*(){const e=t.getReader();try{for(;;){const{value:i,done:o}=yield Ho(e.read());if(o)return yield Ho(void 0);yield yield Ho(i)}}finally{e.releaseLock()}})}function Zd(t){return Me(t?.getReader)}function Vt(t){if(t instanceof ge)return t;if(null!=t){if(Ud(t))return function YC(t){return new ge(n=>{const e=t[q4]();if(Me(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(t);if(Z4(t))return function jC(t){return new ge(n=>{for(let e=0;e{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,Fd)})}(t);if($d(t))return Xd(t);if(qd(t))return function $C(t){return new ge(n=>{for(const e of t)if(n.next(e),n.closed)return;n.complete()})}(t);if(Zd(t))return function WC(t){return Xd(Kd(t))}(t)}throw Wd(t)}function Xd(t){return new ge(n=>{(function GC(t,n){var e,i,o,r;return function yi(t,n,e,i){return new(e||(e=Promise))(function(r,s){function a(u){try{c(i.next(u))}catch(d){s(d)}}function l(u){try{c(i.throw(u))}catch(d){s(d)}}function c(u){u.done?r(u.value):function o(r){return r instanceof e?r:new e(function(s){s(r)})}(u.value).then(a,l)}c((i=i.apply(t,n||[])).next())})}(this,void 0,void 0,function*(){try{for(e=HC(t);!(i=yield e.next()).done;)if(n.next(i.value),n.closed)return}catch(s){o={error:s}}finally{try{i&&!i.done&&(r=e.return)&&(yield r.call(e))}finally{if(o)throw o.error}}n.complete()})})(t,n).catch(e=>n.error(e))})}function Ri(t,n,e,i=0,o=!1){const r=n.schedule(function(){e(),o?t.add(this.schedule(null,i)):this.unsubscribe()},i);if(t.add(r),!o)return r}function vt(t,n,e=1/0){return Me(n)?vt((i,o)=>B((r,s)=>n(i,r,o,s))(Vt(t(i,o))),e):("number"==typeof n&&(e=n),Ze((i,o)=>function qC(t,n,e,i,o,r,s,a){const l=[];let c=0,u=0,d=!1;const h=()=>{d&&!l.length&&!c&&n.complete()},p=g=>c{r&&n.next(g),c++;let y=!1;Vt(e(g,u++)).subscribe(Le(n,C=>{o?.(C),r?p(C):n.next(C)},()=>{y=!0},void 0,()=>{if(y)try{for(c--;l.length&&cm(C)):m(C)}h()}catch(C){n.error(C)}}))};return t.subscribe(Le(n,p,()=>{d=!0,h()})),()=>{a?.()}}(i,o,t,e)))}function wr(t=1/0){return vt(Hi,t)}const _i=new ge(t=>t.complete());function Qd(t){return t&&Me(t.schedule)}function X4(t){return t[t.length-1]}function Q4(t){return Me(X4(t))?t.pop():void 0}function Rs(t){return Qd(X4(t))?t.pop():void 0}function Jd(t,n=0){return Ze((e,i)=>{e.subscribe(Le(i,o=>Ri(i,t,()=>i.next(o),n),()=>Ri(i,t,()=>i.complete(),n),o=>Ri(i,t,()=>i.error(o),n)))})}function e0(t,n=0){return Ze((e,i)=>{i.add(t.schedule(()=>e.subscribe(i),n))})}function t0(t,n){if(!t)throw new Error("Iterable cannot be null");return new ge(e=>{Ri(e,n,()=>{const i=t[Symbol.asyncIterator]();Ri(e,n,()=>{i.next().then(o=>{o.done?e.complete():e.next(o.value)})},0,!0)})})}function rt(t,n){return n?function nb(t,n){if(null!=t){if(Ud(t))return function XC(t,n){return Vt(t).pipe(e0(n),Jd(n))}(t,n);if(Z4(t))return function JC(t,n){return new ge(e=>{let i=0;return n.schedule(function(){i===t.length?e.complete():(e.next(t[i++]),e.closed||this.schedule())})})}(t,n);if(jd(t))return function QC(t,n){return Vt(t).pipe(e0(n),Jd(n))}(t,n);if($d(t))return t0(t,n);if(qd(t))return function eb(t,n){return new ge(e=>{let i;return Ri(e,n,()=>{i=t[Gd](),Ri(e,n,()=>{let o,r;try{({value:o,done:r}=i.next())}catch(s){return void e.error(s)}r?e.complete():e.next(o)},0,!0)}),()=>Me(i?.return)&&i.return()})}(t,n);if(Zd(t))return function tb(t,n){return t0(Kd(t),n)}(t,n)}throw Wd(t)}(t,n):Vt(t)}function Ro(...t){const n=Rs(t),e=function ZC(t,n){return"number"==typeof X4(t)?t.pop():n}(t,1/0),i=t;return i.length?1===i.length?Vt(i[0]):wr(e)(rt(i,n)):_i}function J4(t={}){const{connector:n=(()=>new F),resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:o=!0}=t;return r=>{let s,a,l,c=0,u=!1,d=!1;const h=()=>{a?.unsubscribe(),a=void 0},p=()=>{h(),s=l=void 0,u=d=!1},m=()=>{const g=s;p(),g?.unsubscribe()};return Ze((g,y)=>{c++,!d&&!u&&h();const C=l=l??n();y.add(()=>{c--,0===c&&!d&&!u&&(a=e2(m,o))}),C.subscribe(y),!s&&c>0&&(s=new Hs({next:T=>C.next(T),error:T=>{d=!0,h(),a=e2(p,e,T),C.error(T)},complete:()=>{u=!0,h(),a=e2(p,i),C.complete()}}),Vt(g).subscribe(s))})(r)}}function e2(t,n,...e){if(!0===n)return void t();if(!1===n)return;const i=new Hs({next:()=>{i.unsubscribe(),t()}});return Vt(n(...e)).subscribe(i)}function Ye(t){for(let n in t)if(t[n]===Ye)return n;throw Error("Could not find renamed property on target object.")}function t2(t,n){for(const e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function Ge(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(Ge).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const n=t.toString();if(null==n)return""+n;const e=n.indexOf("\n");return-1===e?n:n.substring(0,e)}function n2(t,n){return null==t||""===t?null===n?"":n:null==n||""===n?t:t+" "+n}const ib=Ye({__forward_ref__:Ye});function Ae(t){return t.__forward_ref__=Ae,t.toString=function(){return Ge(this())},t}function q(t){return o2(t)?t():t}function o2(t){return"function"==typeof t&&t.hasOwnProperty(ib)&&t.__forward_ref__===Ae}function r2(t){return t&&!!t.\u0275providers}const zl="https://g.co/ng/security#xss";class z extends Error{constructor(n,e){super(wl(n,e)),this.code=n}}function wl(t,n){return`NG0${Math.abs(t)}${n?": "+n.trim():""}`}function re(t){return"string"==typeof t?t:null==t?"":String(t)}function Sl(t,n){throw new z(-201,!1)}function Hn(t,n){null==t&&function Oe(t,n,e,i){throw new Error(`ASSERTION ERROR: ${t}`+(null==i?"":` [Expected=> ${e} ${i} ${n} <=Actual]`))}(n,t,null,"!=")}function D(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function se(t){return{providers:t.providers||[],imports:t.imports||[]}}function Dl(t){return n0(t,Tl)||n0(t,r0)}function n0(t,n){return t.hasOwnProperty(n)?t[n]:null}function o0(t){return t&&(t.hasOwnProperty(s2)||t.hasOwnProperty(hb))?t[s2]:null}const Tl=Ye({\u0275prov:Ye}),s2=Ye({\u0275inj:Ye}),r0=Ye({ngInjectableDef:Ye}),hb=Ye({ngInjectorDef:Ye});var K=(()=>((K=K||{})[K.Default=0]="Default",K[K.Host=1]="Host",K[K.Self=2]="Self",K[K.SkipSelf=4]="SkipSelf",K[K.Optional=8]="Optional",K))();let a2;function Rn(t){const n=a2;return a2=t,n}function s0(t,n,e){const i=Dl(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&K.Optional?null:void 0!==n?n:void Sl(Ge(t))}const Xe=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Bs={},l2="__NG_DI_FLAG__",El="ngTempTokenPath",fb="ngTokenPath",mb=/\n/gm,gb="\u0275",a0="__source";let Ys;function Sr(t){const n=Ys;return Ys=t,n}function vb(t,n=K.Default){if(void 0===Ys)throw new z(-203,!1);return null===Ys?s0(t,void 0,n):Ys.get(t,n&K.Optional?null:void 0,n)}function v(t,n=K.Default){return(function pb(){return a2}()||vb)(q(t),n)}function pe(t,n=K.Default){return v(t,kl(n))}function kl(t){return typeof t>"u"||"number"==typeof t?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function c2(t){const n=[];for(let e=0;e((Ci=Ci||{})[Ci.OnPush=0]="OnPush",Ci[Ci.Default=1]="Default",Ci))(),ti=(()=>{return(t=ti||(ti={}))[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",ti;var t})();const Yi={},Pe=[],xl=Ye({\u0275cmp:Ye}),u2=Ye({\u0275dir:Ye}),d2=Ye({\u0275pipe:Ye}),c0=Ye({\u0275mod:Ye}),ji=Ye({\u0275fac:Ye}),Us=Ye({__NG_ELEMENT_ID__:Ye});let bb=0;function ze(t){return Bi(()=>{const n=d0(t),e={...n,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Ci.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:null,data:t.data||{},encapsulation:t.encapsulation||ti.Emulated,id:"c"+bb++,styles:t.styles||Pe,_:null,schemas:t.schemas||null,tView:null};h0(e);const i=t.dependencies;return e.directiveDefs=Pl(i,!1),e.pipeDefs=Pl(i,!0),e})}function zb(t){return Fe(t)||$t(t)}function wb(t){return null!==t}function de(t){return Bi(()=>({type:t.type,bootstrap:t.bootstrap||Pe,declarations:t.declarations||Pe,imports:t.imports||Pe,exports:t.exports||Pe,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function u0(t,n){if(null==t)return Yi;const e={};for(const i in t)if(t.hasOwnProperty(i)){let o=t[i],r=o;Array.isArray(o)&&(r=o[1],o=o[0]),e[o]=i,n&&(n[o]=r)}return e}function w(t){return Bi(()=>{const n=d0(t);return h0(n),n})}function ct(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function Fe(t){return t[xl]||null}function $t(t){return t[u2]||null}function fn(t){return t[d2]||null}function wn(t,n){const e=t[c0]||null;if(!e&&!0===n)throw new Error(`Type ${Ge(t)} does not have '\u0275mod' property.`);return e}function d0(t){const n={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,exportAs:t.exportAs||null,standalone:!0===t.standalone,selectors:t.selectors||Pe,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:u0(t.inputs,n),outputs:u0(t.outputs)}}function h0(t){t.features?.forEach(n=>n(t))}function Pl(t,n){if(!t)return null;const e=n?fn:zb;return()=>("function"==typeof t?t():t).map(i=>e(i)).filter(wb)}const Ui=0,L=1,fe=2,st=3,ni=4,Bo=5,Wt=6,Tr=7,ut=8,Al=9,Il=10,ve=11,h2=12,$s=13,p0=14,Er=15,Gt=16,Ws=17,kr=18,bi=19,Gs=20,f0=21,Qe=22,p2=1,m0=2,Ol=7,Fl=8,xr=9,rn=10;function Sn(t){return Array.isArray(t)&&"object"==typeof t[p2]}function ii(t){return Array.isArray(t)&&!0===t[p2]}function f2(t){return 0!=(4&t.flags)}function qs(t){return t.componentOffset>-1}function Vl(t){return 1==(1&t.flags)}function oi(t){return!!t.template}function Db(t){return 0!=(256&t[fe])}function Yo(t,n){return t.hasOwnProperty(ji)?t[ji]:null}class kb{constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function $(){return y0}function y0(t){return t.type.prototype.ngOnChanges&&(t.setInput=Pb),xb}function xb(){const t=C0(this),n=t?.current;if(n){const e=t.previous;if(e===Yi)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function Pb(t,n,e,i){const o=this.declaredInputs[e],r=C0(t)||function Ab(t,n){return t[_0]=n}(t,{previous:Yi,current:null}),s=r.current||(r.current={}),a=r.previous,l=a[o];s[o]=new kb(l&&l.currentValue,n,a===Yi),t[i]=n}$.ngInherit=!0;const _0="__ngSimpleChanges__";function C0(t){return t[_0]||null}const Bn=function(t,n,e){},b0="svg";function Nt(t){for(;Array.isArray(t);)t=t[Ui];return t}function Nl(t,n){return Nt(n[t])}function Dn(t,n){return Nt(n[t.index])}function z0(t,n){return t.data[n]}function Pr(t,n){return t[n]}function Tn(t,n){const e=n[t];return Sn(e)?e:e[Ui]}function Ll(t){return 64==(64&t[fe])}function uo(t,n){return null==n?null:t[n]}function w0(t){t[kr]=0}function g2(t,n){t[Bo]+=n;let e=t,i=t[st];for(;null!==i&&(1===n&&1===e[Bo]||-1===n&&0===e[Bo]);)i[Bo]+=n,e=i,i=i[st]}const ae={lFrame:O0(null),bindingsEnabled:!0};function D0(){return ae.bindingsEnabled}function S(){return ae.lFrame.lView}function Te(){return ae.lFrame.tView}function Ve(t){return ae.lFrame.contextLView=t,t[ut]}function Ne(t){return ae.lFrame.contextLView=null,t}function Lt(){let t=T0();for(;null!==t&&64===t.type;)t=t.parent;return t}function T0(){return ae.lFrame.currentTNode}function Mi(t,n){const e=ae.lFrame;e.currentTNode=t,e.isParent=n}function v2(){return ae.lFrame.isParent}function y2(){ae.lFrame.isParent=!1}function sn(){const t=ae.lFrame;let n=t.bindingRootIndex;return-1===n&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function Ar(){return ae.lFrame.bindingIndex++}function Wi(t){const n=ae.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function $b(t,n){const e=ae.lFrame;e.bindingIndex=e.bindingRootIndex=t,_2(n)}function _2(t){ae.lFrame.currentDirectiveIndex=t}function C2(t){const n=ae.lFrame.currentDirectiveIndex;return-1===n?null:t[n]}function P0(){return ae.lFrame.currentQueryIndex}function b2(t){ae.lFrame.currentQueryIndex=t}function Gb(t){const n=t[L];return 2===n.type?n.declTNode:1===n.type?t[Wt]:null}function A0(t,n,e){if(e&K.SkipSelf){let o=n,r=t;for(;!(o=o.parent,null!==o||e&K.Host||(o=Gb(r),null===o||(r=r[Er],10&o.type))););if(null===o)return!1;n=o,t=r}const i=ae.lFrame=I0();return i.currentTNode=n,i.lView=t,!0}function M2(t){const n=I0(),e=t[L];ae.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function I0(){const t=ae.lFrame,n=null===t?null:t.child;return null===n?O0(t):n}function O0(t){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=n),n}function F0(){const t=ae.lFrame;return ae.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const V0=F0;function z2(){const t=F0();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function an(){return ae.lFrame.selectedIndex}function jo(t){ae.lFrame.selectedIndex=t}function tt(){const t=ae.lFrame;return z0(t.tView,t.selectedIndex)}function w2(){ae.lFrame.currentNamespace=b0}function Hl(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e=i)break}else n[l]<0&&(t[kr]+=65536),(a>11>16&&(3&t[fe])===n){t[fe]+=2048,Bn(4,a,r);try{r.call(a)}finally{Bn(5,a,r)}}}else{Bn(4,a,r);try{r.call(a)}finally{Bn(5,a,r)}}}const Ir=-1;class Zs{constructor(n,e,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function T2(t,n,e){let i=0;for(;in){s=r-1;break}}}for(;r>16}(t),i=n;for(;e>0;)i=i[Er],e--;return i}let E2=!0;function Ul(t){const n=E2;return E2=t,n}const Y0=255,j0=5;let sM=0;const zi={};function $l(t,n){const e=U0(t,n);if(-1!==e)return e;const i=n[L];i.firstCreatePass&&(t.injectorIndex=n.length,k2(i.data,t),k2(n,null),k2(i.blueprint,null));const o=x2(t,n),r=t.injectorIndex;if(B0(o)){const s=Yl(o),a=jl(o,n),l=a[L].data;for(let c=0;c<8;c++)n[r+c]=a[s+c]|l[s+c]}return n[r+8]=o,r}function k2(t,n){t.push(0,0,0,0,0,0,0,0,n)}function U0(t,n){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===n[t.injectorIndex+8]?-1:t.injectorIndex}function x2(t,n){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let e=0,i=null,o=n;for(;null!==o;){if(i=X0(o),null===i)return Ir;if(e++,o=o[Er],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return Ir}function P2(t,n,e){!function aM(t,n,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(Us)&&(i=e[Us]),null==i&&(i=e[Us]=sM++);const o=i&Y0;n.data[t+(o>>j0)]|=1<=0?n&Y0:dM:n}(e);if("function"==typeof r){if(!A0(n,t,i))return i&K.Host?$0(o,0,i):W0(n,e,i,o);try{const s=r(i);if(null!=s||i&K.Optional)return s;Sl()}finally{V0()}}else if("number"==typeof r){let s=null,a=U0(t,n),l=Ir,c=i&K.Host?n[Gt][Wt]:null;for((-1===a||i&K.SkipSelf)&&(l=-1===a?x2(t,n):n[a+8],l!==Ir&&Z0(i,!1)?(s=n[L],a=Yl(l),n=jl(l,n)):a=-1);-1!==a;){const u=n[L];if(K0(r,a,u.data)){const d=cM(a,n,e,s,i,c);if(d!==zi)return d}l=n[a+8],l!==Ir&&Z0(i,n[L].data[a+8]===c)&&K0(r,a,n)?(s=u,a=Yl(l),n=jl(l,n)):a=-1}}return o}function cM(t,n,e,i,o,r){const s=n[L],a=s.data[t+8],u=Wl(a,s,e,null==i?qs(a)&&E2:i!=s&&0!=(3&a.type),o&K.Host&&r===a);return null!==u?Uo(n,s,u,a):zi}function Wl(t,n,e,i,o){const r=t.providerIndexes,s=n.data,a=1048575&r,l=t.directiveStart,u=r>>20,h=o?a+u:t.directiveEnd;for(let p=i?a:a+u;p=l&&m.type===e)return p}if(o){const p=s[l];if(p&&oi(p)&&p.type===e)return l}return null}function Uo(t,n,e,i){let o=t[e];const r=n.data;if(function nM(t){return t instanceof Zs}(o)){const s=o;s.resolving&&function ob(t,n){const e=n?`. Dependency path: ${n.join(" > ")} > ${t}`:"";throw new z(-200,`Circular dependency in DI detected for ${t}${e}`)}(function Ie(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():re(t)}(r[e]));const a=Ul(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?Rn(s.injectImpl):null;A0(t,i,K.Default);try{o=t[e]=s.factory(void 0,r,t,i),n.firstCreatePass&&e>=i.directiveStart&&function eM(t,n,e){const{ngOnChanges:i,ngOnInit:o,ngDoCheck:r}=n.type.prototype;if(i){const s=y0(n);(e.preOrderHooks||(e.preOrderHooks=[])).push(t,s),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(t,s)}o&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-t,o),r&&((e.preOrderHooks||(e.preOrderHooks=[])).push(t,r),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(t,r))}(e,r[e],n)}finally{null!==l&&Rn(l),Ul(a),s.resolving=!1,V0()}}return o}function K0(t,n,e){return!!(e[n+(t>>j0)]&1<{const n=t.prototype.constructor,e=n[ji]||A2(n),i=Object.prototype;let o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==i;){const r=o[ji]||A2(o);if(r&&r!==e)return r;o=Object.getPrototypeOf(o)}return r=>new r})}function A2(t){return o2(t)?()=>{const n=A2(q(t));return n&&n()}:Yo(t)}function X0(t){const n=t[L],e=n.type;return 2===e?n.declTNode:1===e?t[Wt]:null}const Vr="__parameters__";function Lr(t,n,e){return Bi(()=>{const i=function I2(t){return function(...e){if(t){const i=t(...e);for(const o in i)this[o]=i[o]}}}(n);function o(...r){if(this instanceof o)return i.apply(this,r),this;const s=new o(...r);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(Vr)?l[Vr]:Object.defineProperty(l,Vr,{value:[]})[Vr];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return e&&(o.prototype=Object.create(e.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}class P{constructor(n,e){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=D({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const ql=Function;function $o(t,n){t.forEach(e=>Array.isArray(e)?$o(e,n):n(e))}function J0(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function Kl(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function ea(t,n){const e=[];for(let i=0;i=0?t[1|i]=e:(i=~i,function gM(t,n,e,i){let o=t.length;if(o==n)t.push(e,i);else if(1===o)t.push(i,t[0]),t[0]=e;else{for(o--,t.push(t[o-1],t[o]);o>n;)t[o]=t[o-2],o--;t[n]=e,t[n+1]=i}}(t,i,n,e)),i}function O2(t,n){const e=Hr(t,n);if(e>=0)return t[1|e]}function Hr(t,n){return function eh(t,n,e){let i=0,o=t.length>>e;for(;o!==i;){const r=i+(o-i>>1),s=t[r<n?o=r:i=r+1}return~(o<({token:t})),-1),ho=js(Lr("Optional"),8),Wo=js(Lr("SkipSelf"),4);var mn=(()=>((mn=mn||{})[mn.Important=1]="Important",mn[mn.DashCase=2]="DashCase",mn))();const H2=new Map;let LM=0;const B2="__ngContext__";function qt(t,n){Sn(n)?(t[B2]=n[Gs],function RM(t){H2.set(t[Gs],t)}(n)):t[B2]=n}let Y2;function j2(t,n){return Y2(t,n)}function oa(t){const n=t[st];return ii(n)?n[st]:n}function U2(t){return Ch(t[$s])}function $2(t){return Ch(t[ni])}function Ch(t){for(;null!==t&&!ii(t);)t=t[ni];return t}function Br(t,n,e,i,o){if(null!=i){let r,s=!1;ii(i)?r=i:Sn(i)&&(s=!0,i=i[Ui]);const a=Nt(i);0===t&&null!==e?null==o?Dh(n,e,a):Go(n,e,a,o||null,!0):1===t&&null!==e?Go(n,e,a,o||null,!0):2===t?function Q2(t,n,e){const i=ec(t,n);i&&function sz(t,n,e,i){t.removeChild(n,e,i)}(t,i,n,e)}(n,a,s):3===t&&n.destroyNode(a),null!=r&&function cz(t,n,e,i,o){const r=e[Ol];r!==Nt(e)&&Br(n,t,i,r,o);for(let a=rn;a0&&(t[e-1][ni]=i[ni]);const r=Kl(t,rn+n);!function QM(t,n){ra(t,n,n[ve],2,null,null),n[Ui]=null,n[Wt]=null}(i[L],i);const s=r[bi];null!==s&&s.detachView(r[L]),i[st]=null,i[ni]=null,i[fe]&=-65}return i}function zh(t,n){if(!(128&n[fe])){const e=n[ve];e.destroyNode&&ra(t,n,e,3,null,null),function tz(t){let n=t[$s];if(!n)return K2(t[L],t);for(;n;){let e=null;if(Sn(n))e=n[$s];else{const i=n[rn];i&&(e=i)}if(!e){for(;n&&!n[ni]&&n!==t;)Sn(n)&&K2(n[L],n),n=n[st];null===n&&(n=t),Sn(n)&&K2(n[L],n),e=n&&n[ni]}n=e}}(n)}}function K2(t,n){if(!(128&n[fe])){n[fe]&=-65,n[fe]|=128,function rz(t,n){let e;if(null!=t&&null!=(e=t.destroyHooks))for(let i=0;i=0?i[o=s]():i[o=-s].unsubscribe(),r+=2}else{const s=i[o=e[r+1]];e[r].call(s)}if(null!==i){for(let r=o+1;r-1){const{encapsulation:r}=t.data[i.directiveStart+o];if(r===ti.None||r===ti.Emulated)return null}return Dn(i,e)}}(t,n.parent,e)}function Go(t,n,e,i,o){t.insertBefore(n,e,i,o)}function Dh(t,n,e){t.appendChild(n,e)}function Th(t,n,e,i,o){null!==i?Go(t,n,e,i,o):Dh(t,n,e)}function ec(t,n){return t.parentNode(n)}function Eh(t,n,e){return xh(t,n,e)}let Z2,ic,t3,oc,xh=function kh(t,n,e){return 40&t.type?Dn(t,e):null};function tc(t,n,e,i){const o=wh(t,i,n),r=n[ve],a=Eh(i.parent||n[Wt],i,n);if(null!=o)if(Array.isArray(e))for(let l=0;lt,createScript:t=>t,createScriptURL:t=>t})}catch{}return ic}()?.createHTML(t)||t}function n3(){if(void 0===oc&&(oc=null,Xe.trustedTypes))try{oc=Xe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return oc}function Nh(t){return n3()?.createHTML(t)||t}function Hh(t){return n3()?.createScriptURL(t)||t}class qo{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${zl})`}}class gz extends qo{getTypeName(){return"HTML"}}class vz extends qo{getTypeName(){return"Style"}}class yz extends qo{getTypeName(){return"Script"}}class _z extends qo{getTypeName(){return"URL"}}class Cz extends qo{getTypeName(){return"ResourceURL"}}function kn(t){return t instanceof qo?t.changingThisBreaksApplicationSecurity:t}function wi(t,n){const e=function bz(t){return t instanceof qo&&t.getTypeName()||null}(t);if(null!=e&&e!==n){if("ResourceURL"===e&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${zl})`)}return e===n}class Tz{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const e=(new window.DOMParser).parseFromString(Yr(n),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(n):(e.removeChild(e.firstChild),e)}catch{return null}}}class Ez{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const e=this.inertDocument.createElement("template");return e.innerHTML=Yr(n),e}}const xz=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function rc(t){return(t=String(t)).match(xz)?t:"unsafe:"+t}function Gi(t){const n={};for(const e of t.split(","))n[e]=!0;return n}function sa(...t){const n={};for(const e of t)for(const i in e)e.hasOwnProperty(i)&&(n[i]=!0);return n}const Bh=Gi("area,br,col,hr,img,wbr"),Yh=Gi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),jh=Gi("rp,rt"),o3=sa(Bh,sa(Yh,Gi("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),sa(jh,Gi("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),sa(jh,Yh)),r3=Gi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Uh=sa(r3,Gi("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Gi("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Pz=Gi("script,style,template");class Az{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let e=n.firstChild,i=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let o=this.checkClobberedElement(e,e.nextSibling);if(o){e=o;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(n){const e=n.nodeName.toLowerCase();if(!o3.hasOwnProperty(e))return this.sanitizedSomething=!0,!Pz.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const i=n.attributes;for(let o=0;o"),!0}endElement(n){const e=n.nodeName.toLowerCase();o3.hasOwnProperty(e)&&!Bh.hasOwnProperty(e)&&(this.buf.push(""))}chars(n){this.buf.push($h(n))}checkClobberedElement(n,e){if(e&&(n.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`);return e}}const Iz=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Oz=/([^\#-~ |!])/g;function $h(t){return t.replace(/&/g,"&").replace(Iz,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(Oz,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let sc;function Wh(t,n){let e=null;try{sc=sc||function Rh(t){const n=new Ez(t);return function kz(){try{return!!(new window.DOMParser).parseFromString(Yr(""),"text/html")}catch{return!1}}()?new Tz(n):n}(t);let i=n?String(n):"";e=sc.getInertBodyElement(i);let o=5,r=i;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,i=r,r=e.innerHTML,e=sc.getInertBodyElement(i)}while(i!==r);return Yr((new Az).sanitizeChildren(s3(e)||e))}finally{if(e){const i=s3(e)||e;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function s3(t){return"content"in t&&function Fz(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}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 jr(t){const n=aa();return n?Nh(n.sanitize(Ue.HTML,t)||""):wi(t,"HTML")?Nh(kn(t)):Wh(function Vh(){return void 0!==t3?t3:typeof document<"u"?document:void 0}(),re(t))}function a3(t){const n=aa();return n?n.sanitize(Ue.URL,t)||"":wi(t,"URL")?kn(t):rc(re(t))}function Gh(t){const n=aa();if(n)return Hh(n.sanitize(Ue.RESOURCE_URL,t)||"");if(wi(t,"ResourceURL"))return Hh(kn(t));throw new z(904,!1)}function aa(){const t=S();return t&&t[h2]}const ac=new P("ENVIRONMENT_INITIALIZER"),Kh=new P("INJECTOR",-1),Zh=new P("INJECTOR_DEF_TYPES");class Xh{get(n,e=Bs){if(e===Bs){const i=new Error(`NullInjectorError: No provider for ${Ge(n)}!`);throw i.name="NullInjectorError",i}return e}}function Yz(...t){return{\u0275providers:Qh(0,t),\u0275fromNgModule:!0}}function Qh(t,...n){const e=[],i=new Set;let o;return $o(n,r=>{const s=r;l3(s,e,[],i)&&(o||(o=[]),o.push(s))}),void 0!==o&&Jh(o,e),e}function Jh(t,n){for(let e=0;e{n.push(r)})}}function l3(t,n,e,i){if(!(t=q(t)))return!1;let o=null,r=o0(t);const s=!r&&Fe(t);if(r||s){if(s&&!s.standalone)return!1;o=t}else{const l=t.ngModule;if(r=o0(l),!r)return!1;o=l}const a=i.has(o);if(s){if(a)return!1;if(i.add(o),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)l3(c,n,e,i)}}else{if(!r)return!1;{if(null!=r.imports&&!a){let c;i.add(o);try{$o(r.imports,u=>{l3(u,n,e,i)&&(c||(c=[]),c.push(u))})}finally{}void 0!==c&&Jh(c,n)}if(!a){const c=Yo(o)||(()=>new o);n.push({provide:o,useFactory:c,deps:Pe},{provide:Zh,useValue:o,multi:!0},{provide:ac,useValue:()=>v(o),multi:!0})}const l=r.providers;null==l||a||c3(l,u=>{n.push(u)})}}return o!==t&&void 0!==t.providers}function c3(t,n){for(let e of t)r2(e)&&(e=e.\u0275providers),Array.isArray(e)?c3(e,n):n(e)}const jz=Ye({provide:String,useValue:Ye});function u3(t){return null!==t&&"object"==typeof t&&jz in t}function Ko(t){return"function"==typeof t}const d3=new P("Set Injector scope."),lc={},$z={};let h3;function cc(){return void 0===h3&&(h3=new Xh),h3}class Si{}class np extends Si{get destroyed(){return this._destroyed}constructor(n,e,i,o){super(),this.parent=e,this.source=i,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,f3(n,s=>this.processProvider(s)),this.records.set(Kh,Ur(void 0,this)),o.has("environment")&&this.records.set(Si,Ur(void 0,this));const r=this.records.get(d3);null!=r&&"string"==typeof r.value&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(Zh.multi,Pe,K.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();for(const n of this._onDestroyHooks)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(n){this._onDestroyHooks.push(n)}runInContext(n){this.assertNotDestroyed();const e=Sr(this),i=Rn(void 0);try{return n()}finally{Sr(e),Rn(i)}}get(n,e=Bs,i=K.Default){this.assertNotDestroyed(),i=kl(i);const o=Sr(this),r=Rn(void 0);try{if(!(i&K.SkipSelf)){let a=this.records.get(n);if(void 0===a){const l=function Zz(t){return"function"==typeof t||"object"==typeof t&&t instanceof P}(n)&&Dl(n);a=l&&this.injectableDefInScope(l)?Ur(p3(n),lc):null,this.records.set(n,a)}if(null!=a)return this.hydrate(n,a)}return(i&K.Self?cc():this.parent).get(n,e=i&K.Optional&&e===Bs?null:e)}catch(s){if("NullInjectorError"===s.name){if((s[El]=s[El]||[]).unshift(Ge(n)),o)throw s;return function _b(t,n,e,i){const o=t[El];throw n[a0]&&o.unshift(n[a0]),t.message=function Cb(t,n,e,i=null){t=t&&"\n"===t.charAt(0)&&t.charAt(1)==gb?t.slice(2):t;let o=Ge(n);if(Array.isArray(n))o=n.map(Ge).join(" -> ");else if("object"==typeof n){let r=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];r.push(s+":"+("string"==typeof a?JSON.stringify(a):Ge(a)))}o=`{${r.join(", ")}}`}return`${e}${i?"("+i+")":""}[${o}]: ${t.replace(mb,"\n ")}`}("\n"+t.message,o,e,i),t[fb]=o,t[El]=null,t}(s,n,"R3InjectorError",this.source)}throw s}finally{Rn(r),Sr(o)}}resolveInjectorInitializers(){const n=Sr(this),e=Rn(void 0);try{const i=this.get(ac.multi,Pe,K.Self);for(const o of i)o()}finally{Sr(n),Rn(e)}}toString(){const n=[],e=this.records;for(const i of e.keys())n.push(Ge(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new z(205,!1)}processProvider(n){let e=Ko(n=q(n))?n:q(n&&n.provide);const i=function Gz(t){return u3(t)?Ur(void 0,t.useValue):Ur(ip(t),lc)}(n);if(Ko(n)||!0!==n.multi)this.records.get(e);else{let o=this.records.get(e);o||(o=Ur(void 0,lc,!0),o.factory=()=>c2(o.multi),this.records.set(e,o)),e=n,o.multi.push(n)}this.records.set(e,i)}hydrate(n,e){return e.value===lc&&(e.value=$z,e.value=e.factory()),"object"==typeof e.value&&e.value&&function Kz(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(n){if(!n.providedIn)return!1;const e=q(n.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}}function p3(t){const n=Dl(t),e=null!==n?n.factory:Yo(t);if(null!==e)return e;if(t instanceof P)throw new z(204,!1);if(t instanceof Function)return function Wz(t){const n=t.length;if(n>0)throw ea(n,"?"),new z(204,!1);const e=function ub(t){const n=t&&(t[Tl]||t[r0]);return n?(function db(t){if(t.hasOwnProperty("name"))return t.name;(""+t).match(/^function\s*([^\s(]+)/)}(t),n):null}(t);return null!==e?()=>e.factory(t):()=>new t}(t);throw new z(204,!1)}function ip(t,n,e){let i;if(Ko(t)){const o=q(t);return Yo(o)||p3(o)}if(u3(t))i=()=>q(t.useValue);else if(function tp(t){return!(!t||!t.useFactory)}(t))i=()=>t.useFactory(...c2(t.deps||[]));else if(function ep(t){return!(!t||!t.useExisting)}(t))i=()=>v(q(t.useExisting));else{const o=q(t&&(t.useClass||t.provide));if(!function qz(t){return!!t.deps}(t))return Yo(o)||p3(o);i=()=>new o(...c2(t.deps))}return i}function Ur(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function f3(t,n){for(const e of t)Array.isArray(e)?f3(e,n):e&&r2(e)?f3(e.\u0275providers,n):n(e)}class Xz{}class op{}class Jz{resolveComponentFactory(n){throw function Qz(t){const n=Error(`No component factory found for ${Ge(t)}. Did you add it to @NgModule.entryComponents?`);return n.ngComponent=t,n}(n)}}let Zo=(()=>{class t{}return t.NULL=new Jz,t})();function ew(){return $r(Lt(),S())}function $r(t,n){return new ne(Dn(t,n))}let ne=(()=>{class t{constructor(e){this.nativeElement=e}}return t.__NG_ELEMENT_ID__=ew,t})();function tw(t){return t instanceof ne?t.nativeElement:t}class po{}let dt=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>function nw(){const t=S(),e=Tn(Lt().index,t);return(Sn(e)?e:t)[ve]}(),t})(),iw=(()=>{class t{}return t.\u0275prov=D({token:t,providedIn:"root",factory:()=>null}),t})();class la{constructor(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}const ow=new la("15.2.3"),m3={},g3="ngOriginalError";function v3(t){return t[g3]}class Wr{constructor(){this._console=console}handleError(n){const e=this._findOriginalError(n);this._console.error("ERROR",n),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(n){let e=n&&v3(n);for(;e&&v3(e);)e=v3(e);return e||null}}function qi(t){return t instanceof Function?t():t}function ap(t,n,e){let i=t.length;for(;;){const o=t.indexOf(n,e);if(-1===o)return o;if(0===o||t.charCodeAt(o-1)<=32){const r=n.length;if(o+r===i||t.charCodeAt(o+r)<=32)return o}e=o+1}}const lp="ng-template";function mw(t,n,e){let i=0;for(;ir?"":o[d+1].toLowerCase();const p=8&i?h:null;if(p&&-1!==ap(p,c,0)||2&i&&c!==h){if(ri(i))return!1;s=!0}}}}else{if(!s&&!ri(i)&&!ri(l))return!1;if(s&&ri(l))continue;s=!1,i=l|1&i}}return ri(i)||s}function ri(t){return 0==(1&t)}function yw(t,n,e,i){if(null===n)return-1;let o=0;if(i||!e){let r=!1;for(;o-1)for(e++;e0?'="'+a+'"':"")+"]"}else 8&i?o+="."+s:4&i&&(o+=" "+s);else""!==o&&!ri(s)&&(n+=dp(r,o),o=""),i=s,r=r||!ri(i);e++}return""!==o&&(n+=dp(r,o)),n}const le={};function k(t){hp(Te(),S(),an()+t,!1)}function hp(t,n,e,i){if(!i)if(3==(3&n[fe])){const r=t.preOrderCheckHooks;null!==r&&Rl(n,r,e)}else{const r=t.preOrderHooks;null!==r&&Bl(n,r,0,e)}jo(e)}function gp(t,n=null,e=null,i){const o=vp(t,n,e,i);return o.resolveInjectorInitializers(),o}function vp(t,n=null,e=null,i,o=new Set){const r=[e||Pe,Yz(t)];return i=i||("object"==typeof t?void 0:Ge(t)),new np(r,n||cc(),i||null,o)}let St=(()=>{class t{static create(e,i){if(Array.isArray(e))return gp({name:""},i,e,"");{const o=e.name??"";return gp({name:o},e.parent,e.providers,o)}}}return t.THROW_IF_NOT_FOUND=Bs,t.NULL=new Xh,t.\u0275prov=D({token:t,providedIn:"any",factory:()=>v(Kh)}),t.__NG_ELEMENT_ID__=-1,t})();function f(t,n=K.Default){const e=S();return null===e?v(t,n):G0(Lt(),e,q(t),n)}function M3(){throw new Error("invalid")}function wp(t,n){const e=t.contentQueries;if(null!==e)for(let i=0;iQe&&hp(t,n,Qe,!1),Bn(s?2:0,o),e(i,o)}finally{jo(r),Bn(s?3:1,o)}}function S3(t,n,e){if(f2(n)){const o=n.directiveEnd;for(let r=n.directiveStart;r0;){const e=t[--n];if("number"==typeof e&&e<0)return e}return 0})(s)!=a&&s.push(a),s.push(e,i,r)}}(t,n,i,ca(t,e,o.hostVars,le),o)}function Di(t,n,e,i,o,r){const s=Dn(t,n);!function P3(t,n,e,i,o,r,s){if(null==r)t.removeAttribute(n,o,e);else{const a=null==s?re(r):s(r,i||"",o);t.setAttribute(n,o,a,e)}}(n[ve],s,r,t.value,e,i,o)}function cS(t,n,e,i,o,r){const s=r[n];if(null!==s){const a=i.setInput;for(let l=0;l0&&A3(e)}}function A3(t){for(let i=U2(t);null!==i;i=$2(i))for(let o=rn;o0&&A3(r)}const e=t[L].components;if(null!==e)for(let i=0;i0&&A3(o)}}function fS(t,n){const e=Tn(n,t),i=e[L];(function mS(t,n){for(let e=n.length;e-1&&(q2(n,i),Kl(e,i))}this._attachedToViewContainer=!1}zh(this._lView[L],this._lView)}onDestroy(n){Tp(this._lView[L],this._lView,null,n)}markForCheck(){I3(this._cdRefInjectingView||this._lView)}detach(){this._lView[fe]&=-65}reattach(){this._lView[fe]|=64}detectChanges(){fc(this._lView[L],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new z(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function ez(t,n){ra(t,n,n[ve],2,null,null)}(this._lView[L],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new z(902,!1);this._appRef=n}}class gS extends ua{constructor(n){super(n),this._view=n}detectChanges(){const n=this._view;fc(n[L],n,n[ut],!1)}checkNoChanges(){}get context(){return null}}class Lp extends Zo{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const e=Fe(n);return new da(e,this.ngModule)}}function Hp(t){const n=[];for(let e in t)t.hasOwnProperty(e)&&n.push({propName:t[e],templateName:e});return n}class yS{constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){i=kl(i);const o=this.injector.get(n,m3,i);return o!==m3||e===m3?o:this.parentInjector.get(n,e,i)}}class da extends op{get inputs(){return Hp(this.componentDef.inputs)}get outputs(){return Hp(this.componentDef.outputs)}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=function ww(t){return t.map(zw).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!e}create(n,e,i,o){let r=(o=o||this.ngModule)instanceof Si?o:o?.injector;r&&null!==this.componentDef.getStandaloneInjector&&(r=this.componentDef.getStandaloneInjector(r)||r);const s=r?new yS(n,r):n,a=s.get(po,null);if(null===a)throw new z(407,!1);const l=s.get(iw,null),c=a.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",d=i?function qw(t,n,e){return t.selectRootElement(n,e===ti.ShadowDom)}(c,i,this.componentDef.encapsulation):G2(c,u,function vS(t){const n=t.toLowerCase();return"svg"===n?b0:"math"===n?"math":null}(u)),h=this.componentDef.onPush?288:272,p=E3(0,null,null,1,0,null,null,null,null,null),m=dc(null,p,null,h,null,null,a,c,l,s,null);let g,y;M2(m);try{const C=this.componentDef;let T,b=null;C.findHostDirectiveDefs?(T=[],b=new Map,C.findHostDirectiveDefs(C,T,b),T.push(C)):T=[C];const O=function CS(t,n){const e=t[L],i=Qe;return t[i]=n,Kr(e,i,2,"#host",null)}(m,d),ye=function bS(t,n,e,i,o,r,s,a){const l=o[L];!function MS(t,n,e,i){for(const o of t)n.mergedAttrs=Xs(n.mergedAttrs,o.hostAttrs);null!==n.mergedAttrs&&(mc(n,n.mergedAttrs,!0),null!==e&&Fh(i,e,n))}(i,t,n,s);const c=r.createRenderer(n,e),u=dc(o,Dp(e),null,e.onPush?32:16,o[t.index],t,r,c,a||null,null,null);return l.firstCreatePass&&x3(l,t,i.length-1),pc(o,u),o[t.index]=u}(O,d,C,T,m,a,c);y=z0(p,Qe),d&&function wS(t,n,e,i){if(i)T2(t,e,["ng-version",ow.full]);else{const{attrs:o,classes:r}=function Sw(t){const n=[],e=[];let i=1,o=2;for(;i0&&Oh(t,e,r.join(" "))}}(c,C,d,i),void 0!==e&&function SS(t,n,e){const i=t.projection=[];for(let o=0;o=0;i--){const o=t[i];o.hostVars=n+=o.hostVars,o.hostAttrs=Xs(o.hostAttrs,e=Xs(e,o.hostAttrs))}}(i)}function V3(t){return t===Yi?{}:t===Pe?[]:t}function ES(t,n){const e=t.viewQuery;t.viewQuery=e?(i,o)=>{n(i,o),e(i,o)}:n}function kS(t,n){const e=t.contentQueries;t.contentQueries=e?(i,o,r)=>{n(i,o,r),e(i,o,r)}:n}function xS(t,n){const e=t.hostBindings;t.hostBindings=e?(i,o)=>{n(i,o),e(i,o)}:n}function vc(t){return!!N3(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function N3(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Ti(t,n,e){return t[n]=e}function Kt(t,n,e){return!Object.is(t[n],e)&&(t[n]=e,!0)}function Pt(t,n,e,i){const o=S();return Kt(o,Ar(),n)&&(Te(),Di(tt(),o,t,n,e,i)),Pt}function E(t,n,e,i,o,r,s,a){const l=S(),c=Te(),u=t+Qe,d=c.firstCreatePass?function RS(t,n,e,i,o,r,s,a,l){const c=n.consts,u=Kr(n,t,4,s||null,uo(c,a));k3(n,e,u,uo(c,l)),Hl(n,u);const d=u.tView=E3(2,u,i,o,r,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c);return null!==n.queries&&(n.queries.template(n,u),d.queries=n.queries.embeddedTView(u)),u}(u,c,l,n,e,i,o,r,s):c.data[u];Mi(d,!1);const h=l[ve].createComment("");tc(c,l,h,d),qt(h,l),pc(l,l[u]=Ip(h,l,h,d)),Vl(d)&&D3(c,l,d),null!=s&&T3(l,d,a)}function ln(t){return Pr(function jb(){return ae.lFrame.contextLView}(),Qe+t)}function M(t,n,e){const i=S();return Kt(i,Ar(),n)&&xn(Te(),tt(),i,t,n,i[ve],e,!1),M}function L3(t,n,e,i,o){const s=o?"class":"style";F3(t,e,n.inputs[s],s,i)}function R(t,n,e,i){const o=S(),r=Te(),s=Qe+t,a=o[ve],l=r.firstCreatePass?function YS(t,n,e,i,o,r){const s=n.consts,l=Kr(n,t,2,i,uo(s,o));return k3(n,e,l,uo(s,r)),null!==l.attrs&&mc(l,l.attrs,!1),null!==l.mergedAttrs&&mc(l,l.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,l),l}(s,r,o,n,e,i):r.data[s],c=o[s]=G2(a,n,function Jb(){return ae.lFrame.currentNamespace}()),u=Vl(l);return Mi(l,!0),Fh(a,c,l),32!=(32&l.flags)&&tc(r,o,c,l),0===function Lb(){return ae.lFrame.elementDepthCount}()&&qt(c,o),function Hb(){ae.lFrame.elementDepthCount++}(),u&&(D3(r,o,l),S3(r,l,o)),null!==i&&T3(o,l),R}function j(){let t=Lt();v2()?y2():(t=t.parent,Mi(t,!1));const n=t;!function Rb(){ae.lFrame.elementDepthCount--}();const e=Te();return e.firstCreatePass&&(Hl(e,t),f2(t)&&e.queries.elementEnd(t)),null!=n.classesWithoutHost&&function iM(t){return 0!=(8&t.flags)}(n)&&L3(e,n,S(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function oM(t){return 0!=(16&t.flags)}(n)&&L3(e,n,S(),n.stylesWithoutHost,!1),j}function X(t,n,e,i){return R(t,n,e,i),j(),X}function Re(t,n,e){const i=S(),o=Te(),r=t+Qe,s=o.firstCreatePass?function jS(t,n,e,i,o){const r=n.consts,s=uo(r,i),a=Kr(n,t,8,"ng-container",s);return null!==s&&mc(a,s,!0),k3(n,e,a,uo(r,o)),null!==n.queries&&n.queries.elementStart(n,a),a}(r,o,i,n,e):o.data[r];Mi(s,!0);const a=i[r]=i[ve].createComment("");return tc(o,i,a,s),qt(a,i),Vl(s)&&(D3(o,i,s),S3(o,s,i)),null!=e&&T3(i,s),Re}function Be(){let t=Lt();const n=Te();return v2()?y2():(t=t.parent,Mi(t,!1)),n.firstCreatePass&&(Hl(n,t),f2(t)&&n.queries.elementEnd(t)),Be}function ht(){return S()}function pa(t){return!!t&&"function"==typeof t.then}const H3=function ef(t){return!!t&&"function"==typeof t.subscribe};function te(t,n,e,i){const o=S(),r=Te(),s=Lt();return tf(r,o,o[ve],s,t,n,i),te}function _c(t,n){const e=Lt(),i=S(),o=Te();return tf(o,i,Vp(C2(o.data),e,i),e,t,n),_c}function tf(t,n,e,i,o,r,s){const a=Vl(i),c=t.firstCreatePass&&Fp(t),u=n[ut],d=Op(n);let h=!0;if(3&i.type||s){const g=Dn(i,n),y=s?s(g):g,C=d.length,T=s?O=>s(Nt(O[i.index])):i.index;let b=null;if(!s&&a&&(b=function US(t,n,e,i){const o=t.cleanup;if(null!=o)for(let r=0;rl?a[l]:null}"string"==typeof s&&(r+=2)}return null}(t,n,o,i.index)),null!==b)(b.__ngLastListenerFn__||b).__ngNextListenerFn__=r,b.__ngLastListenerFn__=r,h=!1;else{r=rf(i,n,u,r,!1);const O=e.listen(y,o,r);d.push(r,O),c&&c.push(o,T,C,C+1)}}else r=rf(i,n,u,r,!1);const p=i.outputs;let m;if(h&&null!==p&&(m=p[o])){const g=m.length;if(g)for(let y=0;y-1?Tn(t.index,n):n);let l=nf(n,e,i,s),c=r.__ngNextListenerFn__;for(;c;)l=nf(n,e,c,s)&&l,c=c.__ngNextListenerFn__;return o&&!1===l&&(s.preventDefault(),s.returnValue=!1),l}}function x(t=1){return function qb(t){return(ae.lFrame.contextLView=function Kb(t,n){for(;t>0;)n=n[Er],t--;return n}(t,ae.lFrame.contextLView))[ut]}(t)}function $S(t,n){let e=null;const i=function _w(t){const n=t.attrs;if(null!=n){const e=n.indexOf(5);if(!(1&e))return n[e+1]}return null}(t);for(let o=0;o>17&32767}function B3(t){return 2|t}function Qo(t){return(131068&t)>>2}function Y3(t,n){return-131069&t|n<<2}function j3(t){return 1|t}function mf(t,n,e,i,o){const r=t[e+1],s=null===n;let a=i?fo(r):Qo(r),l=!1;for(;0!==a&&(!1===l||s);){const u=t[a+1];XS(t[a],n)&&(l=!0,t[a+1]=i?j3(u):B3(u)),a=i?fo(u):Qo(u)}l&&(t[e+1]=i?B3(r):j3(r))}function XS(t,n){return null===t||null==n||(Array.isArray(t)?t[1]:t)===n||!(!Array.isArray(t)||"string"!=typeof n)&&Hr(t,n)>=0}const Dt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function gf(t){return t.substring(Dt.key,Dt.keyEnd)}function vf(t,n){const e=Dt.textEnd;return e===n?-1:(n=Dt.keyEnd=function tD(t,n,e){for(;n32;)n++;return n}(t,Dt.key=n,e),rs(t,n,e))}function rs(t,n,e){for(;n=0;e=vf(n,e))En(t,gf(n),!0)}function ai(t,n,e,i){const o=S(),r=Te(),s=Wi(2);r.firstUpdatePass&&zf(r,t,s,i),n!==le&&Kt(o,s,n)&&Sf(r,r.data[an()],o,o[ve],t,o[s+1]=function dD(t,n){return null==t||("string"==typeof n?t+=n:"object"==typeof t&&(t=Ge(kn(t)))),t}(n,e),i,s)}function Mf(t,n){return n>=t.expandoStartIndex}function zf(t,n,e,i){const o=t.data;if(null===o[e+1]){const r=o[an()],s=Mf(t,e);Tf(r,i)&&null===n&&!s&&(n=!1),n=function rD(t,n,e,i){const o=C2(t);let r=i?n.residualClasses:n.residualStyles;if(null===o)0===(i?n.classBindings:n.styleBindings)&&(e=fa(e=$3(null,t,n,e,i),n.attrs,i),r=null);else{const s=n.directiveStylingLast;if(-1===s||t[s]!==o)if(e=$3(o,t,n,e,i),null===r){let l=function sD(t,n,e){const i=e?n.classBindings:n.styleBindings;if(0!==Qo(i))return t[fo(i)]}(t,n,i);void 0!==l&&Array.isArray(l)&&(l=$3(null,t,n,l[1],i),l=fa(l,n.attrs,i),function aD(t,n,e,i){t[fo(e?n.classBindings:n.styleBindings)]=i}(t,n,i,l))}else r=function lD(t,n,e){let i;const o=n.directiveEnd;for(let r=1+n.directiveStylingLast;r0)&&(c=!0)):u=e,o)if(0!==l){const h=fo(t[a+1]);t[i+1]=Cc(h,a),0!==h&&(t[h+1]=Y3(t[h+1],i)),t[a+1]=function GS(t,n){return 131071&t|n<<17}(t[a+1],i)}else t[i+1]=Cc(a,0),0!==a&&(t[a+1]=Y3(t[a+1],i)),a=i;else t[i+1]=Cc(l,0),0===a?a=i:t[l+1]=Y3(t[l+1],i),l=i;c&&(t[i+1]=B3(t[i+1])),mf(t,u,i,!0),mf(t,u,i,!1),function ZS(t,n,e,i,o){const r=o?t.residualClasses:t.residualStyles;null!=r&&"string"==typeof n&&Hr(r,n)>=0&&(e[i+1]=j3(e[i+1]))}(n,u,t,i,r),s=Cc(a,l),r?n.classBindings=s:n.styleBindings=s}(o,r,n,e,s,i)}}function $3(t,n,e,i,o){let r=null;const s=e.directiveEnd;let a=e.directiveStylingLast;for(-1===a?a=e.directiveStart:a++;a0;){const l=t[o],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let h=e[o+1];h===le&&(h=d?Pe:void 0);let p=d?O2(h,i):u===i?h:void 0;if(c&&!bc(p)&&(p=O2(l,i)),bc(p)&&(a=p,s))return a;const m=t[o+1];o=s?fo(m):Qo(m)}if(null!==n){let l=r?n.residualClasses:n.residualStyles;null!=l&&(a=O2(l,i))}return a}function bc(t){return void 0!==t}function Tf(t,n){return 0!=(t.flags&(n?8:16))}function Tt(t,n=""){const e=S(),i=Te(),o=t+Qe,r=i.firstCreatePass?Kr(i,o,1,n,null):i.data[o],s=e[o]=function W2(t,n){return t.createText(n)}(e[ve],n);tc(i,e,s,r),Mi(r,!1)}function mo(t){return Wn("",t,""),mo}function Wn(t,n,e){const i=S(),o=function Xr(t,n,e,i){return Kt(t,Ar(),e)?n+re(e)+i:le}(i,t,n,e);return o!==le&&function Ki(t,n,e){const i=Nl(n,t);!function bh(t,n,e){t.setValue(n,e)}(t[ve],i,e)}(i,an(),o),Wn}function ss(t,n,e){const i=S();if(Kt(i,Ar(),n)){const r=Te(),s=tt();xn(r,s,i,t,n,Vp(C2(r.data),s,i),e,!0)}return ss}let as={};var V=(()=>((V=V||{})[V.LocaleId=0]="LocaleId",V[V.DayPeriodsFormat=1]="DayPeriodsFormat",V[V.DayPeriodsStandalone=2]="DayPeriodsStandalone",V[V.DaysFormat=3]="DaysFormat",V[V.DaysStandalone=4]="DaysStandalone",V[V.MonthsFormat=5]="MonthsFormat",V[V.MonthsStandalone=6]="MonthsStandalone",V[V.Eras=7]="Eras",V[V.FirstDayOfWeek=8]="FirstDayOfWeek",V[V.WeekendRange=9]="WeekendRange",V[V.DateFormat=10]="DateFormat",V[V.TimeFormat=11]="TimeFormat",V[V.DateTimeFormat=12]="DateTimeFormat",V[V.NumberSymbols=13]="NumberSymbols",V[V.NumberFormats=14]="NumberFormats",V[V.CurrencyCode=15]="CurrencyCode",V[V.CurrencySymbol=16]="CurrencySymbol",V[V.CurrencyName=17]="CurrencyName",V[V.Currencies=18]="Currencies",V[V.Directionality=19]="Directionality",V[V.PluralCase=20]="PluralCase",V[V.ExtraData=21]="ExtraData",V))();const ls="en-US";let qf=ls;function q3(t,n,e,i,o){if(t=q(t),Array.isArray(t))for(let r=0;r>20;if(Ko(t)||!t.multi){const p=new Zs(l,o,f),m=Z3(a,n,o?u:u+h,d);-1===m?(P2($l(c,s),r,a),K3(r,t,n.length),n.push(a),c.directiveStart++,c.directiveEnd++,o&&(c.providerIndexes+=1048576),e.push(p),s.push(p)):(e[m]=p,s[m]=p)}else{const p=Z3(a,n,u+h,d),m=Z3(a,n,u,u+h),y=m>=0&&e[m];if(o&&!y||!o&&!(p>=0&&e[p])){P2($l(c,s),r,a);const C=function xT(t,n,e,i,o){const r=new Zs(t,e,f);return r.multi=[],r.index=n,r.componentProviders=0,C5(r,o,i&&!e),r}(o?kT:ET,e.length,o,i,l);!o&&y&&(e[m].providerFactory=C),K3(r,t,n.length,0),n.push(a),c.directiveStart++,c.directiveEnd++,o&&(c.providerIndexes+=1048576),e.push(C),s.push(C)}else K3(r,t,p>-1?p:m,C5(e[o?m:p],l,!o&&i));!o&&i&&y&&e[m].componentProviders++}}}function K3(t,n,e,i){const o=Ko(n),r=function Uz(t){return!!t.useClass}(n);if(o||r){const l=(r?q(n.useClass):n).prototype.ngOnDestroy;if(l){const c=t.destroyHooks||(t.destroyHooks=[]);if(!o&&n.multi){const u=c.indexOf(e);-1===u?c.push(e,[i,l]):c[u+1].push(i,l)}else c.push(e,l)}}}function C5(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function Z3(t,n,e,i){for(let o=e;o{e.providersResolver=(i,o)=>function TT(t,n,e){const i=Te();if(i.firstCreatePass){const o=oi(t);q3(e,i.data,i.blueprint,o,!0),q3(n,i.data,i.blueprint,o,!1)}}(i,o?o(t):t,n)}}class cs{}class b5{}class M5 extends cs{constructor(n,e){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Lp(this);const i=wn(n);this._bootstrapComponents=qi(i.bootstrap),this._r3Injector=vp(n,e,[{provide:cs,useValue:this},{provide:Zo,useValue:this.componentFactoryResolver}],Ge(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class Q3 extends b5{constructor(n){super(),this.moduleType=n}create(n){return new M5(this.moduleType,n)}}class AT extends cs{constructor(n,e,i){super(),this.componentFactoryResolver=new Lp(this),this.instance=null;const o=new np([...n,{provide:cs,useValue:this},{provide:Zo,useValue:this.componentFactoryResolver}],e||cc(),i,new Set(["environment"]));this.injector=o,o.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function Dc(t,n,e=null){return new AT(t,n,e).injector}let IT=(()=>{class t{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e.id)){const i=Qh(0,e.type),o=i.length>0?Dc([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e.id,o)}return this.cachedInjectors.get(e.id)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}}return t.\u0275prov=D({token:t,providedIn:"environment",factory:()=>new t(v(Si))}),t})();function J3(t){t.getStandaloneInjector=n=>n.get(IT).getOrCreateStandaloneInjector(t)}function x5(t,n,e,i,o){return function A5(t,n,e,i,o,r,s){const a=n+e;return function Xo(t,n,e,i){const o=Kt(t,n,e);return Kt(t,n+1,i)||o}(t,a,o,r)?Ti(t,a+2,s?i.call(s,o,r):i(o,r)):Ca(t,a+2)}(S(),sn(),t,n,e,i,o)}function Ca(t,n){const e=t[n];return e===le?void 0:e}function P5(t,n,e,i,o,r){const s=n+e;return Kt(t,s,o)?Ti(t,s+1,r?i.call(r,o):i(o)):Ca(t,s+1)}function t8(t,n){const e=Te();let i;const o=t+Qe;e.firstCreatePass?(i=function ZT(t,n){if(n)for(let e=n.length-1;e>=0;e--){const i=n[e];if(t===i.name)return i}}(n,e.pipeRegistry),e.data[o]=i,i.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(o,i.onDestroy)):i=e.data[o];const r=i.factory||(i.factory=Yo(i.type)),s=Rn(f);try{const a=Ul(!1),l=r();return Ul(a),function BS(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}(e,S(),o,l),l}finally{Rn(s)}}function n8(t,n,e){const i=t+Qe,o=S(),r=Pr(o,i);return function ba(t,n){return t[L].data[n].pure}(o,i)?P5(o,sn(),n,r.transform,e,r):r.transform(e)}function i8(t){return n=>{setTimeout(t,void 0,n)}}const _=class tE extends F{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,e,i){let o=n,r=e||(()=>null),s=i;if(n&&"object"==typeof n){const l=n;o=l.next?.bind(l),r=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(r=i8(r),o&&(o=i8(o)),s&&(s=i8(s)));const a=super.subscribe({next:o,error:r,complete:s});return n instanceof lt&&n.add(a),a}};function nE(){return this._results[Symbol.iterator]()}class Tc{get changes(){return this._changes||(this._changes=new _)}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=Tc.prototype;e[Symbol.iterator]||(e[Symbol.iterator]=nE)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){const i=this;i.dirty=!1;const o=function Yn(t){return t.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function fM(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i{class t{}return t.__NG_ELEMENT_ID__=rE,t})();const iE=$e,oE=class extends iE{constructor(n,e,i){super(),this._declarationLView=n,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(n,e){const i=this._declarationTContainer.tView,o=dc(this._declarationLView,i,n,16,null,i.declTNode,null,null,null,null,e||null);o[Ws]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[bi];return null!==s&&(o[bi]=s.createEmbeddedView(i)),w3(i,o,n),new ua(o)}};function rE(){return Ec(Lt(),S())}function Ec(t,n){return 4&t.type?new oE(n,t,$r(t,n)):null}let Ht=(()=>{class t{}return t.__NG_ELEMENT_ID__=sE,t})();function sE(){return L5(Lt(),S())}const aE=Ht,V5=class extends aE{constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return $r(this._hostTNode,this._hostLView)}get injector(){return new Or(this._hostTNode,this._hostLView)}get parentInjector(){const n=x2(this._hostTNode,this._hostLView);if(B0(n)){const e=jl(n,this._hostLView),i=Yl(n);return new Or(e[L].data[i+8],e)}return new Or(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const e=N5(this._lContainer);return null!==e&&e[n]||null}get length(){return this._lContainer.length-rn}createEmbeddedView(n,e,i){let o,r;"number"==typeof i?o=i:null!=i&&(o=i.index,r=i.injector);const s=n.createEmbeddedView(e||{},r);return this.insert(s,o),s}createComponent(n,e,i,o,r){const s=n&&!function Js(t){return"function"==typeof t}(n);let a;if(s)a=e;else{const d=e||{};a=d.index,i=d.injector,o=d.projectableNodes,r=d.environmentInjector||d.ngModuleRef}const l=s?n:new da(Fe(n)),c=i||this.parentInjector;if(!r&&null==l.ngModule){const h=(s?c:this.parentInjector).get(Si,null);h&&(r=h)}const u=l.create(c,o,void 0,r);return this.insert(u.hostView,a),u}insert(n,e){const i=n._lView,o=i[L];if(function Nb(t){return ii(t[st])}(i)){const u=this.indexOf(n);if(-1!==u)this.detach(u);else{const d=i[st],h=new V5(d,d[Wt],d[st]);h.detach(h.indexOf(n))}}const r=this._adjustIndex(e),s=this._lContainer;!function nz(t,n,e,i){const o=rn+i,r=e.length;i>0&&(e[o-1][ni]=n),i0)i.push(s[a/2]);else{const c=r[a+1],u=n[-l];for(let d=rn;d{class t{constructor(e){this.appInits=e,this.resolve=xc,this.reject=xc,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,o)=>{this.resolve=i,this.reject=o})}runInitializers(){if(this.initialized)return;const e=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o{r.subscribe({complete:a,error:l})});e.push(s)}}Promise.all(e).then(()=>{i()}).catch(o=>{this.reject(o)}),0===e.length&&i(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(v(Pc,8))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const za=new P("AppId",{providedIn:"root",factory:function a7(){return`${m8()}${m8()}${m8()}`}});function m8(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const l7=new P("Platform Initializer"),er=new P("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),tr=new P("AnimationModuleType");let IE=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();const Pi=new P("LocaleId",{providedIn:"root",factory:()=>pe(Pi,K.Optional|K.SkipSelf)||function OE(){return typeof $localize<"u"&&$localize.locale||ls}()});class VE{constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}}let c7=(()=>{class t{compileModuleSync(e){return new Q3(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const i=this.compileModuleSync(e),r=qi(wn(e).declarations).reduce((s,a)=>{const l=Fe(a);return l&&s.push(new da(l)),s},[]);return new VE(i,r)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const HE=(()=>Promise.resolve(0))();function g8(t){typeof Zone>"u"?HE.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class N{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new _(!1),this.onMicrotaskEmpty=new _(!1),this.onStable=new _(!1),this.onError=new _(!1),typeof Zone>"u")throw new z(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!i&&e,o.shouldCoalesceRunChangeDetection=i,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function RE(){let t=Xe.requestAnimationFrame,n=Xe.cancelAnimationFrame;if(typeof Zone<"u"&&t&&n){const e=t[Zone.__symbol__("OriginalDelegate")];e&&(t=e);const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function jE(t){const n=()=>{!function YE(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Xe,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,y8(t),t.isCheckStableRunning=!0,v8(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),y8(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,o,r,s,a)=>{try{return h7(t),e.invokeTask(o,r,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||t.shouldCoalesceRunChangeDetection)&&n(),p7(t)}},onInvoke:(e,i,o,r,s,a,l)=>{try{return h7(t),e.invoke(o,r,s,a,l)}finally{t.shouldCoalesceRunChangeDetection&&n(),p7(t)}},onHasTask:(e,i,o,r)=>{e.hasTask(o,r),i===o&&("microTask"==r.change?(t._hasPendingMicrotasks=r.microTask,y8(t),v8(t)):"macroTask"==r.change&&(t.hasPendingMacrotasks=r.macroTask))},onHandleError:(e,i,o,r)=>(e.handleError(o,r),t.runOutsideAngular(()=>t.onError.emit(r)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!N.isInAngularZone())throw new z(909,!1)}static assertNotInAngularZone(){if(N.isInAngularZone())throw new z(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,o){const r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+o,n,BE,xc,xc);try{return r.runTask(s,e,i)}finally{r.cancelTask(s)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}}const BE={};function v8(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function y8(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function h7(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function p7(t){t._nesting--,v8(t)}class UE{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new _,this.onMicrotaskEmpty=new _,this.onStable=new _,this.onError=new _}run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,o){return n.apply(e,i)}}const f7=new P(""),Ic=new P("");let b8,_8=(()=>{class t{constructor(e,i,o){this._ngZone=e,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,b8||(function $E(t){b8=t}(o),o.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:()=>{N.assertNotInAngularZone(),g8(()=>{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())g8(()=>{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,o){let r=-1;i&&i>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==r),e(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:o})}whenStable(e,i,o){if(o&&!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,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,o){return[]}}return t.\u0275fac=function(e){return new(e||t)(v(N),v(C8),v(Ic))},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})(),C8=(()=>{class t{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 b8?.findTestabilityInTree(this,e,i)??null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();const Zi=!1;let go=null;const m7=new P("AllowMultipleToken"),M8=new P("PlatformDestroyListeners"),g7=new P("appBootstrapListener");class v7{constructor(n,e){this.name=n,this.token=e}}function _7(t,n,e=[]){const i=`Platform: ${n}`,o=new P(i);return(r=[])=>{let s=z8();if(!s||s.injector.get(m7,!1)){const a=[...e,...r,{provide:o,useValue:!0}];t?t(a):function qE(t){if(go&&!go.get(m7,!1))throw new z(400,!1);go=t;const n=t.get(b7);(function y7(t){const n=t.get(l7,null);n&&n.forEach(e=>e())})(t)}(function C7(t=[],n){return St.create({name:n,providers:[{provide:d3,useValue:"platform"},{provide:M8,useValue:new Set([()=>go=null])},...t]})}(a,i))}return function ZE(t){const n=z8();if(!n)throw new z(401,!1);return n}()}}function z8(){return go?.get(b7)??null}let b7=(()=>{class t{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){const o=function z7(t,n){let e;return e="noop"===t?new UE:("zone.js"===t?void 0:t)||new N(n),e}(i?.ngZone,function M7(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!t||!t.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!t||!t.ngZoneRunCoalescing)||!1}}(i)),r=[{provide:N,useValue:o}];return o.run(()=>{const s=St.create({providers:r,parent:this.injector,name:e.moduleType.name}),a=e.create(s),l=a.injector.get(Wr,null);if(!l)throw new z(402,!1);return o.runOutsideAngular(()=>{const c=o.onError.subscribe({next:u=>{l.handleError(u)}});a.onDestroy(()=>{Oc(this._modules,a),c.unsubscribe()})}),function w7(t,n,e){try{const i=e();return pa(i)?i.catch(o=>{throw n.runOutsideAngular(()=>t.handleError(o)),o}):i}catch(i){throw n.runOutsideAngular(()=>t.handleError(i)),i}}(l,o,()=>{const c=a.injector.get(Ac);return c.runInitializers(),c.donePromise.then(()=>(function Kf(t){Hn(t,"Expected localeId to be defined"),"string"==typeof t&&(qf=t.toLowerCase().replace(/_/g,"-"))}(a.injector.get(Pi,ls)||ls),this._moduleDoBootstrap(a),a))})})}bootstrapModule(e,i=[]){const o=S7({},i);return function WE(t,n,e){const i=new Q3(e);return Promise.resolve(i)}(0,0,e).then(r=>this.bootstrapModuleFactory(r,o))}_moduleDoBootstrap(e){const i=e.injector.get(hs);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(o=>i.bootstrap(o));else{if(!e.instance.ngDoBootstrap)throw new z(-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 z(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const e=this._injector.get(M8,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(v(St))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();function S7(t,n){return Array.isArray(n)?n.reduce(S7,t):{...t,...n}}let hs=(()=>{class t{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(e,i,o){this._zone=e,this._injector=i,this._exceptionHandler=o,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 r=new ge(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new ge(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{N.assertNotInAngularZone(),g8(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const c=this._zone.onUnstable.subscribe(()=>{N.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),c.unsubscribe()}});this.isStable=Ro(r,s.pipe(J4()))}bootstrap(e,i){const o=e instanceof op;if(!this._injector.get(Ac).done){!o&&function Dr(t){const n=Fe(t)||$t(t)||fn(t);return null!==n&&n.standalone}(e);throw new z(405,Zi)}let s;s=o?e:this._injector.get(Zo).resolveComponentFactory(e),this.componentTypes.push(s.componentType);const a=function GE(t){return t.isBoundToModule}(s)?void 0:this._injector.get(cs),c=s.create(St.NULL,[],i||s.selector,a),u=c.location.nativeElement,d=c.injector.get(f7,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),Oc(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new z(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;Oc(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);const i=this._injector.get(g7,[]);i.push(...this._bootstrapListeners),i.forEach(o=>o(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),()=>Oc(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new z(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return t.\u0275fac=function(e){return new(e||t)(v(N),v(Si),v(Wr))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Oc(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}let It=(()=>{class t{}return t.__NG_ELEMENT_ID__=QE,t})();function QE(t){return function JE(t,n,e){if(qs(t)&&!e){const i=Tn(t.index,n);return new ua(i,i)}return 47&t.type?new ua(n[Gt],n):null}(Lt(),S(),16==(16&t))}class P7{constructor(){}supports(n){return vc(n)}create(n){return new rk(n)}}const ok=(t,n)=>n;class rk{constructor(n){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=n||ok}forEachItem(n){let e;for(e=this._itHead;null!==e;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,i=this._removalsHead,o=0,r=null;for(;e||i;){const s=!i||e&&e.currentIndex{s=this._trackByFn(o,a),null!==e&&Object.is(e.trackById,s)?(i&&(e=this._verifyReinsertion(e,a,s,o)),Object.is(e.item,a)||this._addIdentityChange(e,a)):(e=this._mismatch(e,a,s,o),i=!0),e=e._next,o++}),this.length=o;return this._truncate(e),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,e,i,o){let r;return null===n?r=this._itTail:(r=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,r,o)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(i,o))?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,r,o)):n=this._addAfter(new sk(e,i),r,o),n}_verifyReinsertion(n,e,i,o){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==r?n=this._reinsertAfter(r,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;null!==n;){const e=n._next;this._addToRemovals(this._unlink(n)),n=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(n,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const o=n._prevRemoved,r=n._nextRemoved;return null===o?this._removalsHead=r:o._nextRemoved=r,null===r?this._removalsTail=o:r._prevRemoved=o,this._insertAfter(n,e,i),this._addToMoves(n,i),n}_moveAfter(n,e,i){return this._unlink(n),this._insertAfter(n,e,i),this._addToMoves(n,i),n}_addAfter(n,e,i){return this._insertAfter(n,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){const o=null===e?this._itHead:e._next;return n._next=o,n._prev=e,null===o?this._itTail=n:o._prev=n,null===e?this._itHead=n:e._next=n,null===this._linkedRecords&&(this._linkedRecords=new A7),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const e=n._prev,i=n._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new A7),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,e){return n.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class sk{constructor(n,e){this.item=n,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 ak{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){const e=n._prevDup,i=n._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class A7{constructor(){this.map=new Map}put(n){const e=n.trackById;let i=this.map.get(e);i||(i=new ak,this.map.set(e,i)),i.add(n)}get(n,e){const o=this.map.get(n);return o?o.get(n,e):null}remove(n){const e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function I7(t,n,e){const i=t.previousIndex;if(null===i)return i;let o=0;return e&&i{if(e&&e.key===o)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{const r=this._getOrCreateRecordForKey(o,i);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,e){if(n){const i=n._prev;return e._next=n,e._prev=i,n._prev=e,i&&(i._next=e),n===this._mapHead&&(this._mapHead=e),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(n,e){if(this._records.has(n)){const o=this._records.get(n);this._maybeAddToChanges(o,e);const r=o._prev,s=o._next;return r&&(r._next=s),s&&(s._prev=r),o._next=null,o._prev=null,o}const i=new ck(n);return this._records.set(n,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,e){Object.is(e,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=e,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,e){n instanceof Map?n.forEach(e):Object.keys(n).forEach(i=>e(n[i],i))}}class ck{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function F7(){return new wa([new P7])}let wa=(()=>{class t{constructor(e){this.factories=e}static create(e,i){if(null!=i){const o=i.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||F7()),deps:[[t,new Wo,new ho]]}}find(e){const i=this.factories.find(o=>o.supports(e));if(null!=i)return i;throw new z(901,!1)}}return t.\u0275prov=D({token:t,providedIn:"root",factory:F7}),t})();function V7(){return new Sa([new O7])}let Sa=(()=>{class t{constructor(e){this.factories=e}static create(e,i){if(i){const o=i.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||V7()),deps:[[t,new Wo,new ho]]}}find(e){const i=this.factories.find(o=>o.supports(e));if(i)return i;throw new z(901,!1)}}return t.\u0275prov=D({token:t,providedIn:"root",factory:V7}),t})();const hk=_7(null,"core",[]);let pk=(()=>{class t{constructor(e){}}return t.\u0275fac=function(e){return new(e||t)(v(hs))},t.\u0275mod=de({type:t}),t.\u0275inj=se({}),t})();function ps(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}let E8=null;function Xi(){return E8}class gk{}const _e=new P("DocumentToken");let k8=(()=>{class t{historyGo(e){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:function(){return function vk(){return v(N7)}()},providedIn:"platform"}),t})();const yk=new P("Location Initialized");let N7=(()=>{class t extends k8{constructor(e){super(),this._doc=e,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Xi().getBaseHref(this._doc)}onPopState(e){const i=Xi().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=Xi().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,o){L7()?this._history.pushState(e,i,o):this._location.hash=o}replaceState(e,i,o){L7()?this._history.replaceState(e,i,o):this._location.hash=o}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(v(_e))},t.\u0275prov=D({token:t,factory:function(){return function _k(){return new N7(v(_e))}()},providedIn:"platform"}),t})();function L7(){return!!window.history.pushState}function x8(t,n){if(0==t.length)return n;if(0==n.length)return t;let e=0;return t.endsWith("/")&&e++,n.startsWith("/")&&e++,2==e?t+n.substring(1):1==e?t+n:t+"/"+n}function H7(t){const n=t.match(/#|\?|$/),e=n&&n.index||t.length;return t.slice(0,e-("/"===t[e-1]?1:0))+t.slice(e)}function Qi(t){return t&&"?"!==t[0]?"?"+t:t}let ir=(()=>{class t{historyGo(e){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:function(){return pe(B7)},providedIn:"root"}),t})();const R7=new P("appBaseHref");let B7=(()=>{class t extends ir{constructor(e,i){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??pe(_e).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 x8(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+Qi(this._platformLocation.search),o=this._platformLocation.hash;return o&&e?`${i}${o}`:i}pushState(e,i,o,r){const s=this.prepareExternalUrl(o+Qi(r));this._platformLocation.pushState(e,i,s)}replaceState(e,i,o,r){const s=this.prepareExternalUrl(o+Qi(r));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 t.\u0275fac=function(e){return new(e||t)(v(k8),v(R7,8))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Ck=(()=>{class t extends ir{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=x8(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,o,r){let s=this.prepareExternalUrl(o+Qi(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(e,i,s)}replaceState(e,i,o,r){let s=this.prepareExternalUrl(o+Qi(r));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 t.\u0275fac=function(e){return new(e||t)(v(k8),v(R7,8))},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})(),Nc=(()=>{class t{constructor(e){this._subject=new _,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const i=this._locationStrategy.getBaseHref();this._basePath=function zk(t){if(new RegExp("^(https?:)?//").test(t)){const[,e]=t.split(/\/\/[^\/]+/);return e}return t}(H7(Y7(i))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.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+Qi(i))}normalize(e){return t.stripTrailingSlash(function Mk(t,n){if(!t||!n.startsWith(t))return n;const e=n.substring(t.length);return""===e||["/",";","?","#"].includes(e[0])?e:n}(this._basePath,Y7(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",o=null){this._locationStrategy.pushState(o,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Qi(i)),o)}replaceState(e,i="",o=null){this._locationStrategy.replaceState(o,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Qi(i)),o)}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(o=>o(e,i))}subscribe(e,i,o){return this._subject.subscribe({next:e,error:i,complete:o})}}return t.normalizeQueryParams=Qi,t.joinWithSlash=x8,t.stripTrailingSlash=H7,t.\u0275fac=function(e){return new(e||t)(v(ir))},t.\u0275prov=D({token:t,factory:function(){return function bk(){return new Nc(v(ir))}()},providedIn:"root"}),t})();function Y7(t){return t.replace(/\/index.html$/,"")}function X7(t,n){n=encodeURIComponent(n);for(const e of t.split(";")){const i=e.indexOf("="),[o,r]=-1==i?[e,""]:[e.slice(0,i),e.slice(i+1)];if(o.trim()===n)return decodeURIComponent(r)}return null}const R8=/\s+/,Q7=[];let Gc=(()=>{class t{constructor(e,i,o,r){this._iterableDiffers=e,this._keyValueDiffers=i,this._ngEl=o,this._renderer=r,this.initialClasses=Q7,this.stateMap=new Map}set klass(e){this.initialClasses=null!=e?e.trim().split(R8):Q7}set ngClass(e){this.rawClass="string"==typeof e?e.trim().split(R8):e}ngDoCheck(){for(const i of this.initialClasses)this._updateState(i,!0);const e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(const i of e)this._updateState(i,!0);else if(null!=e)for(const i of Object.keys(e))this._updateState(i,Boolean(e[i]));this._applyStateDiff()}_updateState(e,i){const o=this.stateMap.get(e);void 0!==o?(o.enabled!==i&&(o.changed=!0,o.enabled=i),o.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const e of this.stateMap){const i=e[0],o=e[1];o.changed?(this._toggleClass(i,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),o.touched=!1}}_toggleClass(e,i){(e=e.trim()).length>0&&e.split(R8).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}}return t.\u0275fac=function(e){return new(e||t)(f(wa),f(Sa),f(ne),f(dt))},t.\u0275dir=w({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),t})();class lx{constructor(n,e,i,o){this.$implicit=n,this.ngForOf=e,this.index=i,this.count=o}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 qc=(()=>{class t{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,i,o){this._viewContainer=e,this._template=i,this._differs=o,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((o,r,s)=>{if(null==o.previousIndex)i.createEmbeddedView(this._template,new lx(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)i.remove(null===r?void 0:r);else if(null!==r){const a=i.get(r);i.move(a,s),tm(a,o)}});for(let o=0,r=i.length;o{tm(i.get(o.currentIndex),o)})}static ngTemplateContextGuard(e,i){return!0}}return t.\u0275fac=function(e){return new(e||t)(f(Ht),f($e),f(wa))},t.\u0275dir=w({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),t})();function tm(t,n){t.context.$implicit=n.item}let xt=(()=>{class t{constructor(e,i){this._viewContainer=e,this._context=new ux,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){nm("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){nm("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 t.\u0275fac=function(e){return new(e||t)(f(Ht),f($e))},t.\u0275dir=w({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),t})();class ux{constructor(){this.$implicit=null,this.ngIf=null}}function nm(t,n){if(n&&!n.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${Ge(n)}'.`)}class B8{constructor(n,e){this._viewContainerRef=n,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(n){n&&!this._created?this.create():!n&&this._created&&this.destroy()}}let or=(()=>{class t{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews.push(e)}_matchCase(e){const i=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(e){if(this._defaultViews.length>0&&e!==this._defaultUsed){this._defaultUsed=e;for(const i of this._defaultViews)i.enforceState(e)}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=w({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),t})(),Ea=(()=>{class t{constructor(e,i,o){this.ngSwitch=o,o._addCase(),this._view=new B8(e,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(f(Ht),f($e),f(or,9))},t.\u0275dir=w({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),t})(),Kc=(()=>{class t{constructor(e,i,o){o._addDefault(new B8(e,i))}}return t.\u0275fac=function(e){return new(e||t)(f(Ht),f($e),f(or,9))},t.\u0275dir=w({type:t,selectors:[["","ngSwitchDefault",""]],standalone:!0}),t})(),Zc=(()=>{class t{constructor(e,i,o){this._ngEl=e,this._differs=i,this._renderer=o,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,i){const[o,r]=e.split("."),s=-1===o.indexOf("-")?void 0:mn.DashCase;null!=i?this._renderer.setStyle(this._ngEl.nativeElement,o,r?`${i}${r}`:i,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(e){e.forEachRemovedItem(i=>this._setStyle(i.key,null)),e.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),e.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}}return t.\u0275fac=function(e){return new(e||t)(f(ne),f(Sa),f(dt))},t.\u0275dir=w({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),t})(),ka=(()=>{class t{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(e.ngTemplateOutlet||e.ngTemplateOutletInjector){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:o,ngTemplateOutletContext:r,ngTemplateOutletInjector:s}=this;this._viewRef=i.createEmbeddedView(o,r,s?{injector:s}:void 0)}else this._viewRef=null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return t.\u0275fac=function(e){return new(e||t)(f(Ht))},t.\u0275dir=w({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[$]}),t})(),dn=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({}),t})();const rm="browser";function sm(t){return t===rm}let Lx=(()=>{class t{}return t.\u0275prov=D({token:t,providedIn:"root",factory:()=>new Hx(v(_e),window)}),t})();class Hx{constructor(n,e){this.document=n,this.window=e,this.offset=()=>[0,0]}setOffset(n){this.offset=Array.isArray(n)?()=>n:n}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(n){this.supportsScrolling()&&this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){if(!this.supportsScrolling())return;const e=function Rx(t,n){const e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow)){const i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let o=i.currentNode;for(;o;){const r=o.shadowRoot;if(r){const s=r.getElementById(n)||r.querySelector(`[name="${n}"]`);if(s)return s}o=i.nextNode()}}return null}(this.document,n);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(n){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=n)}}scrollToElement(n){const e=n.getBoundingClientRect(),i=e.left+this.window.pageXOffset,o=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(i-r[0],o-r[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const n=am(this.window.history)||am(Object.getPrototypeOf(this.window.history));return!(!n||!n.writable&&!n.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function am(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class lm{}class pP extends gk{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class W8 extends pP{static makeCurrent(){!function mk(t){E8||(E8=t)}(new W8)}onAndCancel(n,e,i){return n.addEventListener(e,i,!1),()=>{n.removeEventListener(e,i,!1)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,e){return(e=e||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return"window"===e?window:"document"===e?n:"body"===e?n.body:null}getBaseHref(n){const e=function fP(){return Pa=Pa||document.querySelector("base"),Pa?Pa.getAttribute("href"):null}();return null==e?null:function mP(t){Jc=Jc||document.createElement("a"),Jc.setAttribute("href",t);const n=Jc.pathname;return"/"===n.charAt(0)?n:`/${n}`}(e)}resetBaseElement(){Pa=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return X7(document.cookie,n)}}let Jc,Pa=null;const pm=new P("TRANSITION_ID"),vP=[{provide:Pc,useFactory:function gP(t,n,e){return()=>{e.get(Ac).donePromise.then(()=>{const i=Xi(),o=n.querySelectorAll(`style[ng-transition="${t}"]`);for(let r=0;r{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})();const e1=new P("EventManagerPlugins");let t1=(()=>{class t{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(o=>{o.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,o){return this._findPluginFor(i).addEventListener(e,i,o)}addGlobalEventListener(e,i,o){return this._findPluginFor(i).addGlobalEventListener(e,i,o)}getZone(){return this._zone}_findPluginFor(e){const i=this._eventNameToPlugin.get(e);if(i)return i;const o=this._plugins;for(let r=0;r{class t{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 o=this.usageCount;let r=o.get(e)??0;return r+=i,r>0?o.set(e,r):o.delete(e),r}ngOnDestroy(){for(const e of this.getAllStyles())this.onStyleRemoved(e);this.usageCount.clear()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})(),Aa=(()=>{class t extends mm{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(r=>r.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 o=this.doc.createElement("style");o.textContent=i,e.appendChild(o);const r=this.styleRef.get(i);r?r.push(o):this.styleRef.set(i,[o])}resetHostNodes(){const e=this.hostNodes;e.clear(),e.add(this.doc.head)}}return t.\u0275fac=function(e){return new(e||t)(v(_e))},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})();const G8={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/"},q8=/%COMP%/g,ym=new P("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function _m(t,n){return n.flat(100).map(e=>e.replace(q8,t))}function Cm(t){return n=>{if("__ngUnwrap__"===n)return t;!1===t(n)&&(n.preventDefault(),n.returnValue=!1)}}let n1=(()=>{class t{constructor(e,i,o,r){this.eventManager=e,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestory=r,this.rendererByCompId=new Map,this.defaultRenderer=new K8(e)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;const o=this.getOrCreateRenderer(e,i);return o instanceof zm?o.applyToHost(e):o instanceof Z8&&o.applyStyles(),o}getOrCreateRenderer(e,i){const o=this.rendererByCompId;let r=o.get(i.id);if(!r){const s=this.eventManager,a=this.sharedStylesHost,l=this.removeStylesOnCompDestory;switch(i.encapsulation){case ti.Emulated:r=new zm(s,a,i,this.appId,l);break;case ti.ShadowDom:return new DP(s,a,e,i);default:r=new Z8(s,a,i,l)}r.onDestroy=()=>o.delete(i.id),o.set(i.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(v(t1),v(Aa),v(za),v(ym))},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})();class K8{constructor(n){this.eventManager=n,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(n,e){return e?document.createElementNS(G8[e]||e,n):document.createElement(n)}createComment(n){return document.createComment(n)}createText(n){return document.createTextNode(n)}appendChild(n,e){(Mm(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(Mm(n)?n.content:n).insertBefore(e,i)}removeChild(n,e){n&&n.removeChild(e)}selectRootElement(n,e){let i="string"==typeof n?document.querySelector(n):n;if(!i)throw new Error(`The selector "${n}" did not match any elements`);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,o){if(o){e=o+":"+e;const r=G8[o];r?n.setAttributeNS(r,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){const o=G8[i];o?n.removeAttributeNS(o,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,o){o&(mn.DashCase|mn.Important)?n.style.setProperty(e,i,o&mn.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&mn.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){n[e]=i}setValue(n,e){n.nodeValue=e}listen(n,e,i){return"string"==typeof n?this.eventManager.addGlobalEventListener(n,e,Cm(i)):this.eventManager.addEventListener(n,e,Cm(i))}}function Mm(t){return"TEMPLATE"===t.tagName&&void 0!==t.content}class DP extends K8{constructor(n,e,i,o){super(n),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const r=_m(o.id,o.styles);for(const s of r){const a=document.createElement("style");a.textContent=s,this.shadowRoot.appendChild(a)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,i){return super.insertBefore(this.nodeOrShadowRoot(n),e,i)}removeChild(n,e){return super.removeChild(this.nodeOrShadowRoot(n),e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Z8 extends K8{constructor(n,e,i,o,r=i.id){super(n),this.sharedStylesHost=e,this.removeStylesOnCompDestory=o,this.rendererUsageCount=0,this.styles=_m(r,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 zm extends Z8{constructor(n,e,i,o,r){const s=o+"-"+i.id;super(n,e,i,r,s),this.contentAttr=function zP(t){return"_ngcontent-%COMP%".replace(q8,t)}(s),this.hostAttr=function wP(t){return"_nghost-%COMP%".replace(q8,t)}(s)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){const i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}}let TP=(()=>{class t extends fm{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,o){return e.addEventListener(i,o,!1),()=>this.removeEventListener(e,i,o)}removeEventListener(e,i,o){return e.removeEventListener(i,o)}}return t.\u0275fac=function(e){return new(e||t)(v(_e))},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})();const wm=["alt","control","meta","shift"],EP={"\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"},kP={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let xP=(()=>{class t extends fm{constructor(e){super(e)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,i,o){const r=t.parseEventName(i),s=t.eventCallback(r.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Xi().onAndCancel(e,r.domEventName,s))}static parseEventName(e){const i=e.toLowerCase().split("."),o=i.shift();if(0===i.length||"keydown"!==o&&"keyup"!==o)return null;const r=t._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),wm.forEach(c=>{const u=i.indexOf(c);u>-1&&(i.splice(u,1),s+=c+".")}),s+=r,0!=i.length||0===r.length)return null;const l={};return l.domEventName=o,l.fullKey=s,l}static matchEventFullKeyCode(e,i){let o=EP[e.key]||e.key,r="";return i.indexOf("code.")>-1&&(o=e.code,r="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),wm.forEach(s=>{s!==o&&(0,kP[s])(e)&&(r+=s+".")}),r+=o,r===i)}static eventCallback(e,i,o){return r=>{t.matchEventFullKeyCode(r,e)&&o.runGuarded(()=>i(r))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return t.\u0275fac=function(e){return new(e||t)(v(_e))},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})();const OP=_7(hk,"browser",[{provide:er,useValue:rm},{provide:l7,useValue:function PP(){W8.makeCurrent()},multi:!0},{provide:_e,useFactory:function IP(){return function mz(t){t3=t}(document),document},deps:[]}]),Tm=new P(""),Em=[{provide:Ic,useClass:class yP{addToWindow(n){Xe.getAngularTestability=(i,o=!0)=>{const r=n.findTestabilityInTree(i,o);if(null==r)throw new Error("Could not find testability for element.");return r},Xe.getAllAngularTestabilities=()=>n.getAllTestabilities(),Xe.getAllAngularRootElements=()=>n.getAllRootElements(),Xe.frameworkStabilizers||(Xe.frameworkStabilizers=[]),Xe.frameworkStabilizers.push(i=>{const o=Xe.getAllAngularTestabilities();let r=o.length,s=!1;const a=function(l){s=s||l,r--,0==r&&i(s)};o.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(n,e,i){return null==e?null:n.getTestability(e)??(i?Xi().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null)}},deps:[]},{provide:f7,useClass:_8,deps:[N,C8,Ic]},{provide:_8,useClass:_8,deps:[N,C8,Ic]}],km=[{provide:d3,useValue:"root"},{provide:Wr,useFactory:function AP(){return new Wr},deps:[]},{provide:e1,useClass:TP,multi:!0,deps:[_e,N,er]},{provide:e1,useClass:xP,multi:!0,deps:[_e]},{provide:n1,useClass:n1,deps:[t1,Aa,za,ym]},{provide:po,useExisting:n1},{provide:mm,useExisting:Aa},{provide:Aa,useClass:Aa,deps:[_e]},{provide:t1,useClass:t1,deps:[e1,N]},{provide:lm,useClass:_P,deps:[]},[]];let xm=(()=>{class t{constructor(e){}static withServerTransition(e){return{ngModule:t,providers:[{provide:za,useValue:e.appId},{provide:pm,useExisting:za},vP]}}}return t.\u0275fac=function(e){return new(e||t)(v(Tm,12))},t.\u0275mod=de({type:t}),t.\u0275inj=se({providers:[...km,...Em],imports:[dn,pk]}),t})(),Pm=(()=>{class t{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return t.\u0275fac=function(e){return new(e||t)(v(_e))},t.\u0275prov=D({token:t,factory:function(e){let i=null;return i=e?new e:function VP(){return new Pm(v(_e))}(),i},providedIn:"root"}),t})();typeof window<"u"&&window;let o1=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:function(e){let i=null;return i=e?new(e||t):v(Om),i},providedIn:"root"}),t})(),Om=(()=>{class t extends o1{constructor(e){super(),this._doc=e}sanitize(e,i){if(null==i)return null;switch(e){case Ue.NONE:return i;case Ue.HTML:return wi(i,"HTML")?kn(i):Wh(this._doc,String(i)).toString();case Ue.STYLE:return wi(i,"Style")?kn(i):i;case Ue.SCRIPT:if(wi(i,"Script"))return kn(i);throw new Error("unsafe value used in a script context");case Ue.URL:return wi(i,"URL")?kn(i):rc(String(i));case Ue.RESOURCE_URL:if(wi(i,"ResourceURL"))return kn(i);throw new Error(`unsafe value used in a resource URL context (see ${zl})`);default:throw new Error(`Unexpected SecurityContext ${e} (see ${zl})`)}}bypassSecurityTrustHtml(e){return function Mz(t){return new gz(t)}(e)}bypassSecurityTrustStyle(e){return function zz(t){return new vz(t)}(e)}bypassSecurityTrustScript(e){return function wz(t){return new yz(t)}(e)}bypassSecurityTrustUrl(e){return function Sz(t){return new _z(t)}(e)}bypassSecurityTrustResourceUrl(e){return function Dz(t){return new Cz(t)}(e)}}return t.\u0275fac=function(e){return new(e||t)(v(_e))},t.\u0275prov=D({token:t,factory:function(e){let i=null;return i=e?new e:function BP(t){return new Om(t.get(_e))}(v(St)),i},providedIn:"root"}),t})();function Y(...t){return rt(t,Rs(t))}class ue extends F{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){const{hasError:n,thrownError:e,_value:i}=this;if(n)throw e;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}const r1=Ns(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"}),{isArray:YP}=Array,{getPrototypeOf:jP,prototype:UP,keys:$P}=Object;function Fm(t){if(1===t.length){const n=t[0];if(YP(n))return{args:n,keys:null};if(function WP(t){return t&&"object"==typeof t&&jP(t)===UP}(n)){const e=$P(n);return{args:e.map(i=>n[i]),keys:e}}}return{args:t,keys:null}}const{isArray:GP}=Array;function s1(t){return B(n=>function qP(t,n){return GP(n)?t(...n):t(n)}(t,n))}function Vm(t,n){return t.reduce((e,i,o)=>(e[i]=n[o],e),{})}function yn(...t){const n=Rs(t),e=Q4(t),{args:i,keys:o}=Fm(t);if(0===i.length)return rt([],n);const r=new ge(function KP(t,n,e=Hi){return i=>{Nm(n,()=>{const{length:o}=t,r=new Array(o);let s=o,a=o;for(let l=0;l{const c=rt(t[l],n);let u=!1;c.subscribe(Le(i,d=>{r[l]=d,u||(u=!0,a--),a||i.next(e(r.slice()))},()=>{--s||i.complete()}))},i)},i)}}(i,n,o?s=>Vm(o,s):Hi));return e?r.pipe(s1(e)):r}function Nm(t,n,e){t?Ri(e,t,n):n()}function a1(...t){return function ZP(){return wr(1)}()(rt(t,Rs(t)))}function J8(t){return new ge(n=>{Vt(t()).subscribe(n)})}function Ia(t,n){const e=Me(t)?t:()=>t,i=o=>o.error(e());return new ge(n?o=>n.schedule(i,0,o):i)}function eu(){return Ze((t,n)=>{let e=null;t._refCount++;const i=Le(n,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount)return void(e=null);const o=t._connection,r=e;e=null,o&&(!r||o===r)&&o.unsubscribe(),n.unsubscribe()});t.subscribe(i),i.closed||(e=t.connect())})}class tu extends ge{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,Hd(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new lt;const e=this.getSubject();n.add(this.source.subscribe(Le(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=lt.EMPTY)}return n}refCount(){return eu()(this)}}function Zt(t,n){return Ze((e,i)=>{let o=null,r=0,s=!1;const a=()=>s&&!o&&i.complete();e.subscribe(Le(i,l=>{o?.unsubscribe();let c=0;const u=r++;Vt(t(l,u)).subscribe(o=Le(i,d=>i.next(n?n(l,d,u,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Ct(t){return t<=0?()=>_i:Ze((n,e)=>{let i=0;n.subscribe(Le(e,o=>{++i<=t&&(e.next(o),t<=i&&e.complete())}))})}function Rt(...t){const n=Rs(t);return Ze((e,i)=>{(n?a1(t,e,n):a1(t,e)).subscribe(i)})}function bt(t,n){return Ze((e,i)=>{let o=0;e.subscribe(Le(i,r=>t.call(n,r,o++)&&i.next(r)))})}function l1(t){return Ze((n,e)=>{let i=!1;n.subscribe(Le(e,o=>{i=!0,e.next(o)},()=>{i||e.next(t),e.complete()}))})}function Lm(t=XP){return Ze((n,e)=>{let i=!1;n.subscribe(Le(e,o=>{i=!0,e.next(o)},()=>i?e.complete():e.error(t())))})}function XP(){return new r1}function yo(t,n){const e=arguments.length>=2;return i=>i.pipe(t?bt((o,r)=>t(o,r,i)):Hi,Ct(1),e?l1(n):Lm(()=>new r1))}function _o(t,n){return Me(n)?vt(t,n,1):vt(t,1)}function Bt(t,n,e){const i=Me(t)||n||e?{next:t,error:n,complete:e}:t;return i?Ze((o,r)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;o.subscribe(Le(r,l=>{var c;null===(c=i.next)||void 0===c||c.call(i,l),r.next(l)},()=>{var l;a=!1,null===(l=i.complete)||void 0===l||l.call(i),r.complete()},l=>{var c;a=!1,null===(c=i.error)||void 0===c||c.call(i,l),r.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)}))}):Hi}function eo(t){return Ze((n,e)=>{let r,i=null,o=!1;i=n.subscribe(Le(e,void 0,void 0,s=>{r=Vt(t(s,eo(t)(n))),i?(i.unsubscribe(),i=null,r.subscribe(e)):o=!0})),o&&(i.unsubscribe(),i=null,r.subscribe(e))})}function Hm(t,n){return Ze(function QP(t,n,e,i,o){return(r,s)=>{let a=e,l=n,c=0;r.subscribe(Le(s,u=>{const d=c++;l=a?t(l,u,d):(a=!0,u),i&&s.next(l)},o&&(()=>{a&&s.next(l),s.complete()})))}}(t,n,arguments.length>=2,!0))}function nu(t){return t<=0?()=>_i:Ze((n,e)=>{let i=[];n.subscribe(Le(e,o=>{i.push(o),t{for(const o of i)e.next(o);e.complete()},void 0,()=>{i=null}))})}function Rm(t,n){const e=arguments.length>=2;return i=>i.pipe(t?bt((o,r)=>t(o,r,i)):Hi,nu(1),e?l1(n):Lm(()=>new r1))}function Bm(t,n=!1){return Ze((e,i)=>{let o=0;e.subscribe(Le(i,r=>{const s=t(r,o++);(s||n)&&i.next(r),!s&&i.complete()}))})}function iu(t){return B(()=>t)}function Oa(t){return Ze((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}const he="primary",Fa=Symbol("RouteTitle");class JP{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){const e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function fs(t){return new JP(t)}function eA(t,n,e){const i=e.path.split("/");if(i.length>t.length||"full"===e.pathMatch&&(n.hasChildren()||i.lengthi[r]===o)}return t===n}function jm(t){return Array.prototype.concat.apply([],t)}function Um(t){return t.length>0?t[t.length-1]:null}function Yt(t,n){for(const e in t)t.hasOwnProperty(e)&&n(t[e],e)}function Co(t){return H3(t)?t:pa(t)?rt(Promise.resolve(t)):Y(t)}const c1=!1,nA={exact:function Gm(t,n,e){if(!rr(t.segments,n.segments)||!u1(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children)if(!t.children[i]||!Gm(t.children[i],n.children[i],e))return!1;return!0},subset:qm},$m={exact:function iA(t,n){return Ai(t,n)},subset:function oA(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>Ym(t[e],n[e]))},ignored:()=>!0};function Wm(t,n,e){return nA[e.paths](t.root,n.root,e.matrixParams)&&$m[e.queryParams](t.queryParams,n.queryParams)&&!("exact"===e.fragment&&t.fragment!==n.fragment)}function qm(t,n,e){return Km(t,n,n.segments,e)}function Km(t,n,e,i){if(t.segments.length>e.length){const o=t.segments.slice(0,e.length);return!(!rr(o,e)||n.hasChildren()||!u1(o,e,i))}if(t.segments.length===e.length){if(!rr(t.segments,e)||!u1(t.segments,e,i))return!1;for(const o in n.children)if(!t.children[o]||!qm(t.children[o],n.children[o],i))return!1;return!0}{const o=e.slice(0,t.segments.length),r=e.slice(t.segments.length);return!!(rr(t.segments,o)&&u1(t.segments,o,i)&&t.children[he])&&Km(t.children[he],n,r,i)}}function u1(t,n,e){return n.every((i,o)=>$m[e](t[o].parameters,i.parameters))}class bo{constructor(n=new Ce([],{}),e={},i=null){this.root=n,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=fs(this.queryParams)),this._queryParamMap}toString(){return aA.serialize(this)}}class Ce{constructor(n,e){this.segments=n,this.children=e,this.parent=null,Yt(e,(i,o)=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return d1(this)}}class Va{constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=fs(this.parameters)),this._parameterMap}toString(){return Qm(this)}}function rr(t,n){return t.length===n.length&&t.every((e,i)=>e.path===n[i].path)}let Na=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:function(){return new ou},providedIn:"root"}),t})();class ou{parse(n){const e=new gA(n);return new bo(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){const e=`/${La(n.root,!0)}`,i=function uA(t){const n=Object.keys(t).map(e=>{const i=t[e];return Array.isArray(i)?i.map(o=>`${h1(e)}=${h1(o)}`).join("&"):`${h1(e)}=${h1(i)}`}).filter(e=>!!e);return n.length?`?${n.join("&")}`:""}(n.queryParams);return`${e}${i}${"string"==typeof n.fragment?`#${function lA(t){return encodeURI(t)}(n.fragment)}`:""}`}}const aA=new ou;function d1(t){return t.segments.map(n=>Qm(n)).join("/")}function La(t,n){if(!t.hasChildren())return d1(t);if(n){const e=t.children[he]?La(t.children[he],!1):"",i=[];return Yt(t.children,(o,r)=>{r!==he&&i.push(`${r}:${La(o,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}{const e=function sA(t,n){let e=[];return Yt(t.children,(i,o)=>{o===he&&(e=e.concat(n(i,o)))}),Yt(t.children,(i,o)=>{o!==he&&(e=e.concat(n(i,o)))}),e}(t,(i,o)=>o===he?[La(t.children[he],!1)]:[`${o}:${La(i,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children[he]?`${d1(t)}/${e[0]}`:`${d1(t)}/(${e.join("//")})`}}function Zm(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function h1(t){return Zm(t).replace(/%3B/gi,";")}function ru(t){return Zm(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function p1(t){return decodeURIComponent(t)}function Xm(t){return p1(t.replace(/\+/g,"%20"))}function Qm(t){return`${ru(t.path)}${function cA(t){return Object.keys(t).map(n=>`;${ru(n)}=${ru(t[n])}`).join("")}(t.parameters)}`}const dA=/^[^\/()?;=#]+/;function f1(t){const n=t.match(dA);return n?n[0]:""}const hA=/^[^=?&#]+/,fA=/^[^&#]+/;class gA{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ce([],{}):new Ce([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(i[he]=new Ce(n,e)),i}parseSegment(){const n=f1(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new z(4009,c1);return this.capture(n),new Va(p1(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const e=f1(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const o=f1(this.remaining);o&&(i=o,this.capture(i))}n[p1(e)]=p1(i)}parseQueryParam(n){const e=function pA(t){const n=t.match(hA);return n?n[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const s=function mA(t){const n=t.match(fA);return n?n[0]:""}(this.remaining);s&&(i=s,this.capture(i))}const o=Xm(e),r=Xm(i);if(n.hasOwnProperty(o)){let s=n[o];Array.isArray(s)||(s=[s],n[o]=s),s.push(r)}else n[o]=r}parseParens(n){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=f1(this.remaining),o=this.remaining[i.length];if("/"!==o&&")"!==o&&";"!==o)throw new z(4010,c1);let r;i.indexOf(":")>-1?(r=i.slice(0,i.indexOf(":")),this.capture(r),this.capture(":")):n&&(r=he);const s=this.parseChildren();e[r]=1===Object.keys(s).length?s[he]:new Ce([],s),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new z(4011,c1)}}function su(t){return t.segments.length>0?new Ce([],{[he]:t}):t}function m1(t){const n={};for(const i of Object.keys(t.children)){const r=m1(t.children[i]);(r.segments.length>0||r.hasChildren())&&(n[i]=r)}return function vA(t){if(1===t.numberOfChildren&&t.children[he]){const n=t.children[he];return new Ce(t.segments.concat(n.segments),n.children)}return t}(new Ce(t.segments,n))}function sr(t){return t instanceof bo}const au=!1;function yA(t,n,e,i,o){if(0===e.length)return ms(n.root,n.root,n.root,i,o);const r=function ig(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new ng(!0,0,t);let n=0,e=!1;const i=t.reduce((o,r,s)=>{if("object"==typeof r&&null!=r){if(r.outlets){const a={};return Yt(r.outlets,(l,c)=>{a[c]="string"==typeof l?l.split("/"):l}),[...o,{outlets:a}]}if(r.segmentPath)return[...o,r.segmentPath]}return"string"!=typeof r?[...o,r]:0===s?(r.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?e=!0:".."===a?n++:""!=a&&o.push(a))}),o):[...o,r]},[]);return new ng(e,n,i)}(e);return r.toRoot()?ms(n.root,n.root,new Ce([],{}),i,o):function s(l){const c=function CA(t,n,e,i){if(t.isAbsolute)return new gs(n.root,!0,0);if(-1===i)return new gs(e,e===n.root,0);return function og(t,n,e){let i=t,o=n,r=e;for(;r>o;){if(r-=o,i=i.parent,!i)throw new z(4005,au&&"Invalid number of '../'");o=i.segments.length}return new gs(i,!1,o-r)}(e,i+(Ha(t.commands[0])?0:1),t.numberOfDoubleDots)}(r,n,t.snapshot?._urlSegment,l),u=c.processChildren?vs(c.segmentGroup,c.index,r.commands):lu(c.segmentGroup,c.index,r.commands);return ms(n.root,c.segmentGroup,u,i,o)}(t.snapshot?._lastPathIndex)}function Ha(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function Ra(t){return"object"==typeof t&&null!=t&&t.outlets}function ms(t,n,e,i,o){let s,r={};i&&Yt(i,(l,c)=>{r[c]=Array.isArray(l)?l.map(u=>`${u}`):`${l}`}),s=t===n?e:tg(t,n,e);const a=su(m1(s));return new bo(a,r,o)}function tg(t,n,e){const i={};return Yt(t.children,(o,r)=>{i[r]=o===n?e:tg(o,n,e)}),new Ce(t.segments,i)}class ng{constructor(n,e,i){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=i,n&&i.length>0&&Ha(i[0]))throw new z(4003,au&&"Root segment cannot have matrix parameters");const o=i.find(Ra);if(o&&o!==Um(i))throw new z(4004,au&&"{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class gs{constructor(n,e,i){this.segmentGroup=n,this.processChildren=e,this.index=i}}function lu(t,n,e){if(t||(t=new Ce([],{})),0===t.segments.length&&t.hasChildren())return vs(t,n,e);const i=function MA(t,n,e){let i=0,o=n;const r={match:!1,pathIndex:0,commandIndex:0};for(;o=e.length)return r;const s=t.segments[o],a=e[i];if(Ra(a))break;const l=`${a}`,c=i0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!sg(l,c,s))return r;i+=2}else{if(!sg(l,{},s))return r;i++}o++}return{match:!0,pathIndex:o,commandIndex:i}}(t,n,e),o=e.slice(i.commandIndex);if(i.match&&i.pathIndex{"string"==typeof r&&(r=[r]),null!==r&&(o[s]=lu(t.children[s],n,r))}),Yt(t.children,(r,s)=>{void 0===i[s]&&(o[s]=r)}),new Ce(t.segments,o))}}function cu(t,n,e){const i=t.segments.slice(0,n);let o=0;for(;o{"string"==typeof e&&(e=[e]),null!==e&&(n[i]=cu(new Ce([],{}),0,e))}),n}function rg(t){const n={};return Yt(t,(e,i)=>n[i]=`${e}`),n}function sg(t,n,e){return t==e.path&&Ai(n,e.parameters)}const Ba="imperative";class Ii{constructor(n,e){this.id=n,this.url=e}}class uu extends Ii{constructor(n,e,i="imperative",o=null){super(n,e),this.type=0,this.navigationTrigger=i,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Mo extends Ii{constructor(n,e,i){super(n,e),this.urlAfterRedirects=i,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class g1 extends Ii{constructor(n,e,i,o){super(n,e),this.reason=i,this.code=o,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class v1 extends Ii{constructor(n,e,i,o){super(n,e),this.reason=i,this.code=o,this.type=16}}class du extends Ii{constructor(n,e,i,o){super(n,e),this.error=i,this.target=o,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class wA extends Ii{constructor(n,e,i,o){super(n,e),this.urlAfterRedirects=i,this.state=o,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class SA extends Ii{constructor(n,e,i,o){super(n,e),this.urlAfterRedirects=i,this.state=o,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class DA extends Ii{constructor(n,e,i,o,r){super(n,e),this.urlAfterRedirects=i,this.state=o,this.shouldActivate=r,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class TA extends Ii{constructor(n,e,i,o){super(n,e),this.urlAfterRedirects=i,this.state=o,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class EA extends Ii{constructor(n,e,i,o){super(n,e),this.urlAfterRedirects=i,this.state=o,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class kA{constructor(n){this.route=n,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class xA{constructor(n){this.route=n,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class PA{constructor(n){this.snapshot=n,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class AA{constructor(n){this.snapshot=n,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class IA{constructor(n){this.snapshot=n,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class OA{constructor(n){this.snapshot=n,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ag{constructor(n,e,i){this.routerEvent=n,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 NA=(()=>{class t{createUrlTree(e,i,o,r,s,a){return yA(e||i.root,o,r,s,a)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})(),HA=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:function(n){return NA.\u0275fac(n)},providedIn:"root"}),t})();class lg{constructor(n){this._root=n}get root(){return this._root.value}parent(n){const e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){const e=hu(n,this._root);return e?e.children.map(i=>i.value):[]}firstChild(n){const e=hu(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){const e=pu(n,this._root);return e.length<2?[]:e[e.length-2].children.map(o=>o.value).filter(o=>o!==n)}pathFromRoot(n){return pu(n,this._root).map(e=>e.value)}}function hu(t,n){if(t===n.value)return n;for(const e of n.children){const i=hu(t,e);if(i)return i}return null}function pu(t,n){if(t===n.value)return[n];for(const e of n.children){const i=pu(t,e);if(i.length)return i.unshift(n),i}return[]}class to{constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}}function ys(t){const n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}class cg extends lg{constructor(n,e){super(n),this.snapshot=e,fu(this,n)}toString(){return this.snapshot.toString()}}function ug(t,n){const e=function RA(t,n){const s=new y1([],{},{},"",{},he,n,null,t.root,-1,{});return new hg("",new to(s,[]))}(t,n),i=new ue([new Va("",{})]),o=new ue({}),r=new ue({}),s=new ue({}),a=new ue(""),l=new _s(i,o,s,a,r,he,n,e.root);return l.snapshot=e.root,new cg(new to(l,[]),e)}class _s{constructor(n,e,i,o,r,s,a,l){this.url=n,this.params=e,this.queryParams=i,this.fragment=o,this.data=r,this.outlet=s,this.component=a,this.title=this.data?.pipe(B(c=>c[Fa]))??Y(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(B(n=>fs(n)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(B(n=>fs(n)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function dg(t,n="emptyOnly"){const e=t.pathFromRoot;let i=0;if("always"!==n)for(i=e.length-1;i>=1;){const o=e[i],r=e[i-1];if(o.routeConfig&&""===o.routeConfig.path)i--;else{if(r.component)break;i--}}return function BA(t){return t.reduce((n,e)=>({params:{...n.params,...e.params},data:{...n.data,...e.data},resolve:{...e.data,...n.resolve,...e.routeConfig?.data,...e._resolvedData}}),{params:{},data:{},resolve:{}})}(e.slice(i))}class y1{get title(){return this.data?.[Fa]}constructor(n,e,i,o,r,s,a,l,c,u,d){this.url=n,this.params=e,this.queryParams=i,this.fragment=o,this.data=r,this.outlet=s,this.component=a,this.routeConfig=l,this._urlSegment=c,this._lastPathIndex=u,this._resolve=d}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=fs(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=fs(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class hg extends lg{constructor(n,e){super(e),this.url=n,fu(this,e)}toString(){return pg(this._root)}}function fu(t,n){n.value._routerState=t,n.children.forEach(e=>fu(t,e))}function pg(t){const n=t.children.length>0?` { ${t.children.map(pg).join(", ")} } `:"";return`${t.value}${n}`}function mu(t){if(t.snapshot){const n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,Ai(n.queryParams,e.queryParams)||t.queryParams.next(e.queryParams),n.fragment!==e.fragment&&t.fragment.next(e.fragment),Ai(n.params,e.params)||t.params.next(e.params),function tA(t,n){if(t.length!==n.length)return!1;for(let e=0;eAi(e.parameters,n[i].parameters))}(t.url,n.url);return e&&!(!t.parent!=!n.parent)&&(!t.parent||gu(t.parent,n.parent))}function Ya(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){const i=e.value;i._futureSnapshot=n.value;const o=function jA(t,n,e){return n.children.map(i=>{for(const o of e.children)if(t.shouldReuseRoute(i.value,o.value.snapshot))return Ya(t,i,o);return Ya(t,i)})}(t,n,e);return new to(i,o)}{if(t.shouldAttach(n.value)){const r=t.retrieve(n.value);if(null!==r){const s=r.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>Ya(t,a)),s}}const i=function UA(t){return new _s(new ue(t.url),new ue(t.params),new ue(t.queryParams),new ue(t.fragment),new ue(t.data),t.outlet,t.component,t)}(n.value),o=n.children.map(r=>Ya(t,r));return new to(i,o)}}const vu="ngNavigationCancelingError";function fg(t,n){const{redirectTo:e,navigationBehaviorOptions:i}=sr(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,o=mg(!1,0,n);return o.url=e,o.navigationBehaviorOptions=i,o}function mg(t,n,e){const i=new Error("NavigationCancelingError: "+(t||""));return i[vu]=!0,i.cancellationCode=n,e&&(i.url=e),i}function gg(t){return vg(t)&&sr(t.url)}function vg(t){return t&&t[vu]}class $A{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new ja,this.attachRef=null}}let ja=(()=>{class t{constructor(){this.contexts=new Map}onChildOutletCreated(e,i){const o=this.getOrCreateContext(e);o.outlet=i,this.contexts.set(e,o)}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 $A,this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const _1=!1;let yu=(()=>{class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=he,this.activateEvents=new _,this.deactivateEvents=new _,this.attachEvents=new _,this.detachEvents=new _,this.parentContexts=pe(ja),this.location=pe(Ht),this.changeDetector=pe(It),this.environmentInjector=pe(Si)}ngOnChanges(e){if(e.name){const{firstChange:i,previousValue:o}=e.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),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 z(4012,_1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new z(4012,_1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new z(4012,_1);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 z(4013,_1);this._activatedRoute=e;const o=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new WA(e,a,o.injector);if(i&&function GA(t){return!!t.resolveComponentFactory}(i)){const c=i.resolveComponentFactory(s);this.activated=o.createComponent(c,o.length,l)}else this.activated=o.createComponent(s,{index:o.length,injector:l,environmentInjector:i??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=w({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[$]}),t})();class WA{constructor(n,e,i){this.route=n,this.childContexts=e,this.parent=i}get(n,e){return n===_s?this.route:n===ja?this.childContexts:this.parent.get(n,e)}}let _u=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=ze({type:t,selectors:[["ng-component"]],standalone:!0,features:[J3],decls:1,vars:0,template:function(e,i){1&e&&X(0,"router-outlet")},dependencies:[yu],encapsulation:2}),t})();function yg(t,n){return t.providers&&!t._injector&&(t._injector=Dc(t.providers,n,`Route: ${t.path}`)),t._injector??n}function bu(t){const n=t.children&&t.children.map(bu),e=n?{...t,children:n}:{...t};return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==he&&(e.component=_u),e}function Kn(t){return t.outlet||he}function _g(t,n){const e=t.filter(i=>Kn(i)===n);return e.push(...t.filter(i=>Kn(i)!==n)),e}function Ua(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let n=t.parent;n;n=n.parent){const e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}class QA{constructor(n,e,i,o){this.routeReuseStrategy=n,this.futureState=e,this.currState=i,this.forwardEvent=o}activate(n){const e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,n),mu(this.futureState.root),this.activateChildRoutes(e,i,n)}deactivateChildRoutes(n,e,i){const o=ys(e);n.children.forEach(r=>{const s=r.value.outlet;this.deactivateRoutes(r,o[s],i),delete o[s]}),Yt(o,(r,s)=>{this.deactivateRouteAndItsChildren(r,i)})}deactivateRoutes(n,e,i){const o=n.value,r=e?e.value:null;if(o===r)if(o.component){const s=i.getContext(o.outlet);s&&this.deactivateChildRoutes(n,e,s.children)}else this.deactivateChildRoutes(n,e,i);else r&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){const i=e.getContext(n.value.outlet),o=i&&n.value.component?i.children:e,r=ys(n);for(const s of Object.keys(r))this.deactivateRouteAndItsChildren(r[s],o);if(i&&i.outlet){const s=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,e){const i=e.getContext(n.value.outlet),o=i&&n.value.component?i.children:e,r=ys(n);for(const s of Object.keys(r))this.deactivateRouteAndItsChildren(r[s],o);i&&i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated(),i.attachRef=null,i.resolver=null,i.route=null)}activateChildRoutes(n,e,i){const o=ys(e);n.children.forEach(r=>{this.activateRoutes(r,o[r.value.outlet],i),this.forwardEvent(new OA(r.value.snapshot))}),n.children.length&&this.forwardEvent(new AA(n.value.snapshot))}activateRoutes(n,e,i){const o=n.value,r=e?e.value:null;if(mu(o),o===r)if(o.component){const s=i.getOrCreateContext(o.outlet);this.activateChildRoutes(n,e,s.children)}else this.activateChildRoutes(n,e,i);else if(o.component){const s=i.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.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),mu(a.route.value),this.activateChildRoutes(n,null,s.children)}else{const a=Ua(o.snapshot),l=a?.get(Zo)??null;s.attachRef=null,s.route=o,s.resolver=l,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(n,null,s.children)}}else this.activateChildRoutes(n,null,i)}}class Cg{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class C1{constructor(n,e){this.component=n,this.route=e}}function JA(t,n,e){const i=t._root;return $a(i,n?n._root:null,e,[i.value])}function Cs(t,n){const e=Symbol(),i=n.get(t,e);return i===e?"function"!=typeof t||function cb(t){return null!==Dl(t)}(t)?n.get(t):t:i}function $a(t,n,e,i,o={canDeactivateChecks:[],canActivateChecks:[]}){const r=ys(n);return t.children.forEach(s=>{(function tI(t,n,e,i,o={canDeactivateChecks:[],canActivateChecks:[]}){const r=t.value,s=n?n.value:null,a=e?e.getContext(t.value.outlet):null;if(s&&r.routeConfig===s.routeConfig){const l=function nI(t,n,e){if("function"==typeof e)return e(t,n);switch(e){case"pathParamsChange":return!rr(t.url,n.url);case"pathParamsOrQueryParamsChange":return!rr(t.url,n.url)||!Ai(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!gu(t,n)||!Ai(t.queryParams,n.queryParams);default:return!gu(t,n)}}(s,r,r.routeConfig.runGuardsAndResolvers);l?o.canActivateChecks.push(new Cg(i)):(r.data=s.data,r._resolvedData=s._resolvedData),$a(t,n,r.component?a?a.children:null:e,i,o),l&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new C1(a.outlet.component,s))}else s&&Wa(n,a,o),o.canActivateChecks.push(new Cg(i)),$a(t,null,r.component?a?a.children:null:e,i,o)})(s,r[s.value.outlet],e,i.concat([s.value]),o),delete r[s.value.outlet]}),Yt(r,(s,a)=>Wa(s,e.getContext(a),o)),o}function Wa(t,n,e){const i=ys(t),o=t.value;Yt(i,(r,s)=>{Wa(r,o.component?n?n.children.getContext(s):null:n,e)}),e.canDeactivateChecks.push(new C1(o.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,o))}function Ga(t){return"function"==typeof t}function Mu(t){return t instanceof r1||"EmptyError"===t?.name}const b1=Symbol("INITIAL_VALUE");function bs(){return Zt(t=>yn(t.map(n=>n.pipe(Ct(1),Rt(b1)))).pipe(B(n=>{for(const e of n)if(!0!==e){if(e===b1)return b1;if(!1===e||e instanceof bo)return e}return!0}),bt(n=>n!==b1),Ct(1)))}function bg(t){return function AC(...t){return Vd(t)}(Bt(n=>{if(sr(n))throw fg(0,n)}),B(n=>!0===n))}const zu={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Mg(t,n,e,i,o){const r=wu(t,n,e);return r.matched?function _I(t,n,e,i){const o=n.canMatch;return o&&0!==o.length?Y(o.map(s=>{const a=Cs(s,t);return Co(function lI(t){return t&&Ga(t.canMatch)}(a)?a.canMatch(n,e):t.runInContext(()=>a(n,e)))})).pipe(bs(),bg()):Y(!0)}(i=yg(n,i),n,e).pipe(B(s=>!0===s?r:{...zu})):Y(r)}function wu(t,n,e){if(""===n.path)return"full"===n.pathMatch&&(t.hasChildren()||e.length>0)?{...zu}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const o=(n.matcher||eA)(e,t,n);if(!o)return{...zu};const r={};Yt(o.posParams,(a,l)=>{r[l]=a.path});const s=o.consumed.length>0?{...r,...o.consumed[o.consumed.length-1].parameters}:r;return{matched:!0,consumedSegments:o.consumed,remainingSegments:e.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function M1(t,n,e,i){if(e.length>0&&function MI(t,n,e){return e.some(i=>z1(t,n,i)&&Kn(i)!==he)}(t,e,i)){const r=new Ce(n,function bI(t,n,e,i){const o={};o[he]=i,i._sourceSegment=t,i._segmentIndexShift=n.length;for(const r of e)if(""===r.path&&Kn(r)!==he){const s=new Ce([],{});s._sourceSegment=t,s._segmentIndexShift=n.length,o[Kn(r)]=s}return o}(t,n,i,new Ce(e,t.children)));return r._sourceSegment=t,r._segmentIndexShift=n.length,{segmentGroup:r,slicedSegments:[]}}if(0===e.length&&function zI(t,n,e){return e.some(i=>z1(t,n,i))}(t,e,i)){const r=new Ce(t.segments,function CI(t,n,e,i,o){const r={};for(const s of i)if(z1(t,e,s)&&!o[Kn(s)]){const a=new Ce([],{});a._sourceSegment=t,a._segmentIndexShift=n.length,r[Kn(s)]=a}return{...o,...r}}(t,n,e,i,t.children));return r._sourceSegment=t,r._segmentIndexShift=n.length,{segmentGroup:r,slicedSegments:e}}const o=new Ce(t.segments,t.children);return o._sourceSegment=t,o._segmentIndexShift=n.length,{segmentGroup:o,slicedSegments:e}}function z1(t,n,e){return(!(t.hasChildren()||n.length>0)||"full"!==e.pathMatch)&&""===e.path}function zg(t,n,e,i){return!!(Kn(t)===i||i!==he&&z1(n,e,t))&&("**"===t.path||wu(n,t,e).matched)}function wg(t,n,e){return 0===n.length&&!t.children[e]}const w1=!1;class S1{constructor(n){this.segmentGroup=n||null}}class Sg{constructor(n){this.urlTree=n}}function qa(t){return Ia(new S1(t))}function Dg(t){return Ia(new Sg(t))}class TI{constructor(n,e,i,o,r){this.injector=n,this.configLoader=e,this.urlSerializer=i,this.urlTree=o,this.config=r,this.allowRedirects=!0}apply(){const n=M1(this.urlTree.root,[],[],this.config).segmentGroup,e=new Ce(n.segments,n.children);return this.expandSegmentGroup(this.injector,this.config,e,he).pipe(B(r=>this.createUrlTree(m1(r),this.urlTree.queryParams,this.urlTree.fragment))).pipe(eo(r=>{if(r instanceof Sg)return this.allowRedirects=!1,this.match(r.urlTree);throw r instanceof S1?this.noMatchError(r):r}))}match(n){return this.expandSegmentGroup(this.injector,this.config,n.root,he).pipe(B(o=>this.createUrlTree(m1(o),n.queryParams,n.fragment))).pipe(eo(o=>{throw o instanceof S1?this.noMatchError(o):o}))}noMatchError(n){return new z(4002,w1)}createUrlTree(n,e,i){const o=su(n);return new bo(o,e,i)}expandSegmentGroup(n,e,i,o){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(n,e,i).pipe(B(r=>new Ce([],r))):this.expandSegment(n,i,e,i.segments,o,!0)}expandChildren(n,e,i){const o=[];for(const r of Object.keys(i.children))"primary"===r?o.unshift(r):o.push(r);return rt(o).pipe(_o(r=>{const s=i.children[r],a=_g(e,r);return this.expandSegmentGroup(n,a,s,r).pipe(B(l=>({segment:l,outlet:r})))}),Hm((r,s)=>(r[s.outlet]=s.segment,r),{}),Rm())}expandSegment(n,e,i,o,r,s){return rt(i).pipe(_o(a=>this.expandSegmentAgainstRoute(n,e,i,a,o,r,s).pipe(eo(c=>{if(c instanceof S1)return Y(null);throw c}))),yo(a=>!!a),eo((a,l)=>{if(Mu(a))return wg(e,o,r)?Y(new Ce([],{})):qa(e);throw a}))}expandSegmentAgainstRoute(n,e,i,o,r,s,a){return zg(o,e,r,s)?void 0===o.redirectTo?this.matchSegmentAgainstRoute(n,e,o,r,s):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(n,e,i,o,r,s):qa(e):qa(e)}expandSegmentAgainstRouteUsingRedirect(n,e,i,o,r,s){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(n,i,o,s):this.expandRegularSegmentAgainstRouteUsingRedirect(n,e,i,o,r,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(n,e,i,o){const r=this.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?Dg(r):this.lineralizeSegments(i,r).pipe(vt(s=>{const a=new Ce(s,{});return this.expandSegment(n,a,e,s,o,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(n,e,i,o,r,s){const{matched:a,consumedSegments:l,remainingSegments:c,positionalParamSegments:u}=wu(e,o,r);if(!a)return qa(e);const d=this.applyRedirectCommands(l,o.redirectTo,u);return o.redirectTo.startsWith("/")?Dg(d):this.lineralizeSegments(o,d).pipe(vt(h=>this.expandSegment(n,e,i,h.concat(c),s,!1)))}matchSegmentAgainstRoute(n,e,i,o,r){return"**"===i.path?(n=yg(i,n),i.loadChildren?(i._loadedRoutes?Y({routes:i._loadedRoutes,injector:i._loadedInjector}):this.configLoader.loadChildren(n,i)).pipe(B(a=>(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,new Ce(o,{})))):Y(new Ce(o,{}))):Mg(e,i,o,n).pipe(Zt(({matched:s,consumedSegments:a,remainingSegments:l})=>s?this.getChildConfig(n=i._injector??n,i,o).pipe(vt(u=>{const d=u.injector??n,h=u.routes,{segmentGroup:p,slicedSegments:m}=M1(e,a,l,h),g=new Ce(p.segments,p.children);if(0===m.length&&g.hasChildren())return this.expandChildren(d,h,g).pipe(B(b=>new Ce(a,b)));if(0===h.length&&0===m.length)return Y(new Ce(a,{}));const y=Kn(i)===r;return this.expandSegment(d,g,h,m,y?he:r,!0).pipe(B(T=>new Ce(a.concat(T.segments),T.children)))})):qa(e)))}getChildConfig(n,e,i){return e.children?Y({routes:e.children,injector:n}):e.loadChildren?void 0!==e._loadedRoutes?Y({routes:e._loadedRoutes,injector:e._loadedInjector}):function yI(t,n,e,i){const o=n.canLoad;return void 0===o||0===o.length?Y(!0):Y(o.map(s=>{const a=Cs(s,t);return Co(function oI(t){return t&&Ga(t.canLoad)}(a)?a.canLoad(n,e):t.runInContext(()=>a(n,e)))})).pipe(bs(),bg())}(n,e,i).pipe(vt(o=>o?this.configLoader.loadChildren(n,e).pipe(Bt(r=>{e._loadedRoutes=r.routes,e._loadedInjector=r.injector})):function SI(t){return Ia(mg(w1,3))}())):Y({routes:[],injector:n})}lineralizeSegments(n,e){let i=[],o=e.root;for(;;){if(i=i.concat(o.segments),0===o.numberOfChildren)return Y(i);if(o.numberOfChildren>1||!o.children[he])return n.redirectTo,Ia(new z(4e3,w1));o=o.children[he]}}applyRedirectCommands(n,e,i){return this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),n,i)}applyRedirectCreateUrlTree(n,e,i,o){const r=this.createSegmentGroup(n,e.root,i,o);return new bo(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){const i={};return Yt(n,(o,r)=>{if("string"==typeof o&&o.startsWith(":")){const a=o.substring(1);i[r]=e[a]}else i[r]=o}),i}createSegmentGroup(n,e,i,o){const r=this.createSegments(n,e.segments,i,o);let s={};return Yt(e.children,(a,l)=>{s[l]=this.createSegmentGroup(n,a,i,o)}),new Ce(r,s)}createSegments(n,e,i,o){return e.map(r=>r.path.startsWith(":")?this.findPosParam(n,r,o):this.findOrReturn(r,i))}findPosParam(n,e,i){const o=i[e.path.substring(1)];if(!o)throw new z(4001,w1);return o}findOrReturn(n,e){let i=0;for(const o of e){if(o.path===n.path)return e.splice(i),o;i++}return n}}class kI{}class AI{constructor(n,e,i,o,r,s,a){this.injector=n,this.rootComponentType=e,this.config=i,this.urlTree=o,this.url=r,this.paramsInheritanceStrategy=s,this.urlSerializer=a}recognize(){const n=M1(this.urlTree.root,[],[],this.config.filter(e=>void 0===e.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,n,he).pipe(B(e=>{if(null===e)return null;const i=new y1([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},he,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new to(i,e),r=new hg(this.url,o);return this.inheritParamsAndData(r._root),r}))}inheritParamsAndData(n){const e=n.value,i=dg(e,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),n.children.forEach(o=>this.inheritParamsAndData(o))}processSegmentGroup(n,e,i,o){return 0===i.segments.length&&i.hasChildren()?this.processChildren(n,e,i):this.processSegment(n,e,i,i.segments,o)}processChildren(n,e,i){return rt(Object.keys(i.children)).pipe(_o(o=>{const r=i.children[o],s=_g(e,o);return this.processSegmentGroup(n,s,r,o)}),Hm((o,r)=>o&&r?(o.push(...r),o):null),Bm(o=>null!==o),l1(null),Rm(),B(o=>{if(null===o)return null;const r=Eg(o);return function II(t){t.sort((n,e)=>n.value.outlet===he?-1:e.value.outlet===he?1:n.value.outlet.localeCompare(e.value.outlet))}(r),r}))}processSegment(n,e,i,o,r){return rt(e).pipe(_o(s=>this.processSegmentAgainstRoute(s._injector??n,s,i,o,r)),yo(s=>!!s),eo(s=>{if(Mu(s))return wg(i,o,r)?Y([]):Y(null);throw s}))}processSegmentAgainstRoute(n,e,i,o,r){if(e.redirectTo||!zg(e,i,o,r))return Y(null);let s;if("**"===e.path){const a=o.length>0?Um(o).parameters:{},l=xg(i)+o.length;s=Y({snapshot:new y1(o,a,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Pg(e),Kn(e),e.component??e._loadedComponent??null,e,kg(i),l,Ag(e)),consumedSegments:[],remainingSegments:[]})}else s=Mg(i,e,o,n).pipe(B(({matched:a,consumedSegments:l,remainingSegments:c,parameters:u})=>{if(!a)return null;const d=xg(i)+l.length;return{snapshot:new y1(l,u,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Pg(e),Kn(e),e.component??e._loadedComponent??null,e,kg(i),d,Ag(e)),consumedSegments:l,remainingSegments:c}}));return s.pipe(Zt(a=>{if(null===a)return Y(null);const{snapshot:l,consumedSegments:c,remainingSegments:u}=a;n=e._injector??n;const d=e._loadedInjector??n,h=function OI(t){return t.children?t.children:t.loadChildren?t._loadedRoutes:[]}(e),{segmentGroup:p,slicedSegments:m}=M1(i,c,u,h.filter(y=>void 0===y.redirectTo));if(0===m.length&&p.hasChildren())return this.processChildren(d,h,p).pipe(B(y=>null===y?null:[new to(l,y)]));if(0===h.length&&0===m.length)return Y([new to(l,[])]);const g=Kn(e)===r;return this.processSegment(d,h,p,m,g?he:r).pipe(B(y=>null===y?null:[new to(l,y)]))}))}}function FI(t){const n=t.value.routeConfig;return n&&""===n.path&&void 0===n.redirectTo}function Eg(t){const n=[],e=new Set;for(const i of t){if(!FI(i)){n.push(i);continue}const o=n.find(r=>i.value.routeConfig===r.value.routeConfig);void 0!==o?(o.children.push(...i.children),e.add(o)):n.push(i)}for(const i of e){const o=Eg(i.children);n.push(new to(i.value,o))}return n.filter(i=>!e.has(i))}function kg(t){let n=t;for(;n._sourceSegment;)n=n._sourceSegment;return n}function xg(t){let n=t,e=n._segmentIndexShift??0;for(;n._sourceSegment;)n=n._sourceSegment,e+=n._segmentIndexShift??0;return e-1}function Pg(t){return t.data||{}}function Ag(t){return t.resolve||{}}function Ig(t){return"string"==typeof t.title||null===t.title}function Su(t){return Zt(n=>{const e=t(n);return e?rt(e).pipe(B(()=>n)):Y(n)})}const Ms=new P("ROUTES");let Du=(()=>{class t{constructor(e,i){this.injector=e,this.compiler=i,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return Y(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const i=Co(e.loadComponent()).pipe(B(Fg),Bt(r=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=r}),Oa(()=>{this.componentLoaders.delete(e)})),o=new tu(i,()=>new F).pipe(eu());return this.componentLoaders.set(e,o),o}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return Y({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const r=this.loadModuleFactoryOrRoutes(i.loadChildren).pipe(B(a=>{this.onLoadEndListener&&this.onLoadEndListener(i);let l,c,u=!1;Array.isArray(a)?c=a:(l=a.create(e).injector,c=jm(l.get(Ms,[],K.Self|K.Optional)));return{routes:c.map(bu),injector:l}}),Oa(()=>{this.childrenLoaders.delete(i)})),s=new tu(r,()=>new F).pipe(eu());return this.childrenLoaders.set(i,s),s}loadModuleFactoryOrRoutes(e){return Co(e()).pipe(B(Fg),vt(o=>o instanceof b5||Array.isArray(o)?Y(o):rt(this.compiler.compileModuleAsync(o))))}}return t.\u0275fac=function(e){return new(e||t)(v(St),v(c7))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Fg(t){return function UI(t){return t&&"object"==typeof t&&"default"in t}(t)?t.default:t}let T1=(()=>{class t{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new F,this.configLoader=pe(Du),this.environmentInjector=pe(Si),this.urlSerializer=pe(Na),this.rootContexts=pe(ja),this.navigationId=0,this.afterPreactivation=()=>Y(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=o=>this.events.next(new xA(o)),this.configLoader.onLoadStartListener=o=>this.events.next(new kA(o))}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 ue({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:Ba,restoredState:null,currentSnapshot:e.routerState.snapshot,targetSnapshot:null,currentRouterState:e.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(bt(i=>0!==i.id),B(i=>({...i,extractedUrl:e.urlHandlingStrategy.extract(i.rawUrl)})),Zt(i=>{let o=!1,r=!1;return Y(i).pipe(Bt(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}}),Zt(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 u="";return this.events.next(new v1(s.id,e.serializeUrl(i.rawUrl),u,0)),e.rawUrlTree=s.rawUrl,s.resolve(null),_i}if(e.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return Vg(s.source)&&(e.browserUrlTree=s.extractedUrl),Y(s).pipe(Zt(u=>{const d=this.transitions?.getValue();return this.events.next(new uu(u.id,this.urlSerializer.serialize(u.extractedUrl),u.source,u.restoredState)),d!==this.transitions?.getValue()?_i:Promise.resolve(u)}),function EI(t,n,e,i){return Zt(o=>function DI(t,n,e,i,o){return new TI(t,n,e,i,o).apply()}(t,n,e,o.extractedUrl,i).pipe(B(r=>({...o,urlAfterRedirects:r}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,e.config),Bt(u=>{this.currentNavigation={...this.currentNavigation,finalUrl:u.urlAfterRedirects},i.urlAfterRedirects=u.urlAfterRedirects}),function NI(t,n,e,i,o){return vt(r=>function PI(t,n,e,i,o,r,s="emptyOnly"){return new AI(t,n,e,i,o,s,r).recognize().pipe(Zt(a=>null===a?function xI(t){return new ge(n=>n.error(t))}(new kI):Y(a)))}(t,n,e,r.urlAfterRedirects,i.serialize(r.urlAfterRedirects),i,o).pipe(B(s=>({...r,targetSnapshot:s}))))}(this.environmentInjector,this.rootComponentType,e.config,this.urlSerializer,e.paramsInheritanceStrategy),Bt(u=>{if(i.targetSnapshot=u.targetSnapshot,"eager"===e.urlUpdateStrategy){if(!u.extras.skipLocationChange){const h=e.urlHandlingStrategy.merge(u.urlAfterRedirects,u.rawUrl);e.setBrowserUrl(h,u)}e.browserUrlTree=u.urlAfterRedirects}const d=new wA(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(d)}));if(l&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){const{id:u,extractedUrl:d,source:h,restoredState:p,extras:m}=s,g=new uu(u,this.urlSerializer.serialize(d),h,p);this.events.next(g);const y=ug(d,this.rootComponentType).snapshot;return Y(i={...s,targetSnapshot:y,urlAfterRedirects:d,extras:{...m,skipLocationChange:!1,replaceUrl:!1}})}{const u="";return this.events.next(new v1(s.id,e.serializeUrl(i.extractedUrl),u,1)),e.rawUrlTree=s.rawUrl,s.resolve(null),_i}}),Bt(s=>{const a=new SA(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),B(s=>i={...s,guards:JA(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),function uI(t,n){return vt(e=>{const{targetSnapshot:i,currentSnapshot:o,guards:{canActivateChecks:r,canDeactivateChecks:s}}=e;return 0===s.length&&0===r.length?Y({...e,guardsResult:!0}):function dI(t,n,e,i){return rt(t).pipe(vt(o=>function vI(t,n,e,i,o){const r=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return r&&0!==r.length?Y(r.map(a=>{const l=Ua(n)??o,c=Cs(a,l);return Co(function aI(t){return t&&Ga(t.canDeactivate)}(c)?c.canDeactivate(t,n,e,i):l.runInContext(()=>c(t,n,e,i))).pipe(yo())})).pipe(bs()):Y(!0)}(o.component,o.route,e,n,i)),yo(o=>!0!==o,!0))}(s,i,o,t).pipe(vt(a=>a&&function iI(t){return"boolean"==typeof t}(a)?function hI(t,n,e,i){return rt(n).pipe(_o(o=>a1(function fI(t,n){return null!==t&&n&&n(new PA(t)),Y(!0)}(o.route.parent,i),function pI(t,n){return null!==t&&n&&n(new IA(t)),Y(!0)}(o.route,i),function gI(t,n,e){const i=n[n.length-1],r=n.slice(0,n.length-1).reverse().map(s=>function eI(t){const n=t.routeConfig?t.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:t,guards:n}:null}(s)).filter(s=>null!==s).map(s=>J8(()=>Y(s.guards.map(l=>{const c=Ua(s.node)??e,u=Cs(l,c);return Co(function sI(t){return t&&Ga(t.canActivateChild)}(u)?u.canActivateChild(i,t):c.runInContext(()=>u(i,t))).pipe(yo())})).pipe(bs())));return Y(r).pipe(bs())}(t,o.path,e),function mI(t,n,e){const i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||0===i.length)return Y(!0);const o=i.map(r=>J8(()=>{const s=Ua(n)??e,a=Cs(r,s);return Co(function rI(t){return t&&Ga(t.canActivate)}(a)?a.canActivate(n,t):s.runInContext(()=>a(n,t))).pipe(yo())}));return Y(o).pipe(bs())}(t,o.route,e))),yo(o=>!0!==o,!0))}(i,r,t,n):Y(a)),B(a=>({...e,guardsResult:a})))})}(this.environmentInjector,s=>this.events.next(s)),Bt(s=>{if(i.guardsResult=s.guardsResult,sr(s.guardsResult))throw fg(0,s.guardsResult);const a=new DA(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.events.next(a)}),bt(s=>!!s.guardsResult||(e.restoreHistory(s),this.cancelNavigationTransition(s,"",3),!1)),Su(s=>{if(s.guards.canActivateChecks.length)return Y(s).pipe(Bt(a=>{const l=new TA(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}),Zt(a=>{let l=!1;return Y(a).pipe(function LI(t,n){return vt(e=>{const{targetSnapshot:i,guards:{canActivateChecks:o}}=e;if(!o.length)return Y(e);let r=0;return rt(o).pipe(_o(s=>function HI(t,n,e,i){const o=t.routeConfig,r=t._resolve;return void 0!==o?.title&&!Ig(o)&&(r[Fa]=o.title),function RI(t,n,e,i){const o=function BI(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}(t);if(0===o.length)return Y({});const r={};return rt(o).pipe(vt(s=>function YI(t,n,e,i){const o=Ua(n)??i,r=Cs(t,o);return Co(r.resolve?r.resolve(n,e):o.runInContext(()=>r(n,e)))}(t[s],n,e,i).pipe(yo(),Bt(a=>{r[s]=a}))),nu(1),iu(r),eo(s=>Mu(s)?_i:Ia(s)))}(r,t,n,i).pipe(B(s=>(t._resolvedData=s,t.data=dg(t,e).resolve,o&&Ig(o)&&(t.data[Fa]=o.title),null)))}(s.route,i,t,n)),Bt(()=>r++),nu(1),vt(s=>r===o.length?Y(e):_i))})}(e.paramsInheritanceStrategy,this.environmentInjector),Bt({next:()=>l=!0,complete:()=>{l||(e.restoreHistory(a),this.cancelNavigationTransition(a,"",2))}}))}),Bt(a=>{const l=new EA(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}))}),Su(s=>{const a=l=>{const c=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&c.push(this.configLoader.loadComponent(l.routeConfig).pipe(Bt(u=>{l.component=u}),B(()=>{})));for(const u of l.children)c.push(...a(u));return c};return yn(a(s.targetSnapshot.root)).pipe(l1(),Ct(1))}),Su(()=>this.afterPreactivation()),B(s=>{const a=function YA(t,n,e){const i=Ya(t,n._root,e?e._root:void 0);return new cg(i,n)}(e.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return i={...s,targetRouterState:a}}),Bt(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)}),((t,n,e)=>B(i=>(new QA(n,i.targetRouterState,i.currentRouterState,e).activate(t),i)))(this.rootContexts,e.routeReuseStrategy,s=>this.events.next(s)),Bt({next:s=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,e.navigated=!0,this.events.next(new Mo(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(e.currentUrlTree))),e.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0)},complete:()=>{o=!0}}),Oa(()=>{o||r||this.cancelNavigationTransition(i,"",1),this.currentNavigation?.id===i.id&&(this.currentNavigation=null)}),eo(s=>{if(r=!0,vg(s)){gg(s)||(e.navigated=!0,e.restoreHistory(i,!0));const a=new g1(i.id,this.urlSerializer.serialize(i.extractedUrl),s.message,s.cancellationCode);if(this.events.next(a),gg(s)){const l=e.urlHandlingStrategy.merge(s.url,e.rawUrlTree),c={skipLocationChange:i.extras.skipLocationChange,replaceUrl:"eager"===e.urlUpdateStrategy||Vg(i.source)};e.scheduleNavigation(l,Ba,null,c,{resolve:i.resolve,reject:i.reject,promise:i.promise})}else i.resolve(!1)}else{e.restoreHistory(i,!0);const a=new du(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 _i}))}))}cancelNavigationTransition(e,i,o){const r=new g1(e.id,this.urlSerializer.serialize(e.extractedUrl),i,o);this.events.next(r),e.resolve(!1)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Vg(t){return t!==Ba}let Ng=(()=>{class t{buildTitle(e){let i,o=e.root;for(;void 0!==o;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(r=>r.outlet===he);return i}getResolvedTitleForRoute(e){return e.data[Fa]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:function(){return pe($I)},providedIn:"root"}),t})(),$I=(()=>{class t extends Ng{constructor(e){super(),this.title=e}updateTitle(e){const i=this.buildTitle(e);void 0!==i&&this.title.setTitle(i)}}return t.\u0275fac=function(e){return new(e||t)(v(Pm))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),WI=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:function(){return pe(qI)},providedIn:"root"}),t})();class GI{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}}let qI=(()=>{class t extends GI{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=je(t)))(i||t)}}(),t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const E1=new P("",{providedIn:"root",factory:()=>({})});let ZI=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:function(){return pe(XI)},providedIn:"root"}),t})(),XI=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function QI(t){throw t}function JI(t,n,e){return n.parse("/")}const eO={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},tO={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let _n=(()=>{class t{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=pe(IE),this.isNgZoneEnabled=!1,this.options=pe(E1,{optional:!0})||{},this.errorHandler=this.options.errorHandler||QI,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||JI,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=pe(ZI),this.routeReuseStrategy=pe(WI),this.urlCreationStrategy=pe(HA),this.titleStrategy=pe(Ng),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=jm(pe(Ms,{optional:!0})??[]),this.navigationTransitions=pe(T1),this.urlSerializer=pe(Na),this.location=pe(Nc),this.isNgZoneEnabled=pe(N)instanceof N&&N.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new bo,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=ug(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this).subscribe(e=>{this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId},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),Ba,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,o){const r={replaceUrl:!0},s=o?.navigationId?o:null;if(o){const l={...o};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(r.state=l)}const a=this.parseUrl(e);this.scheduleNavigation(a,i,s,r)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(e){this.config=e.map(bu),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:o,queryParams:r,fragment:s,queryParamsHandling:a,preserveFragment:l}=i,c=l?this.currentUrlTree.fragment:s;let u=null;switch(a){case"merge":u={...this.currentUrlTree.queryParams,...r};break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=r||null}return null!==u&&(u=this.removeEmptyProps(u)),this.urlCreationStrategy.createUrlTree(o,this.routerState,this.currentUrlTree,e,u,c??null)}navigateByUrl(e,i={skipLocationChange:!1}){const o=sr(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(r,Ba,null,i)}navigate(e,i={skipLocationChange:!1}){return function nO(t){for(let n=0;n{const r=e[o];return null!=r&&(i[o]=r),i},{})}scheduleNavigation(e,i,o,r,s){if(this.disposed)return Promise.resolve(!1);let a,l,c,u;return s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((d,h)=>{a=d,l=h}),u="computed"===this.canceledNavigationResolution?o&&o.\u0275routerPageId?o.\u0275routerPageId:r.replaceUrl||r.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1:0,this.navigationTransitions.handleNavigationRequest({targetPageId:u,source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:r,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(d=>Promise.reject(d))}setBrowserUrl(e,i){const o=this.urlSerializer.serialize(e),r={...i.extras.state,...this.generateNgRouterState(i.id,i.targetPageId)};this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl?this.location.replaceState(o,"",r):this.location.go(o,"",r)}restoreHistory(e,i=!1){if("computed"===this.canceledNavigationResolution){const o=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.getCurrentNavigation()?.finalUrl||0===o?this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===o&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(o)}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 t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Ka=(()=>{class t{constructor(e,i,o,r,s,a){this.router=e,this.route=i,this.tabIndexAttribute=o,this.renderer=r,this.el=s,this.locationStrategy=a,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new F;const l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===l||"area"===l,this.isAnchorElement?this.subscription=e.events.subscribe(c=>{c instanceof Mo&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(e){this._preserveFragment=ps(e)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(e){this._skipLocationChange=ps(e)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(e){this._replaceUrl=ps(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,o,r,s){return!!(null===this.urlTree||this.isAnchorElement&&(0!==e||i||o||r||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 qh(t,n,e){return function Rz(t,n){return"src"===n&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===n&&("base"===t||"link"===t)?Gh:a3}(n,e)(t)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",e)}applyAttributeValue(e,i){const o=this.renderer,r=this.el.nativeElement;null!==i?o.setAttribute(r,e,i):o.removeAttribute(r,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 t.\u0275fac=function(e){return new(e||t)(f(_n),f(_s),function Gl(t){return function lM(t,n){if("class"===n)return t.classes;if("style"===n)return t.styles;const e=t.attrs;if(e){const i=e.length;let o=0;for(;o{class t{constructor(e,i,o,r,s){this.router=e,this.injector=o,this.preloadingStrategy=r,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(bt(e=>e instanceof Mo),_o(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){const o=[];for(const r of i){r.providers&&!r._injector&&(r._injector=Dc(r.providers,e,`Route: ${r.path}`));const s=r._injector??e,a=r._loadedInjector??s;r.loadChildren&&!r._loadedRoutes&&void 0===r.canLoad||r.loadComponent&&!r._loadedComponent?o.push(this.preloadConfig(s,r)):(r.children||r._loadedRoutes)&&o.push(this.processRoutes(a,r.children??r._loadedRoutes))}return rt(o).pipe(wr())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let o;o=i.loadChildren&&void 0===i.canLoad?this.loader.loadChildren(e,i):Y(null);const r=o.pipe(vt(s=>null===s?Y(void 0):(i._loadedRoutes=s.routes,i._loadedInjector=s.injector,this.processRoutes(s.injector??e,s.routes))));return i.loadComponent&&!i._loadedComponent?rt([r,this.loader.loadComponent(i)]).pipe(wr()):r})}}return t.\u0275fac=function(e){return new(e||t)(v(_n),v(c7),v(Si),v(Lg),v(Du))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Eu=new P("");let Hg=(()=>{class t{constructor(e,i,o,r,s={}){this.urlSerializer=e,this.transitions=i,this.viewportScroller=o,this.zone=r,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 uu?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Mo&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof ag&&(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 ag(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return t.\u0275fac=function(e){M3()},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})();var Pn=(()=>((Pn=Pn||{})[Pn.COMPLETE=0]="COMPLETE",Pn[Pn.FAILED=1]="FAILED",Pn[Pn.REDIRECTING=2]="REDIRECTING",Pn))();const zs=!1;function zo(t,n){return{\u0275kind:t,\u0275providers:n}}const ku=new P("",{providedIn:"root",factory:()=>!1});function Bg(){const t=pe(St);return n=>{const e=t.get(hs);if(n!==e.components[0])return;const i=t.get(_n),o=t.get(Yg);1===t.get(xu)&&i.initialNavigation(),t.get(jg,null,K.Optional)?.setUpPreloading(),t.get(Eu,null,K.Optional)?.init(),i.resetRootComponentType(e.componentTypes[0]),o.closed||(o.next(),o.unsubscribe())}}const Yg=new P(zs?"bootstrap done indicator":"",{factory:()=>new F}),xu=new P(zs?"initial navigation":"",{providedIn:"root",factory:()=>1});function uO(){let t=[];return t=zs?[{provide:ac,multi:!0,useFactory:()=>{const n=pe(_n);return()=>n.events.subscribe(e=>{console.group?.(`Router Event: ${e.constructor.name}`),console.log(function FA(t){if(!("type"in t))return`Unknown Router Event: ${t.constructor.name}`;switch(t.type){case 14:return`ActivationEnd(path: '${t.snapshot.routeConfig?.path||""}')`;case 13:return`ActivationStart(path: '${t.snapshot.routeConfig?.path||""}')`;case 12:return`ChildActivationEnd(path: '${t.snapshot.routeConfig?.path||""}')`;case 11:return`ChildActivationStart(path: '${t.snapshot.routeConfig?.path||""}')`;case 8:return`GuardsCheckEnd(id: ${t.id}, url: '${t.url}', urlAfterRedirects: '${t.urlAfterRedirects}', state: ${t.state}, shouldActivate: ${t.shouldActivate})`;case 7:return`GuardsCheckStart(id: ${t.id}, url: '${t.url}', urlAfterRedirects: '${t.urlAfterRedirects}', state: ${t.state})`;case 2:return`NavigationCancel(id: ${t.id}, url: '${t.url}')`;case 16:return`NavigationSkipped(id: ${t.id}, url: '${t.url}')`;case 1:return`NavigationEnd(id: ${t.id}, url: '${t.url}', urlAfterRedirects: '${t.urlAfterRedirects}')`;case 3:return`NavigationError(id: ${t.id}, url: '${t.url}', error: ${t.error})`;case 0:return`NavigationStart(id: ${t.id}, url: '${t.url}')`;case 6:return`ResolveEnd(id: ${t.id}, url: '${t.url}', urlAfterRedirects: '${t.urlAfterRedirects}', state: ${t.state})`;case 5:return`ResolveStart(id: ${t.id}, url: '${t.url}', urlAfterRedirects: '${t.urlAfterRedirects}', state: ${t.state})`;case 10:return`RouteConfigLoadEnd(path: ${t.route.path})`;case 9:return`RouteConfigLoadStart(path: ${t.route.path})`;case 4:return`RoutesRecognized(id: ${t.id}, url: '${t.url}', urlAfterRedirects: '${t.urlAfterRedirects}', state: ${t.state})`;case 15:return`Scroll(anchor: '${t.anchor}', position: '${t.position?`${t.position[0]}, ${t.position[1]}`:null}')`}}(e)),console.log(e),console.groupEnd?.()})}}]:[],zo(1,t)}const jg=new P(zs?"router preloader":"");function dO(t){return zo(0,[{provide:jg,useExisting:rO},{provide:Lg,useExisting:t}])}const Za=!1,Ug=new P(Za?"router duplicate forRoot guard":"ROUTER_FORROOT_GUARD"),hO=[Nc,{provide:Na,useClass:ou},_n,ja,{provide:_s,useFactory:function Rg(t){return t.routerState.root},deps:[_n]},Du,Za?{provide:ku,useValue:!0}:[]];function pO(){return new v7("Router",_n)}let $g=(()=>{class t{constructor(e){}static forRoot(e,i){return{ngModule:t,providers:[hO,Za&&i?.enableTracing?uO().\u0275providers:[],{provide:Ms,multi:!0,useValue:e},{provide:Ug,useFactory:vO,deps:[[_n,new ho,new Wo]]},{provide:E1,useValue:i||{}},i?.useHash?{provide:ir,useClass:Ck}:{provide:ir,useClass:B7},{provide:Eu,useFactory:()=>{const t=pe(Lx),n=pe(N),e=pe(E1),i=pe(T1),o=pe(Na);return e.scrollOffset&&t.setOffset(e.scrollOffset),new Hg(o,i,t,n,e)}},i?.preloadingStrategy?dO(i.preloadingStrategy).\u0275providers:[],{provide:v7,multi:!0,useFactory:pO},i?.initialNavigation?yO(i):[],[{provide:Wg,useFactory:Bg},{provide:g7,multi:!0,useExisting:Wg}]]}}static forChild(e){return{ngModule:t,providers:[{provide:Ms,multi:!0,useValue:e}]}}}return t.\u0275fac=function(e){return new(e||t)(v(Ug,8))},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[_u]}),t})();function vO(t){if(Za&&t)throw new z(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 yO(t){return["disabled"===t.initialNavigation?zo(3,[{provide:Pc,multi:!0,useFactory:()=>{const n=pe(_n);return()=>{n.setUpLocationChangeListener()}}},{provide:xu,useValue:2}]).\u0275providers:[],"enabledBlocking"===t.initialNavigation?zo(2,[{provide:xu,useValue:0},{provide:Pc,multi:!0,deps:[St],useFactory:n=>{const e=n.get(yk,Promise.resolve());return()=>e.then(()=>new Promise(i=>{const o=n.get(_n),r=n.get(Yg);(function sO(t,n){t.events.pipe(bt(e=>e instanceof Mo||e instanceof g1||e instanceof du||e instanceof v1),B(e=>e instanceof Mo||e instanceof v1?Pn.COMPLETE:e instanceof g1&&(0===e.code||1===e.code)?Pn.REDIRECTING:Pn.FAILED),bt(e=>e!==Pn.REDIRECTING),Ct(1)).subscribe(()=>{n()})})(o,()=>{i(!0)}),n.get(T1).afterPreactivation=()=>(i(!0),r.closed?Y(void 0):r),o.initialNavigation()}))}}]).\u0275providers:[]]}const Wg=new P(Za?"Router Initializer":""),CO=[];let bO=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[$g.forRoot(CO),$g]}),t})();function Gg(t,n,e,i,o,r,s){try{var a=t[r](s),l=a.value}catch(c){return void e(c)}a.done?n(l):Promise.resolve(l).then(i,o)}function k1(t){return function(){var n=this,e=arguments;return new Promise(function(i,o){var r=t.apply(n,e);function s(l){Gg(r,i,o,s,a,"next",l)}function a(l){Gg(r,i,o,s,a,"throw",l)}s(void 0)})}}class x1{}class Xa{}class hi{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?this.lazyInit="string"==typeof n?()=>{this.headers=new Map,n.split("\n").forEach(e=>{const i=e.indexOf(":");if(i>0){const o=e.slice(0,i),r=o.toLowerCase(),s=e.slice(i+1).trim();this.maybeSetNormalizedName(o,r),this.headers.has(r)?this.headers.get(r).push(s):this.headers.set(r,[s])}})}:()=>{this.headers=new Map,Object.keys(n).forEach(e=>{let i=n[e];const o=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(this.headers.set(o,i),this.maybeSetNormalizedName(e,o))})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof hi?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){const e=new hi;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof hi?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){const e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(n.name,e);const o=("a"===n.op?this.headers.get(e):void 0)||[];o.push(...i),this.headers.set(e,o);break;case"d":const r=n.value;if(r){let s=this.headers.get(e);if(!s)return;s=s.filter(a=>-1===r.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(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}}class MO{encodeKey(n){return qg(n)}encodeValue(n){return qg(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const wO=/%(\d[a-f0-9])/gi,SO={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function qg(t){return encodeURIComponent(t).replace(wO,(n,e)=>SO[e]??n)}function P1(t){return`${t}`}class wo{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new MO,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function zO(t,n){const e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(o=>{const r=o.indexOf("="),[s,a]=-1==r?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,r)),n.decodeValue(o.slice(r+1))],l=e.get(s)||[];l.push(a),e.set(s,l)}),e}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{const i=n.fromObject[e],o=Array.isArray(i)?i.map(P1):[P1(i)];this.map.set(e,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){const e=[];return Object.keys(n).forEach(i=>{const o=n[i];Array.isArray(o)?o.forEach(r=>{e.push({param:i,value:r,op:"a"})}):e.push({param:i,value:o,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const e=new wo({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const e=("a"===n.op?this.map.get(n.param):void 0)||[];e.push(P1(n.value)),this.map.set(n.param,e);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let i=this.map.get(n.param)||[];const o=i.indexOf(P1(n.value));-1!==o&&i.splice(o,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class DO{constructor(){this.map=new Map}set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function Kg(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Zg(t){return typeof Blob<"u"&&t instanceof Blob}function Xg(t){return typeof FormData<"u"&&t instanceof FormData}class Qa{constructor(n,e,i,o){let r;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function TO(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==i?i:null,r=o):r=i,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params)),this.headers||(this.headers=new hi),this.context||(this.context=new DO),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=e;else{const a=e.indexOf("?");this.urlWithParams=e+(-1===a?"?":ad.set(h,n.setHeaders[h]),l)),n.setParams&&(c=Object.keys(n.setParams).reduce((d,h)=>d.set(h,n.setParams[h]),c)),new Qa(e,i,r,{params:c,headers:l,context:u,reportProgress:a,responseType:o,withCredentials:s})}}var Mt=(()=>((Mt=Mt||{})[Mt.Sent=0]="Sent",Mt[Mt.UploadProgress=1]="UploadProgress",Mt[Mt.ResponseHeader=2]="ResponseHeader",Mt[Mt.DownloadProgress=3]="DownloadProgress",Mt[Mt.Response=4]="Response",Mt[Mt.User=5]="User",Mt))();class Pu{constructor(n,e=200,i="OK"){this.headers=n.headers||new hi,this.status=void 0!==n.status?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class Au extends Pu{constructor(n={}){super(n),this.type=Mt.ResponseHeader}clone(n={}){return new Au({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class A1 extends Pu{constructor(n={}){super(n),this.type=Mt.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new A1({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class Qg extends Pu{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}function Iu(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let Ou=(()=>{class t{constructor(e){this.handler=e}request(e,i,o={}){let r;if(e instanceof Qa)r=e;else{let l,c;l=o.headers instanceof hi?o.headers:new hi(o.headers),o.params&&(c=o.params instanceof wo?o.params:new wo({fromObject:o.params})),r=new Qa(e,i,void 0!==o.body?o.body:null,{headers:l,context:o.context,params:c,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}const s=Y(r).pipe(_o(l=>this.handler.handle(l)));if(e instanceof Qa||"events"===o.observe)return s;const a=s.pipe(bt(l=>l instanceof A1));switch(o.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return a.pipe(B(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(B(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(B(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(B(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.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 wo).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,o={}){return this.request("PATCH",e,Iu(o,i))}post(e,i,o={}){return this.request("POST",e,Iu(o,i))}put(e,i,o={}){return this.request("PUT",e,Iu(o,i))}}return t.\u0275fac=function(e){return new(e||t)(v(x1))},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})();function Jg(t,n){return n(t)}function kO(t,n){return(e,i)=>n.intercept(e,{handle:o=>t(o,i)})}const PO=new P("HTTP_INTERCEPTORS"),Ja=new P("HTTP_INTERCEPTOR_FNS");function AO(){let t=null;return(n,e)=>(null===t&&(t=(pe(PO,{optional:!0})??[]).reduceRight(kO,Jg)),t(n,e))}let e9=(()=>{class t extends x1{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(Ja)));this.chain=i.reduceRight((o,r)=>function xO(t,n,e){return(i,o)=>e.runInContext(()=>n(i,r=>t(r,o)))}(o,r,this.injector),Jg)}return this.chain(e,i=>this.backend.handle(i))}}return t.\u0275fac=function(e){return new(e||t)(v(Xa),v(Si))},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})();const VO=/^\)\]\}',?\n/;let n9=(()=>{class t{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new ge(i=>{const o=this.xhrFactory.build();if(o.open(e.method,e.urlWithParams),e.withCredentials&&(o.withCredentials=!0),e.headers.forEach((p,m)=>o.setRequestHeader(p,m.join(","))),e.headers.has("Accept")||o.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const p=e.detectContentTypeHeader();null!==p&&o.setRequestHeader("Content-Type",p)}if(e.responseType){const p=e.responseType.toLowerCase();o.responseType="json"!==p?p:"text"}const r=e.serializeBody();let s=null;const a=()=>{if(null!==s)return s;const p=o.statusText||"OK",m=new hi(o.getAllResponseHeaders()),g=function NO(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(o)||e.url;return s=new Au({headers:m,status:o.status,statusText:p,url:g}),s},l=()=>{let{headers:p,status:m,statusText:g,url:y}=a(),C=null;204!==m&&(C=typeof o.response>"u"?o.responseText:o.response),0===m&&(m=C?200:0);let T=m>=200&&m<300;if("json"===e.responseType&&"string"==typeof C){const b=C;C=C.replace(VO,"");try{C=""!==C?JSON.parse(C):null}catch(O){C=b,T&&(T=!1,C={error:O,text:C})}}T?(i.next(new A1({body:C,headers:p,status:m,statusText:g,url:y||void 0})),i.complete()):i.error(new Qg({error:C,headers:p,status:m,statusText:g,url:y||void 0}))},c=p=>{const{url:m}=a(),g=new Qg({error:p,status:o.status||0,statusText:o.statusText||"Unknown Error",url:m||void 0});i.error(g)};let u=!1;const d=p=>{u||(i.next(a()),u=!0);let m={type:Mt.DownloadProgress,loaded:p.loaded};p.lengthComputable&&(m.total=p.total),"text"===e.responseType&&o.responseText&&(m.partialText=o.responseText),i.next(m)},h=p=>{let m={type:Mt.UploadProgress,loaded:p.loaded};p.lengthComputable&&(m.total=p.total),i.next(m)};return o.addEventListener("load",l),o.addEventListener("error",c),o.addEventListener("timeout",c),o.addEventListener("abort",c),e.reportProgress&&(o.addEventListener("progress",d),null!==r&&o.upload&&o.upload.addEventListener("progress",h)),o.send(r),i.next({type:Mt.Sent}),()=>{o.removeEventListener("error",c),o.removeEventListener("abort",c),o.removeEventListener("load",l),o.removeEventListener("timeout",c),e.reportProgress&&(o.removeEventListener("progress",d),null!==r&&o.upload&&o.upload.removeEventListener("progress",h)),o.readyState!==o.DONE&&o.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(v(lm))},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})();const Fu=new P("XSRF_ENABLED"),i9=new P("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),o9=new P("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class r9{}let RO=(()=>{class t{constructor(e,i,o){this.doc=e,this.platform=i,this.cookieName=o,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=X7(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(v(_e),v(er),v(i9))},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})();function BO(t,n){const e=t.url.toLowerCase();if(!pe(Fu)||"GET"===t.method||"HEAD"===t.method||e.startsWith("http://")||e.startsWith("https://"))return n(t);const i=pe(r9).getToken(),o=pe(o9);return null!=i&&!t.headers.has(o)&&(t=t.clone({headers:t.headers.set(o,i)})),n(t)}var mt=(()=>((mt=mt||{})[mt.Interceptors=0]="Interceptors",mt[mt.LegacyInterceptors=1]="LegacyInterceptors",mt[mt.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",mt[mt.NoXsrfProtection=3]="NoXsrfProtection",mt[mt.JsonpSupport=4]="JsonpSupport",mt[mt.RequestsMadeViaParent=5]="RequestsMadeViaParent",mt))();function ws(t,n){return{\u0275kind:t,\u0275providers:n}}function YO(...t){const n=[Ou,n9,e9,{provide:x1,useExisting:e9},{provide:Xa,useExisting:n9},{provide:Ja,useValue:BO,multi:!0},{provide:Fu,useValue:!0},{provide:r9,useClass:RO}];for(const e of t)n.push(...e.\u0275providers);return function Bz(t){return{\u0275providers:t}}(n)}const s9=new P("LEGACY_INTERCEPTOR_FN");let a9=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({providers:[YO(ws(mt.LegacyInterceptors,[{provide:s9,useFactory:AO},{provide:Ja,useExisting:s9,multi:!0}]))]}),t})();function I(t){return Ze((n,e)=>{Vt(t).subscribe(Le(e,()=>e.complete(),Ls)),!e.closed&&n.subscribe(e)})}const l9=["*"];class pi{_clearListeners(){for(const n of this._listeners)n.remove();this._listeners=[]}constructor(n){this._ngZone=n,this._pending=[],this._listeners=[],this._targetStream=new ue(void 0)}getLazyEmitter(n){return this._targetStream.pipe(Zt(e=>{const i=new ge(o=>{if(!e)return void this._pending.push({observable:i,observer:o});const r=e.addListener(n,s=>{this._ngZone.run(()=>o.next(s))});if(r)return this._listeners.push(r),()=>r.remove();o.complete()});return i}))}setTarget(n){const e=this._targetStream.value;n!==e&&(e&&(this._clearListeners(),this._pending=[]),this._targetStream.next(n),this._pending.forEach(i=>i.observable.subscribe(i.observer)),this._pending=[])}destroy(){this._clearListeners(),this._pending=[],this._targetStream.complete()}}const el={center:{lat:37.421995,lng:-122.084092},zoom:17,mapTypeId:"roadmap"};let Xt=(()=>{class t{set center(e){this._center=e}set zoom(e){this._zoom=e}set options(e){this._options=e||el}constructor(e,i,o){if(this._elementRef=e,this._ngZone=i,this._eventManager=new pi(this._ngZone),this.height="500px",this.width="500px",this._options=el,this.mapInitialized=new _,this.authFailure=new _,this.boundsChanged=this._eventManager.getLazyEmitter("bounds_changed"),this.centerChanged=this._eventManager.getLazyEmitter("center_changed"),this.mapClick=this._eventManager.getLazyEmitter("click"),this.mapDblclick=this._eventManager.getLazyEmitter("dblclick"),this.mapDrag=this._eventManager.getLazyEmitter("drag"),this.mapDragend=this._eventManager.getLazyEmitter("dragend"),this.mapDragstart=this._eventManager.getLazyEmitter("dragstart"),this.headingChanged=this._eventManager.getLazyEmitter("heading_changed"),this.idle=this._eventManager.getLazyEmitter("idle"),this.maptypeidChanged=this._eventManager.getLazyEmitter("maptypeid_changed"),this.mapMousemove=this._eventManager.getLazyEmitter("mousemove"),this.mapMouseout=this._eventManager.getLazyEmitter("mouseout"),this.mapMouseover=this._eventManager.getLazyEmitter("mouseover"),this.projectionChanged=this._eventManager.getLazyEmitter("projection_changed"),this.mapRightclick=this._eventManager.getLazyEmitter("rightclick"),this.tilesloaded=this._eventManager.getLazyEmitter("tilesloaded"),this.tiltChanged=this._eventManager.getLazyEmitter("tilt_changed"),this.zoomChanged=this._eventManager.getLazyEmitter("zoom_changed"),this._isBrowser=sm(o),this._isBrowser){const r=window;this._existingAuthFailureCallback=r.gm_authFailure,r.gm_authFailure=()=>{this._existingAuthFailureCallback&&this._existingAuthFailureCallback(),this.authFailure.emit()}}}ngOnChanges(e){(e.height||e.width)&&this._setSize();const i=this.googleMap;i&&(e.options&&i.setOptions(this._combineOptions()),e.center&&this._center&&i.setCenter(this._center),e.zoom&&null!=this._zoom&&i.setZoom(this._zoom),e.mapTypeId&&this.mapTypeId&&i.setMapTypeId(this.mapTypeId))}ngOnInit(){this._isBrowser&&(this._mapEl=this._elementRef.nativeElement.querySelector(".map-container"),this._setSize(),this._ngZone.runOutsideAngular(()=>{this.googleMap=new google.maps.Map(this._mapEl,this._combineOptions())}),this._eventManager.setTarget(this.googleMap),this.mapInitialized.emit(this.googleMap))}ngOnDestroy(){this._eventManager.destroy(),this._isBrowser&&(window.gm_authFailure=this._existingAuthFailureCallback)}fitBounds(e,i){this._assertInitialized(),this.googleMap.fitBounds(e,i)}panBy(e,i){this._assertInitialized(),this.googleMap.panBy(e,i)}panTo(e){this._assertInitialized(),this.googleMap.panTo(e)}panToBounds(e,i){this._assertInitialized(),this.googleMap.panToBounds(e,i)}getBounds(){return this._assertInitialized(),this.googleMap.getBounds()||null}getCenter(){return this._assertInitialized(),this.googleMap.getCenter()}getClickableIcons(){return this._assertInitialized(),this.googleMap.getClickableIcons()}getHeading(){return this._assertInitialized(),this.googleMap.getHeading()}getMapTypeId(){return this._assertInitialized(),this.googleMap.getMapTypeId()}getProjection(){return this._assertInitialized(),this.googleMap.getProjection()||null}getStreetView(){return this._assertInitialized(),this.googleMap.getStreetView()}getTilt(){return this._assertInitialized(),this.googleMap.getTilt()}getZoom(){return this._assertInitialized(),this.googleMap.getZoom()}get controls(){return this._assertInitialized(),this.googleMap.controls}get data(){return this._assertInitialized(),this.googleMap.data}get mapTypes(){return this._assertInitialized(),this.googleMap.mapTypes}get overlayMapTypes(){return this._assertInitialized(),this.googleMap.overlayMapTypes}_setSize(){if(this._mapEl){const e=this._mapEl.style;e.height=null===this.height?"":d9(this.height)||"500px",e.width=null===this.width?"":d9(this.width)||"500px"}}_combineOptions(){const e=this._options||{};return{...e,center:this._center||e.center||el.center,zoom:this._zoom??e.zoom??el.zoom,mapTypeId:this.mapTypeId||e.mapTypeId||el.mapTypeId}}_assertInitialized(){}}return t.\u0275fac=function(e){return new(e||t)(f(ne),f(N),f(er))},t.\u0275cmp=ze({type:t,selectors:[["google-map"]],inputs:{height:"height",width:"width",mapTypeId:"mapTypeId",center:"center",zoom:"zoom",options:"options"},outputs:{mapInitialized:"mapInitialized",authFailure:"authFailure",boundsChanged:"boundsChanged",centerChanged:"centerChanged",mapClick:"mapClick",mapDblclick:"mapDblclick",mapDrag:"mapDrag",mapDragend:"mapDragend",mapDragstart:"mapDragstart",headingChanged:"headingChanged",idle:"idle",maptypeidChanged:"maptypeidChanged",mapMousemove:"mapMousemove",mapMouseout:"mapMouseout",mapMouseover:"mapMouseover",projectionChanged:"projectionChanged",mapRightclick:"mapRightclick",tilesloaded:"tilesloaded",tiltChanged:"tiltChanged",zoomChanged:"zoomChanged"},exportAs:["googleMap"],features:[$],ngContentSelectors:l9,decls:2,vars:0,consts:[[1,"map-container"]],template:function(e,i){1&e&&(si(),X(0,"div",0),Un(1))},encapsulation:2,changeDetection:0}),t})();const UO=/([A-Za-z%]+)$/;function d9(t){return null==t?"":UO.test(t)?t:`${t}px`}let h9=(()=>{class t{set options(e){this._options.next(e||{})}set position(e){this._position.next(e)}constructor(e,i,o){this._googleMap=e,this._elementRef=i,this._ngZone=o,this._eventManager=new pi(this._ngZone),this._options=new ue({}),this._position=new ue(void 0),this._destroy=new F,this.closeclick=this._eventManager.getLazyEmitter("closeclick"),this.contentChanged=this._eventManager.getLazyEmitter("content_changed"),this.domready=this._eventManager.getLazyEmitter("domready"),this.positionChanged=this._eventManager.getLazyEmitter("position_changed"),this.zindexChanged=this._eventManager.getLazyEmitter("zindex_changed")}ngOnInit(){this._googleMap._isBrowser&&(this._combineOptions().pipe(Ct(1)).subscribe(i=>{this._ngZone.runOutsideAngular(()=>{this.infoWindow=new google.maps.InfoWindow(i)}),this._eventManager.setTarget(this.infoWindow)}),this._watchForOptionsChanges(),this._watchForPositionChanges())}ngOnDestroy(){this._eventManager.destroy(),this._destroy.next(),this._destroy.complete(),this.infoWindow&&this.close()}close(){this._assertInitialized(),this.infoWindow.close()}getContent(){return this._assertInitialized(),this.infoWindow.getContent()||null}getPosition(){return this._assertInitialized(),this.infoWindow.getPosition()||null}getZIndex(){return this._assertInitialized(),this.infoWindow.getZIndex()}open(e,i){this._assertInitialized();const o=e?e.getAnchor():void 0;(this.infoWindow.get("anchor")!==o||!o)&&(this._elementRef.nativeElement.style.display="",this.infoWindow.open({map:this._googleMap.googleMap,anchor:o,shouldFocus:i}))}_combineOptions(){return yn([this._options,this._position]).pipe(B(([e,i])=>({...e,position:i||e.position,content:this._elementRef.nativeElement})))}_watchForOptionsChanges(){this._options.pipe(I(this._destroy)).subscribe(e=>{this._assertInitialized(),this.infoWindow.setOptions(e)})}_watchForPositionChanges(){this._position.pipe(I(this._destroy)).subscribe(e=>{e&&(this._assertInitialized(),this.infoWindow.setPosition(e))})}_assertInitialized(){}}return t.\u0275fac=function(e){return new(e||t)(f(Xt),f(ne),f(N))},t.\u0275dir=w({type:t,selectors:[["map-info-window"]],hostAttrs:[2,"display","none"],inputs:{options:"options",position:"position"},outputs:{closeclick:"closeclick",contentChanged:"contentChanged",domready:"domready",positionChanged:"positionChanged",zindexChanged:"zindexChanged"},exportAs:["mapInfoWindow"]}),t})();const ZO={position:{lat:37.421995,lng:-122.084092}};let Nu=(()=>{class t{set title(e){this._title=e}set position(e){this._position=e}set label(e){this._label=e}set clickable(e){this._clickable=e}set options(e){this._options=e}set icon(e){this._icon=e}set visible(e){this._visible=e}constructor(e,i){this._googleMap=e,this._ngZone=i,this._eventManager=new pi(this._ngZone),this.animationChanged=this._eventManager.getLazyEmitter("animation_changed"),this.mapClick=this._eventManager.getLazyEmitter("click"),this.clickableChanged=this._eventManager.getLazyEmitter("clickable_changed"),this.cursorChanged=this._eventManager.getLazyEmitter("cursor_changed"),this.mapDblclick=this._eventManager.getLazyEmitter("dblclick"),this.mapDrag=this._eventManager.getLazyEmitter("drag"),this.mapDragend=this._eventManager.getLazyEmitter("dragend"),this.draggableChanged=this._eventManager.getLazyEmitter("draggable_changed"),this.mapDragstart=this._eventManager.getLazyEmitter("dragstart"),this.flatChanged=this._eventManager.getLazyEmitter("flat_changed"),this.iconChanged=this._eventManager.getLazyEmitter("icon_changed"),this.mapMousedown=this._eventManager.getLazyEmitter("mousedown"),this.mapMouseout=this._eventManager.getLazyEmitter("mouseout"),this.mapMouseover=this._eventManager.getLazyEmitter("mouseover"),this.mapMouseup=this._eventManager.getLazyEmitter("mouseup"),this.positionChanged=this._eventManager.getLazyEmitter("position_changed"),this.mapRightclick=this._eventManager.getLazyEmitter("rightclick"),this.shapeChanged=this._eventManager.getLazyEmitter("shape_changed"),this.titleChanged=this._eventManager.getLazyEmitter("title_changed"),this.visibleChanged=this._eventManager.getLazyEmitter("visible_changed"),this.zindexChanged=this._eventManager.getLazyEmitter("zindex_changed")}ngOnInit(){this._googleMap._isBrowser&&(this._ngZone.runOutsideAngular(()=>{this.marker=new google.maps.Marker(this._combineOptions())}),this._assertInitialized(),this.marker.setMap(this._googleMap.googleMap),this._eventManager.setTarget(this.marker))}ngOnChanges(e){const{marker:i,_title:o,_position:r,_label:s,_clickable:a,_icon:l,_visible:c}=this;i&&(e.options&&i.setOptions(this._combineOptions()),e.title&&void 0!==o&&i.setTitle(o),e.position&&r&&i.setPosition(r),e.label&&void 0!==s&&i.setLabel(s),e.clickable&&void 0!==a&&i.setClickable(a),e.icon&&l&&i.setIcon(l),e.visible&&void 0!==c&&i.setVisible(c))}ngOnDestroy(){this._eventManager.destroy(),this.marker&&this.marker.setMap(null)}getAnimation(){return this._assertInitialized(),this.marker.getAnimation()||null}getClickable(){return this._assertInitialized(),this.marker.getClickable()}getCursor(){return this._assertInitialized(),this.marker.getCursor()||null}getDraggable(){return this._assertInitialized(),!!this.marker.getDraggable()}getIcon(){return this._assertInitialized(),this.marker.getIcon()||null}getLabel(){return this._assertInitialized(),this.marker.getLabel()||null}getOpacity(){return this._assertInitialized(),this.marker.getOpacity()||null}getPosition(){return this._assertInitialized(),this.marker.getPosition()||null}getShape(){return this._assertInitialized(),this.marker.getShape()||null}getTitle(){return this._assertInitialized(),this.marker.getTitle()||null}getVisible(){return this._assertInitialized(),this.marker.getVisible()}getZIndex(){return this._assertInitialized(),this.marker.getZIndex()||null}getAnchor(){return this._assertInitialized(),this.marker}_combineOptions(){const e=this._options||ZO;return{...e,title:this._title||e.title,position:this._position||e.position,label:this._label||e.label,clickable:this._clickable??e.clickable,map:this._googleMap.googleMap,icon:this._icon||e.icon,visible:this._visible??e.visible}}_assertInitialized(){}}return t.\u0275fac=function(e){return new(e||t)(f(Xt),f(N))},t.\u0275dir=w({type:t,selectors:[["map-marker"]],inputs:{title:"title",position:"position",label:"label",clickable:"clickable",options:"options",icon:"icon",visible:"visible"},outputs:{animationChanged:"animationChanged",mapClick:"mapClick",clickableChanged:"clickableChanged",cursorChanged:"cursorChanged",mapDblclick:"mapDblclick",mapDrag:"mapDrag",mapDragend:"mapDragend",draggableChanged:"draggableChanged",mapDragstart:"mapDragstart",flatChanged:"flatChanged",iconChanged:"iconChanged",mapMousedown:"mapMousedown",mapMouseout:"mapMouseout",mapMouseover:"mapMouseover",mapMouseup:"mapMouseup",positionChanged:"positionChanged",mapRightclick:"mapRightclick",shapeChanged:"shapeChanged",titleChanged:"titleChanged",visibleChanged:"visibleChanged",zindexChanged:"zindexChanged"},exportAs:["mapMarker"],features:[$]}),t})(),sF=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({}),t})(),p9=(()=>{class t{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=o=>{},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 t.\u0275fac=function(e){return new(e||t)(f(dt),f(ne))},t.\u0275dir=w({type:t}),t})(),ar=(()=>{class t extends p9{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=je(t)))(i||t)}}(),t.\u0275dir=w({type:t,features:[ie]}),t})();const fi=new P("NgValueAccessor"),cF={provide:fi,useExisting:Ae(()=>I1),multi:!0},m9=new P("CompositionEventMode");let I1=(()=>{class t extends p9{constructor(e,i,o){super(e,i),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function uF(){const t=Xi()?Xi().getUserAgent():"";return/android (\d+)/.test(t.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 t.\u0275fac=function(e){return new(e||t)(f(dt),f(ne),f(m9,8))},t.\u0275dir=w({type:t,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&&te("input",function(r){return i._handleInput(r.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(r){return i._compositionEnd(r.target.value)})},features:[ce([cF]),ie]}),t})();const dF=!1,Qt=new P("NgValidators"),Do=new P("NgAsyncValidators");function S9(t){return null!=t}function D9(t){const n=pa(t)?rt(t):t;if(dF&&!H3(n)){let e="Expected async validator to return Promise or Observable.";throw"object"==typeof t&&(e+=" Are you using a synchronous validator where an async validator is expected?"),new z(-1101,e)}return n}function T9(t){let n={};return t.forEach(e=>{n=null!=e?{...n,...e}:n}),0===Object.keys(n).length?null:n}function E9(t,n){return n.map(e=>e(t))}function k9(t){return t.map(n=>function pF(t){return!t.validate}(n)?n:e=>n.validate(e))}function Lu(t){return null!=t?function x9(t){if(!t)return null;const n=t.filter(S9);return 0==n.length?null:function(e){return T9(E9(e,n))}}(k9(t)):null}function Hu(t){return null!=t?function P9(t){if(!t)return null;const n=t.filter(S9);return 0==n.length?null:function(e){return function aF(...t){const n=Q4(t),{args:e,keys:i}=Fm(t),o=new ge(r=>{const{length:s}=e;if(!s)return void r.complete();const a=new Array(s);let l=s,c=s;for(let u=0;u{d||(d=!0,c--),a[u]=h},()=>l--,void 0,()=>{(!l||!d)&&(c||r.next(i?Vm(i,a):a),r.complete())}))}});return n?o.pipe(s1(n)):o}(E9(e,n).map(D9)).pipe(B(T9))}}(k9(t)):null}function A9(t,n){return null===t?[n]:Array.isArray(t)?[...t,n]:[t,n]}function Ru(t){return t?Array.isArray(t)?t:[t]:[]}function F1(t,n){return Array.isArray(t)?t.includes(n):t===n}function F9(t,n){const e=Ru(n);return Ru(t).forEach(o=>{F1(e,o)||e.push(o)}),e}function V9(t,n){return Ru(n).filter(e=>!F1(t,e))}class N9{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(n){this._rawValidators=n||[],this._composedValidatorFn=Lu(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Hu(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n){this.control&&this.control.reset(n)}hasError(n,e){return!!this.control&&this.control.hasError(n,e)}getError(n,e){return this.control?this.control.getError(n,e):null}}class hn extends N9{get formDirective(){return null}get path(){return null}}class To extends N9{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class L9{constructor(n){this._cd=n}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 Bu=(()=>{class t extends L9{constructor(e){super(e)}}return t.\u0275fac=function(e){return new(e||t)(f(To,2))},t.\u0275dir=w({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,i){2&e&&et("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:[ie]}),t})();const tl="VALID",N1="INVALID",Ss="PENDING",nl="DISABLED";function L1(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class Y9{constructor(n,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(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===tl}get invalid(){return this.status===N1}get pending(){return this.status==Ss}get disabled(){return this.status===nl}get enabled(){return this.status!==nl}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(F9(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(F9(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(V9(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(V9(n,this._rawAsyncValidators))}hasValidator(n){return F1(this._rawValidators,n)}hasAsyncValidator(n){return F1(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=Ss,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=nl,this.errors=null,this._forEachChild(i=>{i.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=tl,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===tl||this.status===Ss)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?nl:tl}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=Ss,this._hasOwnPendingAsyncValidator=!0;const e=D9(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(!1!==e.emitEvent)}get(n){let e=n;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((i,o)=>i&&i._find(o),this)}getError(n,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new _,this.statusChanges=new _}_calculateStatus(){return this._allControlsDisabled()?nl:this.errors?N1:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ss)?Ss:this._anyControlsHaveStatus(N1)?N1:tl}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){L1(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function bF(t){return Array.isArray(t)?Lu(t):t||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function MF(t){return Array.isArray(t)?Hu(t):t||null}(this._rawAsyncValidators)}}const Ds=new P("CallSetDisabledState",{providedIn:"root",factory:()=>H1}),H1="always";function il(t,n,e=H1){(function qu(t,n){const e=function I9(t){return t._rawValidators}(t);null!==n.validator?t.setValidators(A9(e,n.validator)):"function"==typeof e&&t.setValidators([e]);const i=function O9(t){return t._rawAsyncValidators}(t);null!==n.asyncValidator?t.setAsyncValidators(A9(i,n.asyncValidator)):"function"==typeof i&&t.setAsyncValidators([i]);const o=()=>t.updateValueAndValidity();Y1(n._rawValidators,o),Y1(n._rawAsyncValidators,o)})(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||"always"===e)&&n.valueAccessor.setDisabledState?.(t.disabled),function SF(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&j9(t,n)})}(t,n),function TF(t,n){const e=(i,o)=>{n.valueAccessor.writeValue(i),o&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}(t,n),function DF(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&j9(t,n),"submit"!==t.updateOn&&t.markAsTouched()})}(t,n),function wF(t,n){if(n.valueAccessor.setDisabledState){const e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}(t,n)}function Y1(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function j9(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function W9(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}function G9(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}const q9=class extends Y9{constructor(n=null,e,i){super(function $u(t){return(L1(t)?t.validators:t)||null}(e),function Wu(t,n){return(L1(n)?n.asyncValidators:t)||null}(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),L1(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=G9(n)?n.value:n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){W9(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){W9(this._onDisabledChange,n)}_forEachChild(n){}_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(n){G9(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},FF={provide:To,useExisting:Ae(()=>U1)},X9=(()=>Promise.resolve())();let U1=(()=>{class t extends To{constructor(e,i,o,r,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new q9,this._registered=!1,this.update=new _,this._parent=e,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=function Xu(t,n){if(!n)return null;let e,i,o;return Array.isArray(n),n.forEach(r=>{r.constructor===I1?e=r:function xF(t){return Object.getPrototypeOf(t.constructor)===ar}(r)?i=r:o=r}),o||i||e||null}(0,r)}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 Zu(t,n){if(!t.hasOwnProperty("model"))return!1;const e=t.model;return!!e.isFirstChange()||!Object.is(n,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(){il(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){X9.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const i=e.isDisabled.currentValue,o=0!==i&&ps(i);X9.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?function R1(t,n){return[...n.path,t]}(e,this._parent):[e]}}return t.\u0275fac=function(e){return new(e||t)(f(hn,9),f(Qt,10),f(Do,10),f(fi,10),f(It,8),f(Ds,8))},t.\u0275dir=w({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[ce([FF]),ie,$]}),t})(),J9=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({}),t})(),sV=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[J9]}),t})(),vv=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:Ds,useValue:e.callSetDisabledState??H1}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[sV]}),t})();function cr(t){return null!=t&&"false"!=`${t}`}function $1(t,n=0){return function lV(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):n}function W1(t){return Array.isArray(t)?t:[t]}function zt(t){return null==t?"":"string"==typeof t?t:`${t}px`}function rl(t){return t instanceof ne?t.nativeElement:t}const cV=["addListener","removeListener"],uV=["addEventListener","removeEventListener"],dV=["on","off"];function Zn(t,n,e,i){if(Me(e)&&(i=e,e=void 0),i)return Zn(t,n,e).pipe(s1(i));const[o,r]=function fV(t){return Me(t.addEventListener)&&Me(t.removeEventListener)}(t)?uV.map(s=>a=>t[s](n,a,e)):function hV(t){return Me(t.addListener)&&Me(t.removeListener)}(t)?cV.map(yv(t,n)):function pV(t){return Me(t.on)&&Me(t.off)}(t)?dV.map(yv(t,n)):[];if(!o&&Z4(t))return vt(s=>Zn(s,n,e))(Vt(t));if(!o)throw new TypeError("Invalid event target");return new ge(s=>{const a=(...l)=>s.next(1r(a)})}function yv(t,n){return e=>i=>t[e](n,i)}class mV extends lt{constructor(n,e){super()}schedule(n,e=0){return this}}const G1={setInterval(t,n,...e){const{delegate:i}=G1;return i?.setInterval?i.setInterval(t,n,...e):setInterval(t,n,...e)},clearInterval(t){const{delegate:n}=G1;return(n?.clearInterval||clearInterval)(t)},delegate:void 0};class s6 extends mV{constructor(n,e){super(n,e),this.scheduler=n,this.work=e,this.pending=!1}schedule(n,e=0){var i;if(this.closed)return this;this.state=n;const o=this.id,r=this.scheduler;return null!=o&&(this.id=this.recycleAsyncId(r,o,e)),this.pending=!0,this.delay=e,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(r,this.id,e),this}requestAsyncId(n,e,i=0){return G1.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,e,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return e;null!=e&&G1.clearInterval(e)}execute(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(n,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,e){let o,i=!1;try{this.work(n)}catch(r){i=!0,o=r||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){const{id:n,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,zr(i,this),null!=n&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,super.unsubscribe()}}}const sl={schedule(t){let n=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:i}=sl;i&&(n=i.requestAnimationFrame,e=i.cancelAnimationFrame);const o=n(r=>{e=void 0,t(r)});return new lt(()=>e?.(o))},requestAnimationFrame(...t){const{delegate:n}=sl;return(n?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){const{delegate:n}=sl;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0},a6={now:()=>(a6.delegate||Date).now(),delegate:void 0};class al{constructor(n,e=al.now){this.schedulerActionCtor=n,this.now=e}schedule(n,e=0,i){return new this.schedulerActionCtor(this,n).schedule(i,e)}}al.now=a6.now;class l6 extends al{constructor(n,e=al.now){super(n,e),this.actions=[],this._active=!1}flush(n){const{actions:e}=this;if(this._active)return void e.push(n);let i;this._active=!0;do{if(i=n.execute(n.state,n.delay))break}while(n=e.shift());if(this._active=!1,i){for(;n=e.shift();)n.unsubscribe();throw i}}}const yV=new class vV extends l6{flush(n){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let o;n=n||i.shift();do{if(o=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,o){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw o}}}(class gV extends s6{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return null!==i&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=sl.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,e,i=0){var o;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);const{actions:r}=n;null!=e&&(null===(o=r[r.length-1])||void 0===o?void 0:o.id)!==e&&(sl.cancelAnimationFrame(e),n._scheduled=void 0)}});let c6,_V=1;const q1={};function _v(t){return t in q1&&(delete q1[t],!0)}const CV={setImmediate(t){const n=_V++;return q1[n]=!0,c6||(c6=Promise.resolve()),c6.then(()=>_v(n)&&t()),n},clearImmediate(t){_v(t)}},{setImmediate:bV,clearImmediate:MV}=CV,K1={setImmediate(...t){const{delegate:n}=K1;return(n?.setImmediate||bV)(...t)},clearImmediate(t){const{delegate:n}=K1;return(n?.clearImmediate||MV)(t)},delegate:void 0},SV=new class wV extends l6{flush(n){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let o;n=n||i.shift();do{if(o=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,o){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw o}}}(class zV extends s6{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return null!==i&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=K1.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,e,i=0){var o;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);const{actions:r}=n;null!=e&&(null===(o=r[r.length-1])||void 0===o?void 0:o.id)!==e&&(K1.clearImmediate(e),n._scheduled=void 0)}});function Cv(t){return!!t&&(t instanceof ge||Me(t.lift)&&Me(t.subscribe))}function Eo(t,n=Hi){return t=t??DV,Ze((e,i)=>{let o,r=!0;e.subscribe(Le(i,s=>{const a=n(s);(r||!t(o,a))&&(r=!1,o=a,i.next(s))}))})}function DV(t,n){return t===n}const u6=new l6(s6),TV=u6;function ll(t,n=u6){return function EV(t){return Ze((n,e)=>{let i=!1,o=null,r=null,s=!1;const a=()=>{if(r?.unsubscribe(),r=null,i){i=!1;const c=o;o=null,e.next(c)}s&&e.complete()},l=()=>{r=null,s&&e.complete()};n.subscribe(Le(e,c=>{i=!0,o=c,r||Vt(t(c)).subscribe(r=Le(e,a,l))},()=>{s=!0,(!i||!r||r.closed)&&e.complete()}))})}(()=>function bv(t=0,n,e=TV){let i=-1;return null!=n&&(Qd(n)?e=n:i=n),new ge(o=>{let r=function kV(t){return t instanceof Date&&!isNaN(t)}(t)?+t-e.now():t;r<0&&(r=0);let s=0;return e.schedule(function(){o.closed||(o.next(s++),0<=i?this.schedule(void 0,i):o.complete())},r)})}(t,n))}class Z1 extends F{constructor(n=1/0,e=1/0,i=a6){super(),this._bufferSize=n,this._windowTime=e,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,e)}next(n){const{isStopped:e,_buffer:i,_infiniteTimeWindow:o,_timestampProvider:r,_windowTime:s}=this;e||(i.push(n),!o&&i.push(r.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:o}=this,r=o.slice();for(let s=0;s{class t{constructor(e){this._platformId=e,this.isBrowser=this._platformId?sm(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&&!d6)&&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 t.\u0275fac=function(e){return new(e||t)(v(er))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),ko=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({}),t})();function wv(t){return function PV(){if(null==cl&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>cl=!0}))}finally{cl=cl||!1}return cl}()?t:!!t.capture}function Sv(){if(null==ur){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return ur=!1,ur;if("scrollBehavior"in document.documentElement.style)ur=!0;else{const t=Element.prototype.scrollTo;ur=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return ur}function ul(){if("object"!=typeof document||!document)return 0;if(null==X1){const t=document.createElement("div"),n=t.style;t.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";const e=document.createElement("div"),i=e.style;i.width="2px",i.height="1px",t.appendChild(e),document.body.appendChild(t),X1=0,0===t.scrollLeft&&(t.scrollLeft=1,X1=0===t.scrollLeft?1:2),t.remove()}return X1}function dr(t){return t.composedPath?t.composedPath()[0]:t.target}function Dv(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}const OV=new P("cdk-dir-doc",{providedIn:"root",factory:function FV(){return pe(_e)}}),VV=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let en=(()=>{class t{constructor(e){this.value="ltr",this.change=new _,e&&(this.value=function NV(t){const n=t?.toLowerCase()||"";return"auto"===n&&typeof navigator<"u"&&navigator?.language?VV.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((e.body?e.body.dir:null)||(e.documentElement?e.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)(v(OV,8))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),An=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({}),t})();class LV{}class RV extends LV{constructor(n){super(),this._data=n}connect(){return Cv(this._data)?this._data:Y(this._data)}disconnect(){}}class BV{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(n,e,i,o,r){n.forEachOperation((s,a,l)=>{let c,u;null==s.previousIndex?(c=this._insertView(()=>i(s,a,l),l,e,o(s)),u=c?1:0):null==l?(this._detachAndCacheView(a,e),u=3):(c=this._moveView(a,l,e,o(s)),u=2),r&&r({context:c?.context,operation:u,record:s})})}detach(){for(const n of this._viewCache)n.destroy();this._viewCache=[]}_insertView(n,e,i,o){const r=this._insertViewFromCache(e,i);if(r)return void(r.context.$implicit=o);const s=n();return i.createEmbeddedView(s.templateRef,s.context,s.index)}_detachAndCacheView(n,e){const i=e.detach(n);this._maybeCacheView(i,e)}_moveView(n,e,i,o){const r=i.get(n);return i.move(r,e),r.context.$implicit=o,r}_maybeCacheView(n,e){if(this._viewCache.length0?r/this._itemSize:0;if(e.end>o){const l=Math.ceil(i/this._itemSize),c=Math.max(0,Math.min(s,o-l));s!=c&&(s=c,r=c*this._itemSize,e.start=Math.floor(s)),e.end=Math.max(0,Math.min(o,e.start+l))}const a=r-e.start*this._itemSize;if(a0&&(e.end=Math.min(o,e.end+c),e.start=Math.max(0,Math.floor(s-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(e),this._viewport.setRenderedContentOffset(this._itemSize*e.start),this._scrolledIndexChange.next(Math.floor(s))}}function $V(t){return t._scrollStrategy}let WV=(()=>{class t{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new UV(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=$1(e)}get minBufferPx(){return this._minBufferPx}set minBufferPx(e){this._minBufferPx=$1(e)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(e){this._maxBufferPx=$1(e)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=w({type:t,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},standalone:!0,features:[ce([{provide:Ev,useFactory:$V,deps:[Ae(()=>t)]}]),$]}),t})(),Q1=(()=>{class t{constructor(e,i,o){this._ngZone=e,this._platform=i,this._scrolled=new F,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}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 ge(i=>{this._globalSubscription||this._addGlobalListener();const o=e>0?this._scrolled.pipe(ll(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Y()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){const o=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(bt(r=>!r||o.indexOf(r)>-1))}getAncestorScrollContainers(e){const i=[];return this.scrollContainers.forEach((o,r)=>{this._scrollableContainsElement(r,e)&&i.push(r)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let o=rl(i),r=e.getElementRef().nativeElement;do{if(o==r)return!0}while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Zn(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(v(N),v(Jt),v(_e,8))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),kv=(()=>{class t{constructor(e,i,o,r){this.elementRef=e,this.scrollDispatcher=i,this.ngZone=o,this.dir=r,this._destroyed=new F,this._elementScrolled=new ge(s=>this.ngZone.runOutsideAngular(()=>Zn(this.elementRef.nativeElement,"scroll").pipe(I(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,o=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=o?e.end:e.start),null==e.right&&(e.right=o?e.start:e.end),null!=e.bottom&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),o&&0!=ul()?(null!=e.left&&(e.right=i.scrollWidth-i.clientWidth-e.left),2==ul()?e.left=e.right:1==ul()&&(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;Sv()?i.scrollTo(e):(null!=e.top&&(i.scrollTop=e.top),null!=e.left&&(i.scrollLeft=e.left))}measureScrollOffset(e){const i="left",o="right",r=this.elementRef.nativeElement;if("top"==e)return r.scrollTop;if("bottom"==e)return r.scrollHeight-r.clientHeight-r.scrollTop;const s=this.dir&&"rtl"==this.dir.value;return"start"==e?e=s?o:i:"end"==e&&(e=s?i:o),s&&2==ul()?e==i?r.scrollWidth-r.clientWidth-r.scrollLeft:r.scrollLeft:s&&1==ul()?e==i?r.scrollLeft+r.scrollWidth-r.clientWidth:-r.scrollLeft:e==i?r.scrollLeft:r.scrollWidth-r.clientWidth-r.scrollLeft}}return t.\u0275fac=function(e){return new(e||t)(f(ne),f(Q1),f(N),f(en,8))},t.\u0275dir=w({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0}),t})(),p6=(()=>{class t{constructor(e,i,o){this._platform=e,this._change=new F,this._changeListener=r=>{this._change.next(r)},this._document=o,i.runOutsideAngular(()=>{if(e.isBrowser){const r=this._getWindow();r.addEventListener("resize",this._changeListener),r.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:o}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+o,right:e.left+i,height:o,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,i=this._getWindow(),o=e.documentElement,r=o.getBoundingClientRect();return{top:-r.top||e.body.scrollTop||i.scrollY||o.scrollTop||0,left:-r.left||e.body.scrollLeft||i.scrollX||o.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(ll(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 t.\u0275fac=function(e){return new(e||t)(v(Jt),v(N),v(_e,8))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const xv=new P("VIRTUAL_SCROLLABLE");let KV=(()=>{class t extends kv{constructor(e,i,o,r){super(e,i,o,r)}measureViewportSize(e){const i=this.elementRef.nativeElement;return"horizontal"===e?i.clientWidth:i.clientHeight}}return t.\u0275fac=function(e){return new(e||t)(f(ne),f(Q1),f(N),f(en,8))},t.\u0275dir=w({type:t,features:[ie]}),t})();const XV=typeof requestAnimationFrame<"u"?yV:SV;let J1=(()=>{class t extends KV{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=cr(e)}constructor(e,i,o,r,s,a,l,c){super(e,a,o,s),this.elementRef=e,this._changeDetectorRef=i,this._scrollStrategy=r,this.scrollable=c,this._platform=pe(Jt),this._detachedSubject=new F,this._renderedRangeSubject=new F,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new ge(u=>this._scrollStrategy.scrolledIndexChange.subscribe(d=>Promise.resolve().then(()=>this.ngZone.run(()=>u.next(d))))),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=lt.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(Rt(null),ll(0,XV)).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(I(this._detachedSubject)).subscribe(i=>{const o=i.length;o!==this._dataLength&&(this._dataLength=o,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 ZV(t,n){return t.start==n.start&&t.end==n.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 r="horizontal"==this.orientation,s=r?"X":"Y";let l=`translate${s}(${Number((r&&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 o={behavior:i};"horizontal"===this.orientation?o.start=e:o.top=e,this.scrollable.scrollTo(o)}scrollToIndex(e,i="auto"){this._scrollStrategy.scrollToIndex(e,i)}measureScrollOffset(e){let i;return i=this.scrollable==this?o=>super.measureScrollOffset(o):o=>this.scrollable.measureScrollOffset(o),Math.max(0,i(e??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(e){let i;const o="left",r="right",s="rtl"==this.dir?.value;i="start"==e?s?r:o:"end"==e?s?o:r: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 t.\u0275fac=function(e){return new(e||t)(f(ne),f(It),f(N),f(Ev,8),f(en,8),f(Q1),f(p6),f(xv,8))},t.\u0275cmp=ze({type:t,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(e,i){if(1&e&&Et(YV,7),2&e){let o;we(o=Se())&&(i._contentWrapper=o.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(e,i){2&e&&et("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:[ce([{provide:kv,useFactory:(n,e)=>n||e,deps:[[new ho,new Xl(xv)],t]}]),ie,J3],ngContentSelectors:jV,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(e,i){1&e&&(si(),R(0,"div",0,1),Un(2),j(),X(3,"div",2)),2&e&&(k(3),$n("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}),t})();function Pv(t,n,e){if(!e.getBoundingClientRect)return 0;const o=e.getBoundingClientRect();return"horizontal"===t?"start"===n?o.left:o.right:"start"===n?o.top:o.bottom}let QV=(()=>{class t{get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(e){this._cdkVirtualForOf=e,function HV(t){return t&&"function"==typeof t.connect&&!(t instanceof tu)}(e)?this._dataSourceChanges.next(e):this._dataSourceChanges.next(new RV(Cv(e)?e:Array.from(e||[])))}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(e){this._needsUpdate=!0,this._cdkVirtualForTrackBy=e?(i,o)=>e(i+(this._renderedRange?this._renderedRange.start:0),o):void 0}set cdkVirtualForTemplate(e){e&&(this._needsUpdate=!0,this._template=e)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(e){this._viewRepeater.viewCacheSize=$1(e)}constructor(e,i,o,r,s,a){this._viewContainerRef=e,this._template=i,this._differs=o,this._viewRepeater=r,this._viewport=s,this.viewChange=new F,this._dataSourceChanges=new F,this.dataStream=this._dataSourceChanges.pipe(Rt(null),function xV(){return Ze((t,n)=>{let e,i=!1;t.subscribe(Le(n,o=>{const r=e;e=o,i&&n.next([r,o]),i=!0}))})}(),Zt(([l,c])=>this._changeDataSource(l,c)),function Mv(t,n,e){let i,o=!1;return t&&"object"==typeof t?({bufferSize:i=1/0,windowTime:n=1/0,refCount:o=!1,scheduler:e}=t):i=t??1/0,J4({connector:()=>new Z1(i,n,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}(1)),this._differ=null,this._needsUpdate=!1,this._destroyed=new F,this.dataStream.subscribe(l=>{this._data=l,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe(I(this._destroyed)).subscribe(l=>{this._renderedRange=l,this.viewChange.observers.length&&a.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}measureRangeSize(e,i){if(e.start>=e.end)return 0;const o=e.start-this._renderedRange.start,r=e.end-e.start;let s,a;for(let l=0;l-1;l--){const c=this._viewContainerRef.get(l+o);if(c&&c.rootNodes.length){a=c.rootNodes[c.rootNodes.length-1];break}}return s&&a?Pv(i,"end",a)-Pv(i,"start",s):0}ngDoCheck(){if(this._differ&&this._needsUpdate){const e=this._differ.diff(this._renderedItems);e?this._applyChanges(e):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((e,i)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(e,i):i)),this._needsUpdate=!0)}_changeDataSource(e,i){return e&&e.disconnect(this),this._needsUpdate=!0,i?i.connect(this):Y()}_updateContext(){const e=this._data.length;let i=this._viewContainerRef.length;for(;i--;){const o=this._viewContainerRef.get(i);o.context.index=this._renderedRange.start+i,o.context.count=e,this._updateComputedContextProperties(o.context),o.detectChanges()}}_applyChanges(e){this._viewRepeater.applyChanges(e,this._viewContainerRef,(r,s,a)=>this._getEmbeddedViewArgs(r,a),r=>r.item),e.forEachIdentityChange(r=>{this._viewContainerRef.get(r.currentIndex).context.$implicit=r.item});const i=this._data.length;let o=this._viewContainerRef.length;for(;o--;){const r=this._viewContainerRef.get(o);r.context.index=this._renderedRange.start+o,r.context.count=i,this._updateComputedContextProperties(r.context)}}_updateComputedContextProperties(e){e.first=0===e.index,e.last=e.index===e.count-1,e.even=e.index%2==0,e.odd=!e.even}_getEmbeddedViewArgs(e,i){return{templateRef:this._template,context:{$implicit:e.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:i}}}return t.\u0275fac=function(e){return new(e||t)(f(Ht),f($e),f(wa),f(Tv),f(J1,4),f(N))},t.\u0275dir=w({type:t,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},standalone:!0,features:[ce([{provide:Tv,useClass:BV}])]}),t})(),Av=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({}),t})(),f6=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[An,Av,J1,An,Av]}),t})();class m6{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;null!=n&&(this._attachedHost=null,n.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class e4 extends m6{constructor(n,e,i,o,r){super(),this.component=n,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=o,this.projectableNodes=r}}class t4 extends m6{constructor(n,e,i,o){super(),this.templateRef=n,this.viewContainerRef=e,this.context=i,this.injector=o}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}}class JV extends m6{constructor(n){super(),this.element=n instanceof ne?n.nativeElement:n}}class g6{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof e4?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof t4?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof JV?(this._attachedPortal=n,this.attachDomPortal(n)):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(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class eN extends g6{constructor(n,e,i,o,r){super(),this.outletElement=n,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=o,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=r}attachComponentPortal(n){const i=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component);let o;return n.viewContainerRef?(o=n.viewContainerRef.createComponent(i,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector,n.projectableNodes||void 0),this.setDisposeFn(()=>o.destroy())):(o=i.create(n.injector||this._defaultInjector||St.NULL),this._appRef.attachView(o.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(o.hostView),o.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(o)),this._attachedPortal=n,o}attachTemplatePortal(n){let e=n.viewContainerRef,i=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return i.rootNodes.forEach(o=>this.outletElement.appendChild(o)),i.detectChanges(),this.setDisposeFn(()=>{let o=e.indexOf(i);-1!==o&&e.remove(o)}),this._attachedPortal=n,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let dl=(()=>{class t extends g6{constructor(e,i,o){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new _,this.attachDomPortal=r=>{const s=r.element,a=this._document.createComment("dom-portal");r.setAttachedHost(this),s.parentNode.insertBefore(a,s),this._getRootNode().appendChild(s),this._attachedPortal=r,super.setDisposeFn(()=>{a.parentNode&&a.parentNode.replaceChild(s,a)})},this._document=o}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);const i=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,r=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),s=i.createComponent(r,i.length,e.injector||i.injector,e.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=e,this._attachedRef=s,this.attached.emit(s),s}attachTemplatePortal(e){e.setAttachedHost(this);const i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return t.\u0275fac=function(e){return new(e||t)(f(Zo),f(Ht),f(_e))},t.\u0275dir=w({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[ie]}),t})(),v6=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({}),t})();function Iv(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}const Ov=Sv();class hN{constructor(n,e){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=zt(-this._previousScrollPosition.left),n.style.top=zt(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const n=this._document.documentElement,i=n.style,o=this._document.body.style,r=i.scrollBehavior||"",s=o.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),Ov&&(i.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Ov&&(i.scrollBehavior=r,o.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 pN{constructor(n,e,i,o){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=i,this._config=o,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Fv{enable(){}disable(){}attach(){}}function y6(t,n){return n.some(e=>t.bottome.bottom||t.righte.right)}function Vv(t,n){return n.some(e=>t.tope.bottom||t.lefte.right)}class fN{constructor(n,e,i,o){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=i,this._config=o,this._scrollSubscription=null}attach(n){this._overlayRef=n}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:o}=this._viewportRuler.getViewportSize();y6(e,[{width:i,height:o,bottom:o,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 mN=(()=>{class t{constructor(e,i,o,r){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=o,this.noop=()=>new Fv,this.close=s=>new pN(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new hN(this._viewportRuler,this._document),this.reposition=s=>new fN(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=r}}return t.\u0275fac=function(e){return new(e||t)(v(Q1),v(p6),v(N),v(_e))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class _6{constructor(n){if(this.scrollStrategy=new Fv,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){const e=Object.keys(n);for(const i of e)void 0!==n[i]&&(this[i]=n[i])}}}class Je{constructor(n,e,i,o,r){this.offsetX=i,this.offsetY=o,this.panelClass=r,this.originX=n.originX,this.originY=n.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}class gN{constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}}let Nv=(()=>{class t{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 t.\u0275fac=function(e){return new(e||t)(v(_e))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),vN=(()=>{class t extends Nv{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=o=>{const r=this._attachedOverlays;for(let s=r.length-1;s>-1;s--)if(r[s]._keydownEvents.observers.length>0){const a=r[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(o)):a.next(o);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 t.\u0275fac=function(e){return new(e||t)(v(_e),v(N,8))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),yN=(()=>{class t extends Nv{constructor(e,i,o){super(e),this._platform=i,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=r=>{this._pointerDownEventTarget=dr(r)},this._clickListener=r=>{const s=dr(r),a="click"===r.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){const u=l[c];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(s)||u.overlayElement.contains(a))break;const d=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>d.next(r)):d.next(r)}}}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 t.\u0275fac=function(e){return new(e||t)(v(_e),v(Jt),v(N,8))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Lv=(()=>{class t{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||Dv()){const o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let r=0;rthis._backdropClick.next(d),this._backdropTransitionendHandler=d=>{this._disposeBackdrop(d.target)},this._keydownEvents=new F,this._outsidePointerEvents=new F,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Ct(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 n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){const n=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,n&&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(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config={...this._config,...n},this._updateElementSize()}setDirection(n){this._config={...this._config,direction:n},this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){const n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const n=this._pane.style;n.width=zt(this._config.width),n.height=zt(this._config.height),n.minWidth=zt(this._config.minWidth),n.minHeight=zt(this._config.minHeight),n.maxWidth=zt(this._config.maxWidth),n.maxHeight=zt(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){const n="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(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const n=this._backdropElement;if(n){if(this._animationsDisabled)return void this._disposeBackdrop(n);n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",this._backdropTransitionendHandler)}),n.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(n)},500))}}_toggleClasses(n,e,i){const o=W1(e||[]).filter(r=>!!r);o.length&&(i?n.classList.add(...o):n.classList.remove(...o))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const n=this._ngZone.onStable.pipe(I(Ro(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()),n.unsubscribe())})})}_disposeScrollStrategy(){const n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",this._backdropTransitionendHandler),n.remove(),this._backdropElement===n&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const Hv="cdk-overlay-connected-position-bounding-box",_N=/([A-Za-z%]+)$/;class CN{get positions(){return this._preferredPositions}constructor(n,e,i,o,r){this._viewportRuler=e,this._document=i,this._platform=o,this._overlayContainer=r,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 F,this._resizeSubscription=lt.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(n)}attach(n){this._validatePositions(),n.hostElement.classList.add(Hv),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.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 n=this._originRect,e=this._overlayRect,i=this._viewportRect,o=this._containerRect,r=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(n,o,a),c=this._getOverlayPoint(l,e,a),u=this._getOverlayFit(c,e,i,a);if(u.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(u,c,i)?r.push({position:a,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleAreal&&(l=u,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&&hr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Hv),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const n=this._lastPosition;if(n){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,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,i){let o,r;if("center"==i.originX)o=n.left+n.width/2;else{const s=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;o="start"==i.originX?s:a}return e.left<0&&(o-=e.left),r="center"==i.originY?n.top+n.height/2:"top"==i.originY?n.top:n.bottom,e.top<0&&(r-=e.top),{x:o,y:r}}_getOverlayPoint(n,e,i){let o,r;return o="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,r="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:n.x+o,y:n.y+r}}_getOverlayFit(n,e,i,o){const r=Bv(e);let{x:s,y:a}=n,l=this._getOffset(o,"x"),c=this._getOffset(o,"y");l&&(s+=l),c&&(a+=c);let h=0-a,p=a+r.height-i.height,m=this._subtractOverflows(r.width,0-s,s+r.width-i.width),g=this._subtractOverflows(r.height,h,p),y=m*g;return{visibleArea:y,isCompletelyWithinViewport:r.width*r.height===y,fitsInViewportVertically:g===r.height,fitsInViewportHorizontally:m==r.width}}_canFitWithFlexibleDimensions(n,e,i){if(this._hasFlexibleDimensions){const o=i.bottom-e.y,r=i.right-e.x,s=Rv(this._overlayRef.getConfig().minHeight),a=Rv(this._overlayRef.getConfig().minWidth);return(n.fitsInViewportVertically||null!=s&&s<=o)&&(n.fitsInViewportHorizontally||null!=a&&a<=r)}return!1}_pushOverlayOnScreen(n,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};const o=Bv(e),r=this._viewportRect,s=Math.max(n.x+o.width-r.width,0),a=Math.max(n.y+o.height-r.height,0),l=Math.max(r.top-i.top-n.y,0),c=Math.max(r.left-i.left-n.x,0);let u=0,d=0;return u=o.width<=r.width?c||-s:n.xm&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-m/2)}if("end"===e.overlayX&&!o||"start"===e.overlayX&&o)h=i.width-n.x+this._viewportMargin,u=n.x-this._viewportMargin;else if("start"===e.overlayX&&!o||"end"===e.overlayX&&o)d=n.x,u=i.right-n.x;else{const p=Math.min(i.right-n.x+i.left,n.x),m=this._lastBoundingBoxSize.width;u=2*p,d=n.x-p,u>m&&!this._isInitialRender&&!this._growAfterOpen&&(d=n.x-m/2)}return{top:s,left:d,bottom:a,right:h,width:u,height:r}}_setBoundingBoxStyles(n,e){const i=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{const r=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;o.height=zt(i.height),o.top=zt(i.top),o.bottom=zt(i.bottom),o.width=zt(i.width),o.left=zt(i.left),o.right=zt(i.right),o.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",o.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",r&&(o.maxHeight=zt(r)),s&&(o.maxWidth=zt(s))}this._lastBoundingBoxSize=i,hr(this._boundingBox.style,o)}_resetBoundingBoxStyles(){hr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){hr(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){const i={},o=this._hasExactPosition(),r=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(o){const u=this._viewportRuler.getViewportScrollPosition();hr(i,this._getExactOverlayY(e,n,u)),hr(i,this._getExactOverlayX(e,n,u))}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&&(o?i.maxHeight=zt(s.maxHeight):r&&(i.maxHeight="")),s.maxWidth&&(o?i.maxWidth=zt(s.maxWidth):r&&(i.maxWidth="")),hr(this._pane.style,i)}_getExactOverlayY(n,e,i){let o={top:"",bottom:""},r=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i)),"bottom"===n.overlayY?o.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":o.top=zt(r.y),o}_getExactOverlayX(n,e,i){let s,o={left:"",right:""},r=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i)),s=this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left","right"===s?o.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":o.left=zt(r.x),o}_getScrollVisibility(){const n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Vv(n,i),isOriginOutsideView:y6(n,i),isOverlayClipped:Vv(e,i),isOverlayOutsideView:y6(e,i)}}_subtractOverflows(n,...e){return e.reduce((i,o)=>i-Math.max(o,0),n)}_getNarrowedViewportRect(){const n=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+n-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return"x"===e?null==n.offsetX?this._offsetX:n.offsetX:null==n.offsetY?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&W1(n).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){const n=this._origin;if(n instanceof ne)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();const e=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+e,height:i,width:e}}}function hr(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function Rv(t){if("number"!=typeof t&&null!=t){const[n,e]=t.split(_N);return e&&"px"!==e?null:parseFloat(n)}return t||null}function Bv(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}const Yv="cdk-global-overlay-wrapper";class bN{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(n){const e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(Yv),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:o,height:r,maxWidth:s,maxHeight:a}=i,l=!("100%"!==o&&"100vw"!==o||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==r&&"100vh"!==r||a&&"100%"!==a&&"100vh"!==a),u=this._xPosition,d=this._xOffset,h="rtl"===this._overlayRef.getConfig().direction;let p="",m="",g="";l?g="flex-start":"center"===u?(g="center",h?m=d:p=d):h?"left"===u||"end"===u?(g="flex-end",p=d):("right"===u||"start"===u)&&(g="flex-start",m=d):"left"===u||"start"===u?(g="flex-start",p=d):("right"===u||"end"===u)&&(g="flex-end",m=d),n.position=this._cssPosition,n.marginLeft=l?"0":p,n.marginTop=c?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":m,e.justifyContent=g,e.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(Yv),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let MN=(()=>{class t{constructor(e,i,o,r){this._viewportRuler=e,this._document=i,this._platform=o,this._overlayContainer=r}global(){return new bN}flexibleConnectedTo(e){return new CN(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\u0275fac=function(e){return new(e||t)(v(p6),v(_e),v(Jt),v(Lv))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),zN=0,r4=(()=>{class t{constructor(e,i,o,r,s,a,l,c,u,d,h,p){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=o,this._positionBuilder=r,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=c,this._directionality=u,this._location=d,this._outsideClickDispatcher=h,this._animationsModuleType=p}create(e){const i=this._createHostElement(),o=this._createPaneElement(i),r=this._createPortalOutlet(o),s=new _6(e);return s.direction=s.direction||this._directionality.value,new o4(r,i,o,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-"+zN++,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(hs)),new eN(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t.\u0275fac=function(e){return new(e||t)(v(mN),v(Lv),v(Zo),v(MN),v(vN),v(St),v(N),v(_e),v(en),v(Nc),v(yN),v(tr,8))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const wN=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],jv=new P("cdk-connected-overlay-scroll-strategy");let Es=(()=>{class t{constructor(e){this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(f(ne))},t.\u0275dir=w({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0}),t})(),s4=(()=>{class t{get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=cr(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=cr(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=cr(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=cr(e)}get push(){return this._push}set push(e){this._push=cr(e)}constructor(e,i,o,r,s){this._overlay=e,this._dir=s,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=lt.EMPTY,this._attachSubscription=lt.EMPTY,this._detachSubscription=lt.EMPTY,this._positionSubscription=lt.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new _,this.positionChange=new _,this.attach=new _,this.detach=new _,this.overlayKeydown=new _,this.overlayOutsideClick=new _,this._templatePortal=new t4(i,o),this._scrollStrategyFactory=r,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=wN);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),27===i.keyCode&&!this.disableClose&&!Iv(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{this.overlayOutsideClick.next(i)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new _6({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(i.width=this.width),(this.height||0===this.height)&&(i.height=this.height),(this.minWidth||0===this.minWidth)&&(i.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){const i=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof Es?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(Bm(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(f(r4),f($e),f(Ht),f(jv),f(en,8))},t.\u0275dir=w({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[$]}),t})();const DN={provide:jv,deps:[r4],useFactory:function SN(t){return()=>t.scrollStrategies.reposition()}};let a4=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({providers:[r4,DN],imports:[An,v6,f6,f6]}),t})();const TN={isTestMode:!1};const ks=(...t)=>function $v(t,...n){TN.isTestMode&&t(...n)}((...n)=>console.warn("[NG-ZORRO]:",...n),...t);function mi(t){return typeof t<"u"&&null!==t}function xN(t){return cr(t)}function oe(){return function b6(t,n){return function e(i,o,r){const s=`$$__zorroPropDecorator__${o}`;return Object.prototype.hasOwnProperty.call(i,s)&&ks(`The prop "${s}" is already exist, it will be overrided by ${t} decorator.`),Object.defineProperty(i,s,{configurable:!0,writable:!0}),{get(){return r&&r.get?r.get.bind(this)():this[s]},set(a){r&&r.set&&r.set.bind(this)(n(a)),this[s]=n(a)}}}}("InputBoolean",xN)}function M6(t){return!!t&&"function"==typeof t.then&&"function"==typeof t.catch}function Gv(t){return"number"==typeof t&&isFinite(t)}function qv(t,n){return Math.round(t*Math.pow(10,n))/Math.pow(10,n)}function Qv(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}typeof window<"u"&&window;const jN="rc-util-key";function Jv({mark:t}={}){return t?t.startsWith("data-")?t:`data-${t}`:jN}function E6(t){return t.attachTo?t.attachTo:document.querySelector("head")||document.body}function ey(t,n={}){if(!Qv())return null;const e=document.createElement("style");n.csp?.nonce&&(e.nonce=n.csp?.nonce),e.innerHTML=t;const i=E6(n),{firstChild:o}=i;return n.prepend&&i.prepend?i.prepend(e):n.prepend&&o?i.insertBefore(e,o):i.appendChild(e),e}const k6=new Map;class ny{}class WN{}const no="*";function Xn(t,n){return{type:7,name:t,definitions:n,options:{}}}function We(t,n=null){return{type:4,styles:n,timings:t}}function iy(t,n=null){return{type:2,steps:t,options:n}}function J(t){return{type:6,styles:t,offset:null}}function Cn(t,n,e){return{type:0,name:t,styles:n,options:e}}function Ke(t,n,e=null){return{type:1,expr:t,animation:n,options:e}}function oy(t,n,e=null){return{type:11,selector:t,animation:n,options:e}}function ry(t,n){return{type:12,timings:t,animation:n}}function sy(t){Promise.resolve().then(t)}class hl{constructor(n=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=n+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){sy(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class ay{constructor(n){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;let e=0,i=0,o=0;const r=this.players.length;0==r?sy(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++e==r&&this._onFinish()}),s.onDestroy(()=>{++i==r&&this._onDestroy()}),s.onStart(()=>{++o==r&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){const e=n*this.totalTime;this.players.forEach(i=>{const o=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(o)})}getPosition(){const n=this.players.reduce((e,i)=>null===e||i.totalTime>e.totalTime?i:e,null);return null!=n?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}const x6="!",ly=["moz","ms","webkit"];function cy(t){if(typeof window>"u")return null;if(window.cancelAnimationFrame)return window.cancelAnimationFrame(t);const n=ly.filter(e=>`${e}CancelAnimationFrame`in window||`${e}CancelRequestAnimationFrame`in window)[0];return n?(window[`${n}CancelAnimationFrame`]||window[`${n}CancelRequestAnimationFrame`]).call(this,t):clearTimeout(t)}const P6=function qN(){if(typeof window>"u")return()=>0;if(window.requestAnimationFrame)return window.requestAnimationFrame.bind(window);const t=ly.filter(n=>`${n}RequestAnimationFrame`in window)[0];return t?window[`${t}RequestAnimationFrame`]:function GN(){let t=0;return function(n){const e=(new Date).getTime(),i=Math.max(0,16-(e-t)),o=setTimeout(()=>{n(e+i)},i);return t=e+i,o}}()}();function A6(t){return bt((n,e)=>t<=e)}let KN=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),ZN=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({providers:[KN]}),t})(),uy=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({}),t})();const dy=new Set;let xs,I6=(()=>{class t{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):JN}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function QN(t){if(!dy.has(t))try{xs||(xs=document.createElement("style"),xs.setAttribute("type","text/css"),document.head.appendChild(xs)),xs.sheet&&(xs.sheet.insertRule(`@media ${t} {body{ }}`,0),dy.add(t))}catch(n){console.error(n)}}(e),this._matchMedia(e)}}return t.\u0275fac=function(e){return new(e||t)(v(Jt))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function JN(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let eL=(()=>{class t{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new F}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return hy(W1(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){let r=yn(hy(W1(e)).map(s=>this._registerQuery(s).observable));return r=a1(r.pipe(Ct(1)),r.pipe(A6(1),function XN(t,n=u6){return Ze((e,i)=>{let o=null,r=null,s=null;const a=()=>{if(o){o.unsubscribe(),o=null;const c=r;r=null,i.next(c)}};function l(){const c=s+t,u=n.now();if(u{r=c,s=n.now(),o||(o=n.schedule(l,t),i.add(o))},()=>{a(),i.complete()},void 0,()=>{r=o=null}))})}(0))),r.pipe(B(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),r={observable:new ge(s=>{const a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(Rt(i),B(({matches:s})=>({query:e,matches:s})),I(this._destroySubject)),mql:i};return this._queries.set(e,r),r}}return t.\u0275fac=function(e){return new(e||t)(v(I6),v(N))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function hy(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}let iL=(()=>{class t{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function rL(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const i=function oL(t){try{return t.frameElement}catch{return null}}(function pL(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}(e));if(i&&(-1===gy(i)||!this.isVisible(i)))return!1;let o=e.nodeName.toLowerCase(),r=gy(e);return e.hasAttribute("contenteditable")?-1!==r:!("iframe"===o||"object"===o||this._platform.WEBKIT&&this._platform.IOS&&!function dL(t){let n=t.nodeName.toLowerCase(),e="input"===n&&t.type;return"text"===e||"password"===e||"select"===n||"textarea"===n}(e))&&("audio"===o?!!e.hasAttribute("controls")&&-1!==r:"video"===o?-1!==r&&(null!==r||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,i){return function hL(t){return!function aL(t){return function cL(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function sL(t){let n=t.nodeName.toLowerCase();return"input"===n||"select"===n||"button"===n||"textarea"===n}(t)||function lL(t){return function uL(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||my(t))}(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}}return t.\u0275fac=function(e){return new(e||t)(v(Jt))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function my(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let n=t.getAttribute("tabindex");return!(!n||isNaN(parseInt(n,10)))}function gy(t){if(!my(t))return null;const n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}class fL{get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}constructor(n,e,i,o,r=!1){this._element=n,this._checker=e,this._ngZone=i,this._document=o,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,r||this.attachAnchors()}destroy(){const n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){const e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return"start"==n?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const i=this._getFirstTabbableElement(e);return i?.focus(n),!!i}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){const e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){const e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;const e=n.children;for(let i=0;i=0;i--){const o=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(o)return o}return null}_createAnchor(){const n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._ngZone.isStable?n():this._ngZone.onStable.pipe(Ct(1)).subscribe(n)}}let vy=(()=>{class t{constructor(e,i,o){this._checker=e,this._ngZone=i,this._document=o}create(e,i=!1){return new fL(e,this._checker,this._ngZone,this._document,i)}}return t.\u0275fac=function(e){return new(e||t)(v(iL),v(N),v(_e))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const vL=new P("cdk-input-modality-detector-options"),yL={ignoreKeys:[18,17,224,91,16]},Ps=wv({passive:!0,capture:!0});let _L=(()=>{class t{get mostRecentModality(){return this._modality.value}constructor(e,i,o,r){this._platform=e,this._mostRecentTarget=null,this._modality=new ue(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(a=>a===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=dr(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<650||(this._modality.next(function mL(t){return 0===t.buttons||0===t.offsetX&&0===t.offsetY}(s)?"keyboard":"mouse"),this._mostRecentTarget=dr(s))},this._onTouchstart=s=>{!function gL(t){const n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!(!n||-1!==n.identifier||null!=n.radiusX&&1!==n.radiusX||null!=n.radiusY&&1!==n.radiusY)}(s)?(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=dr(s)):this._modality.next("keyboard")},this._options={...yL,...r},this.modalityDetected=this._modality.pipe(A6(1)),this.modalityChanged=this.modalityDetected.pipe(Eo()),e.isBrowser&&i.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,Ps),o.addEventListener("mousedown",this._onMousedown,Ps),o.addEventListener("touchstart",this._onTouchstart,Ps)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ps),document.removeEventListener("mousedown",this._onMousedown,Ps),document.removeEventListener("touchstart",this._onTouchstart,Ps))}}return t.\u0275fac=function(e){return new(e||t)(v(Jt),v(N),v(_e),v(vL,8))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const bL=new P("cdk-focus-monitor-default-options"),c4=wv({passive:!0,capture:!0});let _y=(()=>{class t{constructor(e,i,o,r,s){this._ngZone=e,this._platform=i,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new F,this._rootNodeFocusAndBlurListener=a=>{for(let c=dr(a);c;c=c.parentElement)"focus"===a.type?this._onFocus(a,c):this._onBlur(a,c)},this._document=r,this._detectionMode=s?.detectionMode||0}monitor(e,i=!1){const o=rl(e);if(!this._platform.isBrowser||1!==o.nodeType)return Y(null);const r=function IV(t){if(function AV(){if(null==h6){const t=typeof document<"u"?document.head:null;h6=!(!t||!t.createShadowRoot&&!t.attachShadow)}return h6}()){const n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}(o)||this._getDocument(),s=this._elementInfo.get(o);if(s)return i&&(s.checkChildren=!0),s.subject;const a={checkChildren:i,subject:new F,rootNode:r};return this._elementInfo.set(o,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){const i=rl(e),o=this._elementInfo.get(i);o&&(o.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(o))}focusVia(e,i,o){const r=rl(e);r===this._getDocument().activeElement?this._getClosestElementsInfo(r).forEach(([a,l])=>this._originChanged(a,i,l)):(this._setOrigin(i),"function"==typeof r.focus&&r.focus(o))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused","touch"===i),e.classList.toggle("cdk-keyboard-focused","keyboard"===i),e.classList.toggle("cdk-mouse-focused","mouse"===i),e.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&i,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,i){const o=this._elementInfo.get(i),r=dr(e);!o||!o.checkChildren&&i!==r||this._originChanged(i,this._getFocusOrigin(r),o)}_onBlur(e,i){const o=this._elementInfo.get(i);!o||o.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(o,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const i=e.rootNode,o=this._rootNodeFocusListenerCount.get(i)||0;o||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,c4),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,c4)}),this._rootNodeFocusListenerCount.set(i,o+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(I(this._stopInputModalityDetector)).subscribe(r=>{this._setOrigin(r,!0)}))}_removeGlobalListeners(e){const i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const o=this._rootNodeFocusListenerCount.get(i);o>1?this._rootNodeFocusListenerCount.set(i,o-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,c4),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,c4),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,o){this._setClasses(e,i),this._emitOrigin(o,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){const i=[];return this._elementInfo.forEach((o,r)=>{(r===e||o.checkChildren&&r.contains(e))&&i.push([r,o])}),i}_isLastInteractionFromInputLabel(e){const{_mostRecentTarget:i,mostRecentModality:o}=this._inputModalityDetector;if("mouse"!==o||!i||i===e||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||e.disabled)return!1;const r=e.labels;if(r)for(let s=0;s{class t{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=pe(eL).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,o=i&&i.getComputedStyle?i.getComputedStyle(e):null,r=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),r){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(O6,Cy,by),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?e.add(O6,Cy):2===i&&e.add(O6,by)}}}return t.\u0275fac=function(e){return new(e||t)(v(Jt),v(_e))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),zL=(()=>{class t{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return t.\u0275fac=function(e){return new(e||t)(v(ML))},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[ZN]}),t})();function jt(t,n){(function wL(t){return"string"==typeof t&&-1!==t.indexOf(".")&&1===parseFloat(t)})(t)&&(t="100%");var e=function SL(t){return"string"==typeof t&&-1!==t.indexOf("%")}(t);return t=360===n?t:Math.min(n,Math.max(0,parseFloat(t))),e&&(t=parseInt(String(t*n),10)/100),Math.abs(t-n)<1e-6?1:t=360===n?(t<0?t%n+n:t%n)/parseFloat(String(n)):t%n/parseFloat(String(n))}function u4(t){return Math.min(1,Math.max(0,t))}function My(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function d4(t){return t<=1?"".concat(100*Number(t),"%"):t}function pr(t){return 1===t.length?"0"+t:String(t)}function zy(t,n,e){t=jt(t,255),n=jt(n,255),e=jt(e,255);var i=Math.max(t,n,e),o=Math.min(t,n,e),r=0,s=0,a=(i+o)/2;if(i===o)s=0,r=0;else{var l=i-o;switch(s=a>.5?l/(2-i-o):l/(i+o),i){case t:r=(n-e)/l+(n1&&(e-=1),e<1/6?t+6*e*(n-t):e<.5?n:e<2/3?t+(n-t)*(2/3-e)*6:t}function V6(t,n,e){t=jt(t,255),n=jt(n,255),e=jt(e,255);var i=Math.max(t,n,e),o=Math.min(t,n,e),r=0,s=i,a=i-o,l=0===i?0:a/i;if(i===o)r=0;else{switch(i){case t:r=(n-e)/a+(n>16,g:(65280&t)>>8,b:255&t}}(n)),this.originalInput=n;var o=As(n);this.originalInput=n,this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(i=e.format)&&void 0!==i?i:o.format,this.gradientType=e.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=o.ok}return t.prototype.isDark=function(){return this.getBrightness()<128},t.prototype.isLight=function(){return!this.isDark()},t.prototype.getBrightness=function(){var n=this.toRgb();return(299*n.r+587*n.g+114*n.b)/1e3},t.prototype.getLuminance=function(){var n=this.toRgb(),r=n.r/255,s=n.g/255,a=n.b/255;return.2126*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.7152*(s<=.03928?s/12.92:Math.pow((s+.055)/1.055,2.4))+.0722*(a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4))},t.prototype.getAlpha=function(){return this.a},t.prototype.setAlpha=function(n){return this.a=My(n),this.roundA=Math.round(100*this.a)/100,this},t.prototype.isMonochrome=function(){return 0===this.toHsl().s},t.prototype.toHsv=function(){var n=V6(this.r,this.g,this.b);return{h:360*n.h,s:n.s,v:n.v,a:this.a}},t.prototype.toHsvString=function(){var n=V6(this.r,this.g,this.b),e=Math.round(360*n.h),i=Math.round(100*n.s),o=Math.round(100*n.v);return 1===this.a?"hsv(".concat(e,", ").concat(i,"%, ").concat(o,"%)"):"hsva(".concat(e,", ").concat(i,"%, ").concat(o,"%, ").concat(this.roundA,")")},t.prototype.toHsl=function(){var n=zy(this.r,this.g,this.b);return{h:360*n.h,s:n.s,l:n.l,a:this.a}},t.prototype.toHslString=function(){var n=zy(this.r,this.g,this.b),e=Math.round(360*n.h),i=Math.round(100*n.s),o=Math.round(100*n.l);return 1===this.a?"hsl(".concat(e,", ").concat(i,"%, ").concat(o,"%)"):"hsla(".concat(e,", ").concat(i,"%, ").concat(o,"%, ").concat(this.roundA,")")},t.prototype.toHex=function(n){return void 0===n&&(n=!1),N6(this.r,this.g,this.b,n)},t.prototype.toHexString=function(n){return void 0===n&&(n=!1),"#"+this.toHex(n)},t.prototype.toHex8=function(n){return void 0===n&&(n=!1),function kL(t,n,e,i,o){var r=[pr(Math.round(t).toString(16)),pr(Math.round(n).toString(16)),pr(Math.round(e).toString(16)),pr(wy(i))];return o&&r[0].startsWith(r[0].charAt(1))&&r[1].startsWith(r[1].charAt(1))&&r[2].startsWith(r[2].charAt(1))&&r[3].startsWith(r[3].charAt(1))?r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0)+r[3].charAt(0):r.join("")}(this.r,this.g,this.b,this.a,n)},t.prototype.toHex8String=function(n){return void 0===n&&(n=!1),"#"+this.toHex8(n)},t.prototype.toHexShortString=function(n){return void 0===n&&(n=!1),1===this.a?this.toHexString(n):this.toHex8String(n)},t.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},t.prototype.toRgbString=function(){var n=Math.round(this.r),e=Math.round(this.g),i=Math.round(this.b);return 1===this.a?"rgb(".concat(n,", ").concat(e,", ").concat(i,")"):"rgba(".concat(n,", ").concat(e,", ").concat(i,", ").concat(this.roundA,")")},t.prototype.toPercentageRgb=function(){var n=function(e){return"".concat(Math.round(100*jt(e,255)),"%")};return{r:n(this.r),g:n(this.g),b:n(this.b),a:this.a}},t.prototype.toPercentageRgbString=function(){var n=function(e){return Math.round(100*jt(e,255))};return 1===this.a?"rgb(".concat(n(this.r),"%, ").concat(n(this.g),"%, ").concat(n(this.b),"%)"):"rgba(".concat(n(this.r),"%, ").concat(n(this.g),"%, ").concat(n(this.b),"%, ").concat(this.roundA,")")},t.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var n="#"+N6(this.r,this.g,this.b,!1),e=0,i=Object.entries(L6);e=0&&(n.startsWith("hex")||"name"===n)?"name"===n&&0===this.a?this.toName():this.toRgbString():("rgb"===n&&(i=this.toRgbString()),"prgb"===n&&(i=this.toPercentageRgbString()),("hex"===n||"hex6"===n)&&(i=this.toHexString()),"hex3"===n&&(i=this.toHexString(!0)),"hex4"===n&&(i=this.toHex8String(!0)),"hex8"===n&&(i=this.toHex8String()),"name"===n&&(i=this.toName()),"hsl"===n&&(i=this.toHslString()),"hsv"===n&&(i=this.toHsvString()),i||this.toHexString())},t.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},t.prototype.clone=function(){return new t(this.toString())},t.prototype.lighten=function(n){void 0===n&&(n=10);var e=this.toHsl();return e.l+=n/100,e.l=u4(e.l),new t(e)},t.prototype.brighten=function(n){void 0===n&&(n=10);var e=this.toRgb();return e.r=Math.max(0,Math.min(255,e.r-Math.round(-n/100*255))),e.g=Math.max(0,Math.min(255,e.g-Math.round(-n/100*255))),e.b=Math.max(0,Math.min(255,e.b-Math.round(-n/100*255))),new t(e)},t.prototype.darken=function(n){void 0===n&&(n=10);var e=this.toHsl();return e.l-=n/100,e.l=u4(e.l),new t(e)},t.prototype.tint=function(n){return void 0===n&&(n=10),this.mix("white",n)},t.prototype.shade=function(n){return void 0===n&&(n=10),this.mix("black",n)},t.prototype.desaturate=function(n){void 0===n&&(n=10);var e=this.toHsl();return e.s-=n/100,e.s=u4(e.s),new t(e)},t.prototype.saturate=function(n){void 0===n&&(n=10);var e=this.toHsl();return e.s+=n/100,e.s=u4(e.s),new t(e)},t.prototype.greyscale=function(){return this.desaturate(100)},t.prototype.spin=function(n){var e=this.toHsl(),i=(e.h+n)%360;return e.h=i<0?360+i:i,new t(e)},t.prototype.mix=function(n,e){void 0===e&&(e=50);var i=this.toRgb(),o=new t(n).toRgb(),r=e/100;return new t({r:(o.r-i.r)*r+i.r,g:(o.g-i.g)*r+i.g,b:(o.b-i.b)*r+i.b,a:(o.a-i.a)*r+i.a})},t.prototype.analogous=function(n,e){void 0===n&&(n=6),void 0===e&&(e=30);var i=this.toHsl(),o=360/e,r=[this];for(i.h=(i.h-(o*n>>1)+720)%360;--n;)i.h=(i.h+o)%360,r.push(new t(i));return r},t.prototype.complement=function(){var n=this.toHsl();return n.h=(n.h+180)%360,new t(n)},t.prototype.monochromatic=function(n){void 0===n&&(n=6);for(var e=this.toHsv(),i=e.h,o=e.s,r=e.v,s=[],a=1/n;n--;)s.push(new t({h:i,s:o,v:r})),r=(r+a)%1;return s},t.prototype.splitcomplement=function(){var n=this.toHsl(),e=n.h;return[this,new t({h:(e+72)%360,s:n.s,l:n.l}),new t({h:(e+216)%360,s:n.s,l:n.l})]},t.prototype.onBackground=function(n){var e=this.toRgb(),i=new t(n).toRgb(),o=e.a+i.a*(1-e.a);return new t({r:(e.r*e.a+i.r*i.a*(1-e.a))/o,g:(e.g*e.a+i.g*i.a*(1-e.a))/o,b:(e.b*e.a+i.b*i.a*(1-e.a))/o,a:o})},t.prototype.triad=function(){return this.polyad(3)},t.prototype.tetrad=function(){return this.polyad(4)},t.prototype.polyad=function(n){for(var e=this.toHsl(),i=e.h,o=[this],r=360/n,s=1;s=60&&Math.round(t.h)<=240?e?Math.round(t.h)-h4*n:Math.round(t.h)+h4*n:e?Math.round(t.h)+h4*n:Math.round(t.h)-h4*n,i<0?i+=360:i>=360&&(i-=360),i}function Py(t,n,e){if(0===t.h&&0===t.s)return t.s;let i;return i=e?t.s-Dy*n:n===Ey?t.s+Dy:t.s+VL*n,i>1&&(i=1),e&&n===Ty&&i>.1&&(i=.1),i<.06&&(i=.06),Number(i.toFixed(2))}function Ay(t,n,e){let i;return i=e?t.v+NL*n:t.v-LL*n,i>1&&(i=1),Number(i.toFixed(2))}function Iy(t,n={}){const e=[],i=As(t);for(let o=Ty;o>0;o-=1){const r=ky(i),s=p4(As({h:xy(r,o,!0),s:Py(r,o,!0),v:Ay(r,o,!0)}));e.push(s)}e.push(p4(i));for(let o=1;o<=Ey;o+=1){const r=ky(i),s=p4(As({h:xy(r,o),s:Py(r,o),v:Ay(r,o)}));e.push(s)}return"dark"===n.theme?HL.map(({index:o,opacity:r})=>p4(function RL(t,n,e){const i=e/100;return{r:(n.r-t.r)*i+t.r,g:(n.g-t.g)*i+t.g,b:(n.b-t.b)*i+t.b}}(As(n.backgroundColor||"#141414"),As(e[o]),100*r))):e}const BL=new P("nz-config"),YL=`-ant-${Date.now()}-${Math.random()}`;function Oy(t,n){const e=function jL(t,n){const e={},i=(s,a)=>{let l=s.clone();return l=a?.(l)||l,l.toRgbString()},o=(s,a)=>{const l=new Po(s),c=Iy(l.toRgbString());e[`${a}-color`]=i(l),e[`${a}-color-disabled`]=c[1],e[`${a}-color-hover`]=c[4],e[`${a}-color-active`]=c[7],e[`${a}-color-outline`]=l.clone().setAlpha(.2).toRgbString(),e[`${a}-color-deprecated-bg`]=c[1],e[`${a}-color-deprecated-border`]=c[3]};if(n.primaryColor){o(n.primaryColor,"primary");const s=new Po(n.primaryColor),a=Iy(s.toRgbString());a.forEach((c,u)=>{e[`primary-${u+1}`]=c}),e["primary-color-deprecated-l-35"]=i(s,c=>c.lighten(35)),e["primary-color-deprecated-l-20"]=i(s,c=>c.lighten(20)),e["primary-color-deprecated-t-20"]=i(s,c=>c.tint(20)),e["primary-color-deprecated-t-50"]=i(s,c=>c.tint(50)),e["primary-color-deprecated-f-12"]=i(s,c=>c.setAlpha(.12*c.getAlpha()));const l=new Po(a[0]);e["primary-color-active-deprecated-f-30"]=i(l,c=>c.setAlpha(.3*c.getAlpha())),e["primary-color-active-deprecated-d-02"]=i(l,c=>c.darken(2))}return n.successColor&&o(n.successColor,"success"),n.warningColor&&o(n.warningColor,"warning"),n.errorColor&&o(n.errorColor,"error"),n.infoColor&&o(n.infoColor,"info"),`\n :root {\n ${Object.keys(e).map(s=>`--${t}-${s}: ${e[s]};`).join("\n")}\n }\n `.trim()}(t,n);Qv()?function UN(t,n,e={}){const i=E6(e);if(!k6.has(i)){const s=ey("",e),{parentNode:a}=s;k6.set(i,a),a.removeChild(s)}const o=function ty(t,n={}){const e=E6(n);return Array.from(k6.get(e)?.children||[]).find(i=>"STYLE"===i.tagName&&i.getAttribute(Jv(n))===t)}(n,e);if(o)return e.csp?.nonce&&o.nonce!==e.csp?.nonce&&(o.nonce=e.csp?.nonce),o.innerHTML!==t&&(o.innerHTML=t),o;const r=ey(t,e);r?.setAttribute(Jv(e),n)}(e,`${YL}-dynamic-theme`):ks("NzConfigService: SSR do not support dynamic theme with css variables.")}const Fy=function(t){return void 0!==t};let fr=(()=>{class t{constructor(e){this.configUpdated$=new F,this.config=e||{},this.config.theme&&Oy(this.getConfig().prefixCls?.prefixCls||"ant",this.config.theme)}getConfig(){return this.config}getConfigForComponent(e){return this.config[e]}getConfigChangeEventForComponent(e){return this.configUpdated$.pipe(bt(i=>i===e),iu(void 0))}set(e,i){this.config[e]={...this.config[e],...i},"theme"===e&&this.config.theme&&Oy(this.getConfig().prefixCls?.prefixCls||"ant",this.config.theme),this.configUpdated$.next(e)}}return t.\u0275fac=function(e){return new(e||t)(v(BL,8))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function f4(){return function(n,e,i){const o=`$$__zorroConfigDecorator__${e}`;return Object.defineProperty(n,o,{configurable:!0,writable:!0,enumerable:!1}),{get(){const r=i?.get?i.get.bind(this)():this[o],s=(this.propertyAssignCounter?.[e]||0)>1,a=this.nzConfigService.getConfigForComponent(this._nzModuleName)?.[e];return s&&Fy(r)?r:Fy(a)?a:r},set(r){this.propertyAssignCounter=this.propertyAssignCounter||{},this.propertyAssignCounter[e]=(this.propertyAssignCounter[e]||0)+1,i?.set?i.set.bind(this)(r):this[o]=r},configurable:!0,enumerable:!0}}}var Ny={locale:"en",Pagination:{items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"},DatePicker:{lang:{placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"],locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},timePickerLocale:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},TimePicker:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]},Calendar:{lang:{placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"],locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},timePickerLocale:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",selectNone:"Clear all data"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No Data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Image:{preview:"Preview"},CronExpression:{cronError:"Invalid cron expression",second:"second",minute:"minute",hour:"hour",day:"day",month:"month",week:"week",secondError:"

*Any value

,Separator between multiple values

-Connector for interval values

/Equally distributed

0-59Allowable range

",minuteError:"

*Any value

,Separator between multiple values

-Connector for interval values

/Equally distributed

0-59Allowable range

",hourError:"

*Any value

,Separator between multiple values

-Connector for interval values

/Equally distributed

0-23Allowable range

",dayError:"

*Any value

,Separator between multiple values

-Connector for interval values

/Equally distributed

1-31Allowable range

",monthError:"

*Any value

,Separator between multiple values

-Connector for interval values

/Equally distributed

1-12Allowable range

",weekError:"

*Any value

,Separator between multiple values

-Connector for interval values

/Equally distributed

? Not specify

0-7Allowable range (0 represents Sunday, 1-7 are Monday to Sunday)

"}},UL={locale:"zh-cn",Pagination:{items_per_page:"\u6761/\u9875",jump_to:"\u8df3\u81f3",jump_to_confirm:"\u786e\u5b9a",page:"\u9875",prev_page:"\u4e0a\u4e00\u9875",next_page:"\u4e0b\u4e00\u9875",prev_5:"\u5411\u524d 5 \u9875",next_5:"\u5411\u540e 5 \u9875",prev_3:"\u5411\u524d 3 \u9875",next_3:"\u5411\u540e 3 \u9875",page_size:"\u9875\u7801"},DatePicker:{lang:{placeholder:"\u8bf7\u9009\u62e9\u65e5\u671f",yearPlaceholder:"\u8bf7\u9009\u62e9\u5e74\u4efd",quarterPlaceholder:"\u8bf7\u9009\u62e9\u5b63\u5ea6",monthPlaceholder:"\u8bf7\u9009\u62e9\u6708\u4efd",weekPlaceholder:"\u8bf7\u9009\u62e9\u5468",rangePlaceholder:["\u5f00\u59cb\u65e5\u671f","\u7ed3\u675f\u65e5\u671f"],rangeYearPlaceholder:["\u5f00\u59cb\u5e74\u4efd","\u7ed3\u675f\u5e74\u4efd"],rangeMonthPlaceholder:["\u5f00\u59cb\u6708\u4efd","\u7ed3\u675f\u6708\u4efd"],rangeWeekPlaceholder:["\u5f00\u59cb\u5468","\u7ed3\u675f\u5468"],locale:"zh_CN",today:"\u4eca\u5929",now:"\u6b64\u523b",backToToday:"\u8fd4\u56de\u4eca\u5929",ok:"\u786e\u5b9a",timeSelect:"\u9009\u62e9\u65f6\u95f4",dateSelect:"\u9009\u62e9\u65e5\u671f",weekSelect:"\u9009\u62e9\u5468",clear:"\u6e05\u9664",month:"\u6708",year:"\u5e74",previousMonth:"\u4e0a\u4e2a\u6708 (\u7ffb\u9875\u4e0a\u952e)",nextMonth:"\u4e0b\u4e2a\u6708 (\u7ffb\u9875\u4e0b\u952e)",monthSelect:"\u9009\u62e9\u6708\u4efd",yearSelect:"\u9009\u62e9\u5e74\u4efd",decadeSelect:"\u9009\u62e9\u5e74\u4ee3",yearFormat:"YYYY\u5e74",dayFormat:"D\u65e5",dateFormat:"YYYY\u5e74M\u6708D\u65e5",dateTimeFormat:"YYYY\u5e74M\u6708D\u65e5 HH\u65f6mm\u5206ss\u79d2",previousYear:"\u4e0a\u4e00\u5e74 (Control\u952e\u52a0\u5de6\u65b9\u5411\u952e)",nextYear:"\u4e0b\u4e00\u5e74 (Control\u952e\u52a0\u53f3\u65b9\u5411\u952e)",previousDecade:"\u4e0a\u4e00\u5e74\u4ee3",nextDecade:"\u4e0b\u4e00\u5e74\u4ee3",previousCentury:"\u4e0a\u4e00\u4e16\u7eaa",nextCentury:"\u4e0b\u4e00\u4e16\u7eaa"},timePickerLocale:{placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",rangePlaceholder:["\u5f00\u59cb\u65f6\u95f4","\u7ed3\u675f\u65f6\u95f4"]}},TimePicker:{placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",rangePlaceholder:["\u5f00\u59cb\u65f6\u95f4","\u7ed3\u675f\u65f6\u95f4"]},Calendar:{lang:{placeholder:"\u8bf7\u9009\u62e9\u65e5\u671f",yearPlaceholder:"\u8bf7\u9009\u62e9\u5e74\u4efd",quarterPlaceholder:"\u8bf7\u9009\u62e9\u5b63\u5ea6",monthPlaceholder:"\u8bf7\u9009\u62e9\u6708\u4efd",weekPlaceholder:"\u8bf7\u9009\u62e9\u5468",rangePlaceholder:["\u5f00\u59cb\u65e5\u671f","\u7ed3\u675f\u65e5\u671f"],rangeYearPlaceholder:["\u5f00\u59cb\u5e74\u4efd","\u7ed3\u675f\u5e74\u4efd"],rangeMonthPlaceholder:["\u5f00\u59cb\u6708\u4efd","\u7ed3\u675f\u6708\u4efd"],rangeWeekPlaceholder:["\u5f00\u59cb\u5468","\u7ed3\u675f\u5468"],locale:"zh_CN",today:"\u4eca\u5929",now:"\u6b64\u523b",backToToday:"\u8fd4\u56de\u4eca\u5929",ok:"\u786e\u5b9a",timeSelect:"\u9009\u62e9\u65f6\u95f4",dateSelect:"\u9009\u62e9\u65e5\u671f",weekSelect:"\u9009\u62e9\u5468",clear:"\u6e05\u9664",month:"\u6708",year:"\u5e74",previousMonth:"\u4e0a\u4e2a\u6708 (\u7ffb\u9875\u4e0a\u952e)",nextMonth:"\u4e0b\u4e2a\u6708 (\u7ffb\u9875\u4e0b\u952e)",monthSelect:"\u9009\u62e9\u6708\u4efd",yearSelect:"\u9009\u62e9\u5e74\u4efd",decadeSelect:"\u9009\u62e9\u5e74\u4ee3",yearFormat:"YYYY\u5e74",dayFormat:"D\u65e5",dateFormat:"YYYY\u5e74M\u6708D\u65e5",dateTimeFormat:"YYYY\u5e74M\u6708D\u65e5 HH\u65f6mm\u5206ss\u79d2",previousYear:"\u4e0a\u4e00\u5e74 (Control\u952e\u52a0\u5de6\u65b9\u5411\u952e)",nextYear:"\u4e0b\u4e00\u5e74 (Control\u952e\u52a0\u53f3\u65b9\u5411\u952e)",previousDecade:"\u4e0a\u4e00\u5e74\u4ee3",nextDecade:"\u4e0b\u4e00\u5e74\u4ee3",previousCentury:"\u4e0a\u4e00\u4e16\u7eaa",nextCentury:"\u4e0b\u4e00\u4e16\u7eaa"},timePickerLocale:{placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",rangePlaceholder:["\u5f00\u59cb\u65f6\u95f4","\u7ed3\u675f\u65f6\u95f4"]}},global:{placeholder:"\u8bf7\u9009\u62e9"},Table:{filterTitle:"\u7b5b\u9009",filterConfirm:"\u786e\u5b9a",filterReset:"\u91cd\u7f6e",filterEmptyText:"\u65e0\u7b5b\u9009\u9879",selectAll:"\u5168\u9009\u5f53\u9875",selectInvert:"\u53cd\u9009\u5f53\u9875",selectionAll:"\u5168\u9009\u6240\u6709",sortTitle:"\u6392\u5e8f",expand:"\u5c55\u5f00\u884c",collapse:"\u5173\u95ed\u884c",triggerDesc:"\u70b9\u51fb\u964d\u5e8f",triggerAsc:"\u70b9\u51fb\u5347\u5e8f",cancelSort:"\u53d6\u6d88\u6392\u5e8f",filterCheckall:"\u5168\u9009",filterSearchPlaceholder:"\u5728\u7b5b\u9009\u9879\u4e2d\u641c\u7d22",selectNone:"\u6e05\u7a7a\u6240\u6709"},Modal:{okText:"\u786e\u5b9a",cancelText:"\u53d6\u6d88",justOkText:"\u77e5\u9053\u4e86"},Popconfirm:{cancelText:"\u53d6\u6d88",okText:"\u786e\u5b9a"},Transfer:{searchPlaceholder:"\u8bf7\u8f93\u5165\u641c\u7d22\u5185\u5bb9",itemUnit:"\u9879",itemsUnit:"\u9879",remove:"\u5220\u9664",selectCurrent:"\u5168\u9009\u5f53\u9875",removeCurrent:"\u5220\u9664\u5f53\u9875",selectAll:"\u5168\u9009\u6240\u6709",removeAll:"\u5220\u9664\u5168\u90e8",selectInvert:"\u53cd\u9009\u5f53\u9875"},Upload:{uploading:"\u6587\u4ef6\u4e0a\u4f20\u4e2d",removeFile:"\u5220\u9664\u6587\u4ef6",uploadError:"\u4e0a\u4f20\u9519\u8bef",previewFile:"\u9884\u89c8\u6587\u4ef6",downloadFile:"\u4e0b\u8f7d\u6587\u4ef6"},Empty:{description:"\u6682\u65e0\u6570\u636e"},Icon:{icon:"\u56fe\u6807"},Text:{edit:"\u7f16\u8f91",copy:"\u590d\u5236",copied:"\u590d\u5236\u6210\u529f",expand:"\u5c55\u5f00"},PageHeader:{back:"\u8fd4\u56de"},Image:{preview:"\u9884\u89c8"},CronExpression:{cronError:"cron \u8868\u8fbe\u5f0f\u4e0d\u5408\u6cd5",second:"\u79d2",minute:"\u5206\u949f",hour:"\u5c0f\u65f6",day:"\u65e5",month:"\u6708",week:"\u5468",secondError:"

*\u4efb\u610f\u503c

,\u591a\u4e2a\u503c\u4e4b\u95f4\u7684\u5206\u9694\u7b26

-\u533a\u95f4\u503c\u7684\u8fde\u63a5\u7b26

/\u5e73\u5747\u5206\u914d

0-59\u5141\u8bb8\u8303\u56f4

",minuteError:"

*\u4efb\u610f\u503c

,\u591a\u4e2a\u503c\u4e4b\u95f4\u7684\u5206\u9694\u7b26

-\u533a\u95f4\u503c\u7684\u8fde\u63a5\u7b26

/\u5e73\u5747\u5206\u914d

0-59\u5141\u8bb8\u8303\u56f4

",hourError:"

* \u4efb\u610f\u503c

, \u591a\u4e2a\u503c\u4e4b\u95f4\u7684\u5206\u9694\u7b26

- \u533a\u95f4\u503c\u7684\u8fde\u63a5\u7b26

/ \u5e73\u5747\u5206\u914d

0-23 \u5141\u8bb8\u8303\u56f4

",dayError:"

* \u4efb\u610f\u503c

, \u591a\u4e2a\u503c\u4e4b\u95f4\u7684\u5206\u9694\u7b26

- \u533a\u95f4\u503c\u7684\u8fde\u63a5\u7b26

/ \u5e73\u5747\u5206\u914d

1-31 \u5141\u8bb8\u8303\u56f4

",monthError:"

* \u4efb\u610f\u503c

, \u591a\u4e2a\u503c\u4e4b\u95f4\u7684\u5206\u9694\u7b26

- \u533a\u95f4\u503c\u7684\u8fde\u63a5\u7b26

/ \u5e73\u5747\u5206\u914d

1-12 \u5141\u8bb8\u8303\u56f4

",weekError:"

* \u4efb\u610f\u503c

, \u591a\u4e2a\u503c\u4e4b\u95f4\u7684\u5206\u9694\u7b26

- \u533a\u95f4\u503c\u7684\u8fde\u63a5\u7b26

/ \u5e73\u5747\u5206\u914d

? \u4e0d\u6307\u5b9a

0-7 \u5141\u8bb8\u8303\u56f4\uff080\u4ee3\u8868\u5468\u65e5\uff0c1-7\u4f9d\u6b21\u4e3a\u5468\u4e00\u5230\u5468\u65e5\uff09

"}};const Ly=new P("nz-i18n"),$L=new P("nz-date-locale");let m4=(()=>{class t{constructor(e,i){this._change=new ue(this._locale),this.setLocale(e||UL),this.setDateLocale(i||null)}get localeChange(){return this._change.asObservable()}translate(e,i){let o=this._getObjectPath(this._locale,e);return"string"==typeof o?(i&&Object.keys(i).forEach(r=>o=o.replace(new RegExp(`%${r}%`,"g"),i[r])),o):e}setLocale(e){this._locale&&this._locale.locale===e.locale||(this._locale=e,this._change.next(e))}getLocale(){return this._locale}getLocaleId(){return this._locale?this._locale.locale:""}setDateLocale(e){this.dateLocale=e}getDateLocale(){return this.dateLocale}getLocaleData(e,i){const o=e?this._getObjectPath(this._locale,e):this._locale;return!o&&!i&&ks(`Missing translations for "${e}" in language "${this._locale.locale}".\nYou can use "NzI18nService.setLocale" as a temporary fix.\nWelcome to submit a pull request to help us optimize the translations!\nhttps://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md`),o||i||this._getObjectPath(Ny,e)||{}}_getObjectPath(e,i){let o=e;const r=i.split("."),s=r.length;let a=0;for(;o&&a{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({}),t})();new P("date-config");let Oi=(()=>{class t{constructor(e,i){this.viewContainer=e,this.templateRef=i,this.embeddedViewRef=null,this.context=new KL,this.nzStringTemplateOutletContext=null,this.nzStringTemplateOutlet=null}static ngTemplateContextGuard(e,i){return!0}recreateView(){this.viewContainer.clear();const e=this.nzStringTemplateOutlet instanceof $e;this.embeddedViewRef=this.viewContainer.createEmbeddedView(e?this.nzStringTemplateOutlet:this.templateRef,e?this.nzStringTemplateOutletContext:this.context)}updateContext(){const i=this.nzStringTemplateOutlet instanceof $e?this.nzStringTemplateOutletContext:this.context,o=this.embeddedViewRef.context;if(i)for(const r of Object.keys(i))o[r]=i[r]}ngOnChanges(e){const{nzStringTemplateOutletContext:i,nzStringTemplateOutlet:o}=e;o&&(this.context.$implicit=o.currentValue),(()=>{let a=!1;return o&&(a=!!o.firstChange||(o.previousValue instanceof $e||o.currentValue instanceof $e)),i&&(u=>{const d=Object.keys(u.previousValue||{}),h=Object.keys(u.currentValue||{});if(d.length===h.length){for(const p of h)if(-1===d.indexOf(p))return!0;return!1}return!0})(i)||a})()?this.recreateView():this.updateContext()}}return t.\u0275fac=function(e){return new(e||t)(f(Ht),f($e))},t.\u0275dir=w({type:t,selectors:[["","nzStringTemplateOutlet",""]],inputs:{nzStringTemplateOutletContext:"nzStringTemplateOutletContext",nzStringTemplateOutlet:"nzStringTemplateOutlet"},exportAs:["nzStringTemplateOutlet"],features:[$]}),t})();class KL{}let Is=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[dn]}),t})();var g4=2,Hy=.16,ZL=.05,XL=.05,QL=.15,Ry=5,By=4,JL=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function Yy(t,n,e){var i;return(i=Math.round(t.h)>=60&&Math.round(t.h)<=240?e?Math.round(t.h)-g4*n:Math.round(t.h)+g4*n:e?Math.round(t.h)+g4*n:Math.round(t.h)-g4*n)<0?i+=360:i>=360&&(i-=360),i}function jy(t,n,e){return 0===t.h&&0===t.s?t.s:((i=e?t.s-Hy*n:n===By?t.s+Hy:t.s+ZL*n)>1&&(i=1),e&&n===Ry&&i>.1&&(i=.1),i<.06&&(i=.06),Number(i.toFixed(2)));var i}function Uy(t,n,e){var i;return(i=e?t.v+XL*n:t.v-QL*n)>1&&(i=1),Number(i.toFixed(2))}function Y6(t){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=[],i=new Po(t),o=Ry;o>0;o-=1){var r=i.toHsv(),s=new Po({h:Yy(r,o,!0),s:jy(r,o,!0),v:Uy(r,o,!0)}).toHexString();e.push(s)}e.push(i.toHexString());for(var a=1;a<=By;a+=1){var l=i.toHsv(),c=new Po({h:Yy(l,a),s:jy(l,a),v:Uy(l,a)}).toHexString();e.push(c)}return"dark"===n.theme?JL.map(function(u){var d=u.index,h=u.opacity;return new Po(n.backgroundColor||"#141414").mix(e[d],100*h).toHexString()}):e}var j6={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},tn={},U6={};Object.keys(j6).forEach(function(t){tn[t]=Y6(j6[t]),tn[t].primary=tn[t][5],U6[t]=Y6(j6[t],{theme:"dark",backgroundColor:"#141414"}),U6[t].primary=U6[t][5]});const oo="[@ant-design/icons-angular]:";function Wy(t){return Y6(t)[0]}function v4(t,n){switch(n){case"fill":return`${t}-fill`;case"outline":return`${t}-o`;case"twotone":return`${t}-twotone`;case void 0:return t;default:throw new Error(`${oo}Theme "${n}" is not a recognized theme!`)}}function Gy(t){return"object"==typeof t&&"string"==typeof t.name&&("string"==typeof t.theme||void 0===t.theme)&&"string"==typeof t.icon}function y4(t){const n=t.split(":");switch(n.length){case 1:return[t,""];case 2:return[n[1],n[0]];default:throw new Error(`${oo}The icon type ${t} is not valid!`)}}function qy(t){return new Error(`${oo}the icon ${t} does not exist or is not registered.`)}function dH(){return new Error(`${oo} tag not found.`)}const fH=new P("ant_icons");let Ky=(()=>{class t{constructor(e,i,o,r,s){this._rendererFactory=e,this._handler=i,this._document=o,this.sanitizer=r,this._antIcons=s,this.defaultTheme="outline",this._svgDefinitions=new Map,this._svgRenderedDefinitions=new Map,this._inProgressFetches=new Map,this._assetsUrlRoot="",this._twoToneColorPalette={primaryColor:"#333333",secondaryColor:"#E6E6E6"},this._enableJsonpLoading=!1,this._jsonpIconLoad$=new F,this._renderer=this._rendererFactory.createRenderer(null,null),this._handler&&(this._http=new Ou(this._handler)),this._antIcons&&this.addIcon(...this._antIcons)}set twoToneColor({primaryColor:e,secondaryColor:i}){this._twoToneColorPalette.primaryColor=e,this._twoToneColorPalette.secondaryColor=i||Wy(e)}get twoToneColor(){return{...this._twoToneColorPalette}}get _disableDynamicLoading(){return!1}useJsonpLoading(){this._enableJsonpLoading||(this._enableJsonpLoading=!0,window.__ant_icon_load=e=>{this._jsonpIconLoad$.next(e)})}changeAssetsSource(e){this._assetsUrlRoot=e.endsWith("/")?e:e+"/"}addIcon(...e){e.forEach(i=>{this._svgDefinitions.set(v4(i.name,i.theme),i)})}addIconLiteral(e,i){const[o,r]=y4(e);if(!r)throw function lH(){return new Error(`${oo}Type should have a namespace. Try "namespace:${name}".`)}();this.addIcon({name:e,icon:i})}clear(){this._svgDefinitions.clear(),this._svgRenderedDefinitions.clear()}getRenderedContent(e,i){const o=Gy(e)?e:this._svgDefinitions.get(e)||null;if(!o&&this._disableDynamicLoading)throw qy(e);return(o?Y(o):this._loadIconDynamically(e)).pipe(B(s=>{if(!s)throw qy(e);return this._loadSVGFromCacheOrCreateNew(s,i)}))}getCachedIcons(){return this._svgDefinitions}_loadIconDynamically(e){if(!this._http&&!this._enableJsonpLoading)return Y(function cH(){return function eH(t){console.error(`${oo} ${t}.`)}('you need to import "HttpClientModule" to use dynamic importing.'),null}());let i=this._inProgressFetches.get(e);if(!i){const[o,r]=y4(e),s=r?{name:e,icon:""}:function oH(t){const n=t.split("-"),e=function nH(t){return"o"===t?"outline":t}(n.splice(n.length-1,1)[0]);return{name:n.join("-"),theme:e,icon:""}}(o),l=(r?`${this._assetsUrlRoot}assets/${r}/${o}`:`${this._assetsUrlRoot}assets/${s.theme}/${s.name}`)+(this._enableJsonpLoading?".js":".svg"),c=this.sanitizer.sanitize(Ue.URL,l);if(!c)throw function uH(t){return new Error(`${oo}The url "${t}" is unsafe.`)}(l);i=(this._enableJsonpLoading?this._loadIconDynamicallyWithJsonp(s,c):this._http.get(c,{responseType:"text"}).pipe(B(d=>({...s,icon:d})))).pipe(Bt(d=>this.addIcon(d)),Oa(()=>this._inProgressFetches.delete(e)),eo(()=>Y(null)),J4()),this._inProgressFetches.set(e,i)}return i}_loadIconDynamicallyWithJsonp(e,i){return new ge(o=>{const r=this._document.createElement("script"),s=setTimeout(()=>{a(),o.error(function hH(){return new Error(`${oo}Importing timeout error.`)}())},6e3);function a(){r.parentNode.removeChild(r),clearTimeout(s)}r.src=i,this._document.body.appendChild(r),this._jsonpIconLoad$.pipe(bt(l=>l.name===e.name&&l.theme===e.theme),Ct(1)).subscribe(l=>{o.next(l),a()})})}_loadSVGFromCacheOrCreateNew(e,i){let o;const r=i||this._twoToneColorPalette.primaryColor,s=Wy(r)||this._twoToneColorPalette.secondaryColor,a="twotone"===e.theme?function tH(t,n,e,i){return`${v4(t,n)}-${e}-${i}`}(e.name,e.theme,r,s):void 0===e.theme?e.name:v4(e.name,e.theme),l=this._svgRenderedDefinitions.get(a);return l?o=l.icon:(o=this._setSVGAttribute(this._colorizeSVGIcon(this._createSVGElementFromString(function aH(t){return""!==y4(t)[1]}(e.name)?e.icon:function sH(t){return t.replace(/['"]#333['"]/g,'"primaryColor"').replace(/['"]#E6E6E6['"]/g,'"secondaryColor"').replace(/['"]#D9D9D9['"]/g,'"secondaryColor"').replace(/['"]#D8D8D8['"]/g,'"secondaryColor"')}(e.icon)),"twotone"===e.theme,r,s)),this._svgRenderedDefinitions.set(a,{...e,icon:o})),function rH(t){return t.cloneNode(!0)}(o)}_createSVGElementFromString(e){const i=this._document.createElement("div");i.innerHTML=e;const o=i.querySelector("svg");if(!o)throw dH;return o}_setSVGAttribute(e){return this._renderer.setAttribute(e,"width","1em"),this._renderer.setAttribute(e,"height","1em"),e}_colorizeSVGIcon(e,i,o,r){if(i){const s=e.childNodes,a=s.length;for(let l=0;l{class t{constructor(e,i,o){this._iconService=e,this._elementRef=i,this._renderer=o}ngOnChanges(e){(e.type||e.theme||e.twoToneColor)&&this._changeIcon()}_changeIcon(){return new Promise(e=>{if(!this.type)return this._clearSVGElement(),void e(null);const i=this._getSelfRenderMeta();this._iconService.getRenderedContent(this._parseIconType(this.type,this.theme),this.twoToneColor).subscribe(o=>{const r=this._getSelfRenderMeta();!function mH(t,n){return t.type===n.type&&t.theme===n.theme&&t.twoToneColor===n.twoToneColor}(i,r)?e(null):(this._setSVGElement(o),e(o))})})}_getSelfRenderMeta(){return{type:this.type,theme:this.theme,twoToneColor:this.twoToneColor}}_parseIconType(e,i){if(Gy(e))return e;{const[o,r]=y4(e);return r?e:function iH(t){return t.endsWith("-fill")||t.endsWith("-o")||t.endsWith("-twotone")}(o)?o:v4(o,i||this._iconService.defaultTheme)}}_setSVGElement(e){this._clearSVGElement(),this._renderer.appendChild(this._elementRef.nativeElement,e)}_clearSVGElement(){const e=this._elementRef.nativeElement,i=e.childNodes;for(let r=i.length-1;r>=0;r--){const s=i[r];"svg"===s.tagName?.toLowerCase()&&this._renderer.removeChild(e,s)}}}return t.\u0275fac=function(e){return new(e||t)(f(Ky),f(ne),f(dt))},t.\u0275dir=w({type:t,selectors:[["","antIcon",""]],inputs:{type:"type",theme:"theme",twoToneColor:"twoToneColor"},features:[$]}),t})();const Zy={name:"star",theme:"fill",icon:''},oR=[{name:"bars",theme:"outline",icon:''},{name:"calendar",theme:"outline",icon:''},{name:"caret-up",theme:"fill",icon:''},{name:"caret-up",theme:"outline",icon:''},{name:"caret-down",theme:"fill",icon:''},{name:"caret-down",theme:"outline",icon:''},{name:"check-circle",theme:"fill",icon:''},{name:"check-circle",theme:"outline",icon:''},{name:"check",theme:"outline",icon:''},{name:"clock-circle",theme:"outline",icon:''},{name:"close-circle",theme:"outline",icon:''},{name:"close-circle",theme:"fill",icon:''},{name:"close",theme:"outline",icon:''},{name:"copy",theme:"outline",icon:''},{name:"delete",theme:"outline",icon:''},{name:"double-left",theme:"outline",icon:''},{name:"double-right",theme:"outline",icon:''},{name:"down",theme:"outline",icon:''},{name:"edit",theme:"outline",icon:''},{name:"ellipsis",theme:"outline",icon:''},{name:"exclamation-circle",theme:"fill",icon:''},{name:"exclamation-circle",theme:"outline",icon:''},{name:"eye",theme:"outline",icon:''},{name:"file",theme:"fill",icon:''},{name:"file",theme:"outline",icon:''},{name:"filter",theme:"fill",icon:''},{name:"info-circle",theme:"fill",icon:''},{name:"info-circle",theme:"outline",icon:''},{name:"left",theme:"outline",icon:''},{name:"loading",theme:"outline",icon:''},{name:"paper-clip",theme:"outline",icon:''},{name:"question-circle",theme:"outline",icon:''},{name:"right",theme:"outline",icon:''},{name:"rotate-right",theme:"outline",icon:''},{name:"rotate-left",theme:"outline",icon:''},Zy,{name:"search",theme:"outline",icon:''},Zy,{name:"upload",theme:"outline",icon:''},{name:"vertical-align-top",theme:"outline",icon:''},{name:"up",theme:"outline",icon:''},{name:"swap-right",theme:"outline",icon:''},{name:"zoom-in",theme:"outline",icon:''},{name:"zoom-out",theme:"outline",icon:''}],Xy=new P("nz_icons"),Qy=(new P("nz_icon_default_twotone_color"),"#1890ff");let Jy=(()=>{class t extends Ky{constructor(e,i,o,r,s,a,l){super(e,s,a,i,[...oR,...l||[]]),this.nzConfigService=o,this.platform=r,this.configUpdated$=new F,this.iconfontCache=new Set,this.subscription=null,this.onConfigChange(),this.configDefaultTwotoneColor(),this.configDefaultTheme()}get _disableDynamicLoading(){return!this.platform.isBrowser}ngOnDestroy(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)}normalizeSvgElement(e){e.getAttribute("viewBox")||this._renderer.setAttribute(e,"viewBox","0 0 1024 1024"),(!e.getAttribute("width")||!e.getAttribute("height"))&&(this._renderer.setAttribute(e,"width","1em"),this._renderer.setAttribute(e,"height","1em")),e.getAttribute("fill")||this._renderer.setAttribute(e,"fill","currentColor")}fetchFromIconfont(e){const{scriptUrl:i}=e;if(this._document&&!this.iconfontCache.has(i)){const o=this._renderer.createElement("script");this._renderer.setAttribute(o,"src",i),this._renderer.setAttribute(o,"data-namespace",i.replace(/^(https?|http):/g,"")),this._renderer.appendChild(this._document.body,o),this.iconfontCache.add(i)}}createIconfontIcon(e){return this._createSVGElementFromString(``)}onConfigChange(){this.subscription=this.nzConfigService.getConfigChangeEventForComponent("icon").subscribe(()=>{this.configDefaultTwotoneColor(),this.configDefaultTheme(),this.configUpdated$.next()})}configDefaultTheme(){const e=this.getConfig();this.defaultTheme=e.nzTheme||"outline"}configDefaultTwotoneColor(){const i=this.getConfig().nzTwotoneColor||Qy;let o=Qy;i&&(i.startsWith("#")?o=i:ks("Twotone color must be a hex color!")),this.twoToneColor={primaryColor:o}}getConfig(){return this.nzConfigService.getConfigForComponent("icon")||{}}}return t.\u0275fac=function(e){return new(e||t)(v(po),v(o1),v(fr),v(Jt),v(Xa,8),v(_e,8),v(Xy,8))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const e_=new P("nz_icons_patch");let t_=(()=>{class t{constructor(e,i){this.extraIcons=e,this.rootIconService=i,this.patched=!1}doPatch(){this.patched||(this.extraIcons.forEach(e=>this.rootIconService.addIcon(e)),this.patched=!0)}}return t.\u0275fac=function(e){return new(e||t)(v(e_,2),v(Jy))},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})(),Fi=(()=>{class t extends gH{constructor(e,i,o,r,s,a){super(r,o,s),this.ngZone=e,this.changeDetectorRef=i,this.iconService=r,this.renderer=s,this.cacheClassName=null,this.nzRotate=0,this.spin=!1,this.destroy$=new F,a&&a.doPatch(),this.el=o.nativeElement}set nzSpin(e){this.spin=e}set nzType(e){this.type=e}set nzTheme(e){this.theme=e}set nzTwotoneColor(e){this.twoToneColor=e}set nzIconfont(e){this.iconfont=e}ngOnChanges(e){const{nzType:i,nzTwotoneColor:o,nzSpin:r,nzTheme:s,nzRotate:a}=e;i||o||r||s?this.changeIcon2():a?this.handleRotate(this.el.firstChild):this._setSVGElement(this.iconService.createIconfontIcon(`#${this.iconfont}`))}ngOnInit(){this.renderer.setAttribute(this.el,"class",`anticon ${this.el.className}`.trim())}ngAfterContentChecked(){if(!this.type){const e=this.el.children;let i=e.length;if(!this.type&&e.length)for(;i--;){const o=e[i];"svg"===o.tagName.toLowerCase()&&this.iconService.normalizeSvgElement(o)}}}ngOnDestroy(){this.destroy$.next()}changeIcon2(){this.setClassName(),this.ngZone.runOutsideAngular(()=>{rt(this._changeIcon()).pipe(I(this.destroy$)).subscribe({next:e=>{this.ngZone.run(()=>{this.changeDetectorRef.detectChanges(),e&&(this.setSVGData(e),this.handleSpin(e),this.handleRotate(e))})},error:ks})})}handleSpin(e){this.spin||"loading"===this.type?this.renderer.addClass(e,"anticon-spin"):this.renderer.removeClass(e,"anticon-spin")}handleRotate(e){this.nzRotate?this.renderer.setAttribute(e,"style",`transform: rotate(${this.nzRotate}deg)`):this.renderer.removeAttribute(e,"style")}setClassName(){this.cacheClassName&&this.renderer.removeClass(this.el,this.cacheClassName),this.cacheClassName=`anticon-${this.type}`,this.renderer.addClass(this.el,this.cacheClassName)}setSVGData(e){this.renderer.setAttribute(e,"data-icon",this.type),this.renderer.setAttribute(e,"aria-hidden","true")}}return t.\u0275fac=function(e){return new(e||t)(f(N),f(It),f(ne),f(Jy),f(dt),f(t_,8))},t.\u0275dir=w({type:t,selectors:[["","nz-icon",""]],hostVars:2,hostBindings:function(e,i){2&e&&et("anticon",!0)},inputs:{nzSpin:"nzSpin",nzRotate:"nzRotate",nzType:"nzType",nzTheme:"nzTheme",nzTwotoneColor:"nzTwotoneColor",nzIconfont:"nzIconfont"},exportAs:["nzIcon"],features:[ie,$]}),ee([oe()],t.prototype,"nzSpin",null),t})(),ro=(()=>{class t{static forRoot(e){return{ngModule:t,providers:[{provide:Xy,useValue:e}]}}static forChild(e){return{ngModule:t,providers:[t_,{provide:e_,useValue:e}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[ko]}),t})(),Vi=(()=>{class t{constructor(e,i){this.elementRef=e,this.renderer=i,this.hidden=null,this.renderer.setAttribute(this.elementRef.nativeElement,"hidden","")}setHiddenAttribute(){this.hidden?this.renderer.setAttribute(this.elementRef.nativeElement,"hidden","string"==typeof this.hidden?this.hidden:""):this.renderer.removeAttribute(this.elementRef.nativeElement,"hidden")}ngOnChanges(){this.setHiddenAttribute()}ngAfterViewInit(){this.setHiddenAttribute()}}return t.\u0275fac=function(e){return new(e||t)(f(ne),f(dt))},t.\u0275dir=w({type:t,selectors:[["","nz-button",""],["nz-button-group"],["","nz-icon",""],["","nz-menu-item",""],["","nz-submenu",""],["nz-select-top-control"],["nz-select-placeholder"],["nz-input-group"]],inputs:{hidden:"hidden"},features:[$]}),t})(),$6=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[ko]}),t})();class rR{constructor(n,e,i,o){this.triggerElement=n,this.ngZone=e,this.insertExtraNode=i,this.platformId=o,this.waveTransitionDuration=400,this.styleForPseudo=null,this.extraNode=null,this.lastTime=0,this.onClick=r=>{!this.triggerElement||!this.triggerElement.getAttribute||this.triggerElement.getAttribute("disabled")||"INPUT"===r.target.tagName||this.triggerElement.className.indexOf("disabled")>=0||this.fadeOutWave()},this.platform=new Jt(this.platformId),this.clickHandler=this.onClick.bind(this),this.bindTriggerEvent()}get waveAttributeName(){return this.insertExtraNode?"ant-click-animating":"ant-click-animating-without-extra-node"}bindTriggerEvent(){this.platform.isBrowser&&this.ngZone.runOutsideAngular(()=>{this.removeTriggerEvent(),this.triggerElement&&this.triggerElement.addEventListener("click",this.clickHandler,!0)})}removeTriggerEvent(){this.triggerElement&&this.triggerElement.removeEventListener("click",this.clickHandler,!0)}removeStyleAndExtraNode(){this.styleForPseudo&&document.body.contains(this.styleForPseudo)&&(document.body.removeChild(this.styleForPseudo),this.styleForPseudo=null),this.insertExtraNode&&this.triggerElement.contains(this.extraNode)&&this.triggerElement.removeChild(this.extraNode)}destroy(){this.removeTriggerEvent(),this.removeStyleAndExtraNode()}fadeOutWave(){const n=this.triggerElement,e=this.getWaveColor(n);n.setAttribute(this.waveAttributeName,"true"),!(Date.now(){n.removeAttribute(this.waveAttributeName),this.removeStyleAndExtraNode()},this.waveTransitionDuration))}isValidColor(n){return!!n&&"#ffffff"!==n&&"rgb(255, 255, 255)"!==n&&this.isNotGrey(n)&&!/rgba\(\d*, \d*, \d*, 0\)/.test(n)&&"transparent"!==n}isNotGrey(n){const e=n.match(/rgba?\((\d*), (\d*), (\d*)(, [\.\d]*)?\)/);return!(e&&e[1]&&e[2]&&e[3]&&e[1]===e[2]&&e[2]===e[3])}getWaveColor(n){const e=getComputedStyle(n);return e.getPropertyValue("border-top-color")||e.getPropertyValue("border-color")||e.getPropertyValue("background-color")}runTimeoutOutsideZone(n,e){this.ngZone.runOutsideAngular(()=>setTimeout(n,e))}}const sR={disabled:!1},aR=new P("nz-wave-global-options",{providedIn:"root",factory:function lR(){return sR}});let n_=(()=>{class t{constructor(e,i,o,r,s){this.ngZone=e,this.elementRef=i,this.config=o,this.animationType=r,this.platformId=s,this.nzWaveExtraNode=!1,this.waveDisabled=!1,this.waveDisabled=this.isConfigDisabled()}get disabled(){return this.waveDisabled}get rendererRef(){return this.waveRenderer}isConfigDisabled(){let e=!1;return this.config&&"boolean"==typeof this.config.disabled&&(e=this.config.disabled),"NoopAnimations"===this.animationType&&(e=!0),e}ngOnDestroy(){this.waveRenderer&&this.waveRenderer.destroy()}ngOnInit(){this.renderWaveIfEnabled()}renderWaveIfEnabled(){!this.waveDisabled&&this.elementRef.nativeElement&&(this.waveRenderer=new rR(this.elementRef.nativeElement,this.ngZone,this.nzWaveExtraNode,this.platformId))}disable(){this.waveDisabled=!0,this.waveRenderer&&(this.waveRenderer.removeTriggerEvent(),this.waveRenderer.removeStyleAndExtraNode())}enable(){this.waveDisabled=this.isConfigDisabled()||!1,this.waveRenderer&&this.waveRenderer.bindTriggerEvent()}}return t.\u0275fac=function(e){return new(e||t)(f(N),f(ne),f(aR,8),f(tr,8),f(er))},t.\u0275dir=w({type:t,selectors:[["","nz-wave",""],["button","nz-button","",3,"nzType","link",3,"nzType","text"]],inputs:{nzWaveExtraNode:"nzWaveExtraNode"},exportAs:["nzWave"]}),t})(),i_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[ko]}),t})();const cR=["nz-button",""];function uR(t,n){1&t&&X(0,"span",1)}const dR=["*"];let r_=(()=>{class t{constructor(e,i,o,r,s,a){this.ngZone=e,this.elementRef=i,this.cdr=o,this.renderer=r,this.nzConfigService=s,this.directionality=a,this._nzModuleName="button",this.nzBlock=!1,this.nzGhost=!1,this.nzSearch=!1,this.nzLoading=!1,this.nzDanger=!1,this.disabled=!1,this.tabIndex=null,this.nzType=null,this.nzShape=null,this.nzSize="default",this.dir="ltr",this.destroy$=new F,this.loading$=new F,this.nzConfigService.getConfigChangeEventForComponent("button").pipe(I(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}insertSpan(e,i){e.forEach(o=>{if("#text"===o.nodeName){const r=i.createElement("span"),s=i.parentNode(o);i.insertBefore(s,r,o),i.appendChild(r,o)}})}assertIconOnly(e,i){const o=Array.from(e.childNodes),r=o.filter(c=>{const u=Array.from(c.childNodes||[]);return"SPAN"===c.nodeName&&u.length>0&&u.every(d=>"svg"===d.nodeName)}).length,s=o.every(c=>"#text"!==c.nodeName);o.filter(c=>{const u=Array.from(c.childNodes||[]);return!("SPAN"===c.nodeName&&u.length>0&&u.every(d=>"svg"===d.nodeName))}).every(c=>"SPAN"!==c.nodeName)&&s&&r>=1&&i.addClass(e,"ant-btn-icon-only")}ngOnInit(){this.directionality.change?.pipe(I(this.destroy$)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>{Zn(this.elementRef.nativeElement,"click",{capture:!0}).pipe(I(this.destroy$)).subscribe(e=>{(this.disabled&&"A"===e.target?.tagName||this.nzLoading)&&(e.preventDefault(),e.stopImmediatePropagation())})})}ngOnChanges(e){const{nzLoading:i}=e;i&&this.loading$.next(this.nzLoading)}ngAfterViewInit(){this.assertIconOnly(this.elementRef.nativeElement,this.renderer),this.insertSpan(this.elementRef.nativeElement.childNodes,this.renderer)}ngAfterContentInit(){this.loading$.pipe(Rt(this.nzLoading),bt(()=>!!this.nzIconDirectiveElement),I(this.destroy$)).subscribe(e=>{const i=this.nzIconDirectiveElement.nativeElement;e?this.renderer.setStyle(i,"display","none"):this.renderer.removeStyle(i,"display")})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return t.\u0275fac=function(e){return new(e||t)(f(N),f(ne),f(It),f(dt),f(fr),f(en,8))},t.\u0275cmp=ze({type:t,selectors:[["button","nz-button",""],["a","nz-button",""]],contentQueries:function(e,i,o){if(1&e&&At(o,Fi,5,ne),2&e){let r;we(r=Se())&&(i.nzIconDirectiveElement=r.first)}},hostAttrs:[1,"ant-btn"],hostVars:30,hostBindings:function(e,i){2&e&&(Pt("tabindex",i.disabled?-1:null===i.tabIndex?null:i.tabIndex)("disabled",i.disabled||null),et("ant-btn-primary","primary"===i.nzType)("ant-btn-dashed","dashed"===i.nzType)("ant-btn-link","link"===i.nzType)("ant-btn-text","text"===i.nzType)("ant-btn-circle","circle"===i.nzShape)("ant-btn-round","round"===i.nzShape)("ant-btn-lg","large"===i.nzSize)("ant-btn-sm","small"===i.nzSize)("ant-btn-dangerous",i.nzDanger)("ant-btn-loading",i.nzLoading)("ant-btn-background-ghost",i.nzGhost)("ant-btn-block",i.nzBlock)("ant-input-search-button",i.nzSearch)("ant-btn-rtl","rtl"===i.dir))},inputs:{nzBlock:"nzBlock",nzGhost:"nzGhost",nzSearch:"nzSearch",nzLoading:"nzLoading",nzDanger:"nzDanger",disabled:"disabled",tabIndex:"tabIndex",nzType:"nzType",nzShape:"nzShape",nzSize:"nzSize"},exportAs:["nzButton"],features:[$],attrs:cR,ngContentSelectors:dR,decls:2,vars:1,consts:[["nz-icon","","nzType","loading",4,"ngIf"],["nz-icon","","nzType","loading"]],template:function(e,i){1&e&&(si(),E(0,uR,1,0,"span",0),Un(1)),2&e&&M("ngIf",i.nzLoading)},dependencies:[xt,Fi,Vi],encapsulation:2,changeDetection:0}),ee([oe()],t.prototype,"nzBlock",void 0),ee([oe()],t.prototype,"nzGhost",void 0),ee([oe()],t.prototype,"nzSearch",void 0),ee([oe()],t.prototype,"nzLoading",void 0),ee([oe()],t.prototype,"nzDanger",void 0),ee([oe()],t.prototype,"disabled",void 0),ee([f4()],t.prototype,"nzSize",void 0),t})(),s_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[An,dn,i_,ro,$6,$6,i_]}),t})();class Ut{transform(n,e=0,i="B",o){if(!(Gv(n)&&Gv(e)&&e%1==0&&e>=0))return n;let r=n,s=i;for(;"B"!==s;)r*=1024,s=Ut.formats[s].prev;if(o){const l=qv(Ut.calculateResult(Ut.formats[o],r),e);return Ut.formatResult(l,o)}for(const a in Ut.formats)if(Ut.formats.hasOwnProperty(a)){const l=Ut.formats[a];if(r{class t{transform(e,i="px"){let l="px";return["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","1h","vw","vh","vmin","vmax","%"].some(c=>c===i)&&(l=i),"number"==typeof e?`${e}${l}`:`${e}`}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=ct({name:"nzToCssUnit",type:t,pure:!0}),t})(),a_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[dn]}),t})();const l_="nz-animate-disabled";let pl=(()=>{class t{constructor(e,i,o){this.element=e,this.renderer=i,this.animationType=o,this.nzNoAnimation=!1}ngOnChanges(){this.updateClass()}ngAfterViewInit(){this.updateClass()}updateClass(){const e=rl(this.element);e&&(this.nzNoAnimation||"NoopAnimations"===this.animationType?this.renderer.addClass(e,l_):this.renderer.removeClass(e,l_))}}return t.\u0275fac=function(e){return new(e||t)(f(ne),f(dt),f(tr,8))},t.\u0275dir=w({type:t,selectors:[["","nzNoAnimation",""]],inputs:{nzNoAnimation:"nzNoAnimation"},exportAs:["nzNoAnimation"],features:[$]}),ee([oe()],t.prototype,"nzNoAnimation",void 0),t})(),_4=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[dn]}),t})();const pR=["nz-modal-close",""];function fR(t,n){if(1&t&&(Re(0),X(1,"span",2),Be()),2&t){const e=n.$implicit;k(1),M("nzType",e)}}const c_=["modalElement"];function mR(t,n){if(1&t){const e=ht();R(0,"button",16),te("click",function(){return Ve(e),Ne(x().onCloseClick())}),j()}}function gR(t,n){if(1&t&&(Re(0),X(1,"span",17),Be()),2&t){const e=x();k(1),M("innerHTML",e.config.nzTitle,jr)}}function vR(t,n){}function yR(t,n){1&t&&X(0,"div",17),2&t&&M("innerHTML",x().config.nzContent,jr)}function _R(t,n){if(1&t){const e=ht();R(0,"button",18),te("click",function(){return Ve(e),Ne(x().onCancel())}),Tt(1),j()}if(2&t){const e=x();M("nzLoading",!!e.config.nzCancelLoading)("disabled",e.config.nzCancelDisabled),Pt("cdkFocusInitial","cancel"===e.config.nzAutofocus||null),k(1),Wn(" ",e.config.nzCancelText||e.locale.cancelText," ")}}function CR(t,n){if(1&t){const e=ht();R(0,"button",19),te("click",function(){return Ve(e),Ne(x().onOk())}),Tt(1),j()}if(2&t){const e=x();M("nzType",e.config.nzOkType)("nzLoading",!!e.config.nzOkLoading)("disabled",e.config.nzOkDisabled)("nzDanger",e.config.nzOkDanger),Pt("cdkFocusInitial","ok"===e.config.nzAutofocus||null),k(1),Wn(" ",e.config.nzOkText||e.locale.okText," ")}}const bR=["nz-modal-footer",""];function MR(t,n){1&t&&X(0,"div",5),2&t&&M("innerHTML",x(3).config.nzFooter,jr)}function zR(t,n){if(1&t){const e=ht();R(0,"button",7),te("click",function(){const r=Ve(e).$implicit;return Ne(x(4).onButtonClick(r))}),Tt(1),j()}if(2&t){const e=n.$implicit,i=x(4);M("hidden",!i.getButtonCallableProp(e,"show"))("nzLoading",i.getButtonCallableProp(e,"loading"))("disabled",i.getButtonCallableProp(e,"disabled"))("nzType",e.type)("nzDanger",e.danger)("nzShape",e.shape)("nzSize",e.size)("nzGhost",e.ghost),k(1),Wn(" ",e.label," ")}}function wR(t,n){if(1&t&&(Re(0),E(1,zR,2,9,"button",6),Be()),2&t){const e=x(3);k(1),M("ngForOf",e.buttons)}}function SR(t,n){if(1&t&&(Re(0),E(1,MR,1,1,"div",3),E(2,wR,2,1,"ng-container",4),Be()),2&t){const e=x(2);k(1),M("ngIf",!e.buttonsFooter),k(1),M("ngIf",e.buttonsFooter)}}const DR=function(t,n){return{$implicit:t,modalRef:n}};function TR(t,n){if(1&t&&(Re(0),E(1,SR,3,2,"ng-container",2),Be()),2&t){const e=x();k(1),M("nzStringTemplateOutlet",e.config.nzFooter)("nzStringTemplateOutletContext",x5(2,DR,e.config.nzComponentParams,e.modalRef))}}function ER(t,n){if(1&t){const e=ht();R(0,"button",10),te("click",function(){return Ve(e),Ne(x(2).onCancel())}),Tt(1),j()}if(2&t){const e=x(2);M("nzLoading",!!e.config.nzCancelLoading)("disabled",e.config.nzCancelDisabled),Pt("cdkFocusInitial","cancel"===e.config.nzAutofocus||null),k(1),Wn(" ",e.config.nzCancelText||e.locale.cancelText," ")}}function kR(t,n){if(1&t){const e=ht();R(0,"button",11),te("click",function(){return Ve(e),Ne(x(2).onOk())}),Tt(1),j()}if(2&t){const e=x(2);M("nzType",e.config.nzOkType)("nzDanger",e.config.nzOkDanger)("nzLoading",!!e.config.nzOkLoading)("disabled",e.config.nzOkDisabled),Pt("cdkFocusInitial","ok"===e.config.nzAutofocus||null),k(1),Wn(" ",e.config.nzOkText||e.locale.okText," ")}}function xR(t,n){if(1&t&&(E(0,ER,2,4,"button",8),E(1,kR,2,6,"button",9)),2&t){const e=x();M("ngIf",null!==e.config.nzCancelText),k(1),M("ngIf",null!==e.config.nzOkText)}}const PR=["nz-modal-title",""];function AR(t,n){if(1&t&&(Re(0),X(1,"div",2),Be()),2&t){const e=x();k(1),M("innerHTML",e.config.nzTitle,jr)}}function IR(t,n){if(1&t){const e=ht();R(0,"button",9),te("click",function(){return Ve(e),Ne(x().onCloseClick())}),j()}}function OR(t,n){1&t&&X(0,"div",10)}function FR(t,n){}function VR(t,n){1&t&&X(0,"div",11),2&t&&M("innerHTML",x().config.nzContent,jr)}function NR(t,n){if(1&t){const e=ht();R(0,"div",12),te("cancelTriggered",function(){return Ve(e),Ne(x().onCloseClick())})("okTriggered",function(){return Ve(e),Ne(x().onOkClick())}),j()}2&t&&M("modalRef",x().modalRef)}const u_=()=>{};class mr{constructor(){this.nzCentered=!1,this.nzClosable=!0,this.nzOkLoading=!1,this.nzOkDisabled=!1,this.nzCancelDisabled=!1,this.nzCancelLoading=!1,this.nzNoAnimation=!1,this.nzAutofocus="auto",this.nzKeyboard=!0,this.nzZIndex=1e3,this.nzWidth=520,this.nzCloseIcon="close",this.nzOkType="primary",this.nzOkDanger=!1,this.nzModalType="default",this.nzOnCancel=u_,this.nzOnOk=u_,this.nzIconType="question-circle"}}const C4="ant-modal-mask",b4="modal",d_={modalContainer:Xn("modalContainer",[Cn("void, exit",J({})),Cn("enter",J({})),Ke("* => enter",We(".24s",J({}))),Ke("* => void, * => exit",We(".2s",J({})))])};function fl(t,n,e){return typeof t>"u"?typeof n>"u"?e:n:t}function h_(t){const{nzCentered:n,nzMask:e,nzMaskClosable:i,nzClosable:o,nzOkLoading:r,nzOkDisabled:s,nzCancelDisabled:a,nzCancelLoading:l,nzKeyboard:c,nzNoAnimation:u,nzContent:d,nzComponentParams:h,nzFooter:p,nzZIndex:m,nzWidth:g,nzWrapClassName:y,nzClassName:C,nzStyle:T,nzTitle:b,nzCloseIcon:O,nzMaskStyle:ye,nzBodyStyle:De,nzOkText:gt,nzCancelText:Nn,nzOkType:Ee,nzOkDanger:it,nzIconType:bn,nzModalType:Ot,nzOnOk:Mn,nzOnCancel:ao,nzAfterOpen:lo,nzAfterClose:H,nzCloseOnNavigation:U,nzAutofocus:G}=t;return{nzCentered:n,nzMask:e,nzMaskClosable:i,nzClosable:o,nzOkLoading:r,nzOkDisabled:s,nzCancelDisabled:a,nzCancelLoading:l,nzKeyboard:c,nzNoAnimation:u,nzContent:d,nzComponentParams:h,nzFooter:p,nzZIndex:m,nzWidth:g,nzWrapClassName:y,nzClassName:C,nzStyle:T,nzTitle:b,nzCloseIcon:O,nzMaskStyle:ye,nzBodyStyle:De,nzOkText:gt,nzCancelText:Nn,nzOkType:Ee,nzOkDanger:it,nzIconType:bn,nzModalType:Ot,nzOnOk:Mn,nzOnCancel:ao,nzAfterOpen:lo,nzAfterClose:H,nzCloseOnNavigation:U,nzAutofocus:G}}function p_(){throw Error("Attempting to attach modal content after content is already attached")}let f_=(()=>{class t extends g6{constructor(e,i,o,r,s,a,l,c,u,d){super(),this.ngZone=e,this.host=i,this.focusTrapFactory=o,this.cdr=r,this.render=s,this.overlayRef=a,this.nzConfigService=l,this.config=c,this.animationType=d,this.animationStateChanged=new _,this.containerClick=new _,this.cancelTriggered=new _,this.okTriggered=new _,this.state="enter",this.isStringContent=!1,this.dir="ltr",this.elementFocusedBeforeModalWasOpened=null,this.mouseDown=!1,this.oldMaskStyle=null,this.destroy$=new F,this.document=u,this.dir=a.getDirection(),this.isStringContent="string"==typeof c.nzContent,this.nzConfigService.getConfigChangeEventForComponent(b4).pipe(I(this.destroy$)).subscribe(()=>{this.updateMaskClassname()})}get showMask(){const e=this.nzConfigService.getConfigForComponent(b4)||{};return!!fl(this.config.nzMask,e.nzMask,!0)}get maskClosable(){const e=this.nzConfigService.getConfigForComponent(b4)||{};return!!fl(this.config.nzMaskClosable,e.nzMaskClosable,!0)}onContainerClick(e){e.target===e.currentTarget&&!this.mouseDown&&this.showMask&&this.maskClosable&&this.containerClick.emit()}onCloseClick(){this.cancelTriggered.emit()}onOkClick(){this.okTriggered.emit()}attachComponentPortal(e){return this.portalOutlet.hasAttached()&&p_(),this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop(),this.portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this.portalOutlet.hasAttached()&&p_(),this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop(),this.portalOutlet.attachTemplatePortal(e)}attachStringContent(){this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop()}getNativeElement(){return this.host.nativeElement}animationDisabled(){return this.config.nzNoAnimation||"NoopAnimations"===this.animationType}setModalTransformOrigin(){const e=this.modalElementRef.nativeElement;if(this.elementFocusedBeforeModalWasOpened){const i=this.elementFocusedBeforeModalWasOpened.getBoundingClientRect(),o=function IN(t){if(!t.getClientRects().length)return{top:0,left:0};const n=t.getBoundingClientRect(),e=t.ownerDocument.defaultView;return{top:n.top+e.pageYOffset,left:n.left+e.pageXOffset}}(this.elementFocusedBeforeModalWasOpened);this.render.setStyle(e,"transform-origin",`${o.left+i.width/2-e.offsetLeft}px ${o.top+i.height/2-e.offsetTop}px 0px`)}}savePreviouslyFocusedElement(){this.focusTrap||(this.focusTrap=this.focusTrapFactory.create(this.host.nativeElement)),this.document&&(this.elementFocusedBeforeModalWasOpened=this.document.activeElement,this.host.nativeElement.focus&&this.ngZone.runOutsideAngular(()=>P6(()=>this.host.nativeElement.focus())))}trapFocus(){const e=this.host.nativeElement;if(this.config.nzAutofocus)this.focusTrap.focusInitialElementWhenReady();else{const i=this.document.activeElement;i!==e&&!e.contains(i)&&e.focus()}}restoreFocus(){const e=this.elementFocusedBeforeModalWasOpened;if(e&&"function"==typeof e.focus){const i=this.document.activeElement,o=this.host.nativeElement;(!i||i===this.document.body||i===o||o.contains(i))&&e.focus()}this.focusTrap&&this.focusTrap.destroy()}setEnterAnimationClass(){if(this.animationDisabled())return;this.setModalTransformOrigin();const e=this.modalElementRef.nativeElement,i=this.overlayRef.backdropElement;e.classList.add("ant-zoom-enter"),e.classList.add("ant-zoom-enter-active"),i&&(i.classList.add("ant-fade-enter"),i.classList.add("ant-fade-enter-active"))}setExitAnimationClass(){const e=this.modalElementRef.nativeElement;e.classList.add("ant-zoom-leave"),e.classList.add("ant-zoom-leave-active"),this.setMaskExitAnimationClass()}setMaskExitAnimationClass(e=!1){const i=this.overlayRef.backdropElement;if(i){if(this.animationDisabled()||e)return void i.classList.remove(C4);i.classList.add("ant-fade-leave"),i.classList.add("ant-fade-leave-active")}}cleanAnimationClass(){if(this.animationDisabled())return;const e=this.overlayRef.backdropElement,i=this.modalElementRef.nativeElement;e&&(e.classList.remove("ant-fade-enter"),e.classList.remove("ant-fade-enter-active")),i.classList.remove("ant-zoom-enter"),i.classList.remove("ant-zoom-enter-active"),i.classList.remove("ant-zoom-leave"),i.classList.remove("ant-zoom-leave-active")}setZIndexForBackdrop(){const e=this.overlayRef.backdropElement;e&&mi(this.config.nzZIndex)&&this.render.setStyle(e,"z-index",this.config.nzZIndex)}bindBackdropStyle(){const e=this.overlayRef.backdropElement;if(e&&(this.oldMaskStyle&&(Object.keys(this.oldMaskStyle).forEach(o=>{this.render.removeStyle(e,o)}),this.oldMaskStyle=null),this.setZIndexForBackdrop(),"object"==typeof this.config.nzMaskStyle&&Object.keys(this.config.nzMaskStyle).length)){const i={...this.config.nzMaskStyle};Object.keys(i).forEach(o=>{this.render.setStyle(e,o,i[o])}),this.oldMaskStyle=i}}updateMaskClassname(){const e=this.overlayRef.backdropElement;e&&(this.showMask?e.classList.add(C4):e.classList.remove(C4))}onAnimationDone(e){"enter"===e.toState?this.trapFocus():"exit"===e.toState&&this.restoreFocus(),this.cleanAnimationClass(),this.animationStateChanged.emit(e)}onAnimationStart(e){"enter"===e.toState?(this.setEnterAnimationClass(),this.bindBackdropStyle()):"exit"===e.toState&&this.setExitAnimationClass(),this.animationStateChanged.emit(e)}startExitAnimation(){this.state="exit",this.cdr.markForCheck()}ngOnDestroy(){this.setMaskExitAnimationClass(!0),this.destroy$.next(),this.destroy$.complete()}setupMouseListeners(e){this.ngZone.runOutsideAngular(()=>{Zn(this.host.nativeElement,"mouseup").pipe(I(this.destroy$)).subscribe(()=>{this.mouseDown&&setTimeout(()=>{this.mouseDown=!1})}),Zn(e.nativeElement,"mousedown").pipe(I(this.destroy$)).subscribe(()=>{this.mouseDown=!0})})}}return t.\u0275fac=function(e){M3()},t.\u0275dir=w({type:t,features:[ie]}),t})(),m_=(()=>{class t{constructor(e){this.config=e}}return t.\u0275fac=function(e){return new(e||t)(f(mr))},t.\u0275cmp=ze({type:t,selectors:[["button","nz-modal-close",""]],hostAttrs:["aria-label","Close",1,"ant-modal-close"],exportAs:["NzModalCloseBuiltin"],attrs:pR,decls:2,vars:1,consts:[[1,"ant-modal-close-x"],[4,"nzStringTemplateOutlet"],["nz-icon","",1,"ant-modal-close-icon",3,"nzType"]],template:function(e,i){1&e&&(R(0,"span",0),E(1,fR,2,1,"ng-container",1),j()),2&e&&(k(1),M("nzStringTemplateOutlet",i.config.nzCloseIcon))},dependencies:[Oi,Vi,Fi],encapsulation:2,changeDetection:0}),t})(),RR=(()=>{class t extends f_{constructor(e,i,o,r,s,a,l,c,u,d,h){super(e,o,r,s,a,l,c,u,d,h),this.i18n=i,this.config=u,this.cancelTriggered=new _,this.okTriggered=new _,this.i18n.localeChange.pipe(I(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Modal")})}ngOnInit(){this.setupMouseListeners(this.modalElementRef)}onCancel(){this.cancelTriggered.emit()}onOk(){this.okTriggered.emit()}}return t.\u0275fac=function(e){return new(e||t)(f(N),f(m4),f(ne),f(vy),f(It),f(dt),f(o4),f(fr),f(mr),f(_e,8),f(tr,8))},t.\u0275cmp=ze({type:t,selectors:[["nz-modal-confirm-container"]],viewQuery:function(e,i){if(1&e&&(Et(dl,7),Et(c_,7)),2&e){let o;we(o=Se())&&(i.portalOutlet=o.first),we(o=Se())&&(i.modalElementRef=o.first)}},hostAttrs:["tabindex","-1","role","dialog"],hostVars:10,hostBindings:function(e,i){1&e&&(_c("@modalContainer.start",function(r){return i.onAnimationStart(r)})("@modalContainer.done",function(r){return i.onAnimationDone(r)}),te("click",function(r){return i.onContainerClick(r)})),2&e&&(ss("@.disabled",i.config.nzNoAnimation)("@modalContainer",i.state),U3(i.config.nzWrapClassName?"ant-modal-wrap "+i.config.nzWrapClassName:"ant-modal-wrap"),$n("z-index",i.config.nzZIndex),et("ant-modal-wrap-rtl","rtl"===i.dir)("ant-modal-centered",i.config.nzCentered))},outputs:{cancelTriggered:"cancelTriggered",okTriggered:"okTriggered"},exportAs:["nzModalConfirmContainer"],features:[ie],decls:17,vars:13,consts:[["role","document",1,"ant-modal",3,"ngClass","ngStyle"],["modalElement",""],[1,"ant-modal-content"],["nz-modal-close","",3,"click",4,"ngIf"],[1,"ant-modal-body",3,"ngStyle"],[1,"ant-modal-confirm-body-wrapper"],[1,"ant-modal-confirm-body"],["nz-icon","",3,"nzType"],[1,"ant-modal-confirm-title"],[4,"nzStringTemplateOutlet"],[1,"ant-modal-confirm-content"],["cdkPortalOutlet",""],[3,"innerHTML",4,"ngIf"],[1,"ant-modal-confirm-btns"],["nz-button","",3,"nzLoading","disabled","click",4,"ngIf"],["nz-button","",3,"nzType","nzLoading","disabled","nzDanger","click",4,"ngIf"],["nz-modal-close","",3,"click"],[3,"innerHTML"],["nz-button","",3,"nzLoading","disabled","click"],["nz-button","",3,"nzType","nzLoading","disabled","nzDanger","click"]],template:function(e,i){1&e&&(R(0,"div",0,1),t8(2,"nzToCssUnit"),R(3,"div",2),E(4,mR,1,0,"button",3),R(5,"div",4)(6,"div",5)(7,"div",6),X(8,"span",7),R(9,"span",8),E(10,gR,2,1,"ng-container",9),j(),R(11,"div",10),E(12,vR,0,0,"ng-template",11),E(13,yR,1,1,"div",12),j()(),R(14,"div",13),E(15,_R,2,4,"button",14),E(16,CR,2,6,"button",15),j()()()()()),2&e&&($n("width",n8(2,11,null==i.config?null:i.config.nzWidth)),M("ngClass",i.config.nzClassName)("ngStyle",i.config.nzStyle),k(4),M("ngIf",i.config.nzClosable),k(1),M("ngStyle",i.config.nzBodyStyle),k(3),M("nzType",i.config.nzIconType),k(2),M("nzStringTemplateOutlet",i.config.nzTitle),k(3),M("ngIf",i.isStringContent),k(2),M("ngIf",null!==i.config.nzCancelText),k(1),M("ngIf",null!==i.config.nzOkText))},dependencies:[Gc,xt,Zc,Oi,dl,r_,Vi,n_,Fi,m_,W6],encapsulation:2,data:{animation:[d_.modalContainer]}}),t})(),BR=(()=>{class t{constructor(e,i){this.i18n=e,this.config=i,this.buttonsFooter=!1,this.buttons=[],this.cancelTriggered=new _,this.okTriggered=new _,this.destroy$=new F,Array.isArray(i.nzFooter)&&(this.buttonsFooter=!0,this.buttons=i.nzFooter.map(YR)),this.i18n.localeChange.pipe(I(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Modal")})}onCancel(){this.cancelTriggered.emit()}onOk(){this.okTriggered.emit()}getButtonCallableProp(e,i){const o=e[i],r=this.modalRef.getContentComponent();return"function"==typeof o?o.apply(e,r&&[r]):o}onButtonClick(e){if(!this.getButtonCallableProp(e,"loading")){const o=this.getButtonCallableProp(e,"onClick");e.autoLoading&&M6(o)&&(e.loading=!0,o.then(()=>e.loading=!1).catch(r=>{throw e.loading=!1,r}))}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return t.\u0275fac=function(e){return new(e||t)(f(m4),f(mr))},t.\u0275cmp=ze({type:t,selectors:[["div","nz-modal-footer",""]],hostAttrs:[1,"ant-modal-footer"],inputs:{modalRef:"modalRef"},outputs:{cancelTriggered:"cancelTriggered",okTriggered:"okTriggered"},exportAs:["NzModalFooterBuiltin"],attrs:bR,decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["defaultFooterButtons",""],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[3,"innerHTML",4,"ngIf"],[4,"ngIf"],[3,"innerHTML"],["nz-button","",3,"hidden","nzLoading","disabled","nzType","nzDanger","nzShape","nzSize","nzGhost","click",4,"ngFor","ngForOf"],["nz-button","",3,"hidden","nzLoading","disabled","nzType","nzDanger","nzShape","nzSize","nzGhost","click"],["nz-button","",3,"nzLoading","disabled","click",4,"ngIf"],["nz-button","",3,"nzType","nzDanger","nzLoading","disabled","click",4,"ngIf"],["nz-button","",3,"nzLoading","disabled","click"],["nz-button","",3,"nzType","nzDanger","nzLoading","disabled","click"]],template:function(e,i){if(1&e&&(E(0,TR,2,5,"ng-container",0),E(1,xR,2,2,"ng-template",null,1,xi)),2&e){const o=ln(2);M("ngIf",i.config.nzFooter)("ngIfElse",o)}},dependencies:[qc,xt,Oi,r_,Vi,n_],encapsulation:2}),t})();function YR(t){return{type:null,size:"default",autoLoading:!0,show:!0,loading:!1,disabled:!1,...t}}let jR=(()=>{class t{constructor(e){this.config=e}}return t.\u0275fac=function(e){return new(e||t)(f(mr))},t.\u0275cmp=ze({type:t,selectors:[["div","nz-modal-title",""]],hostAttrs:[1,"ant-modal-header"],exportAs:["NzModalTitleBuiltin"],attrs:PR,decls:2,vars:1,consts:[[1,"ant-modal-title"],[4,"nzStringTemplateOutlet"],[3,"innerHTML"]],template:function(e,i){1&e&&(R(0,"div",0),E(1,AR,2,1,"ng-container",1),j()),2&e&&(k(1),M("nzStringTemplateOutlet",i.config.nzTitle))},dependencies:[Oi],encapsulation:2,changeDetection:0}),t})(),UR=(()=>{class t extends f_{constructor(e,i,o,r,s,a,l,c,u,d){super(e,i,o,r,s,a,l,c,u,d),this.config=c}ngOnInit(){this.setupMouseListeners(this.modalElementRef)}}return t.\u0275fac=function(e){return new(e||t)(f(N),f(ne),f(vy),f(It),f(dt),f(o4),f(fr),f(mr),f(_e,8),f(tr,8))},t.\u0275cmp=ze({type:t,selectors:[["nz-modal-container"]],viewQuery:function(e,i){if(1&e&&(Et(dl,7),Et(c_,7)),2&e){let o;we(o=Se())&&(i.portalOutlet=o.first),we(o=Se())&&(i.modalElementRef=o.first)}},hostAttrs:["tabindex","-1","role","dialog"],hostVars:10,hostBindings:function(e,i){1&e&&(_c("@modalContainer.start",function(r){return i.onAnimationStart(r)})("@modalContainer.done",function(r){return i.onAnimationDone(r)}),te("click",function(r){return i.onContainerClick(r)})),2&e&&(ss("@.disabled",i.config.nzNoAnimation)("@modalContainer",i.state),U3(i.config.nzWrapClassName?"ant-modal-wrap "+i.config.nzWrapClassName:"ant-modal-wrap"),$n("z-index",i.config.nzZIndex),et("ant-modal-wrap-rtl","rtl"===i.dir)("ant-modal-centered",i.config.nzCentered))},exportAs:["nzModalContainer"],features:[ie],decls:10,vars:11,consts:[["role","document",1,"ant-modal",3,"ngClass","ngStyle"],["modalElement",""],[1,"ant-modal-content"],["nz-modal-close","",3,"click",4,"ngIf"],["nz-modal-title","",4,"ngIf"],[1,"ant-modal-body",3,"ngStyle"],["cdkPortalOutlet",""],[3,"innerHTML",4,"ngIf"],["nz-modal-footer","",3,"modalRef","cancelTriggered","okTriggered",4,"ngIf"],["nz-modal-close","",3,"click"],["nz-modal-title",""],[3,"innerHTML"],["nz-modal-footer","",3,"modalRef","cancelTriggered","okTriggered"]],template:function(e,i){1&e&&(R(0,"div",0,1),t8(2,"nzToCssUnit"),R(3,"div",2),E(4,IR,1,0,"button",3),E(5,OR,1,0,"div",4),R(6,"div",5),E(7,FR,0,0,"ng-template",6),E(8,VR,1,1,"div",7),j(),E(9,NR,1,1,"div",8),j()()),2&e&&($n("width",n8(2,9,null==i.config?null:i.config.nzWidth)),M("ngClass",i.config.nzClassName)("ngStyle",i.config.nzStyle),k(4),M("ngIf",i.config.nzClosable),k(1),M("ngIf",i.config.nzTitle),k(1),M("ngStyle",i.config.nzBodyStyle),k(2),M("ngIf",i.isStringContent),k(1),M("ngIf",null!==i.config.nzFooter))},dependencies:[Gc,xt,Zc,dl,m_,BR,jR,W6],encapsulation:2,data:{animation:[d_.modalContainer]}}),t})();class M4{constructor(n,e,i){this.overlayRef=n,this.config=e,this.containerInstance=i,this.componentInstance=null,this.state=0,this.afterClose=new F,this.afterOpen=new F,this.destroy$=new F,i.animationStateChanged.pipe(bt(o=>"done"===o.phaseName&&"enter"===o.toState),Ct(1)).subscribe(()=>{this.afterOpen.next(),this.afterOpen.complete(),e.nzAfterOpen instanceof _&&e.nzAfterOpen.emit()}),i.animationStateChanged.pipe(bt(o=>"done"===o.phaseName&&"exit"===o.toState),Ct(1)).subscribe(()=>{clearTimeout(this.closeTimeout),this._finishDialogClose()}),i.containerClick.pipe(Ct(1),I(this.destroy$)).subscribe(()=>{!this.config.nzCancelLoading&&!this.config.nzOkLoading&&this.trigger("cancel")}),n.keydownEvents().pipe(bt(o=>this.config.nzKeyboard&&!this.config.nzCancelLoading&&!this.config.nzOkLoading&&27===o.keyCode&&!Iv(o))).subscribe(o=>{o.preventDefault(),this.trigger("cancel")}),i.cancelTriggered.pipe(I(this.destroy$)).subscribe(()=>this.trigger("cancel")),i.okTriggered.pipe(I(this.destroy$)).subscribe(()=>this.trigger("ok")),n.detachments().subscribe(()=>{this.afterClose.next(this.result),this.afterClose.complete(),e.nzAfterClose instanceof _&&e.nzAfterClose.emit(this.result),this.componentInstance=null,this.overlayRef.dispose()})}getContentComponent(){return this.componentInstance}getElement(){return this.containerInstance.getNativeElement()}destroy(n){this.close(n)}triggerOk(){return this.trigger("ok")}triggerCancel(){return this.trigger("cancel")}close(n){0===this.state&&(this.result=n,this.containerInstance.animationStateChanged.pipe(bt(e=>"start"===e.phaseName),Ct(1)).subscribe(e=>{this.overlayRef.detachBackdrop(),this.closeTimeout=setTimeout(()=>{this._finishDialogClose()},e.totalTime+100)}),this.containerInstance.startExitAnimation(),this.state=1)}updateConfig(n){Object.assign(this.config,n),this.containerInstance.bindBackdropStyle(),this.containerInstance.cdr.markForCheck()}getState(){return this.state}getConfig(){return this.config}getBackdropElement(){return this.overlayRef.backdropElement}trigger(n){var e=this;return k1(function*(){if(1===e.state)return;const i={ok:e.config.nzOnOk,cancel:e.config.nzOnCancel}[n],o={ok:"nzOkLoading",cancel:"nzCancelLoading"}[n];if(!e.config[o])if(i instanceof _)i.emit(e.getContentComponent());else if("function"==typeof i){const s=i(e.getContentComponent());if(M6(s)){e.config[o]=!0;let a=!1;try{a=yield s}finally{e.config[o]=!1,e.closeWhitResult(a)}}else e.closeWhitResult(s)}})()}closeWhitResult(n){!1!==n&&this.close(n)}_finishDialogClose(){this.state=2,this.overlayRef.dispose(),this.destroy$.next()}}let g_=(()=>{class t{constructor(e,i,o,r,s){this.overlay=e,this.injector=i,this.nzConfigService=o,this.parentModal=r,this.directionality=s,this.openModalsAtThisLevel=[],this.afterAllClosedAtThisLevel=new F,this.afterAllClose=J8(()=>this.openModals.length?this._afterAllClosed:this._afterAllClosed.pipe(Rt(void 0)))}get openModals(){return this.parentModal?this.parentModal.openModals:this.openModalsAtThisLevel}get _afterAllClosed(){const e=this.parentModal;return e?e._afterAllClosed:this.afterAllClosedAtThisLevel}create(e){return this.open(e.nzContent,e)}closeAll(){this.closeModals(this.openModals)}confirm(e={},i="confirm"){return"nzFooter"in e&&ks('The Confirm-Modal doesn\'t support "nzFooter", this property will be ignored.'),"nzWidth"in e||(e.nzWidth=416),"nzMaskClosable"in e||(e.nzMaskClosable=!1),e.nzModalType="confirm",e.nzClassName=`ant-modal-confirm ant-modal-confirm-${i} ${e.nzClassName||""}`,this.create(e)}info(e={}){return this.confirmFactory(e,"info")}success(e={}){return this.confirmFactory(e,"success")}error(e={}){return this.confirmFactory(e,"error")}warning(e={}){return this.confirmFactory(e,"warning")}open(e,i){const o=function LR(t,n){return{...n,...t}}(i||{},new mr),r=this.createOverlay(o),s=this.attachModalContainer(r,o),a=this.attachModalContent(e,s,r,o);return s.modalRef=a,this.openModals.push(a),a.afterClose.subscribe(()=>this.removeOpenModal(a)),a}removeOpenModal(e){const i=this.openModals.indexOf(e);i>-1&&(this.openModals.splice(i,1),this.openModals.length||this._afterAllClosed.next())}closeModals(e){let i=e.length;for(;i--;)e[i].close(),this.openModals.length||this._afterAllClosed.next()}createOverlay(e){const i=this.nzConfigService.getConfigForComponent(b4)||{},o=new _6({hasBackdrop:!0,scrollStrategy:this.overlay.scrollStrategies.block(),positionStrategy:this.overlay.position().global(),disposeOnNavigation:fl(e.nzCloseOnNavigation,i.nzCloseOnNavigation,!0),direction:fl(e.nzDirection,i.nzDirection,this.directionality.value)});return fl(e.nzMask,i.nzMask,!0)&&(o.backdropClass=C4),this.overlay.create(o)}attachModalContainer(e,i){const r=St.create({parent:i&&i.nzViewContainerRef&&i.nzViewContainerRef.injector||this.injector,providers:[{provide:o4,useValue:e},{provide:mr,useValue:i}]}),a=new e4("confirm"===i.nzModalType?RR:UR,i.nzViewContainerRef,r);return e.attach(a).instance}attachModalContent(e,i,o,r){const s=new M4(o,r,i);if(e instanceof $e)i.attachTemplatePortal(new t4(e,null,{$implicit:r.nzComponentParams,modalRef:s}));else if(mi(e)&&"string"!=typeof e){const a=this.createInjector(s,r),l=i.attachComponentPortal(new e4(e,r.nzViewContainerRef,a));(function HR(t,n){Object.assign(t,n)})(l.instance,r.nzComponentParams),s.componentInstance=l.instance}else i.attachStringContent();return s}createInjector(e,i){return St.create({parent:i&&i.nzViewContainerRef&&i.nzViewContainerRef.injector||this.injector,providers:[{provide:M4,useValue:e}]})}confirmFactory(e={},i){return"nzIconType"in e||(e.nzIconType={info:"info-circle",success:"check-circle",error:"close-circle",warning:"exclamation-circle"}[i]),"nzCancelText"in e||(e.nzCancelText=null),this.confirm(e,i)}ngOnDestroy(){this.closeModals(this.openModalsAtThisLevel),this.afterAllClosedAtThisLevel.complete()}}return t.\u0275fac=function(e){return new(e||t)(v(r4),v(St),v(fr),v(t,12),v(en,8))},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})(),v_=(()=>{class t{constructor(e){this.templateRef=e}}return t.\u0275fac=function(e){return new(e||t)(f($e))},t.\u0275dir=w({type:t,selectors:[["","nzModalContent",""]],exportAs:["nzModalContent"]}),t})(),$R=(()=>{class t{constructor(e,i){this.nzModalRef=e,this.templateRef=i,this.nzModalRef&&this.nzModalRef.updateConfig({nzFooter:this.templateRef})}}return t.\u0275fac=function(e){return new(e||t)(f(M4,8),f($e))},t.\u0275dir=w({type:t,selectors:[["","nzModalFooter",""]],exportAs:["nzModalFooter"]}),t})(),WR=(()=>{class t{constructor(e,i){this.nzModalRef=e,this.templateRef=i,this.nzModalRef&&this.nzModalRef.updateConfig({nzTitle:this.templateRef})}}return t.\u0275fac=function(e){return new(e||t)(f(M4,8),f($e))},t.\u0275dir=w({type:t,selectors:[["","nzModalTitle",""]],exportAs:["nzModalTitle"]}),t})(),GR=(()=>{class t{constructor(e,i,o){this.cdr=e,this.modal=i,this.viewContainerRef=o,this.nzVisible=!1,this.nzClosable=!0,this.nzOkLoading=!1,this.nzOkDisabled=!1,this.nzCancelDisabled=!1,this.nzCancelLoading=!1,this.nzKeyboard=!0,this.nzNoAnimation=!1,this.nzCentered=!1,this.nzZIndex=1e3,this.nzWidth=520,this.nzCloseIcon="close",this.nzOkType="primary",this.nzOkDanger=!1,this.nzIconType="question-circle",this.nzModalType="default",this.nzAutofocus="auto",this.nzOnOk=new _,this.nzOnCancel=new _,this.nzAfterOpen=new _,this.nzAfterClose=new _,this.nzVisibleChange=new _,this.modalRef=null,this.destroy$=new F}set modalTitle(e){e&&this.setTitleWithTemplate(e)}set modalFooter(e){e&&this.setFooterWithTemplate(e)}get afterOpen(){return this.nzAfterOpen.asObservable()}get afterClose(){return this.nzAfterClose.asObservable()}open(){if(this.nzVisible||(this.nzVisible=!0,this.nzVisibleChange.emit(!0)),!this.modalRef){const e=this.getConfig();this.modalRef=this.modal.create(e),this.modalRef.afterClose.asObservable().pipe(I(this.destroy$)).subscribe(()=>{this.close()})}}close(e){this.nzVisible&&(this.nzVisible=!1,this.nzVisibleChange.emit(!1)),this.modalRef&&(this.modalRef.close(e),this.modalRef=null)}destroy(e){this.close(e)}triggerOk(){this.modalRef?.triggerOk()}triggerCancel(){this.modalRef?.triggerCancel()}getContentComponent(){return this.modalRef?.getContentComponent()}getElement(){return this.modalRef?.getElement()}getModalRef(){return this.modalRef}setTitleWithTemplate(e){this.nzTitle=e,this.modalRef&&Promise.resolve().then(()=>{this.modalRef.updateConfig({nzTitle:this.nzTitle})})}setFooterWithTemplate(e){this.nzFooter=e,this.modalRef&&Promise.resolve().then(()=>{this.modalRef.updateConfig({nzFooter:this.nzFooter})}),this.cdr.markForCheck()}getConfig(){const e=h_(this);return e.nzViewContainerRef=this.viewContainerRef,e.nzContent=this.nzContent||this.contentFromContentChild,e}ngOnChanges(e){const{nzVisible:i,...o}=e;Object.keys(o).length&&this.modalRef&&this.modalRef.updateConfig(h_(this)),i&&(this.nzVisible?this.open():this.close())}ngOnDestroy(){this.modalRef?._finishDialogClose(),this.destroy$.next(),this.destroy$.complete()}}return t.\u0275fac=function(e){return new(e||t)(f(It),f(g_),f(Ht))},t.\u0275cmp=ze({type:t,selectors:[["nz-modal"]],contentQueries:function(e,i,o){if(1&e&&(At(o,WR,7,$e),At(o,v_,7,$e),At(o,$R,7,$e)),2&e){let r;we(r=Se())&&(i.modalTitle=r.first),we(r=Se())&&(i.contentFromContentChild=r.first),we(r=Se())&&(i.modalFooter=r.first)}},inputs:{nzMask:"nzMask",nzMaskClosable:"nzMaskClosable",nzCloseOnNavigation:"nzCloseOnNavigation",nzVisible:"nzVisible",nzClosable:"nzClosable",nzOkLoading:"nzOkLoading",nzOkDisabled:"nzOkDisabled",nzCancelDisabled:"nzCancelDisabled",nzCancelLoading:"nzCancelLoading",nzKeyboard:"nzKeyboard",nzNoAnimation:"nzNoAnimation",nzCentered:"nzCentered",nzContent:"nzContent",nzComponentParams:"nzComponentParams",nzFooter:"nzFooter",nzZIndex:"nzZIndex",nzWidth:"nzWidth",nzWrapClassName:"nzWrapClassName",nzClassName:"nzClassName",nzStyle:"nzStyle",nzTitle:"nzTitle",nzCloseIcon:"nzCloseIcon",nzMaskStyle:"nzMaskStyle",nzBodyStyle:"nzBodyStyle",nzOkText:"nzOkText",nzCancelText:"nzCancelText",nzOkType:"nzOkType",nzOkDanger:"nzOkDanger",nzIconType:"nzIconType",nzModalType:"nzModalType",nzAutofocus:"nzAutofocus",nzOnOk:"nzOnOk",nzOnCancel:"nzOnCancel"},outputs:{nzOnOk:"nzOnOk",nzOnCancel:"nzOnCancel",nzAfterOpen:"nzAfterOpen",nzAfterClose:"nzAfterClose",nzVisibleChange:"nzVisibleChange"},exportAs:["nzModal"],features:[$],decls:0,vars:0,template:function(e,i){},encapsulation:2,changeDetection:0}),ee([oe()],t.prototype,"nzMask",void 0),ee([oe()],t.prototype,"nzMaskClosable",void 0),ee([oe()],t.prototype,"nzCloseOnNavigation",void 0),ee([oe()],t.prototype,"nzVisible",void 0),ee([oe()],t.prototype,"nzClosable",void 0),ee([oe()],t.prototype,"nzOkLoading",void 0),ee([oe()],t.prototype,"nzOkDisabled",void 0),ee([oe()],t.prototype,"nzCancelDisabled",void 0),ee([oe()],t.prototype,"nzCancelLoading",void 0),ee([oe()],t.prototype,"nzKeyboard",void 0),ee([oe()],t.prototype,"nzNoAnimation",void 0),ee([oe()],t.prototype,"nzCentered",void 0),ee([oe()],t.prototype,"nzOkDanger",void 0),t})(),qR=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({providers:[g_],imports:[dn,An,a4,Is,v6,B6,s_,ro,a_,_4,a_]}),t})();const G6=()=>{};let KR=(()=>{class t{constructor(e,i){this.ngZone=e,this.rendererFactory2=i,this.resizeSource$=new F,this.listeners=0,this.disposeHandle=G6,this.handler=()=>{this.ngZone.run(()=>{this.resizeSource$.next()})},this.renderer=this.rendererFactory2.createRenderer(null,null)}ngOnDestroy(){this.handler=G6}subscribe(){return this.registerListener(),this.resizeSource$.pipe(ll(16),Oa(()=>this.unregisterListener()))}unsubscribe(){this.unregisterListener()}registerListener(){0===this.listeners&&this.ngZone.runOutsideAngular(()=>{this.disposeHandle=this.renderer.listen("window","resize",this.handler)}),this.listeners+=1}unregisterListener(){this.listeners-=1,0===this.listeners&&(this.disposeHandle(),this.disposeHandle=G6)}}return t.\u0275fac=function(e){return new(e||t)(v(N),v(po))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var z4=(()=>{return(t=z4||(z4={})).xxl="xxl",t.xl="xl",t.lg="lg",t.md="md",t.sm="sm",t.xs="xs",z4;var t})();const w4={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"};let ZR=(()=>{class t{constructor(e,i){this.resizeService=e,this.mediaMatcher=i,this.destroy$=new F,this.resizeService.subscribe().pipe(I(this.destroy$)).subscribe(()=>{})}ngOnDestroy(){this.destroy$.next()}subscribe(e,i){if(i){const o=()=>this.matchMedia(e,!0);return this.resizeService.subscribe().pipe(B(o),Rt(o()),Eo((r,s)=>r[0]===s[0]),B(r=>r[1]))}{const o=()=>this.matchMedia(e);return this.resizeService.subscribe().pipe(B(o),Rt(o()),Eo())}}matchMedia(e,i){let o=z4.md;const r={};return Object.keys(e).map(s=>{const a=s,l=this.mediaMatcher.matchMedia(w4[a]).matches;r[s]=l,l&&(o=a)}),i?[o,r]:o}}return t.\u0275fac=function(e){return new(e||t)(v(KR),v(I6))},t.\u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Io=(()=>{class t extends F{ngOnDestroy(){this.next(),this.complete()}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=je(t)))(i||t)}}(),t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})();const ke={top:new Je({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),topCenter:new Je({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),topLeft:new Je({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}),topRight:new Je({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"}),right:new Je({originX:"end",originY:"center"},{overlayX:"start",overlayY:"center"}),rightTop:new Je({originX:"end",originY:"top"},{overlayX:"start",overlayY:"top"}),rightBottom:new Je({originX:"end",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),bottom:new Je({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),bottomCenter:new Je({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),bottomLeft:new Je({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}),bottomRight:new Je({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"}),left:new Je({originX:"start",originY:"center"},{overlayX:"end",overlayY:"center"}),leftTop:new Je({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"}),leftBottom:new Je({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"})};function q6(t){for(const n in ke)if(t.connectionPair.originX===ke[n].originX&&t.connectionPair.originY===ke[n].originY&&t.connectionPair.overlayX===ke[n].overlayX&&t.connectionPair.overlayY===ke[n].overlayY)return n}new Je({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),new Je({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"}),new Je({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"top"}),new Je({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"},void 0,2),new Je({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"},void 0,-2),new Je({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"},void 0,2),new Je({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"},void 0,-2);let XR=(()=>{class t{constructor(e,i){this.cdkConnectedOverlay=e,this.nzDestroyService=i,this.nzArrowPointAtCenter=!1,this.cdkConnectedOverlay.backdropClass="nz-overlay-transparent-backdrop",this.cdkConnectedOverlay.positionChange.pipe(I(this.nzDestroyService)).subscribe(o=>{this.nzArrowPointAtCenter&&this.updateArrowPosition(o)})}updateArrowPosition(e){const i=this.getOriginRect(),o=q6(e);let r=0,s=0;"topLeft"===o||"bottomLeft"===o?r=i.width/2-14:"topRight"===o||"bottomRight"===o?r=-(i.width/2-14):"leftTop"===o||"rightTop"===o?s=i.height/2-10:("leftBottom"===o||"rightBottom"===o)&&(s=-(i.height/2-10)),(this.cdkConnectedOverlay.offsetX!==r||this.cdkConnectedOverlay.offsetY!==s)&&(this.cdkConnectedOverlay.offsetY=s,this.cdkConnectedOverlay.offsetX=r,this.cdkConnectedOverlay.overlayRef.updatePosition())}getFlexibleConnectedPositionStrategyOrigin(){return this.cdkConnectedOverlay.origin instanceof Es?this.cdkConnectedOverlay.origin.elementRef:this.cdkConnectedOverlay.origin}getOriginRect(){const e=this.getFlexibleConnectedPositionStrategyOrigin();if(e instanceof ne)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();const i=e.width||0,o=e.height||0;return{top:e.y,bottom:e.y+o,left:e.x,right:e.x+i,height:o,width:i}}}return t.\u0275fac=function(e){return new(e||t)(f(s4),f(Io))},t.\u0275dir=w({type:t,selectors:[["","cdkConnectedOverlay","","nzConnectedOverlay",""]],inputs:{nzArrowPointAtCenter:"nzArrowPointAtCenter"},exportAs:["nzConnectedOverlay"],features:[ce([Io])]}),ee([oe()],t.prototype,"nzArrowPointAtCenter",void 0),t})(),y_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({}),t})(),On=(()=>{class t{}return t.SLOW="0.3s",t.BASE="0.2s",t.FAST="0.1s",t})(),nn=(()=>{class t{}return t.EASE_BASE_OUT="cubic-bezier(0.7, 0.3, 0.1, 1)",t.EASE_BASE_IN="cubic-bezier(0.9, 0, 0.3, 0.7)",t.EASE_OUT="cubic-bezier(0.215, 0.61, 0.355, 1)",t.EASE_IN="cubic-bezier(0.55, 0.055, 0.675, 0.19)",t.EASE_IN_OUT="cubic-bezier(0.645, 0.045, 0.355, 1)",t.EASE_OUT_BACK="cubic-bezier(0.12, 0.4, 0.29, 1.46)",t.EASE_IN_BACK="cubic-bezier(0.71, -0.46, 0.88, 0.6)",t.EASE_IN_OUT_BACK="cubic-bezier(0.71, -0.46, 0.29, 1.46)",t.EASE_OUT_CIRC="cubic-bezier(0.08, 0.82, 0.17, 1)",t.EASE_IN_CIRC="cubic-bezier(0.6, 0.04, 0.98, 0.34)",t.EASE_IN_OUT_CIRC="cubic-bezier(0.78, 0.14, 0.15, 0.86)",t.EASE_OUT_QUINT="cubic-bezier(0.23, 1, 0.32, 1)",t.EASE_IN_QUINT="cubic-bezier(0.755, 0.05, 0.855, 0.06)",t.EASE_IN_OUT_QUINT="cubic-bezier(0.86, 0, 0.07, 1)",t})();const QR=Xn("collapseMotion",[Cn("expanded",J({height:"*"})),Cn("collapsed",J({height:0,overflow:"hidden"})),Cn("hidden",J({height:0,overflow:"hidden",borderTopWidth:"0"})),Ke("expanded => collapsed",We(`150ms ${nn.EASE_IN_OUT}`)),Ke("expanded => hidden",We(`150ms ${nn.EASE_IN_OUT}`)),Ke("collapsed => expanded",We(`150ms ${nn.EASE_IN_OUT}`)),Ke("hidden => expanded",We(`150ms ${nn.EASE_IN_OUT}`))]),JR=(Xn("treeCollapseMotion",[Ke("* => *",[oy("nz-tree-node:leave,nz-tree-builtin-node:leave",[J({overflow:"hidden"}),ry(0,[We(`150ms ${nn.EASE_IN_OUT}`,J({height:0,opacity:0,"padding-bottom":0}))])],{optional:!0}),oy("nz-tree-node:enter,nz-tree-builtin-node:enter",[J({overflow:"hidden",height:0,opacity:0,"padding-bottom":0}),ry(0,[We(`150ms ${nn.EASE_IN_OUT}`,J({overflow:"hidden",height:"*",opacity:"*","padding-bottom":"*"}))])],{optional:!0})])]),Xn("fadeMotion",[Ke(":enter",[J({opacity:0}),We(`${On.BASE}`,J({opacity:1}))]),Ke(":leave",[J({opacity:1}),We(`${On.BASE}`,J({opacity:0}))])]),Xn("helpMotion",[Ke(":enter",[J({opacity:0,transform:"translateY(-5px)"}),We(`${On.SLOW} ${nn.EASE_IN_OUT}`,J({opacity:1,transform:"translateY(0)"}))]),Ke(":leave",[J({opacity:1,transform:"translateY(0)"}),We(`${On.SLOW} ${nn.EASE_IN_OUT}`,J({opacity:0,transform:"translateY(-5px)"}))])]),Xn("moveUpMotion",[Ke("* => enter",[J({transformOrigin:"0 0",transform:"translateY(-100%)",opacity:0}),We(`${On.BASE}`,J({transformOrigin:"0 0",transform:"translateY(0%)",opacity:1}))]),Ke("* => leave",[J({transformOrigin:"0 0",transform:"translateY(0%)",opacity:1}),We(`${On.BASE}`,J({transformOrigin:"0 0",transform:"translateY(-100%)",opacity:0}))])]),Xn("notificationMotion",[Cn("enterRight",J({opacity:1,transform:"translateX(0)"})),Ke("* => enterRight",[J({opacity:0,transform:"translateX(5%)"}),We("100ms linear")]),Cn("enterLeft",J({opacity:1,transform:"translateX(0)"})),Ke("* => enterLeft",[J({opacity:0,transform:"translateX(-5%)"}),We("100ms linear")]),Cn("enterTop",J({opacity:1,transform:"translateY(0)"})),Ke("* => enterTop",[J({opacity:0,transform:"translateY(-5%)"}),We("100ms linear")]),Cn("enterBottom",J({opacity:1,transform:"translateY(0)"})),Ke("* => enterBottom",[J({opacity:0,transform:"translateY(5%)"}),We("100ms linear")]),Cn("leave",J({opacity:0,transform:"scaleY(0.8)",transformOrigin:"0% 0%"})),Ke("* => leave",[J({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),We("100ms linear")])]),`${On.BASE} ${nn.EASE_OUT_QUINT}`),eB=`${On.BASE} ${nn.EASE_IN_QUINT}`,__=Xn("slideMotion",[Cn("void",J({opacity:0,transform:"scaleY(0.8)"})),Cn("enter",J({opacity:1,transform:"scaleY(1)"})),Ke("void => *",[We(JR)]),Ke("* => void",[We(eB)])]),tB=(Xn("slideAlertMotion",[Ke(":leave",[J({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),We(`${On.SLOW} ${nn.EASE_IN_OUT_CIRC}`,J({opacity:0,transform:"scaleY(0)",transformOrigin:"0% 0%"}))])]),Xn("zoomBigMotion",[Ke("void => active",[J({opacity:0,transform:"scale(0.8)"}),We(`${On.BASE} ${nn.EASE_OUT_CIRC}`,J({opacity:1,transform:"scale(1)"}))]),Ke("active => void",[J({opacity:1,transform:"scale(1)"}),We(`${On.BASE} ${nn.EASE_IN_OUT_CIRC}`,J({opacity:0,transform:"scale(0.8)"}))])])),nB=(Xn("zoomBadgeMotion",[Ke(":enter",[J({opacity:0,transform:"scale(0) translate(50%, -50%)"}),We(`${On.SLOW} ${nn.EASE_OUT_BACK}`,J({opacity:1,transform:"scale(1) translate(50%, -50%)"}))]),Ke(":leave",[J({opacity:1,transform:"scale(1) translate(50%, -50%)"}),We(`${On.SLOW} ${nn.EASE_IN_BACK}`,J({opacity:0,transform:"scale(0) translate(50%, -50%)"}))])]),Xn("thumbMotion",[Cn("from",J({transform:"translateX({{ transform }}px)",width:"{{ width }}px"}),{params:{transform:0,width:0}}),Cn("to",J({transform:"translateX({{ transform }}px)",width:"{{ width }}px"}),{params:{transform:100,width:0}}),Ke("from => to",We(`300ms ${nn.EASE_IN_OUT}`))]),["nz-submenu-title",""]);function iB(t,n){1&t&&X(0,"span",4),2&t&&M("nzType",x().nzIcon)}function oB(t,n){if(1&t&&(Re(0),R(1,"span"),Tt(2),j(),Be()),2&t){const e=x();k(2),mo(e.nzTitle)}}function rB(t,n){1&t&&X(0,"span",8)}function sB(t,n){1&t&&X(0,"span",9)}function aB(t,n){1&t&&(R(0,"span",5),E(1,rB,1,0,"span",6),E(2,sB,1,0,"span",7),j()),2&t&&(M("ngSwitch",x().dir),k(1),M("ngSwitchCase","rtl"))}function lB(t,n){1&t&&X(0,"span",10)}const cB=["*"],uB=["nz-submenu-inline-child",""];function dB(t,n){}const hB=["nz-submenu-none-inline-child",""];function pB(t,n){}const fB=["nz-submenu",""];function mB(t,n){1&t&&Un(0,0,["*ngIf","!nzTitle"])}function gB(t,n){if(1&t&&X(0,"div",6),2&t){const e=x(),i=ln(7);M("mode",e.mode)("nzOpen",e.nzOpen)("@.disabled",!(null==e.noAnimation||!e.noAnimation.nzNoAnimation))("nzNoAnimation",null==e.noAnimation?null:e.noAnimation.nzNoAnimation)("menuClass",e.nzMenuClassName)("templateOutlet",i)}}function vB(t,n){if(1&t){const e=ht();R(0,"div",8),te("subMenuMouseState",function(o){return Ve(e),Ne(x(2).setMouseEnterState(o))}),j()}if(2&t){const e=x(2),i=ln(7);M("theme",e.theme)("mode",e.mode)("nzOpen",e.nzOpen)("position",e.position)("nzDisabled",e.nzDisabled)("isMenuInsideDropDown",e.isMenuInsideDropDown)("templateOutlet",i)("menuClass",e.nzMenuClassName)("@.disabled",!(null==e.noAnimation||!e.noAnimation.nzNoAnimation))("nzNoAnimation",null==e.noAnimation?null:e.noAnimation.nzNoAnimation)}}function yB(t,n){if(1&t){const e=ht();E(0,vB,1,10,"ng-template",7),te("positionChange",function(o){return Ve(e),Ne(x().onPositionChange(o))})}if(2&t){const e=x(),i=ln(1);M("cdkConnectedOverlayPositions",e.overlayPositions)("cdkConnectedOverlayOrigin",i)("cdkConnectedOverlayWidth",e.triggerWidth)("cdkConnectedOverlayOpen",e.nzOpen)("cdkConnectedOverlayTransformOriginOn",".ant-menu-submenu")}}function _B(t,n){1&t&&Un(0,1)}const CB=[[["","title",""]],"*"],bB=["[title]","*"],Fs=new P("NzIsInDropDownMenuToken"),C_=new P("NzMenuServiceLocalToken");let gr=(()=>{class t{constructor(){this.descendantMenuItemClick$=new F,this.childMenuItemClick$=new F,this.theme$=new ue("light"),this.mode$=new ue("vertical"),this.inlineIndent$=new ue(24),this.isChildSubMenuOpen$=new ue(!1)}onDescendantMenuItemClick(e){this.descendantMenuItemClick$.next(e)}onChildMenuItemClick(e){this.childMenuItemClick$.next(e)}setMode(e){this.mode$.next(e)}setTheme(e){this.theme$.next(e)}setInlineIndent(e){this.inlineIndent$.next(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})(),K6=(()=>{class t{constructor(e,i,o){this.nzHostSubmenuService=e,this.nzMenuService=i,this.isMenuInsideDropDown=o,this.mode$=this.nzMenuService.mode$.pipe(B(l=>"inline"===l?"inline":"vertical"===l||this.nzHostSubmenuService?"vertical":"horizontal")),this.level=1,this.isCurrentSubMenuOpen$=new ue(!1),this.isChildSubMenuOpen$=new ue(!1),this.isMouseEnterTitleOrOverlay$=new F,this.childMenuItemClick$=new F,this.destroy$=new F,this.nzHostSubmenuService&&(this.level=this.nzHostSubmenuService.level+1);const r=this.childMenuItemClick$.pipe(vt(()=>this.mode$),bt(l=>"inline"!==l||this.isMenuInsideDropDown),iu(!1)),s=Ro(this.isMouseEnterTitleOrOverlay$,r);yn([this.isChildSubMenuOpen$,s]).pipe(B(([l,c])=>l||c),ll(150),Eo(),I(this.destroy$)).pipe(Eo()).subscribe(l=>{this.setOpenStateWithoutDebounce(l),this.nzHostSubmenuService?this.nzHostSubmenuService.isChildSubMenuOpen$.next(l):this.nzMenuService.isChildSubMenuOpen$.next(l)})}onChildMenuItemClick(e){this.childMenuItemClick$.next(e)}setOpenStateWithoutDebounce(e){this.isCurrentSubMenuOpen$.next(e)}setMouseEnterTitleOrOverlayState(e){this.isMouseEnterTitleOrOverlay$.next(e)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return t.\u0275fac=function(e){return new(e||t)(v(t,12),v(gr),v(Fs))},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})(),Z6=(()=>{class t{constructor(e,i,o,r,s,a,l){this.nzMenuService=e,this.cdr=i,this.nzSubmenuService=o,this.isMenuInsideDropDown=r,this.directionality=s,this.routerLink=a,this.router=l,this.destroy$=new F,this.level=this.nzSubmenuService?this.nzSubmenuService.level+1:1,this.selected$=new F,this.inlinePaddingLeft=null,this.dir="ltr",this.nzDisabled=!1,this.nzSelected=!1,this.nzDanger=!1,this.nzMatchRouterExact=!1,this.nzMatchRouter=!1,l&&this.router.events.pipe(I(this.destroy$),bt(c=>c instanceof Mo)).subscribe(()=>{this.updateRouterActive()})}clickMenuItem(e){this.nzDisabled?(e.preventDefault(),e.stopPropagation()):(this.nzMenuService.onDescendantMenuItemClick(this),this.nzSubmenuService?this.nzSubmenuService.onChildMenuItemClick(this):this.nzMenuService.onChildMenuItemClick(this))}setSelectedState(e){this.nzSelected=e,this.selected$.next(e)}updateRouterActive(){!this.listOfRouterLink||!this.router||!this.router.navigated||!this.nzMatchRouter||Promise.resolve().then(()=>{const e=this.hasActiveLinks();this.nzSelected!==e&&(this.nzSelected=e,this.setSelectedState(this.nzSelected),this.cdr.markForCheck())})}hasActiveLinks(){const e=this.isLinkActive(this.router);return this.routerLink&&e(this.routerLink)||this.listOfRouterLink.some(e)}isLinkActive(e){return i=>e.isActive(i.urlTree||"",{paths:this.nzMatchRouterExact?"exact":"subset",queryParams:this.nzMatchRouterExact?"exact":"subset",fragment:"ignored",matrixParams:"ignored"})}ngOnInit(){yn([this.nzMenuService.mode$,this.nzMenuService.inlineIndent$]).pipe(I(this.destroy$)).subscribe(([e,i])=>{this.inlinePaddingLeft="inline"===e?this.level*i:null}),this.dir=this.directionality.value,this.directionality.change?.pipe(I(this.destroy$)).subscribe(e=>{this.dir=e})}ngAfterContentInit(){this.listOfRouterLink.changes.pipe(I(this.destroy$)).subscribe(()=>this.updateRouterActive()),this.updateRouterActive()}ngOnChanges(e){e.nzSelected&&this.setSelectedState(this.nzSelected)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return t.\u0275fac=function(e){return new(e||t)(f(gr),f(It),f(K6,8),f(Fs),f(en,8),f(Ka,8),f(_n,8))},t.\u0275dir=w({type:t,selectors:[["","nz-menu-item",""]],contentQueries:function(e,i,o){if(1&e&&At(o,Ka,5),2&e){let r;we(r=Se())&&(i.listOfRouterLink=r)}},hostVars:20,hostBindings:function(e,i){1&e&&te("click",function(r){return i.clickMenuItem(r)}),2&e&&($n("padding-left","rtl"===i.dir?null:i.nzPaddingLeft||i.inlinePaddingLeft,"px")("padding-right","rtl"===i.dir?i.nzPaddingLeft||i.inlinePaddingLeft:null,"px"),et("ant-dropdown-menu-item",i.isMenuInsideDropDown)("ant-dropdown-menu-item-selected",i.isMenuInsideDropDown&&i.nzSelected)("ant-dropdown-menu-item-danger",i.isMenuInsideDropDown&&i.nzDanger)("ant-dropdown-menu-item-disabled",i.isMenuInsideDropDown&&i.nzDisabled)("ant-menu-item",!i.isMenuInsideDropDown)("ant-menu-item-selected",!i.isMenuInsideDropDown&&i.nzSelected)("ant-menu-item-danger",!i.isMenuInsideDropDown&&i.nzDanger)("ant-menu-item-disabled",!i.isMenuInsideDropDown&&i.nzDisabled))},inputs:{nzPaddingLeft:"nzPaddingLeft",nzDisabled:"nzDisabled",nzSelected:"nzSelected",nzDanger:"nzDanger",nzMatchRouterExact:"nzMatchRouterExact",nzMatchRouter:"nzMatchRouter"},exportAs:["nzMenuItem"],features:[$]}),ee([oe()],t.prototype,"nzDisabled",void 0),ee([oe()],t.prototype,"nzSelected",void 0),ee([oe()],t.prototype,"nzDanger",void 0),ee([oe()],t.prototype,"nzMatchRouterExact",void 0),ee([oe()],t.prototype,"nzMatchRouter",void 0),t})(),MB=(()=>{class t{constructor(e,i){this.cdr=e,this.directionality=i,this.nzIcon=null,this.nzTitle=null,this.isMenuInsideDropDown=!1,this.nzDisabled=!1,this.paddingLeft=null,this.mode="vertical",this.toggleSubMenu=new _,this.subMenuMouseState=new _,this.dir="ltr",this.destroy$=new F}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe(I(this.destroy$)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}setMouseState(e){this.nzDisabled||this.subMenuMouseState.next(e)}clickTitle(){"inline"===this.mode&&!this.nzDisabled&&this.toggleSubMenu.emit()}}return t.\u0275fac=function(e){return new(e||t)(f(It),f(en,8))},t.\u0275cmp=ze({type:t,selectors:[["","nz-submenu-title",""]],hostVars:8,hostBindings:function(e,i){1&e&&te("click",function(){return i.clickTitle()})("mouseenter",function(){return i.setMouseState(!0)})("mouseleave",function(){return i.setMouseState(!1)}),2&e&&($n("padding-left","rtl"===i.dir?null:i.paddingLeft,"px")("padding-right","rtl"===i.dir?i.paddingLeft:null,"px"),et("ant-dropdown-menu-submenu-title",i.isMenuInsideDropDown)("ant-menu-submenu-title",!i.isMenuInsideDropDown))},inputs:{nzIcon:"nzIcon",nzTitle:"nzTitle",isMenuInsideDropDown:"isMenuInsideDropDown",nzDisabled:"nzDisabled",paddingLeft:"paddingLeft",mode:"mode"},outputs:{toggleSubMenu:"toggleSubMenu",subMenuMouseState:"subMenuMouseState"},exportAs:["nzSubmenuTitle"],attrs:nB,ngContentSelectors:cB,decls:6,vars:4,consts:[["nz-icon","",3,"nzType",4,"ngIf"],[4,"nzStringTemplateOutlet"],["class","ant-dropdown-menu-submenu-expand-icon",3,"ngSwitch",4,"ngIf","ngIfElse"],["notDropdownTpl",""],["nz-icon","",3,"nzType"],[1,"ant-dropdown-menu-submenu-expand-icon",3,"ngSwitch"],["nz-icon","","nzType","left","class","ant-dropdown-menu-submenu-arrow-icon",4,"ngSwitchCase"],["nz-icon","","nzType","right","class","ant-dropdown-menu-submenu-arrow-icon",4,"ngSwitchDefault"],["nz-icon","","nzType","left",1,"ant-dropdown-menu-submenu-arrow-icon"],["nz-icon","","nzType","right",1,"ant-dropdown-menu-submenu-arrow-icon"],[1,"ant-menu-submenu-arrow"]],template:function(e,i){if(1&e&&(si(),E(0,iB,1,1,"span",0),E(1,oB,3,1,"ng-container",1),Un(2),E(3,aB,3,2,"span",2),E(4,lB,1,0,"ng-template",null,3,xi)),2&e){const o=ln(5);M("ngIf",i.nzIcon),k(1),M("nzStringTemplateOutlet",i.nzTitle),k(2),M("ngIf",i.isMenuInsideDropDown)("ngIfElse",o)}},dependencies:[xt,or,Ea,Kc,Fi,Oi],encapsulation:2,changeDetection:0}),t})(),zB=(()=>{class t{constructor(e,i,o){this.elementRef=e,this.renderer=i,this.directionality=o,this.templateOutlet=null,this.menuClass="",this.mode="vertical",this.nzOpen=!1,this.listOfCacheClassName=[],this.expandState="collapsed",this.dir="ltr",this.destroy$=new F}calcMotionState(){this.expandState=this.nzOpen?"expanded":"collapsed"}ngOnInit(){this.calcMotionState(),this.dir=this.directionality.value,this.directionality.change?.pipe(I(this.destroy$)).subscribe(e=>{this.dir=e})}ngOnChanges(e){const{mode:i,nzOpen:o,menuClass:r}=e;(i||o)&&this.calcMotionState(),r&&(this.listOfCacheClassName.length&&this.listOfCacheClassName.filter(s=>!!s).forEach(s=>{this.renderer.removeClass(this.elementRef.nativeElement,s)}),this.menuClass&&(this.listOfCacheClassName=this.menuClass.split(" "),this.listOfCacheClassName.filter(s=>!!s).forEach(s=>{this.renderer.addClass(this.elementRef.nativeElement,s)})))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return t.\u0275fac=function(e){return new(e||t)(f(ne),f(dt),f(en,8))},t.\u0275cmp=ze({type:t,selectors:[["","nz-submenu-inline-child",""]],hostAttrs:[1,"ant-menu","ant-menu-inline","ant-menu-sub"],hostVars:3,hostBindings:function(e,i){2&e&&(ss("@collapseMotion",i.expandState),et("ant-menu-rtl","rtl"===i.dir))},inputs:{templateOutlet:"templateOutlet",menuClass:"menuClass",mode:"mode",nzOpen:"nzOpen"},exportAs:["nzSubmenuInlineChild"],features:[$],attrs:uB,decls:1,vars:1,consts:[[3,"ngTemplateOutlet"]],template:function(e,i){1&e&&E(0,dB,0,0,"ng-template",0),2&e&&M("ngTemplateOutlet",i.templateOutlet)},dependencies:[ka],encapsulation:2,data:{animation:[QR]},changeDetection:0}),t})(),wB=(()=>{class t{constructor(e){this.directionality=e,this.menuClass="",this.theme="light",this.templateOutlet=null,this.isMenuInsideDropDown=!1,this.mode="vertical",this.position="right",this.nzDisabled=!1,this.nzOpen=!1,this.subMenuMouseState=new _,this.expandState="collapsed",this.dir="ltr",this.destroy$=new F}setMouseState(e){this.nzDisabled||this.subMenuMouseState.next(e)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}calcMotionState(){this.nzOpen?"horizontal"===this.mode?this.expandState="bottom":"vertical"===this.mode&&(this.expandState="active"):this.expandState="collapsed"}ngOnInit(){this.calcMotionState(),this.dir=this.directionality.value,this.directionality.change?.pipe(I(this.destroy$)).subscribe(e=>{this.dir=e})}ngOnChanges(e){const{mode:i,nzOpen:o}=e;(i||o)&&this.calcMotionState()}}return t.\u0275fac=function(e){return new(e||t)(f(en,8))},t.\u0275cmp=ze({type:t,selectors:[["","nz-submenu-none-inline-child",""]],hostAttrs:[1,"ant-menu-submenu","ant-menu-submenu-popup"],hostVars:14,hostBindings:function(e,i){1&e&&te("mouseenter",function(){return i.setMouseState(!0)})("mouseleave",function(){return i.setMouseState(!1)}),2&e&&(ss("@slideMotion",i.expandState)("@zoomBigMotion",i.expandState),et("ant-menu-light","light"===i.theme)("ant-menu-dark","dark"===i.theme)("ant-menu-submenu-placement-bottom","horizontal"===i.mode)("ant-menu-submenu-placement-right","vertical"===i.mode&&"right"===i.position)("ant-menu-submenu-placement-left","vertical"===i.mode&&"left"===i.position)("ant-menu-submenu-rtl","rtl"===i.dir))},inputs:{menuClass:"menuClass",theme:"theme",templateOutlet:"templateOutlet",isMenuInsideDropDown:"isMenuInsideDropDown",mode:"mode",position:"position",nzDisabled:"nzDisabled",nzOpen:"nzOpen"},outputs:{subMenuMouseState:"subMenuMouseState"},exportAs:["nzSubmenuNoneInlineChild"],features:[$],attrs:hB,decls:2,vars:16,consts:[[3,"ngClass"],[3,"ngTemplateOutlet"]],template:function(e,i){1&e&&(R(0,"div",0),E(1,pB,0,0,"ng-template",1),j()),2&e&&(et("ant-dropdown-menu",i.isMenuInsideDropDown)("ant-menu",!i.isMenuInsideDropDown)("ant-dropdown-menu-vertical",i.isMenuInsideDropDown)("ant-menu-vertical",!i.isMenuInsideDropDown)("ant-dropdown-menu-sub",i.isMenuInsideDropDown)("ant-menu-sub",!i.isMenuInsideDropDown)("ant-menu-rtl","rtl"===i.dir),M("ngClass",i.menuClass),k(1),M("ngTemplateOutlet",i.templateOutlet))},dependencies:[Gc,ka],encapsulation:2,data:{animation:[tB,__]},changeDetection:0}),t})();const b_=[ke.rightTop,ke.right,ke.rightBottom,ke.leftTop,ke.left,ke.leftBottom],SB=[ke.bottomLeft,ke.bottomRight,ke.topRight,ke.topLeft];let M_=(()=>{class t{constructor(e,i,o,r,s,a,l){this.nzMenuService=e,this.cdr=i,this.nzSubmenuService=o,this.platform=r,this.isMenuInsideDropDown=s,this.directionality=a,this.noAnimation=l,this.nzMenuClassName="",this.nzPaddingLeft=null,this.nzTitle=null,this.nzIcon=null,this.nzOpen=!1,this.nzDisabled=!1,this.nzPlacement="bottomLeft",this.nzOpenChange=new _,this.cdkOverlayOrigin=null,this.listOfNzSubMenuComponent=null,this.listOfNzMenuItemDirective=null,this.level=this.nzSubmenuService.level,this.destroy$=new F,this.position="right",this.triggerWidth=null,this.theme="light",this.mode="vertical",this.inlinePaddingLeft=null,this.overlayPositions=b_,this.isSelected=!1,this.isActive=!1,this.dir="ltr"}setOpenStateWithoutDebounce(e){this.nzSubmenuService.setOpenStateWithoutDebounce(e)}toggleSubMenu(){this.setOpenStateWithoutDebounce(!this.nzOpen)}setMouseEnterState(e){this.isActive=e,"inline"!==this.mode&&this.nzSubmenuService.setMouseEnterTitleOrOverlayState(e)}setTriggerWidth(){"horizontal"===this.mode&&this.platform.isBrowser&&this.cdkOverlayOrigin&&"bottomLeft"===this.nzPlacement&&(this.triggerWidth=this.cdkOverlayOrigin.nativeElement.getBoundingClientRect().width)}onPositionChange(e){const i=q6(e);"rightTop"===i||"rightBottom"===i||"right"===i?this.position="right":("leftTop"===i||"leftBottom"===i||"left"===i)&&(this.position="left")}ngOnInit(){this.nzMenuService.theme$.pipe(I(this.destroy$)).subscribe(e=>{this.theme=e,this.cdr.markForCheck()}),this.nzSubmenuService.mode$.pipe(I(this.destroy$)).subscribe(e=>{this.mode=e,"horizontal"===e?this.overlayPositions=[ke[this.nzPlacement],...SB]:"vertical"===e&&(this.overlayPositions=b_),this.cdr.markForCheck()}),yn([this.nzSubmenuService.mode$,this.nzMenuService.inlineIndent$]).pipe(I(this.destroy$)).subscribe(([e,i])=>{this.inlinePaddingLeft="inline"===e?this.level*i:null,this.cdr.markForCheck()}),this.nzSubmenuService.isCurrentSubMenuOpen$.pipe(I(this.destroy$)).subscribe(e=>{this.isActive=e,e!==this.nzOpen&&(this.setTriggerWidth(),this.nzOpen=e,this.nzOpenChange.emit(this.nzOpen),this.cdr.markForCheck())}),this.dir=this.directionality.value,this.directionality.change?.pipe(I(this.destroy$)).subscribe(e=>{this.dir=e,this.cdr.markForCheck()})}ngAfterContentInit(){this.setTriggerWidth();const e=this.listOfNzMenuItemDirective,i=e.changes,o=Ro(i,...e.map(r=>r.selected$));i.pipe(Rt(e),Zt(()=>o),Rt(!0),B(()=>e.some(r=>r.nzSelected)),I(this.destroy$)).subscribe(r=>{this.isSelected=r,this.cdr.markForCheck()})}ngOnChanges(e){const{nzOpen:i}=e;i&&(this.nzSubmenuService.setOpenStateWithoutDebounce(this.nzOpen),this.setTriggerWidth())}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return t.\u0275fac=function(e){return new(e||t)(f(gr),f(It),f(K6),f(Jt),f(Fs),f(en,8),f(pl,9))},t.\u0275cmp=ze({type:t,selectors:[["","nz-submenu",""]],contentQueries:function(e,i,o){if(1&e&&(At(o,t,5),At(o,Z6,5)),2&e){let r;we(r=Se())&&(i.listOfNzSubMenuComponent=r),we(r=Se())&&(i.listOfNzMenuItemDirective=r)}},viewQuery:function(e,i){if(1&e&&Et(Es,7,ne),2&e){let o;we(o=Se())&&(i.cdkOverlayOrigin=o.first)}},hostVars:34,hostBindings:function(e,i){2&e&&et("ant-dropdown-menu-submenu",i.isMenuInsideDropDown)("ant-dropdown-menu-submenu-disabled",i.isMenuInsideDropDown&&i.nzDisabled)("ant-dropdown-menu-submenu-open",i.isMenuInsideDropDown&&i.nzOpen)("ant-dropdown-menu-submenu-selected",i.isMenuInsideDropDown&&i.isSelected)("ant-dropdown-menu-submenu-vertical",i.isMenuInsideDropDown&&"vertical"===i.mode)("ant-dropdown-menu-submenu-horizontal",i.isMenuInsideDropDown&&"horizontal"===i.mode)("ant-dropdown-menu-submenu-inline",i.isMenuInsideDropDown&&"inline"===i.mode)("ant-dropdown-menu-submenu-active",i.isMenuInsideDropDown&&i.isActive)("ant-menu-submenu",!i.isMenuInsideDropDown)("ant-menu-submenu-disabled",!i.isMenuInsideDropDown&&i.nzDisabled)("ant-menu-submenu-open",!i.isMenuInsideDropDown&&i.nzOpen)("ant-menu-submenu-selected",!i.isMenuInsideDropDown&&i.isSelected)("ant-menu-submenu-vertical",!i.isMenuInsideDropDown&&"vertical"===i.mode)("ant-menu-submenu-horizontal",!i.isMenuInsideDropDown&&"horizontal"===i.mode)("ant-menu-submenu-inline",!i.isMenuInsideDropDown&&"inline"===i.mode)("ant-menu-submenu-active",!i.isMenuInsideDropDown&&i.isActive)("ant-menu-submenu-rtl","rtl"===i.dir)},inputs:{nzMenuClassName:"nzMenuClassName",nzPaddingLeft:"nzPaddingLeft",nzTitle:"nzTitle",nzIcon:"nzIcon",nzOpen:"nzOpen",nzDisabled:"nzDisabled",nzPlacement:"nzPlacement"},outputs:{nzOpenChange:"nzOpenChange"},exportAs:["nzSubmenu"],features:[ce([K6]),$],attrs:fB,ngContentSelectors:bB,decls:8,vars:9,consts:[["nz-submenu-title","","cdkOverlayOrigin","",3,"nzIcon","nzTitle","mode","nzDisabled","isMenuInsideDropDown","paddingLeft","subMenuMouseState","toggleSubMenu"],["origin","cdkOverlayOrigin"],[4,"ngIf"],["nz-submenu-inline-child","",3,"mode","nzOpen","nzNoAnimation","menuClass","templateOutlet",4,"ngIf","ngIfElse"],["nonInlineTemplate",""],["subMenuTemplate",""],["nz-submenu-inline-child","",3,"mode","nzOpen","nzNoAnimation","menuClass","templateOutlet"],["cdkConnectedOverlay","",3,"cdkConnectedOverlayPositions","cdkConnectedOverlayOrigin","cdkConnectedOverlayWidth","cdkConnectedOverlayOpen","cdkConnectedOverlayTransformOriginOn","positionChange"],["nz-submenu-none-inline-child","",3,"theme","mode","nzOpen","position","nzDisabled","isMenuInsideDropDown","templateOutlet","menuClass","nzNoAnimation","subMenuMouseState"]],template:function(e,i){if(1&e&&(si(CB),R(0,"div",0,1),te("subMenuMouseState",function(r){return i.setMouseEnterState(r)})("toggleSubMenu",function(){return i.toggleSubMenu()}),E(2,mB,1,0,"ng-content",2),j(),E(3,gB,1,6,"div",3),E(4,yB,1,5,"ng-template",null,4,xi),E(6,_B,1,0,"ng-template",null,5,xi)),2&e){const o=ln(5);M("nzIcon",i.nzIcon)("nzTitle",i.nzTitle)("mode",i.mode)("nzDisabled",i.nzDisabled)("isMenuInsideDropDown",i.isMenuInsideDropDown)("paddingLeft",i.nzPaddingLeft||i.inlinePaddingLeft),k(2),M("ngIf",!i.nzTitle),k(1),M("ngIf","inline"===i.mode)("ngIfElse",o)}},dependencies:[xt,s4,Es,pl,MB,zB,wB],encapsulation:2,changeDetection:0}),ee([oe()],t.prototype,"nzOpen",void 0),ee([oe()],t.prototype,"nzDisabled",void 0),t})();function DB(t,n){return t||n}function TB(t){return t||!1}let EB=(()=>{class t{constructor(e,i,o,r){this.nzMenuService=e,this.isMenuInsideDropDown=i,this.cdr=o,this.directionality=r,this.nzInlineIndent=24,this.nzTheme="light",this.nzMode="vertical",this.nzInlineCollapsed=!1,this.nzSelectable=!this.isMenuInsideDropDown,this.nzClick=new _,this.actualMode="vertical",this.dir="ltr",this.inlineCollapsed$=new ue(this.nzInlineCollapsed),this.mode$=new ue(this.nzMode),this.destroy$=new F,this.listOfOpenedNzSubMenuComponent=[]}setInlineCollapsed(e){this.nzInlineCollapsed=e,this.inlineCollapsed$.next(e)}updateInlineCollapse(){this.listOfNzMenuItemDirective&&(this.nzInlineCollapsed?(this.listOfOpenedNzSubMenuComponent=this.listOfNzSubMenuComponent.filter(e=>e.nzOpen),this.listOfNzSubMenuComponent.forEach(e=>e.setOpenStateWithoutDebounce(!1))):(this.listOfOpenedNzSubMenuComponent.forEach(e=>e.setOpenStateWithoutDebounce(!0)),this.listOfOpenedNzSubMenuComponent=[]))}ngOnInit(){yn([this.inlineCollapsed$,this.mode$]).pipe(I(this.destroy$)).subscribe(([e,i])=>{this.actualMode=e?"vertical":i,this.nzMenuService.setMode(this.actualMode),this.cdr.markForCheck()}),this.nzMenuService.descendantMenuItemClick$.pipe(I(this.destroy$)).subscribe(e=>{this.nzClick.emit(e),this.nzSelectable&&!e.nzMatchRouter&&this.listOfNzMenuItemDirective.forEach(i=>i.setSelectedState(i===e))}),this.dir=this.directionality.value,this.directionality.change?.pipe(I(this.destroy$)).subscribe(e=>{this.dir=e,this.nzMenuService.setMode(this.actualMode),this.cdr.markForCheck()})}ngAfterContentInit(){this.inlineCollapsed$.pipe(I(this.destroy$)).subscribe(()=>{this.updateInlineCollapse(),this.cdr.markForCheck()})}ngOnChanges(e){const{nzInlineCollapsed:i,nzInlineIndent:o,nzTheme:r,nzMode:s}=e;i&&this.inlineCollapsed$.next(this.nzInlineCollapsed),o&&this.nzMenuService.setInlineIndent(this.nzInlineIndent),r&&this.nzMenuService.setTheme(this.nzTheme),s&&(this.mode$.next(this.nzMode),!e.nzMode.isFirstChange()&&this.listOfNzSubMenuComponent&&this.listOfNzSubMenuComponent.forEach(a=>a.setOpenStateWithoutDebounce(!1)))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return t.\u0275fac=function(e){return new(e||t)(f(gr),f(Fs),f(It),f(en,8))},t.\u0275dir=w({type:t,selectors:[["","nz-menu",""]],contentQueries:function(e,i,o){if(1&e&&(At(o,Z6,5),At(o,M_,5)),2&e){let r;we(r=Se())&&(i.listOfNzMenuItemDirective=r),we(r=Se())&&(i.listOfNzSubMenuComponent=r)}},hostVars:34,hostBindings:function(e,i){2&e&&et("ant-dropdown-menu",i.isMenuInsideDropDown)("ant-dropdown-menu-root",i.isMenuInsideDropDown)("ant-dropdown-menu-light",i.isMenuInsideDropDown&&"light"===i.nzTheme)("ant-dropdown-menu-dark",i.isMenuInsideDropDown&&"dark"===i.nzTheme)("ant-dropdown-menu-vertical",i.isMenuInsideDropDown&&"vertical"===i.actualMode)("ant-dropdown-menu-horizontal",i.isMenuInsideDropDown&&"horizontal"===i.actualMode)("ant-dropdown-menu-inline",i.isMenuInsideDropDown&&"inline"===i.actualMode)("ant-dropdown-menu-inline-collapsed",i.isMenuInsideDropDown&&i.nzInlineCollapsed)("ant-menu",!i.isMenuInsideDropDown)("ant-menu-root",!i.isMenuInsideDropDown)("ant-menu-light",!i.isMenuInsideDropDown&&"light"===i.nzTheme)("ant-menu-dark",!i.isMenuInsideDropDown&&"dark"===i.nzTheme)("ant-menu-vertical",!i.isMenuInsideDropDown&&"vertical"===i.actualMode)("ant-menu-horizontal",!i.isMenuInsideDropDown&&"horizontal"===i.actualMode)("ant-menu-inline",!i.isMenuInsideDropDown&&"inline"===i.actualMode)("ant-menu-inline-collapsed",!i.isMenuInsideDropDown&&i.nzInlineCollapsed)("ant-menu-rtl","rtl"===i.dir)},inputs:{nzInlineIndent:"nzInlineIndent",nzTheme:"nzTheme",nzMode:"nzMode",nzInlineCollapsed:"nzInlineCollapsed",nzSelectable:"nzSelectable"},outputs:{nzClick:"nzClick"},exportAs:["nzMenu"],features:[ce([{provide:C_,useClass:gr},{provide:gr,useFactory:DB,deps:[[new Wo,new ho,gr],C_]},{provide:Fs,useFactory:TB,deps:[[new Wo,new ho,Fs]]}]),$]}),ee([oe()],t.prototype,"nzInlineCollapsed",void 0),ee([oe()],t.prototype,"nzSelectable",void 0),t})(),X6=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[An,dn,ko,a4,ro,_4,Is]}),t})(),z_=(()=>{class t{constructor(e,i,o,r,s,a,l){this.elementRef=e,this.renderer=i,this.mediaMatcher=o,this.ngZone=r,this.platform=s,this.breakpointService=a,this.directionality=l,this.nzAlign=null,this.nzJustify=null,this.nzGutter=null,this.actualGutter$=new Z1(1),this.dir="ltr",this.destroy$=new F}getGutter(){const e=[null,null],i=this.nzGutter||0;return(Array.isArray(i)?i:[i,null]).forEach((r,s)=>{"object"==typeof r&&null!==r?(e[s]=null,Object.keys(w4).map(a=>{const l=a;this.mediaMatcher.matchMedia(w4[l]).matches&&r[l]&&(e[s]=r[l])})):e[s]=Number(r)||null}),e}setGutterStyle(){const[e,i]=this.getGutter();this.actualGutter$.next([e,i]);const o=(r,s)=>{null!==s&&this.renderer.setStyle(this.elementRef.nativeElement,r,`-${s/2}px`)};o("margin-left",e),o("margin-right",e),o("margin-top",i),o("margin-bottom",i)}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe(I(this.destroy$)).subscribe(e=>{this.dir=e}),this.setGutterStyle()}ngOnChanges(e){e.nzGutter&&this.setGutterStyle()}ngAfterViewInit(){this.platform.isBrowser&&this.breakpointService.subscribe(w4).pipe(I(this.destroy$)).subscribe(()=>{this.setGutterStyle()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return t.\u0275fac=function(e){return new(e||t)(f(ne),f(dt),f(I6),f(N),f(Jt),f(ZR),f(en,8))},t.\u0275dir=w({type:t,selectors:[["","nz-row",""],["nz-row"],["nz-form-item"]],hostAttrs:[1,"ant-row"],hostVars:20,hostBindings:function(e,i){2&e&&et("ant-row-top","top"===i.nzAlign)("ant-row-middle","middle"===i.nzAlign)("ant-row-bottom","bottom"===i.nzAlign)("ant-row-start","start"===i.nzJustify)("ant-row-end","end"===i.nzJustify)("ant-row-center","center"===i.nzJustify)("ant-row-space-around","space-around"===i.nzJustify)("ant-row-space-between","space-between"===i.nzJustify)("ant-row-space-evenly","space-evenly"===i.nzJustify)("ant-row-rtl","rtl"===i.dir)},inputs:{nzAlign:"nzAlign",nzJustify:"nzJustify",nzGutter:"nzGutter"},exportAs:["nzRow"],features:[$]}),t})(),kB=(()=>{class t{constructor(e,i,o,r){this.elementRef=e,this.nzRowDirective=i,this.renderer=o,this.directionality=r,this.classMap={},this.destroy$=new F,this.hostFlexStyle=null,this.dir="ltr",this.nzFlex=null,this.nzSpan=null,this.nzOrder=null,this.nzOffset=null,this.nzPush=null,this.nzPull=null,this.nzXs=null,this.nzSm=null,this.nzMd=null,this.nzLg=null,this.nzXl=null,this.nzXXl=null}setHostClassMap(){const e={"ant-col":!0,[`ant-col-${this.nzSpan}`]:mi(this.nzSpan),[`ant-col-order-${this.nzOrder}`]:mi(this.nzOrder),[`ant-col-offset-${this.nzOffset}`]:mi(this.nzOffset),[`ant-col-pull-${this.nzPull}`]:mi(this.nzPull),[`ant-col-push-${this.nzPush}`]:mi(this.nzPush),"ant-col-rtl":"rtl"===this.dir,...this.generateClass()};for(const i in this.classMap)this.classMap.hasOwnProperty(i)&&this.renderer.removeClass(this.elementRef.nativeElement,i);this.classMap={...e};for(const i in this.classMap)this.classMap.hasOwnProperty(i)&&this.classMap[i]&&this.renderer.addClass(this.elementRef.nativeElement,i)}setHostFlexStyle(){this.hostFlexStyle=this.parseFlex(this.nzFlex)}parseFlex(e){return"number"==typeof e?`${e} ${e} auto`:"string"==typeof e&&/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}generateClass(){const i={};return["nzXs","nzSm","nzMd","nzLg","nzXl","nzXXl"].forEach(o=>{const r=o.replace("nz","").toLowerCase();if(mi(this[o]))if("number"==typeof this[o]||"string"==typeof this[o])i[`ant-col-${r}-${this[o]}`]=!0;else{const s=this[o];["span","pull","push","offset","order"].forEach(l=>{i[`ant-col-${r}${"span"===l?"-":`-${l}-`}${s[l]}`]=s&&mi(s[l])})}}),i}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe(I(this.destroy$)).subscribe(e=>{this.dir=e,this.setHostClassMap()}),this.setHostClassMap(),this.setHostFlexStyle()}ngOnChanges(e){this.setHostClassMap();const{nzFlex:i}=e;i&&this.setHostFlexStyle()}ngAfterViewInit(){this.nzRowDirective&&this.nzRowDirective.actualGutter$.pipe(I(this.destroy$)).subscribe(([e,i])=>{const o=(r,s)=>{null!==s&&this.renderer.setStyle(this.elementRef.nativeElement,r,s/2+"px")};o("padding-left",e),o("padding-right",e),o("padding-top",i),o("padding-bottom",i)})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return t.\u0275fac=function(e){return new(e||t)(f(ne),f(z_,9),f(dt),f(en,8))},t.\u0275dir=w({type:t,selectors:[["","nz-col",""],["nz-col"],["nz-form-control"],["nz-form-label"]],hostVars:2,hostBindings:function(e,i){2&e&&$n("flex",i.hostFlexStyle)},inputs:{nzFlex:"nzFlex",nzSpan:"nzSpan",nzOrder:"nzOrder",nzOffset:"nzOffset",nzPush:"nzPush",nzPull:"nzPull",nzXs:"nzXs",nzSm:"nzSm",nzMd:"nzMd",nzLg:"nzLg",nzXl:"nzXl",nzXXl:"nzXXl"},exportAs:["nzCol"],features:[$]}),t})(),xB=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[An,dn,uy,ko]}),t})();function PB(t,n){if(1&t&&(Re(0),X(1,"img",5),Be()),2&t){const e=x(2);k(1),M("src",e.nzNotFoundImage,a3)("alt",e.isContentString?e.nzNotFoundContent:"empty")}}function AB(t,n){if(1&t&&(Re(0),E(1,PB,2,2,"ng-container",4),Be()),2&t){const e=x();k(1),M("nzStringTemplateOutlet",e.nzNotFoundImage)}}function IB(t,n){1&t&&X(0,"nz-empty-default")}function OB(t,n){1&t&&X(0,"nz-empty-simple")}function FB(t,n){if(1&t&&(Re(0),Tt(1),Be()),2&t){const e=x(2);k(1),Wn(" ",e.isContentString?e.nzNotFoundContent:e.locale.description," ")}}function VB(t,n){if(1&t&&(R(0,"p",6),E(1,FB,2,1,"ng-container",4),j()),2&t){const e=x();k(1),M("nzStringTemplateOutlet",e.nzNotFoundContent)}}function NB(t,n){if(1&t&&(Re(0),Tt(1),Be()),2&t){const e=x(2);k(1),Wn(" ",e.nzNotFoundFooter," ")}}function LB(t,n){if(1&t&&(R(0,"div",7),E(1,NB,2,1,"ng-container",4),j()),2&t){const e=x();k(1),M("nzStringTemplateOutlet",e.nzNotFoundFooter)}}function HB(t,n){1&t&&X(0,"nz-empty",6),2&t&&M("nzNotFoundImage","simple")}function RB(t,n){1&t&&X(0,"nz-empty",7),2&t&&M("nzNotFoundImage","simple")}function BB(t,n){1&t&&X(0,"nz-empty")}function YB(t,n){1&t&&(Re(0,2),E(1,HB,1,1,"nz-empty",3),E(2,RB,1,1,"nz-empty",4),E(3,BB,1,0,"nz-empty",5),Be()),2&t&&(M("ngSwitch",x().size),k(1),M("ngSwitchCase","normal"),k(1),M("ngSwitchCase","small"))}function jB(t,n){}function UB(t,n){1&t&&E(0,jB,0,0,"ng-template",8),2&t&&M("cdkPortalOutlet",x(2).contentPortal)}function $B(t,n){if(1&t&&(Re(0),Tt(1),Be()),2&t){const e=x(2);k(1),Wn(" ",e.content," ")}}function WB(t,n){if(1&t&&(Re(0),E(1,UB,1,1,null,1),E(2,$B,2,1,"ng-container",1),Be()),2&t){const e=x();k(1),M("ngIf","string"!==e.contentType),k(1),M("ngIf","string"===e.contentType)}}const GB=new P("nz-empty-component-name");let qB=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=ze({type:t,selectors:[["nz-empty-default"]],exportAs:["nzEmptyDefault"],decls:12,vars:0,consts:[["width","184","height","152","viewBox","0 0 184 152","xmlns","http://www.w3.org/2000/svg",1,"ant-empty-img-default"],["fill","none","fill-rule","evenodd"],["transform","translate(24 31.67)"],["cx","67.797","cy","106.89","rx","67.797","ry","12.668",1,"ant-empty-img-default-ellipse"],["d","M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",1,"ant-empty-img-default-path-1"],["d","M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z","transform","translate(13.56)",1,"ant-empty-img-default-path-2"],["d","M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",1,"ant-empty-img-default-path-3"],["d","M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",1,"ant-empty-img-default-path-4"],["d","M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",1,"ant-empty-img-default-path-5"],["transform","translate(149.65 15.383)",1,"ant-empty-img-default-g"],["cx","20.654","cy","3.167","rx","2.849","ry","2.815"],["d","M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"]],template:function(e,i){1&e&&(w2(),R(0,"svg",0)(1,"g",1)(2,"g",2),X(3,"ellipse",3)(4,"path",4)(5,"path",5)(6,"path",6)(7,"path",7),j(),X(8,"path",8),R(9,"g",9),X(10,"ellipse",10)(11,"path",11),j()()())},encapsulation:2,changeDetection:0}),t})(),KB=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=ze({type:t,selectors:[["nz-empty-simple"]],exportAs:["nzEmptySimple"],decls:6,vars:0,consts:[["width","64","height","41","viewBox","0 0 64 41","xmlns","http://www.w3.org/2000/svg",1,"ant-empty-img-simple"],["transform","translate(0 1)","fill","none","fill-rule","evenodd"],["cx","32","cy","33","rx","32","ry","7",1,"ant-empty-img-simple-ellipse"],["fill-rule","nonzero",1,"ant-empty-img-simple-g"],["d","M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"],["d","M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",1,"ant-empty-img-simple-path"]],template:function(e,i){1&e&&(w2(),R(0,"svg",0)(1,"g",1),X(2,"ellipse",2),R(3,"g",3),X(4,"path",4)(5,"path",5),j()()())},encapsulation:2,changeDetection:0}),t})();const ZB=["default","simple"];let XB=(()=>{class t{constructor(e,i){this.i18n=e,this.cdr=i,this.nzNotFoundImage="default",this.isContentString=!1,this.isImageBuildIn=!0,this.destroy$=new F}ngOnChanges(e){const{nzNotFoundContent:i,nzNotFoundImage:o}=e;if(i&&(this.isContentString="string"==typeof i.currentValue),o){const r=o.currentValue||"default";this.isImageBuildIn=ZB.findIndex(s=>s===r)>-1}}ngOnInit(){this.i18n.localeChange.pipe(I(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Empty"),this.cdr.markForCheck()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return t.\u0275fac=function(e){return new(e||t)(f(m4),f(It))},t.\u0275cmp=ze({type:t,selectors:[["nz-empty"]],hostAttrs:[1,"ant-empty"],inputs:{nzNotFoundImage:"nzNotFoundImage",nzNotFoundContent:"nzNotFoundContent",nzNotFoundFooter:"nzNotFoundFooter"},exportAs:["nzEmpty"],features:[$],decls:6,vars:5,consts:[[1,"ant-empty-image"],[4,"ngIf"],["class","ant-empty-description",4,"ngIf"],["class","ant-empty-footer",4,"ngIf"],[4,"nzStringTemplateOutlet"],[3,"src","alt"],[1,"ant-empty-description"],[1,"ant-empty-footer"]],template:function(e,i){1&e&&(R(0,"div",0),E(1,AB,2,1,"ng-container",1),E(2,IB,1,0,"nz-empty-default",1),E(3,OB,1,0,"nz-empty-simple",1),j(),E(4,VB,2,1,"p",2),E(5,LB,2,1,"div",3)),2&e&&(k(1),M("ngIf",!i.isImageBuildIn),k(1),M("ngIf",i.isImageBuildIn&&"simple"!==i.nzNotFoundImage),k(1),M("ngIf",i.isImageBuildIn&&"simple"===i.nzNotFoundImage),k(1),M("ngIf",null!==i.nzNotFoundContent),k(1),M("ngIf",i.nzNotFoundFooter))},dependencies:[xt,Oi,qB,KB],encapsulation:2,changeDetection:0}),t})(),JB=(()=>{class t{constructor(e,i,o,r){this.configService=e,this.viewContainerRef=i,this.cdr=o,this.injector=r,this.contentType="string",this.size="",this.destroy$=new F}ngOnChanges(e){e.nzComponentName&&(this.size=function QB(t){switch(t){case"table":case"list":return"normal";case"select":case"tree-select":case"cascader":case"transfer":return"small";default:return""}}(e.nzComponentName.currentValue)),e.specificContent&&!e.specificContent.isFirstChange()&&(this.content=e.specificContent.currentValue,this.renderEmpty())}ngOnInit(){this.subscribeDefaultEmptyContentChange()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}renderEmpty(){const e=this.content;if("string"==typeof e)this.contentType="string";else if(e instanceof $e){const i={$implicit:this.nzComponentName};this.contentType="template",this.contentPortal=new t4(e,this.viewContainerRef,i)}else if(e instanceof ql){const i=St.create({parent:this.injector,providers:[{provide:GB,useValue:this.nzComponentName}]});this.contentType="component",this.contentPortal=new e4(e,this.viewContainerRef,i)}else this.contentType="string",this.contentPortal=void 0;this.cdr.detectChanges()}subscribeDefaultEmptyContentChange(){this.configService.getConfigChangeEventForComponent("empty").pipe(Rt(!0),I(this.destroy$)).subscribe(()=>{this.content=this.specificContent||this.getUserDefaultEmptyContent(),this.renderEmpty()})}getUserDefaultEmptyContent(){return(this.configService.getConfigForComponent("empty")||{}).nzDefaultEmptyContent}}return t.\u0275fac=function(e){return new(e||t)(f(fr),f(Ht),f(It),f(St))},t.\u0275cmp=ze({type:t,selectors:[["nz-embed-empty"]],inputs:{nzComponentName:"nzComponentName",specificContent:"specificContent"},exportAs:["nzEmbedEmpty"],features:[$],decls:2,vars:2,consts:[[3,"ngSwitch",4,"ngIf"],[4,"ngIf"],[3,"ngSwitch"],["class","ant-empty-normal",3,"nzNotFoundImage",4,"ngSwitchCase"],["class","ant-empty-small",3,"nzNotFoundImage",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"ant-empty-normal",3,"nzNotFoundImage"],[1,"ant-empty-small",3,"nzNotFoundImage"],[3,"cdkPortalOutlet"]],template:function(e,i){1&e&&(E(0,YB,4,3,"ng-container",0),E(1,WB,3,2,"ng-container",1)),2&e&&(M("ngIf",!i.content&&null!==i.specificContent),k(1),M("ngIf",i.content))},dependencies:[xt,or,Ea,Kc,dl,XB],encapsulation:2,changeDetection:0}),t})(),eY=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[An,dn,v6,Is,B6]}),t})();function nY(t,n){1&t&&X(0,"span",1),2&t&&M("nzType",x().iconType)}let iY=(()=>{class t{constructor(){this.formStatusChanges=new Z1(1)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})(),oY=(()=>{class t{constructor(){this.noFormStatus=new ue(!1)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})();const rY={error:"close-circle-fill",validating:"loading",success:"check-circle-fill",warning:"exclamation-circle-fill"};let sY=(()=>{class t{constructor(e){this.cdr=e,this.status="",this.iconType=null}ngOnChanges(e){this.updateIcon()}updateIcon(){this.iconType=this.status?rY[this.status]:null,this.cdr.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(f(It))},t.\u0275cmp=ze({type:t,selectors:[["nz-form-item-feedback-icon"]],hostAttrs:[1,"ant-form-item-feedback-icon"],hostVars:8,hostBindings:function(e,i){2&e&&et("ant-form-item-feedback-icon-error","error"===i.status)("ant-form-item-feedback-icon-warning","warning"===i.status)("ant-form-item-feedback-icon-success","success"===i.status)("ant-form-item-feedback-icon-validating","validating"===i.status)},inputs:{status:"status"},exportAs:["nzFormFeedbackIcon"],features:[$],decls:1,vars:1,consts:[["nz-icon","",3,"nzType",4,"ngIf"],["nz-icon","",3,"nzType"]],template:function(e,i){1&e&&E(0,nY,1,1,"span",0),2&e&&M("ngIf",i.iconType)},dependencies:[xt,Fi],encapsulation:2,changeDetection:0}),t})(),aY=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[dn,ro]}),t})();const w_=["*"];function lY(t,n){}function cY(t,n){1&t&&E(0,lY,0,0,"ng-template",4),2&t&&M("ngTemplateOutlet",x().template)}function uY(t,n){1&t&&Tt(0),2&t&&mo(x().label)}function dY(t,n){1&t&&X(0,"span",7)}function hY(t,n){if(1&t&&(R(0,"div",5),E(1,dY,1,0,"span",6),j()),2&t){const e=x();k(1),M("ngIf",!e.icon)("ngIfElse",e.icon)}}function pY(t,n){if(1&t&&(Re(0),Tt(1),Be()),2&t){const e=x();k(1),mo(e.nzLabel)}}function fY(t,n){if(1&t&&(R(0,"div",4),X(1,"nz-embed-empty",5),j()),2&t){const e=x();k(1),M("specificContent",e.notFoundContent)}}function mY(t,n){1&t&&X(0,"nz-option-item-group",9),2&t&&M("nzLabel",x().$implicit.groupLabel)}function gY(t,n){if(1&t){const e=ht();R(0,"nz-option-item",10),te("itemHover",function(o){return Ve(e),Ne(x(2).onItemHover(o))})("itemClick",function(o){return Ve(e),Ne(x(2).onItemClick(o))}),j()}if(2&t){const e=x().$implicit,i=x();M("icon",i.menuItemSelectedIcon)("customContent",e.nzCustomContent)("template",e.template)("grouped",!!e.groupLabel)("disabled",e.nzDisabled)("showState","tags"===i.mode||"multiple"===i.mode)("label",e.nzLabel)("compareWith",i.compareWith)("activatedValue",i.activatedValue)("listOfSelectedValue",i.listOfSelectedValue)("value",e.nzValue)}}function vY(t,n){1&t&&(Re(0,6),E(1,mY,1,1,"nz-option-item-group",7),E(2,gY,1,11,"nz-option-item",8),Be()),2&t&&(M("ngSwitch",n.$implicit.type),k(1),M("ngSwitchCase","group"),k(1),M("ngSwitchCase","item"))}function yY(t,n){}function _Y(t,n){1&t&&Un(0)}const CY=["inputElement"],bY=["mirrorElement"];function MY(t,n){1&t&&X(0,"span",3,4)}function zY(t,n){if(1&t&&(R(0,"div",4),Tt(1),j()),2&t){const e=x(2);k(1),mo(e.label)}}function wY(t,n){1&t&&Tt(0),2&t&&mo(x(2).label)}function SY(t,n){if(1&t&&(Re(0),E(1,zY,2,1,"div",2),E(2,wY,1,1,"ng-template",null,3,xi),Be()),2&t){const e=ln(3),i=x();k(1),M("ngIf",i.deletable)("ngIfElse",e)}}function DY(t,n){1&t&&X(0,"span",7)}function TY(t,n){if(1&t){const e=ht();R(0,"span",5),te("click",function(o){return Ve(e),Ne(x().onDelete(o))}),E(1,DY,1,0,"span",6),j()}if(2&t){const e=x();k(1),M("ngIf",!e.removeIcon)("ngIfElse",e.removeIcon)}}const EY=function(t){return{$implicit:t}};function kY(t,n){if(1&t&&(Re(0),Tt(1),Be()),2&t){const e=x();k(1),Wn(" ",e.placeholder," ")}}function xY(t,n){if(1&t&&X(0,"nz-select-item",6),2&t){const e=x(2);M("deletable",!1)("disabled",!1)("removeIcon",e.removeIcon)("label",e.listOfTopItem[0].nzLabel)("contentTemplateOutlet",e.customTemplate)("contentTemplateOutletContext",e.listOfTopItem[0])}}function PY(t,n){if(1&t){const e=ht();Re(0),R(1,"nz-select-search",4),te("isComposingChange",function(o){return Ve(e),Ne(x().isComposingChange(o))})("valueChange",function(o){return Ve(e),Ne(x().onInputValueChange(o))}),j(),E(2,xY,1,6,"nz-select-item",5),Be()}if(2&t){const e=x();k(1),M("nzId",e.nzId)("disabled",e.disabled)("value",e.inputValue)("showInput",e.showSearch)("mirrorSync",!1)("autofocus",e.autofocus)("focusTrigger",e.open),k(1),M("ngIf",e.isShowSingleLabel)}}function AY(t,n){if(1&t){const e=ht();R(0,"nz-select-item",9),te("delete",function(){const r=Ve(e).$implicit;return Ne(x(2).onDeleteItem(r.contentTemplateOutletContext))}),j()}if(2&t){const e=n.$implicit,i=x(2);M("removeIcon",i.removeIcon)("label",e.nzLabel)("disabled",e.nzDisabled||i.disabled)("contentTemplateOutlet",e.contentTemplateOutlet)("deletable",!0)("contentTemplateOutletContext",e.contentTemplateOutletContext)}}function IY(t,n){if(1&t){const e=ht();Re(0),E(1,AY,1,6,"nz-select-item",7),R(2,"nz-select-search",8),te("isComposingChange",function(o){return Ve(e),Ne(x().isComposingChange(o))})("valueChange",function(o){return Ve(e),Ne(x().onInputValueChange(o))}),j(),Be()}if(2&t){const e=x();k(1),M("ngForOf",e.listOfSlicedItem)("ngForTrackBy",e.trackValue),k(1),M("nzId",e.nzId)("disabled",e.disabled)("value",e.inputValue)("autofocus",e.autofocus)("showInput",!0)("mirrorSync",!0)("focusTrigger",e.open)}}function OY(t,n){1&t&&X(0,"nz-select-placeholder",10),2&t&&M("placeholder",x().placeHolder)}function FY(t,n){1&t&&X(0,"span",1)}function VY(t,n){1&t&&X(0,"span",3)}function NY(t,n){1&t&&X(0,"span",8)}function LY(t,n){1&t&&X(0,"span",9)}function HY(t,n){if(1&t&&(Re(0),E(1,NY,1,0,"span",6),E(2,LY,1,0,"span",7),Be()),2&t){const e=x(2);k(1),M("ngIf",!e.search),k(1),M("ngIf",e.search)}}function RY(t,n){1&t&&X(0,"span",11),2&t&&M("nzType",x().$implicit)}function BY(t,n){if(1&t&&(Re(0),E(1,RY,1,1,"span",10),Be()),2&t){const e=n.$implicit;k(1),M("ngIf",e)}}function YY(t,n){1&t&&E(0,BY,2,1,"ng-container",2),2&t&&M("nzStringTemplateOutlet",x(2).suffixIcon)}function jY(t,n){if(1&t&&(E(0,HY,3,2,"ng-container",4),E(1,YY,1,1,"ng-template",null,5,xi)),2&t){const e=ln(2),i=x();M("ngIf",i.showArrow&&!i.suffixIcon)("ngIfElse",e)}}function UY(t,n){if(1&t&&(Re(0),Tt(1),Be()),2&t){const e=x();k(1),mo(e.feedbackIcon)}}function $Y(t,n){1&t&&X(0,"nz-form-item-feedback-icon",8),2&t&&M("status",x(3).status)}function WY(t,n){if(1&t&&E(0,$Y,1,1,"nz-form-item-feedback-icon",7),2&t){const e=x(2);M("ngIf",e.hasFeedback&&!!e.status)}}function GY(t,n){if(1&t&&(R(0,"nz-select-arrow",5),E(1,WY,1,1,"ng-template",null,6,xi),j()),2&t){const e=ln(2),i=x();M("showArrow",i.nzShowArrow)("loading",i.nzLoading)("search",i.nzOpen&&i.nzShowSearch)("suffixIcon",i.nzSuffixIcon)("feedbackIcon",e)}}function qY(t,n){if(1&t){const e=ht();R(0,"nz-select-clear",9),te("clear",function(){return Ve(e),Ne(x().onClearSelection())}),j()}2&t&&M("clearIcon",x().nzClearIcon)}function KY(t,n){if(1&t){const e=ht();R(0,"nz-option-container",10),te("keydown",function(o){return Ve(e),Ne(x().onKeyDown(o))})("itemClick",function(o){return Ve(e),Ne(x().onItemClick(o))})("scrollToBottom",function(){return Ve(e),Ne(x().nzScrollToBottom.emit())}),j()}if(2&t){const e=x();et("ant-select-dropdown-placement-bottomLeft","bottomLeft"===e.dropDownPosition)("ant-select-dropdown-placement-topLeft","topLeft"===e.dropDownPosition)("ant-select-dropdown-placement-bottomRight","bottomRight"===e.dropDownPosition)("ant-select-dropdown-placement-topRight","topRight"===e.dropDownPosition),M("ngStyle",e.nzDropdownStyle)("itemSize",e.nzOptionHeightPx)("maxItemLength",e.nzOptionOverflowSize)("matchWidth",e.nzDropdownMatchSelectWidth)("@slideMotion","enter")("@.disabled",!(null==e.noAnimation||!e.noAnimation.nzNoAnimation))("nzNoAnimation",null==e.noAnimation?null:e.noAnimation.nzNoAnimation)("listOfContainerItem",e.listOfContainerItem)("menuItemSelectedIcon",e.nzMenuItemSelectedIcon)("notFoundContent",e.nzNotFoundContent)("activatedValue",e.activatedValue)("listOfSelectedValue",e.listOfValue)("dropdownRender",e.nzDropdownRender)("compareWith",e.compareWith)("mode",e.nzMode)}}let Q6=(()=>{class t{constructor(){this.nzLabel=null,this.changes=new F}ngOnChanges(){this.changes.next()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=ze({type:t,selectors:[["nz-option-group"]],inputs:{nzLabel:"nzLabel"},exportAs:["nzOptionGroup"],features:[$],ngContentSelectors:w_,decls:1,vars:0,template:function(e,i){1&e&&(si(),Un(0))},encapsulation:2,changeDetection:0}),t})(),ZY=(()=>{class t{constructor(e,i,o){this.elementRef=e,this.ngZone=i,this.destroy$=o,this.selected=!1,this.activated=!1,this.grouped=!1,this.customContent=!1,this.template=null,this.disabled=!1,this.showState=!1,this.label=null,this.value=null,this.activatedValue=null,this.listOfSelectedValue=[],this.icon=null,this.itemClick=new _,this.itemHover=new _}ngOnChanges(e){const{value:i,activatedValue:o,listOfSelectedValue:r}=e;(i||r)&&(this.selected=this.listOfSelectedValue.some(s=>this.compareWith(s,this.value))),(i||o)&&(this.activated=this.compareWith(this.activatedValue,this.value))}ngOnInit(){this.ngZone.runOutsideAngular(()=>{Zn(this.elementRef.nativeElement,"click").pipe(I(this.destroy$)).subscribe(()=>{this.disabled||this.ngZone.run(()=>this.itemClick.emit(this.value))}),Zn(this.elementRef.nativeElement,"mouseenter").pipe(I(this.destroy$)).subscribe(()=>{this.disabled||this.ngZone.run(()=>this.itemHover.emit(this.value))})})}}return t.\u0275fac=function(e){return new(e||t)(f(ne),f(N),f(Io))},t.\u0275cmp=ze({type:t,selectors:[["nz-option-item"]],hostAttrs:[1,"ant-select-item","ant-select-item-option"],hostVars:9,hostBindings:function(e,i){2&e&&(Pt("title",i.label),et("ant-select-item-option-grouped",i.grouped)("ant-select-item-option-selected",i.selected&&!i.disabled)("ant-select-item-option-disabled",i.disabled)("ant-select-item-option-active",i.activated&&!i.disabled))},inputs:{grouped:"grouped",customContent:"customContent",template:"template",disabled:"disabled",showState:"showState",label:"label",value:"value",activatedValue:"activatedValue",listOfSelectedValue:"listOfSelectedValue",icon:"icon",compareWith:"compareWith"},outputs:{itemClick:"itemClick",itemHover:"itemHover"},features:[ce([Io]),$],decls:5,vars:3,consts:[[1,"ant-select-item-option-content"],[3,"ngIf","ngIfElse"],["noCustomContent",""],["class","ant-select-item-option-state","style","user-select: none","unselectable","on",4,"ngIf"],[3,"ngTemplateOutlet"],["unselectable","on",1,"ant-select-item-option-state",2,"user-select","none"],["nz-icon","","nzType","check","class","ant-select-selected-icon",4,"ngIf","ngIfElse"],["nz-icon","","nzType","check",1,"ant-select-selected-icon"]],template:function(e,i){if(1&e&&(R(0,"div",0),E(1,cY,1,1,"ng-template",1),E(2,uY,1,1,"ng-template",null,2,xi),j(),E(4,hY,2,2,"div",3)),2&e){const o=ln(3);k(1),M("ngIf",i.customContent)("ngIfElse",o),k(3),M("ngIf",i.showState&&i.selected)}},dependencies:[xt,ka,Fi,Vi],encapsulation:2,changeDetection:0}),t})(),XY=(()=>{class t{constructor(){this.nzLabel=null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=ze({type:t,selectors:[["nz-option-item-group"]],hostAttrs:[1,"ant-select-item","ant-select-item-group"],inputs:{nzLabel:"nzLabel"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"]],template:function(e,i){1&e&&E(0,pY,2,1,"ng-container",0),2&e&&M("nzStringTemplateOutlet",i.nzLabel)},dependencies:[Oi],encapsulation:2,changeDetection:0}),t})(),QY=(()=>{class t{constructor(){this.notFoundContent=void 0,this.menuItemSelectedIcon=null,this.dropdownRender=null,this.activatedValue=null,this.listOfSelectedValue=[],this.mode="default",this.matchWidth=!0,this.itemSize=32,this.maxItemLength=8,this.listOfContainerItem=[],this.itemClick=new _,this.scrollToBottom=new _,this.scrolledIndex=0}onItemClick(e){this.itemClick.emit(e)}onItemHover(e){this.activatedValue=e}trackValue(e,i){return i.key}onScrolledIndexChange(e){this.scrolledIndex=e,e===this.listOfContainerItem.length-this.maxItemLength&&this.scrollToBottom.emit()}scrollToActivatedValue(){const e=this.listOfContainerItem.findIndex(i=>this.compareWith(i.key,this.activatedValue));(e=this.scrolledIndex+this.maxItemLength)&&this.cdkVirtualScrollViewport.scrollToIndex(e||0)}ngOnChanges(e){const{listOfContainerItem:i,activatedValue:o}=e;(i||o)&&this.scrollToActivatedValue()}ngAfterViewInit(){setTimeout(()=>this.scrollToActivatedValue())}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=ze({type:t,selectors:[["nz-option-container"]],viewQuery:function(e,i){if(1&e&&Et(J1,7),2&e){let o;we(o=Se())&&(i.cdkVirtualScrollViewport=o.first)}},hostAttrs:[1,"ant-select-dropdown"],inputs:{notFoundContent:"notFoundContent",menuItemSelectedIcon:"menuItemSelectedIcon",dropdownRender:"dropdownRender",activatedValue:"activatedValue",listOfSelectedValue:"listOfSelectedValue",compareWith:"compareWith",mode:"mode",matchWidth:"matchWidth",itemSize:"itemSize",maxItemLength:"maxItemLength",listOfContainerItem:"listOfContainerItem"},outputs:{itemClick:"itemClick",scrollToBottom:"scrollToBottom"},exportAs:["nzOptionContainer"],features:[$],decls:5,vars:14,consts:[["class","ant-select-item-empty",4,"ngIf"],[3,"itemSize","maxBufferPx","minBufferPx","scrolledIndexChange"],["cdkVirtualFor","",3,"cdkVirtualForOf","cdkVirtualForTrackBy","cdkVirtualForTemplateCacheSize"],[3,"ngTemplateOutlet"],[1,"ant-select-item-empty"],["nzComponentName","select",3,"specificContent"],[3,"ngSwitch"],[3,"nzLabel",4,"ngSwitchCase"],[3,"icon","customContent","template","grouped","disabled","showState","label","compareWith","activatedValue","listOfSelectedValue","value","itemHover","itemClick",4,"ngSwitchCase"],[3,"nzLabel"],[3,"icon","customContent","template","grouped","disabled","showState","label","compareWith","activatedValue","listOfSelectedValue","value","itemHover","itemClick"]],template:function(e,i){1&e&&(R(0,"div"),E(1,fY,2,1,"div",0),R(2,"cdk-virtual-scroll-viewport",1),te("scrolledIndexChange",function(r){return i.onScrolledIndexChange(r)}),E(3,vY,3,3,"ng-template",2),j(),E(4,yY,0,0,"ng-template",3),j()),2&e&&(k(1),M("ngIf",0===i.listOfContainerItem.length),k(1),$n("height",i.listOfContainerItem.length*i.itemSize,"px")("max-height",i.itemSize*i.maxItemLength,"px"),et("full-width",!i.matchWidth),M("itemSize",i.itemSize)("maxBufferPx",i.itemSize*i.maxItemLength)("minBufferPx",i.itemSize*i.maxItemLength),k(1),M("cdkVirtualForOf",i.listOfContainerItem)("cdkVirtualForTrackBy",i.trackValue)("cdkVirtualForTemplateCacheSize",0),k(1),M("ngTemplateOutlet",i.dropdownRender))},dependencies:[xt,ka,or,Ea,WV,QV,J1,JB,ZY,XY],encapsulation:2,changeDetection:0}),t})(),JY=(()=>{class t{constructor(e,i){this.nzOptionGroupComponent=e,this.destroy$=i,this.changes=new F,this.groupLabel=null,this.nzLabel=null,this.nzValue=null,this.nzDisabled=!1,this.nzHide=!1,this.nzCustomContent=!1}ngOnInit(){this.nzOptionGroupComponent&&this.nzOptionGroupComponent.changes.pipe(Rt(!0),I(this.destroy$)).subscribe(()=>{this.groupLabel=this.nzOptionGroupComponent.nzLabel})}ngOnChanges(){this.changes.next()}}return t.\u0275fac=function(e){return new(e||t)(f(Q6,8),f(Io))},t.\u0275cmp=ze({type:t,selectors:[["nz-option"]],viewQuery:function(e,i){if(1&e&&Et($e,7),2&e){let o;we(o=Se())&&(i.template=o.first)}},inputs:{nzLabel:"nzLabel",nzValue:"nzValue",nzDisabled:"nzDisabled",nzHide:"nzHide",nzCustomContent:"nzCustomContent"},exportAs:["nzOption"],features:[ce([Io]),$],ngContentSelectors:w_,decls:1,vars:0,template:function(e,i){1&e&&(si(),E(0,_Y,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),ee([oe()],t.prototype,"nzDisabled",void 0),ee([oe()],t.prototype,"nzHide",void 0),ee([oe()],t.prototype,"nzCustomContent",void 0),t})(),S_=(()=>{class t{constructor(e,i,o){this.elementRef=e,this.renderer=i,this.focusMonitor=o,this.nzId=null,this.disabled=!1,this.mirrorSync=!1,this.showInput=!0,this.focusTrigger=!1,this.value="",this.autofocus=!1,this.valueChange=new _,this.isComposingChange=new _}setCompositionState(e){this.isComposingChange.next(e)}onValueChange(e){this.value=e,this.valueChange.next(e),this.mirrorSync&&this.syncMirrorWidth()}clearInputValue(){this.inputElement.nativeElement.value="",this.onValueChange("")}syncMirrorWidth(){const e=this.mirrorElement.nativeElement,i=this.elementRef.nativeElement,o=this.inputElement.nativeElement;this.renderer.removeStyle(i,"width"),this.renderer.setProperty(e,"textContent",`${o.value}\xa0`),this.renderer.setStyle(i,"width",`${e.scrollWidth}px`)}focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}ngOnChanges(e){const i=this.inputElement.nativeElement,{focusTrigger:o,showInput:r}=e;r&&(this.showInput?this.renderer.removeAttribute(i,"readonly"):this.renderer.setAttribute(i,"readonly","readonly")),o&&!0===o.currentValue&&!1===o.previousValue&&i.focus()}ngAfterViewInit(){this.mirrorSync&&this.syncMirrorWidth(),this.autofocus&&this.focus()}}return t.\u0275fac=function(e){return new(e||t)(f(ne),f(dt),f(_y))},t.\u0275cmp=ze({type:t,selectors:[["nz-select-search"]],viewQuery:function(e,i){if(1&e&&(Et(CY,7),Et(bY,5)),2&e){let o;we(o=Se())&&(i.inputElement=o.first),we(o=Se())&&(i.mirrorElement=o.first)}},hostAttrs:[1,"ant-select-selection-search"],inputs:{nzId:"nzId",disabled:"disabled",mirrorSync:"mirrorSync",showInput:"showInput",focusTrigger:"focusTrigger",value:"value",autofocus:"autofocus"},outputs:{valueChange:"valueChange",isComposingChange:"isComposingChange"},features:[ce([{provide:m9,useValue:!1}]),$],decls:3,vars:7,consts:[["autocomplete","off",1,"ant-select-selection-search-input",3,"ngModel","disabled","ngModelChange","compositionstart","compositionend"],["inputElement",""],["class","ant-select-selection-search-mirror",4,"ngIf"],[1,"ant-select-selection-search-mirror"],["mirrorElement",""]],template:function(e,i){1&e&&(R(0,"input",0,1),te("ngModelChange",function(r){return i.onValueChange(r)})("compositionstart",function(){return i.setCompositionState(!0)})("compositionend",function(){return i.setCompositionState(!1)}),j(),E(2,MY,2,0,"span",2)),2&e&&($n("opacity",i.showInput?null:0),M("ngModel",i.value)("disabled",i.disabled),Pt("id",i.nzId)("autofocus",i.autofocus?"autofocus":null),k(2),M("ngIf",i.mirrorSync))},dependencies:[xt,I1,Bu,U1],encapsulation:2,changeDetection:0}),t})(),ej=(()=>{class t{constructor(){this.disabled=!1,this.label=null,this.deletable=!1,this.removeIcon=null,this.contentTemplateOutletContext=null,this.contentTemplateOutlet=null,this.delete=new _}onDelete(e){e.preventDefault(),e.stopPropagation(),this.disabled||this.delete.next(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=ze({type:t,selectors:[["nz-select-item"]],hostAttrs:[1,"ant-select-selection-item"],hostVars:3,hostBindings:function(e,i){2&e&&(Pt("title",i.label),et("ant-select-selection-item-disabled",i.disabled))},inputs:{disabled:"disabled",label:"label",deletable:"deletable",removeIcon:"removeIcon",contentTemplateOutletContext:"contentTemplateOutletContext",contentTemplateOutlet:"contentTemplateOutlet"},outputs:{delete:"delete"},decls:2,vars:5,consts:[[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["class","ant-select-selection-item-remove",3,"click",4,"ngIf"],["class","ant-select-selection-item-content",4,"ngIf","ngIfElse"],["labelTemplate",""],[1,"ant-select-selection-item-content"],[1,"ant-select-selection-item-remove",3,"click"],["nz-icon","","nzType","close",4,"ngIf","ngIfElse"],["nz-icon","","nzType","close"]],template:function(e,i){1&e&&(E(0,SY,4,2,"ng-container",0),E(1,TY,2,2,"span",1)),2&e&&(M("nzStringTemplateOutlet",i.contentTemplateOutlet)("nzStringTemplateOutletContext",function k5(t,n,e,i){return P5(S(),sn(),t,n,e,i)}(3,EY,i.contentTemplateOutletContext)),k(1),M("ngIf",i.deletable&&!i.disabled))},dependencies:[xt,Fi,Oi,Vi],encapsulation:2,changeDetection:0}),t})(),tj=(()=>{class t{constructor(){this.placeholder=null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=ze({type:t,selectors:[["nz-select-placeholder"]],hostAttrs:[1,"ant-select-selection-placeholder"],inputs:{placeholder:"placeholder"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"]],template:function(e,i){1&e&&E(0,kY,2,1,"ng-container",0),2&e&&M("nzStringTemplateOutlet",i.placeholder)},dependencies:[Oi],encapsulation:2,changeDetection:0}),t})(),J6=(()=>{class t{constructor(e,i,o){this.elementRef=e,this.ngZone=i,this.noAnimation=o,this.nzId=null,this.showSearch=!1,this.placeHolder=null,this.open=!1,this.maxTagCount=1/0,this.autofocus=!1,this.disabled=!1,this.mode="default",this.customTemplate=null,this.maxTagPlaceholder=null,this.removeIcon=null,this.listOfTopItem=[],this.tokenSeparators=[],this.tokenize=new _,this.inputValueChange=new _,this.deleteItem=new _,this.listOfSlicedItem=[],this.isShowPlaceholder=!0,this.isShowSingleLabel=!1,this.isComposing=!1,this.inputValue=null,this.destroy$=new F}updateTemplateVariable(){const e=0===this.listOfTopItem.length;this.isShowPlaceholder=e&&!this.isComposing&&!this.inputValue,this.isShowSingleLabel=!e&&!this.isComposing&&!this.inputValue}isComposingChange(e){this.isComposing=e,this.updateTemplateVariable()}onInputValueChange(e){e!==this.inputValue&&(this.inputValue=e,this.updateTemplateVariable(),this.inputValueChange.emit(e),this.tokenSeparate(e,this.tokenSeparators))}tokenSeparate(e,i){if(e&&e.length&&i.length&&"default"!==this.mode&&((s,a)=>{for(let l=0;l0)return!0;return!1})(e,i)){const s=((s,a)=>{const l=new RegExp(`[${a.join()}]`),c=s.split(l).filter(u=>u);return[...new Set(c)]})(e,i);this.tokenize.next(s)}}clearInputValue(){this.nzSelectSearchComponent&&this.nzSelectSearchComponent.clearInputValue()}focus(){this.nzSelectSearchComponent&&this.nzSelectSearchComponent.focus()}blur(){this.nzSelectSearchComponent&&this.nzSelectSearchComponent.blur()}trackValue(e,i){return i.nzValue}onDeleteItem(e){!this.disabled&&!e.nzDisabled&&this.deleteItem.next(e)}ngOnChanges(e){const{listOfTopItem:i,maxTagCount:o,customTemplate:r,maxTagPlaceholder:s}=e;if(i&&this.updateTemplateVariable(),i||o||r||s){const a=this.listOfTopItem.slice(0,this.maxTagCount).map(l=>({nzLabel:l.nzLabel,nzValue:l.nzValue,nzDisabled:l.nzDisabled,contentTemplateOutlet:this.customTemplate,contentTemplateOutletContext:l}));if(this.listOfTopItem.length>this.maxTagCount){const l=`+ ${this.listOfTopItem.length-this.maxTagCount} ...`,c=this.listOfTopItem.map(d=>d.nzValue),u={nzLabel:l,nzValue:"$$__nz_exceeded_item",nzDisabled:!0,contentTemplateOutlet:this.maxTagPlaceholder,contentTemplateOutletContext:c.slice(this.maxTagCount)};a.push(u)}this.listOfSlicedItem=a}}ngOnInit(){this.ngZone.runOutsideAngular(()=>{Zn(this.elementRef.nativeElement,"click").pipe(I(this.destroy$)).subscribe(e=>{e.target!==this.nzSelectSearchComponent.inputElement.nativeElement&&this.nzSelectSearchComponent.focus()}),Zn(this.elementRef.nativeElement,"keydown").pipe(I(this.destroy$)).subscribe(e=>{e.target instanceof HTMLInputElement&&8===e.keyCode&&"default"!==this.mode&&!e.target.value&&this.listOfTopItem.length>0&&(e.preventDefault(),this.ngZone.run(()=>this.onDeleteItem(this.listOfTopItem[this.listOfTopItem.length-1])))})})}ngOnDestroy(){this.destroy$.next()}}return t.\u0275fac=function(e){return new(e||t)(f(ne),f(N),f(pl,9))},t.\u0275cmp=ze({type:t,selectors:[["nz-select-top-control"]],viewQuery:function(e,i){if(1&e&&Et(S_,5),2&e){let o;we(o=Se())&&(i.nzSelectSearchComponent=o.first)}},hostAttrs:[1,"ant-select-selector"],inputs:{nzId:"nzId",showSearch:"showSearch",placeHolder:"placeHolder",open:"open",maxTagCount:"maxTagCount",autofocus:"autofocus",disabled:"disabled",mode:"mode",customTemplate:"customTemplate",maxTagPlaceholder:"maxTagPlaceholder",removeIcon:"removeIcon",listOfTopItem:"listOfTopItem",tokenSeparators:"tokenSeparators"},outputs:{tokenize:"tokenize",inputValueChange:"inputValueChange",deleteItem:"deleteItem"},exportAs:["nzSelectTopControl"],features:[$],decls:4,vars:3,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"placeholder",4,"ngIf"],[3,"nzId","disabled","value","showInput","mirrorSync","autofocus","focusTrigger","isComposingChange","valueChange"],[3,"deletable","disabled","removeIcon","label","contentTemplateOutlet","contentTemplateOutletContext",4,"ngIf"],[3,"deletable","disabled","removeIcon","label","contentTemplateOutlet","contentTemplateOutletContext"],[3,"removeIcon","label","disabled","contentTemplateOutlet","deletable","contentTemplateOutletContext","delete",4,"ngFor","ngForOf","ngForTrackBy"],[3,"nzId","disabled","value","autofocus","showInput","mirrorSync","focusTrigger","isComposingChange","valueChange"],[3,"removeIcon","label","disabled","contentTemplateOutlet","deletable","contentTemplateOutletContext","delete"],[3,"placeholder"]],template:function(e,i){1&e&&(Re(0,0),E(1,PY,3,8,"ng-container",1),E(2,IY,3,9,"ng-container",2),Be(),E(3,OY,1,1,"nz-select-placeholder",3)),2&e&&(M("ngSwitch",i.mode),k(1),M("ngSwitchCase","default"),k(2),M("ngIf",i.isShowPlaceholder))},dependencies:[qc,xt,or,Ea,Kc,Vi,S_,ej,tj],encapsulation:2,changeDetection:0}),t})(),nj=(()=>{class t{constructor(){this.clearIcon=null,this.clear=new _}onClick(e){e.preventDefault(),e.stopPropagation(),this.clear.emit(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=ze({type:t,selectors:[["nz-select-clear"]],hostAttrs:[1,"ant-select-clear"],hostBindings:function(e,i){1&e&&te("click",function(r){return i.onClick(r)})},inputs:{clearIcon:"clearIcon"},outputs:{clear:"clear"},decls:1,vars:2,consts:[["nz-icon","","nzType","close-circle","nzTheme","fill","class","ant-select-close-icon",4,"ngIf","ngIfElse"],["nz-icon","","nzType","close-circle","nzTheme","fill",1,"ant-select-close-icon"]],template:function(e,i){1&e&&E(0,FY,1,0,"span",0),2&e&&M("ngIf",!i.clearIcon)("ngIfElse",i.clearIcon)},dependencies:[xt,Fi,Vi],encapsulation:2,changeDetection:0}),t})(),ij=(()=>{class t{constructor(){this.loading=!1,this.search=!1,this.showArrow=!1,this.suffixIcon=null,this.feedbackIcon=null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=ze({type:t,selectors:[["nz-select-arrow"]],hostAttrs:[1,"ant-select-arrow"],hostVars:2,hostBindings:function(e,i){2&e&&et("ant-select-arrow-loading",i.loading)},inputs:{loading:"loading",search:"search",showArrow:"showArrow",suffixIcon:"suffixIcon",feedbackIcon:"feedbackIcon"},decls:4,vars:3,consts:[["nz-icon","","nzType","loading",4,"ngIf","ngIfElse"],["defaultArrow",""],[4,"nzStringTemplateOutlet"],["nz-icon","","nzType","loading"],[4,"ngIf","ngIfElse"],["suffixTemplate",""],["nz-icon","","nzType","down",4,"ngIf"],["nz-icon","","nzType","search",4,"ngIf"],["nz-icon","","nzType","down"],["nz-icon","","nzType","search"],["nz-icon","",3,"nzType",4,"ngIf"],["nz-icon","",3,"nzType"]],template:function(e,i){if(1&e&&(E(0,VY,1,0,"span",0),E(1,jY,3,2,"ng-template",null,1,xi),E(3,UY,2,1,"ng-container",2)),2&e){const o=ln(2);M("ngIf",i.loading)("ngIfElse",o),k(3),M("nzStringTemplateOutlet",i.feedbackIcon)}},dependencies:[xt,Fi,Oi,Vi],encapsulation:2,changeDetection:0}),t})();const oj=(t,n)=>!(!n||!n.nzLabel)&&n.nzLabel.toString().toLowerCase().indexOf(t.toLowerCase())>-1;let sj=(()=>{class t{constructor(e,i,o,r,s,a,l,c,u,d,h,p){this.ngZone=e,this.destroy$=i,this.nzConfigService=o,this.cdr=r,this.host=s,this.renderer=a,this.platform=l,this.focusMonitor=c,this.directionality=u,this.noAnimation=d,this.nzFormStatusService=h,this.nzFormNoStatusService=p,this._nzModuleName="select",this.nzId=null,this.nzSize="default",this.nzStatus="",this.nzOptionHeightPx=32,this.nzOptionOverflowSize=8,this.nzDropdownClassName=null,this.nzDropdownMatchSelectWidth=!0,this.nzDropdownStyle=null,this.nzNotFoundContent=void 0,this.nzPlaceHolder=null,this.nzPlacement=null,this.nzMaxTagCount=1/0,this.nzDropdownRender=null,this.nzCustomTemplate=null,this.nzSuffixIcon=null,this.nzClearIcon=null,this.nzRemoveIcon=null,this.nzMenuItemSelectedIcon=null,this.nzTokenSeparators=[],this.nzMaxTagPlaceholder=null,this.nzMaxMultipleCount=1/0,this.nzMode="default",this.nzFilterOption=oj,this.compareWith=(m,g)=>m===g,this.nzAllowClear=!1,this.nzBorderless=!1,this.nzShowSearch=!1,this.nzLoading=!1,this.nzAutoFocus=!1,this.nzAutoClearSearchValue=!0,this.nzServerSearch=!1,this.nzDisabled=!1,this.nzOpen=!1,this.nzSelectOnTab=!1,this.nzBackdrop=!1,this.nzOptions=[],this.nzOnSearch=new _,this.nzScrollToBottom=new _,this.nzOpenChange=new _,this.nzBlur=new _,this.nzFocus=new _,this.listOfValue$=new ue([]),this.listOfTemplateItem$=new ue([]),this.listOfTagAndTemplateItem=[],this.searchValue="",this.isReactiveDriven=!1,this.requestId=-1,this.isNzDisableFirstChange=!0,this.onChange=()=>{},this.onTouched=()=>{},this.dropDownPosition="bottomLeft",this.triggerWidth=null,this.listOfContainerItem=[],this.listOfTopItem=[],this.activatedValue=null,this.listOfValue=[],this.focused=!1,this.dir="ltr",this.positions=[],this.prefixCls="ant-select",this.statusCls={},this.status="",this.hasFeedback=!1}set nzShowArrow(e){this._nzShowArrow=e}get nzShowArrow(){return void 0===this._nzShowArrow?"default"===this.nzMode:this._nzShowArrow}generateTagItem(e){return{nzValue:e,nzLabel:e,type:"item"}}onItemClick(e){if(this.activatedValue=e,"default"===this.nzMode)(0===this.listOfValue.length||!this.compareWith(this.listOfValue[0],e))&&this.updateListOfValue([e]),this.setOpenState(!1);else{const i=this.listOfValue.findIndex(o=>this.compareWith(o,e));if(-1!==i){const o=this.listOfValue.filter((r,s)=>s!==i);this.updateListOfValue(o)}else if(this.listOfValue.length!this.compareWith(o,e.nzValue));this.updateListOfValue(i),this.clearInput()}updateListOfContainerItem(){let e=this.listOfTagAndTemplateItem.filter(r=>!r.nzHide).filter(r=>!(!this.nzServerSearch&&this.searchValue)||this.nzFilterOption(this.searchValue,r));if("tags"===this.nzMode&&this.searchValue){const r=this.listOfTagAndTemplateItem.find(s=>s.nzLabel===this.searchValue);if(r)this.activatedValue=r.nzValue;else{const s=this.generateTagItem(this.searchValue);e=[s,...e],this.activatedValue=s.nzValue}}const i=e.find(r=>r.nzLabel===this.searchValue)||e.find(r=>this.compareWith(r.nzValue,this.activatedValue))||e.find(r=>this.compareWith(r.nzValue,this.listOfValue[0]))||e[0];this.activatedValue=i&&i.nzValue||null;let o=[];this.isReactiveDriven?o=[...new Set(this.nzOptions.filter(r=>r.groupLabel).map(r=>r.groupLabel))]:this.listOfNzOptionGroupComponent&&(o=this.listOfNzOptionGroupComponent.map(r=>r.nzLabel)),o.forEach(r=>{const s=e.findIndex(a=>r===a.groupLabel);s>-1&&e.splice(s,0,{groupLabel:r,type:"group",key:r})}),this.listOfContainerItem=[...e],this.updateCdkConnectedOverlayPositions()}clearInput(){this.nzSelectTopControlComponent.clearInputValue()}updateListOfValue(e){const o=((r,s)=>"default"===this.nzMode?r.length>0?r[0]:null:r)(e);this.value!==o&&(this.listOfValue=e,this.listOfValue$.next(e),this.value=o,this.onChange(this.value))}onTokenSeparate(e){const i=this.listOfTagAndTemplateItem.filter(o=>-1!==e.findIndex(r=>r===o.nzLabel)).map(o=>o.nzValue).filter(o=>-1===this.listOfValue.findIndex(r=>this.compareWith(r,o)));if("multiple"===this.nzMode)this.updateListOfValue([...this.listOfValue,...i]);else if("tags"===this.nzMode){const o=e.filter(r=>-1===this.listOfTagAndTemplateItem.findIndex(s=>s.nzLabel===r));this.updateListOfValue([...this.listOfValue,...i,...o])}this.clearInput()}onKeyDown(e){if(this.nzDisabled)return;const i=this.listOfContainerItem.filter(r=>"item"===r.type).filter(r=>!r.nzDisabled),o=i.findIndex(r=>this.compareWith(r.nzValue,this.activatedValue));switch(e.keyCode){case 38:e.preventDefault(),this.nzOpen&&i.length>0&&(this.activatedValue=i[o>0?o-1:i.length-1].nzValue);break;case 40:e.preventDefault(),this.nzOpen&&i.length>0?this.activatedValue=i[o{this.triggerWidth=this.originElement.nativeElement.getBoundingClientRect().width,e!==this.triggerWidth&&this.cdr.detectChanges()})}}updateCdkConnectedOverlayPositions(){P6(()=>{this.cdkConnectedOverlay?.overlayRef?.updatePosition()})}writeValue(e){if(this.value!==e){this.value=e;const o=((r,s)=>null==r?[]:"default"===this.nzMode?[r]:r)(e);this.listOfValue=o,this.listOfValue$.next(o),this.cdr.markForCheck()}}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||e,this.isNzDisableFirstChange=!1,this.nzDisabled&&this.setOpenState(!1),this.cdr.markForCheck()}ngOnChanges(e){const{nzOpen:i,nzDisabled:o,nzOptions:r,nzStatus:s,nzPlacement:a}=e;if(i&&this.onOpenChange(),o&&this.nzDisabled&&this.setOpenState(!1),r){this.isReactiveDriven=!0;const c=(this.nzOptions||[]).map(u=>({template:u.label instanceof $e?u.label:null,nzLabel:"string"==typeof u.label||"number"==typeof u.label?u.label:null,nzValue:u.value,nzDisabled:u.disabled||!1,nzHide:u.hide||!1,nzCustomContent:u.label instanceof $e,groupLabel:u.groupLabel||null,type:"item",key:u.value}));this.listOfTemplateItem$.next(c)}if(s&&this.setStatusStyles(this.nzStatus,this.hasFeedback),a){const{currentValue:l}=a;this.dropDownPosition=l;const c=["bottomLeft","topLeft","bottomRight","topRight"];this.positions=l&&c.includes(l)?[ke[l]]:c.map(u=>ke[u])}}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe(Eo((e,i)=>e.status===i.status&&e.hasFeedback===i.hasFeedback),function tY(...t){const n=Q4(t);return Ze((e,i)=>{const o=t.length,r=new Array(o);let s=t.map(()=>!1),a=!1;for(let l=0;l{r[l]=c,!a&&!s[l]&&(s[l]=!0,(a=s.every(Hi))&&(s=null))},Ls));e.subscribe(Le(i,l=>{if(a){const c=[l,...r];i.next(n?n(...c):c)}}))})}(this.nzFormNoStatusService?this.nzFormNoStatusService.noFormStatus:Y(!1)),B(([{status:e,hasFeedback:i},o])=>({status:o?"":e,hasFeedback:i})),I(this.destroy$)).subscribe(({status:e,hasFeedback:i})=>{this.setStatusStyles(e,i)}),this.focusMonitor.monitor(this.host,!0).pipe(I(this.destroy$)).subscribe(e=>{e?(this.focused=!0,this.cdr.markForCheck(),this.nzFocus.emit()):(this.focused=!1,this.cdr.markForCheck(),this.nzBlur.emit(),Promise.resolve().then(()=>{this.onTouched()}))}),yn([this.listOfValue$,this.listOfTemplateItem$]).pipe(I(this.destroy$)).subscribe(([e,i])=>{const o=e.filter(()=>"tags"===this.nzMode).filter(r=>-1===i.findIndex(s=>this.compareWith(s.nzValue,r))).map(r=>this.listOfTopItem.find(s=>this.compareWith(s.nzValue,r))||this.generateTagItem(r));this.listOfTagAndTemplateItem=[...i,...o],this.listOfTopItem=this.listOfValue.map(r=>[...this.listOfTagAndTemplateItem,...this.listOfTopItem].find(s=>this.compareWith(r,s.nzValue))).filter(r=>!!r),this.updateListOfContainerItem()}),this.directionality.change?.pipe(I(this.destroy$)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.nzConfigService.getConfigChangeEventForComponent("select").pipe(I(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>Zn(this.host.nativeElement,"click").pipe(I(this.destroy$)).subscribe(()=>{this.nzOpen&&this.nzShowSearch||this.nzDisabled||this.ngZone.run(()=>this.setOpenState(!this.nzOpen))})),this.cdkConnectedOverlay.overlayKeydown.pipe(I(this.destroy$)).subscribe(e=>{27===e.keyCode&&this.setOpenState(!1)})}ngAfterContentInit(){this.isReactiveDriven||Ro(this.listOfNzOptionGroupComponent.changes,this.listOfNzOptionComponent.changes).pipe(Rt(!0),Zt(()=>Ro(this.listOfNzOptionComponent.changes,this.listOfNzOptionGroupComponent.changes,...this.listOfNzOptionComponent.map(e=>e.changes),...this.listOfNzOptionGroupComponent.map(e=>e.changes)).pipe(Rt(!0))),I(this.destroy$)).subscribe(()=>{const e=this.listOfNzOptionComponent.toArray().map(i=>{const{template:o,nzLabel:r,nzValue:s,nzDisabled:a,nzHide:l,nzCustomContent:c,groupLabel:u}=i;return{template:o,nzLabel:r,nzValue:s,nzDisabled:a,nzHide:l,nzCustomContent:c,groupLabel:u,type:"item",key:s}});this.listOfTemplateItem$.next(e),this.cdr.markForCheck()})}ngOnDestroy(){cy(this.requestId),this.focusMonitor.stopMonitoring(this.host)}setStatusStyles(e,i){this.status=e,this.hasFeedback=i,this.cdr.markForCheck(),this.statusCls=function $N(t,n,e){return{[`${t}-status-success`]:"success"===n,[`${t}-status-warning`]:"warning"===n,[`${t}-status-error`]:"error"===n,[`${t}-status-validating`]:"validating"===n,[`${t}-has-feedback`]:e}}(this.prefixCls,e,i),Object.keys(this.statusCls).forEach(o=>{this.statusCls[o]?this.renderer.addClass(this.host.nativeElement,o):this.renderer.removeClass(this.host.nativeElement,o)})}}return t.\u0275fac=function(e){return new(e||t)(f(N),f(Io),f(fr),f(It),f(ne),f(dt),f(Jt),f(_y),f(en,8),f(pl,9),f(iY,8),f(oY,8))},t.\u0275cmp=ze({type:t,selectors:[["nz-select"]],contentQueries:function(e,i,o){if(1&e&&(At(o,JY,5),At(o,Q6,5)),2&e){let r;we(r=Se())&&(i.listOfNzOptionComponent=r),we(r=Se())&&(i.listOfNzOptionGroupComponent=r)}},viewQuery:function(e,i){if(1&e&&(Et(Es,7,ne),Et(s4,7),Et(J6,7),Et(Q6,7,ne),Et(J6,7,ne)),2&e){let o;we(o=Se())&&(i.originElement=o.first),we(o=Se())&&(i.cdkConnectedOverlay=o.first),we(o=Se())&&(i.nzSelectTopControlComponent=o.first),we(o=Se())&&(i.nzOptionGroupComponentElement=o.first),we(o=Se())&&(i.nzSelectTopControlComponentElement=o.first)}},hostAttrs:[1,"ant-select"],hostVars:26,hostBindings:function(e,i){2&e&&et("ant-select-in-form-item",!!i.nzFormStatusService)("ant-select-lg","large"===i.nzSize)("ant-select-sm","small"===i.nzSize)("ant-select-show-arrow",i.nzShowArrow)("ant-select-disabled",i.nzDisabled)("ant-select-show-search",(i.nzShowSearch||"default"!==i.nzMode)&&!i.nzDisabled)("ant-select-allow-clear",i.nzAllowClear)("ant-select-borderless",i.nzBorderless)("ant-select-open",i.nzOpen)("ant-select-focused",i.nzOpen||i.focused)("ant-select-single","default"===i.nzMode)("ant-select-multiple","default"!==i.nzMode)("ant-select-rtl","rtl"===i.dir)},inputs:{nzId:"nzId",nzSize:"nzSize",nzStatus:"nzStatus",nzOptionHeightPx:"nzOptionHeightPx",nzOptionOverflowSize:"nzOptionOverflowSize",nzDropdownClassName:"nzDropdownClassName",nzDropdownMatchSelectWidth:"nzDropdownMatchSelectWidth",nzDropdownStyle:"nzDropdownStyle",nzNotFoundContent:"nzNotFoundContent",nzPlaceHolder:"nzPlaceHolder",nzPlacement:"nzPlacement",nzMaxTagCount:"nzMaxTagCount",nzDropdownRender:"nzDropdownRender",nzCustomTemplate:"nzCustomTemplate",nzSuffixIcon:"nzSuffixIcon",nzClearIcon:"nzClearIcon",nzRemoveIcon:"nzRemoveIcon",nzMenuItemSelectedIcon:"nzMenuItemSelectedIcon",nzTokenSeparators:"nzTokenSeparators",nzMaxTagPlaceholder:"nzMaxTagPlaceholder",nzMaxMultipleCount:"nzMaxMultipleCount",nzMode:"nzMode",nzFilterOption:"nzFilterOption",compareWith:"compareWith",nzAllowClear:"nzAllowClear",nzBorderless:"nzBorderless",nzShowSearch:"nzShowSearch",nzLoading:"nzLoading",nzAutoFocus:"nzAutoFocus",nzAutoClearSearchValue:"nzAutoClearSearchValue",nzServerSearch:"nzServerSearch",nzDisabled:"nzDisabled",nzOpen:"nzOpen",nzSelectOnTab:"nzSelectOnTab",nzBackdrop:"nzBackdrop",nzOptions:"nzOptions",nzShowArrow:"nzShowArrow"},outputs:{nzOnSearch:"nzOnSearch",nzScrollToBottom:"nzScrollToBottom",nzOpenChange:"nzOpenChange",nzBlur:"nzBlur",nzFocus:"nzFocus"},exportAs:["nzSelect"],features:[ce([Io,{provide:fi,useExisting:Ae(()=>t),multi:!0}]),$],decls:5,vars:25,consts:[["cdkOverlayOrigin","",3,"nzId","open","disabled","mode","nzNoAnimation","maxTagPlaceholder","removeIcon","placeHolder","maxTagCount","customTemplate","tokenSeparators","showSearch","autofocus","listOfTopItem","inputValueChange","tokenize","deleteItem","keydown"],["origin","cdkOverlayOrigin"],[3,"showArrow","loading","search","suffixIcon","feedbackIcon",4,"ngIf"],[3,"clearIcon","clear",4,"ngIf"],["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayMinWidth","cdkConnectedOverlayWidth","cdkConnectedOverlayOrigin","cdkConnectedOverlayTransformOriginOn","cdkConnectedOverlayPanelClass","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","overlayOutsideClick","detach","positionChange"],[3,"showArrow","loading","search","suffixIcon","feedbackIcon"],["feedbackIconTpl",""],[3,"status",4,"ngIf"],[3,"status"],[3,"clearIcon","clear"],[3,"ngStyle","itemSize","maxItemLength","matchWidth","nzNoAnimation","listOfContainerItem","menuItemSelectedIcon","notFoundContent","activatedValue","listOfSelectedValue","dropdownRender","compareWith","mode","keydown","itemClick","scrollToBottom"]],template:function(e,i){if(1&e&&(R(0,"nz-select-top-control",0,1),te("inputValueChange",function(r){return i.onInputValueChange(r)})("tokenize",function(r){return i.onTokenSeparate(r)})("deleteItem",function(r){return i.onItemDelete(r)})("keydown",function(r){return i.onKeyDown(r)}),j(),E(2,GY,3,5,"nz-select-arrow",2),E(3,qY,1,1,"nz-select-clear",3),E(4,KY,1,23,"ng-template",4),te("overlayOutsideClick",function(r){return i.onClickOutside(r)})("detach",function(){return i.setOpenState(!1)})("positionChange",function(r){return i.onPositionChange(r)})),2&e){const o=ln(1);M("nzId",i.nzId)("open",i.nzOpen)("disabled",i.nzDisabled)("mode",i.nzMode)("@.disabled",!(null==i.noAnimation||!i.noAnimation.nzNoAnimation))("nzNoAnimation",null==i.noAnimation?null:i.noAnimation.nzNoAnimation)("maxTagPlaceholder",i.nzMaxTagPlaceholder)("removeIcon",i.nzRemoveIcon)("placeHolder",i.nzPlaceHolder)("maxTagCount",i.nzMaxTagCount)("customTemplate",i.nzCustomTemplate)("tokenSeparators",i.nzTokenSeparators)("showSearch",i.nzShowSearch)("autofocus",i.nzAutoFocus)("listOfTopItem",i.listOfTopItem),k(2),M("ngIf",i.nzShowArrow||i.hasFeedback&&!!i.status),k(1),M("ngIf",i.nzAllowClear&&!i.nzDisabled&&i.listOfValue.length),k(1),M("cdkConnectedOverlayHasBackdrop",i.nzBackdrop)("cdkConnectedOverlayMinWidth",i.nzDropdownMatchSelectWidth?null:i.triggerWidth)("cdkConnectedOverlayWidth",i.nzDropdownMatchSelectWidth?i.triggerWidth:null)("cdkConnectedOverlayOrigin",o)("cdkConnectedOverlayTransformOriginOn",".ant-select-dropdown")("cdkConnectedOverlayPanelClass",i.nzDropdownClassName)("cdkConnectedOverlayOpen",i.nzOpen)("cdkConnectedOverlayPositions",i.positions)}},dependencies:[xt,Zc,s4,Es,XR,pl,Vi,sY,QY,J6,nj,ij],encapsulation:2,data:{animation:[__]},changeDetection:0}),ee([f4()],t.prototype,"nzSuffixIcon",void 0),ee([oe()],t.prototype,"nzAllowClear",void 0),ee([f4(),oe()],t.prototype,"nzBorderless",void 0),ee([oe()],t.prototype,"nzShowSearch",void 0),ee([oe()],t.prototype,"nzLoading",void 0),ee([oe()],t.prototype,"nzAutoFocus",void 0),ee([oe()],t.prototype,"nzAutoClearSearchValue",void 0),ee([oe()],t.prototype,"nzServerSearch",void 0),ee([oe()],t.prototype,"nzDisabled",void 0),ee([oe()],t.prototype,"nzOpen",void 0),ee([oe()],t.prototype,"nzSelectOnTab",void 0),ee([f4(),oe()],t.prototype,"nzBackdrop",void 0),t})(),aj=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[An,dn,B6,vv,ko,a4,ro,Is,eY,y_,_4,$6,aY,f6,zL]}),t})();function lj(t,n){if(1&t){const e=ht();R(0,"map-marker",8,9),te("mapMouseover",function(){const r=Ve(e).$implicit,s=ln(1);return Ne(x().openInfoWindow(s,r))})("mapMouseout",function(){return Ve(e),Ne(x().closeInfoWindow())})("centerChanged",function(o){return Ve(e),Ne(x().onMapCenterChanged(o))})("mapClick",function(){const r=Ve(e).$implicit,s=ln(1);return Ne(x().openPopup(s,r))}),j()}if(2&t){const e=n.$implicit;M("position",e)("options",e.markerOptions)}}function cj(t,n){if(1&t){const e=ht();Re(0),R(1,"div",10),X(2,"div",11),R(3,"div",12)(4,"ul",13),X(5,"li",14),R(6,"li",15),te("nzOpenChange",function(o){return Ve(e),Ne(x().change(o))}),j(),R(7,"li",16)(8,"ul")(9,"li",17),Tt(10,"Option 9"),j(),R(11,"li",17),Tt(12,"Option 10"),j(),R(13,"li",17),Tt(14,"Option 11"),j()()()()()(),Be()}2&t&&(k(2),M("nzSpan",18)("nzPush",6),k(1),M("nzSpan",6)("nzPull",18),k(1),M("nzMode","vertical"))}function uj(t,n){if(1&t){const e=ht();R(0,"a",18),te("click",function(){return Ve(e),Ne(x().clickBack())}),X(1,"i",19),j()}}let dj=(()=>{class t{constructor(e){this.$http=e,this.backButton=!1,this.title="mapDashboard",this.allData=[],this.allDataBckUp=[],this.isVisible=!1,this.selectedValue=void 0,this.selectReport=void 0,this.multipleValue=[],this.listOfOptionMulti=[{label:"R1",value:"R1"},{label:"R2",value:"R2"}],this.listOfOption=[{label:"Green",value:"Green"},{label:"Red",value:"Red"},{label:"Blue",value:"Blue"}],this.center={lat:22.5630255,lng:88.39625699999999},this.options={zoomControl:!1,scrollwheel:!0,disableDoubleClickZoom:!1,styles:[{featureType:"administrative",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"poi",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"road",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"transit",elementType:"labels",stylers:[{visibility:"off"}]}],maxZoom:18,minZoom:3},this.zoom=9,this.markerOptions={},this.optionObj={},this.markerPositions=[],this.geocoder=new google.maps.Geocoder,this.window=window}ngOnInit(){this.CommonPostApi()}getmapData(e){var i=this;return k1(function*(){i.allData=[],i.markerPositions=[];const o=r=>{switch(r){case"Red":return"assets/img/red-vactor.png";case"Green":return"assets/img/green.png";case"Blue":return"assets/img/vector-blue.png";default:return"assets/img/Distribution.png"}};e.forEach(function(){var r=k1(function*(s,a){const l=yield i.getLatLongFromPincode(String(s.distributor_pin));i.markerPositions.push({distributor:s.distributor,route_name:s.route_name,distributor_hash:s.distributor_hash,route_hash:s.route_hash,lat:Number(l.lat()),lng:Number(l.lng()),Distributorcolor:a+1,markerOptions:i.markerOptions={icon:{url:o(s.final_color),scaledSize:new google.maps.Size(20,25)},title:s.distributor}})});return function(s,a){return r.apply(this,arguments)}}()),i.allData=[...e]})()}openInfoWindow(e,i){null!=this.infoWindow&&(this.infoWindow.open(e),this.optionObj=i)}closeInfoWindow(){null!=this.infoWindow&&this.infoWindow.close()}handleOk(){console.log("Button ok clicked!"),this.isVisible=!1}handleCancel(){console.log("Button cancel clicked!"),this.isVisible=!1}openPopup(e,i){this.optionObj=i,i.distributor_hash&&(this.map.googleMap.setOptions(null),setTimeout(()=>{this.map.googleMap.setOptions({zoomControl:!1,scrollwheel:!0,disableDoubleClickZoom:!1,maxZoom:18,minZoom:3}),this.map.googleMap.setCenter({lat:22.5630255,lng:88.39625699999999}),this.map.googleMap.setZoom(10)},0),this.CommonPostclickApi(i),this.backButton=!0),i.outlet_id&&(this.isVisible=!0)}change(e){console.log(e)}colorChange(){if(this.selectedValue){const e=this.allDataBckUp.filter(i=>i.final_color==this.selectedValue);this.getmapData(e)}else this.getmapData(this.allDataBckUp)}DistributorChange(){console.log("multipleValue",this.multipleValue);let e=[];this.multipleValue.length?this.multipleValue.forEach(i=>{e=[...this.allDataBckUp.filter(r=>r.Distributor==i),...e]}):e=[...this.allDataBckUp],console.log("tempdata",e),this.getmapData(e)}CommonPostApi(){this.allData=[],this.allDataBckUp=[];const i={headers:new hi({"Content-Type":"application/json","x-functions-key":"eXVKxfpuQQVGJzCYDPQvV4osimM3M9F3tZBmJ_4d4qIjAzFuHahl7A=="})};return this.$http.post("https://fieldfourceappaz.azurewebsites.net/api/common_api?report_name=map_order_status&sp_name=sp_CRM",JSON.stringify({}),i).subscribe(o=>{console.log(o.data),this.allData=o.data,this.allDataBckUp=[...this.allData],this.getmapData(this.allData)})}getLatLongFromPincode(e){return new Promise((i,o)=>{this.geocoder.geocode({address:e},(r,s)=>{if("OK"===s&&r.length>0){const a=r[0].geometry.location,l=new google.maps.LatLng(a.lat(),a.lng());i(l)}else o("Geocode was not successful for the following reason: "+s)})})}CommonPostclickApi(e){var i=this;this.allData=[],this.allDataBckUp=[],this.markerPositions=[];const r={headers:new hi({"Content-Type":"application/json","x-functions-key":"eXVKxfpuQQVGJzCYDPQvV4osimM3M9F3tZBmJ_4d4qIjAzFuHahl7A=="})};this.$http.post("https://fieldfourceappaz.azurewebsites.net/api/common_api?report_name=map_order_status_outlet&sp_name=sp_CRM",JSON.stringify({distributor_hash:e.distributor_hash,route_hash:e.route_hash}),r).subscribe(s=>{console.log(s.data),this.allData=s.data,this.allDataBckUp=[...this.allData],this.allData.forEach(function(){var a=k1(function*(l){i.markerPositions.push({route_name:l.route_name,lat:Number(l.lat),lng:Number(l.long),outlet_id:l.outlet_id,markerOptions:i.markerOptions={icon:{path:google.maps.SymbolPath.CIRCLE,scale:8,strokeColor:"#57C9EA",fillColor:l.color,fillOpacity:1,strokeWeight:5},title:l.retailer}})});return function(l){return a.apply(this,arguments)}}())})}onMapCenterChanged(e){console.log(e)}clickBack(){this.map.googleMap.setOptions({zoomControl:!1,scrollwheel:!0,disableDoubleClickZoom:!1,maxZoom:18,minZoom:3}),setTimeout(()=>{this.map.googleMap.setCenter({lat:22.5630255,lng:88.39625699999999}),this.map.googleMap.setZoom(10)},0),this.backButton=!1,this.CommonPostApi()}}return t.\u0275fac=function(e){return new(e||t)(f(Ou))},t.\u0275cmp=ze({type:t,selectors:[["app-root"]],viewQuery:function(e,i){if(1&e&&(Et(h9,5),Et(Xt,5)),2&e){let o;we(o=Se())&&(i.infoWindow=o.first),we(o=Se())&&(i.map=o.first)}},decls:9,vars:12,consts:[[2,"text-align","right","background-color","#85cf9454"],["nzAllowClear","","nzPlaceHolder","Choose Report",2,"width","12%","text-align","left","margin","6px",3,"ngModel","nzOptions","ngModelChange"],["nzAllowClear","","nzPlaceHolder","Filter Color",2,"width","10%","text-align","left","margin","6px",3,"ngModel","nzOptions","ngModelChange"],["height","93%","width","100%",3,"center","zoom","options"],[3,"position","options","mapMouseover","mapMouseout","centerChanged","mapClick",4,"ngFor","ngForOf"],[3,"nzVisible","nzTitle","nzWidth","nzVisibleChange","nzOnCancel","nzOnOk"],[4,"nzModalContent"],["class","float",3,"click",4,"ngIf"],[3,"position","options","mapMouseover","mapMouseout","centerChanged","mapClick"],["marker","mapMarker"],["nz-row",""],["nz-col","",3,"nzSpan","nzPush"],["nz-col","",3,"nzSpan","nzPull"],["nz-menu","",3,"nzMode"],["nz-submenu","","nzTitle","Order Information","nzIcon","mail"],["nz-submenu","","nzTitle","Payment Information","nzIcon","appstore",3,"nzOpenChange"],["nz-submenu","","nzTitle","Delivery Information","nzIcon","setting"],["nz-menu-item",""],[1,"float",3,"click"],[1,"fa","fa-arrow-left","my-float"]],template:function(e,i){1&e&&(R(0,"div",0)(1,"nz-select",1),te("ngModelChange",function(r){return i.selectReport=r}),j(),R(2,"nz-select",2),te("ngModelChange",function(r){return i.selectedValue=r})("ngModelChange",function(){return i.colorChange()}),j()(),R(3,"google-map",3),E(4,lj,2,2,"map-marker",4),j(),R(5,"nz-modal",5),te("nzVisibleChange",function(r){return i.isVisible=r})("nzOnCancel",function(){return i.handleCancel()})("nzOnOk",function(){return i.handleOk()}),E(6,cj,15,5,"ng-container",6),j(),E(7,uj,2,0,"a",7),X(8,"router-outlet")),2&e&&(k(1),M("ngModel",i.selectReport)("nzOptions",i.listOfOptionMulti),k(1),M("ngModel",i.selectedValue)("nzOptions",i.listOfOption),k(1),M("center",i.center)("zoom",i.zoom)("options",i.options),k(1),M("ngForOf",i.markerPositions),k(1),M("nzVisible",i.isVisible)("nzTitle",i.optionObj.SalesMan)("nzWidth",850),k(2),M("ngIf",i.backButton))},dependencies:[qc,xt,yu,Xt,Nu,Bu,U1,GR,v_,EB,Z6,M_,kB,z_,sj],styles:[".float[_ngcontent-%COMP%]{position:fixed;width:43px;height:52px;bottom:39px;right:39px;background-color:#900c3f;color:#fff;border-radius:50px;text-align:center;box-shadow:2px 2px 3px #999}.my-float[_ngcontent-%COMP%]{margin-top:18px}"]}),t})(),D4=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})();class k_{getNativeWindow(){return window}}class x_{getNativeDocument(){return document}}const fj=[k_,x_];var vr=(()=>{return(t=vr||(vr={}))[t.HTTP=1]="HTTP",t[t.HTTPS=2]="HTTPS",t[t.AUTO=3]="AUTO",vr;var t})();const P_=new P("angular-google-maps LAZY_MAPS_API_CONFIG");let mj=(()=>{class t extends D4{constructor(e=null,i,o,r){super(),this.localeId=r,this._SCRIPT_ID="agmGoogleMapsApiScript",this.callbackName="agmLazyMapsAPILoader",this._config=e||{},this._windowRef=i,this._documentRef=o}load(){const e=this._windowRef.getNativeWindow();if(e.google&&e.google.maps)return Promise.resolve();if(this._scriptLoadingPromise)return this._scriptLoadingPromise;const i=this._documentRef.getNativeDocument().getElementById(this._SCRIPT_ID);if(i)return this._assignScriptLoadingPromise(i),this._scriptLoadingPromise;const o=this._documentRef.getNativeDocument().createElement("script");return o.type="text/javascript",o.async=!0,o.defer=!0,o.id=this._SCRIPT_ID,o.src=this._getScriptSrc(this.callbackName),this._assignScriptLoadingPromise(o),this._documentRef.getNativeDocument().body.appendChild(o),this._scriptLoadingPromise}_assignScriptLoadingPromise(e){this._scriptLoadingPromise=new Promise((i,o)=>{this._windowRef.getNativeWindow()[this.callbackName]=()=>{i()},e.onerror=r=>{o(r)}})}_getScriptSrc(e){let o;switch(this._config&&this._config.protocol||vr.HTTPS){case vr.AUTO:o="";break;case vr.HTTP:o="http:";break;case vr.HTTPS:o="https:"}const s={v:this._config.apiVersion||"quarterly",callback:e,key:this._config.apiKey,client:this._config.clientId,channel:this._config.channel,libraries:this._config.libraries,region:this._config.region,language:this._config.language||("en-US"!==this.localeId?this.localeId:null)};return`${o}//${this._config.hostAndPath||"maps.googleapis.com/maps/api/js"}?${Object.keys(s).filter(l=>null!=s[l]).filter(l=>!Array.isArray(s[l])||Array.isArray(s[l])&&s[l].length>0).map(l=>{const c=s[l];return Array.isArray(c)?{key:l,value:c.join(",")}:{key:l,value:s[l]}}).map(l=>`${l.key}=${l.value}`).join("&")}`}}return t.\u0275fac=function(e){return new(e||t)(v(P_,8),v(k_),v(x_),v(Pi))},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})(),Bj=(()=>{class t{static forRoot(e){return{ngModule:t,providers:[...fj,{provide:D4,useClass:mj},{provide:P_,useValue:e}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({}),t})();const yr=void 0,jj=["en",[["a","p"],["AM","PM"],yr],[["AM","PM"],yr,yr],[["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"]],yr,[["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"]],yr,[["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}",yr,"{1} 'at' {0}",yr],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Yj(t){const e=Math.floor(Math.abs(t)),i=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===i?1:5}];function R_(t){return new z(3e3,!1)}function wU(){return typeof window<"u"&&typeof window.document<"u"}function sd(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Oo(t){switch(t.length){case 0:return new hl;case 1:return t[0];default:return new ay(t)}}function B_(t,n,e,i,o=new Map,r=new Map){const s=[],a=[];let l=-1,c=null;if(i.forEach(u=>{const d=u.get("offset"),h=d==l,p=h&&c||new Map;u.forEach((m,g)=>{let y=g,C=m;if("offset"!==g)switch(y=n.normalizePropertyName(y,s),C){case x6:C=o.get(g);break;case no:C=r.get(g);break;default:C=n.normalizeStyleValue(g,y,C,s)}p.set(y,C)}),h||a.push(p),c=p,l=d}),s.length)throw function hU(t){return new z(3502,!1)}();return a}function ad(t,n,e,i){switch(n){case"start":t.onStart(()=>i(e&&ld(e,"start",t)));break;case"done":t.onDone(()=>i(e&&ld(e,"done",t)));break;case"destroy":t.onDestroy(()=>i(e&&ld(e,"destroy",t)))}}function ld(t,n,e){const r=cd(t.element,t.triggerName,t.fromState,t.toState,n||t.phaseName,e.totalTime??t.totalTime,!!e.disabled),s=t._data;return null!=s&&(r._data=s),r}function cd(t,n,e,i,o="",r=0,s){return{element:t,triggerName:n,fromState:e,toState:i,phaseName:o,totalTime:r,disabled:!!s}}function Fn(t,n,e){let i=t.get(n);return i||t.set(n,i=e),i}function Y_(t){const n=t.indexOf(":");return[t.substring(1,n),t.slice(n+1)]}let ud=(t,n)=>!1,j_=(t,n,e)=>[],U_=null;function dd(t){const n=t.parentNode||t.host;return n===U_?null:n}(sd()||typeof Element<"u")&&(wU()?(U_=(()=>document.documentElement)(),ud=(t,n)=>{for(;n;){if(n===t)return!0;n=dd(n)}return!1}):ud=(t,n)=>t.contains(n),j_=(t,n,e)=>{if(e)return Array.from(t.querySelectorAll(n));const i=t.querySelector(n);return i?[i]:[]});let _r=null,$_=!1;const W_=ud,G_=j_;let q_=(()=>{class t{validateStyleProperty(e){return function DU(t){_r||(_r=function TU(){return typeof document<"u"?document.body:null}()||{},$_=!!_r.style&&"WebkitAppearance"in _r.style);let n=!0;return _r.style&&!function SU(t){return"ebkit"==t.substring(1,6)}(t)&&(n=t in _r.style,!n&&$_&&(n="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in _r.style)),n}(e)}matchesElement(e,i){return!1}containsElement(e,i){return W_(e,i)}getParentElement(e){return dd(e)}query(e,i,o){return G_(e,i,o)}computeStyle(e,i,o){return o||""}animate(e,i,o,r,s,a=[],l){return new hl(o,r)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})(),hd=(()=>{class t{}return t.NOOP=new q_,t})();const EU=1e3,pd="ng-enter",T4="ng-leave",E4="ng-trigger",k4=".ng-trigger",Z_="ng-animating",fd=".ng-animating";function so(t){if("number"==typeof t)return t;const n=t.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:md(parseFloat(n[1]),n[2])}function md(t,n){return"s"===n?t*EU:t}function x4(t,n,e){return t.hasOwnProperty("duration")?t:function xU(t,n,e){let o,r=0,s="";if("string"==typeof t){const a=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return n.push(R_()),{duration:0,delay:0,easing:""};o=md(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(r=md(parseFloat(l),a[4]));const c=a[5];c&&(s=c)}else o=t;if(!e){let a=!1,l=n.length;o<0&&(n.push(function Uj(){return new z(3100,!1)}()),a=!0),r<0&&(n.push(function $j(){return new z(3101,!1)}()),a=!0),a&&n.splice(l,0,R_())}return{duration:o,delay:r,easing:s}}(t,n,e)}function ml(t,n={}){return Object.keys(t).forEach(e=>{n[e]=t[e]}),n}function X_(t){const n=new Map;return Object.keys(t).forEach(e=>{n.set(e,t[e])}),n}function Fo(t,n=new Map,e){if(e)for(let[i,o]of e)n.set(i,o);for(let[i,o]of t)n.set(i,o);return n}function J_(t,n,e){return e?n+":"+e+";":""}function eC(t){let n="";for(let e=0;e{const r=vd(o);e&&!e.has(o)&&e.set(o,t.style[r]),t.style[r]=i}),sd()&&eC(t))}function Cr(t,n){t.style&&(n.forEach((e,i)=>{const o=vd(i);t.style[o]=""}),sd()&&eC(t))}function gl(t){return Array.isArray(t)?1==t.length?t[0]:iy(t):t}const gd=new RegExp("{{\\s*(.+?)\\s*}}","g");function tC(t){let n=[];if("string"==typeof t){let e;for(;e=gd.exec(t);)n.push(e[1]);gd.lastIndex=0}return n}function vl(t,n,e){const i=t.toString(),o=i.replace(gd,(r,s)=>{let a=n[s];return null==a&&(e.push(function Gj(t){return new z(3003,!1)}()),a=""),a.toString()});return o==i?t:o}function P4(t){const n=[];let e=t.next();for(;!e.done;)n.push(e.value),e=t.next();return n}const IU=/-+([a-z0-9])/g;function vd(t){return t.replace(IU,(...n)=>n[1].toUpperCase())}function OU(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Vn(t,n,e){switch(n.type){case 7:return t.visitTrigger(n,e);case 0:return t.visitState(n,e);case 1:return t.visitTransition(n,e);case 2:return t.visitSequence(n,e);case 3:return t.visitGroup(n,e);case 4:return t.visitAnimate(n,e);case 5:return t.visitKeyframes(n,e);case 6:return t.visitStyle(n,e);case 8:return t.visitReference(n,e);case 9:return t.visitAnimateChild(n,e);case 10:return t.visitAnimateRef(n,e);case 11:return t.visitQuery(n,e);case 12:return t.visitStagger(n,e);default:throw function qj(t){return new z(3004,!1)}()}}function nC(t,n){return window.getComputedStyle(t)[n]}const O4="*";function RU(t,n){const e=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(i=>function BU(t,n,e){if(":"==t[0]){const l=function YU(t,n){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i) *"}}(t,e);if("function"==typeof l)return void n.push(l);t=l}const i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(function aU(t){return new z(3015,!1)}()),n;const o=i[1],r=i[2],s=i[3];n.push(iC(o,s));"<"==r[0]&&!(o==O4&&s==O4)&&n.push(iC(s,o))}(i,e,n)):e.push(t),e}const F4=new Set(["true","1"]),V4=new Set(["false","0"]);function iC(t,n){const e=F4.has(t)||V4.has(t),i=F4.has(n)||V4.has(n);return(o,r)=>{let s=t==O4||t==o,a=n==O4||n==r;return!s&&e&&"boolean"==typeof o&&(s=o?F4.has(t):V4.has(t)),!a&&i&&"boolean"==typeof r&&(a=r?F4.has(n):V4.has(n)),s&&a}}const jU=new RegExp("s*:selfs*,?","g");function yd(t,n,e,i){return new UU(t).build(n,e,i)}class UU{constructor(n){this._driver=n}build(n,e,i){const o=new GU(e);return this._resetContextStyleTimingState(o),Vn(this,gl(n),o)}_resetContextStyleTimingState(n){n.currentQuerySelector="",n.collectedStyles=new Map,n.collectedStyles.set("",new Map),n.currentTime=0}visitTrigger(n,e){let i=e.queryCount=0,o=e.depCount=0;const r=[],s=[];return"@"==n.name.charAt(0)&&e.errors.push(function Zj(){return new z(3006,!1)}()),n.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),0==a.type){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,r.push(this.visitState(l,e))}),l.name=c}else if(1==a.type){const l=this.visitTransition(a,e);i+=l.queryCount,o+=l.depCount,s.push(l)}else e.errors.push(function Xj(){return new z(3007,!1)}())}),{type:7,name:n.name,states:r,transitions:s,queryCount:i,depCount:o,options:null}}visitState(n,e){const i=this.visitStyle(n.styles,e),o=n.options&&n.options.params||null;if(i.containsDynamicStyles){const r=new Set,s=o||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{tC(l).forEach(c=>{s.hasOwnProperty(c)||r.add(c)})})}),r.size&&(P4(r.values()),e.errors.push(function Qj(t,n){return new z(3008,!1)}()))}return{type:0,name:n.name,style:i,options:o?{params:o}:null}}visitTransition(n,e){e.queryCount=0,e.depCount=0;const i=Vn(this,gl(n.animation),e);return{type:1,matchers:RU(n.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:br(n.options)}}visitSequence(n,e){return{type:2,steps:n.steps.map(i=>Vn(this,i,e)),options:br(n.options)}}visitGroup(n,e){const i=e.currentTime;let o=0;const r=n.steps.map(s=>{e.currentTime=i;const a=Vn(this,s,e);return o=Math.max(o,e.currentTime),a});return e.currentTime=o,{type:3,steps:r,options:br(n.options)}}visitAnimate(n,e){const i=function KU(t,n){if(t.hasOwnProperty("duration"))return t;if("number"==typeof t)return _d(x4(t,n).duration,0,"");const e=t;if(e.split(/\s+/).some(r=>"{"==r.charAt(0)&&"{"==r.charAt(1))){const r=_d(0,0,"");return r.dynamic=!0,r.strValue=e,r}const o=x4(e,n);return _d(o.duration,o.delay,o.easing)}(n.timings,e.errors);e.currentAnimateTimings=i;let o,r=n.styles?n.styles:J({});if(5==r.type)o=this.visitKeyframes(r,e);else{let s=n.styles,a=!1;if(!s){a=!0;const c={};i.easing&&(c.easing=i.easing),s=J(c)}e.currentTime+=i.duration+i.delay;const l=this.visitStyle(s,e);l.isEmptyStep=a,o=l}return e.currentAnimateTimings=null,{type:4,timings:i,style:o,options:null}}visitStyle(n,e){const i=this._makeStyleAst(n,e);return this._validateStyleAst(i,e),i}_makeStyleAst(n,e){const i=[],o=Array.isArray(n.styles)?n.styles:[n.styles];for(let a of o)"string"==typeof a?a===no?i.push(a):e.errors.push(new z(3002,!1)):i.push(X_(a));let r=!1,s=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!r))for(let l of a.values())if(l.toString().indexOf("{{")>=0){r=!0;break}}),{type:6,styles:i,easing:s,offset:n.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(n,e){const i=e.currentAnimateTimings;let o=e.currentTime,r=e.currentTime;i&&r>0&&(r-=i.duration+i.delay),n.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const c=e.collectedStyles.get(e.currentQuerySelector),u=c.get(l);let d=!0;u&&(r!=o&&r>=u.startTime&&o<=u.endTime&&(e.errors.push(function eU(t,n,e,i,o){return new z(3010,!1)}()),d=!1),r=u.startTime),d&&c.set(l,{startTime:r,endTime:o}),e.options&&function AU(t,n,e){const i=n.params||{},o=tC(t);o.length&&o.forEach(r=>{i.hasOwnProperty(r)||e.push(function Wj(t){return new z(3001,!1)}())})}(a,e.options,e.errors)})})}visitKeyframes(n,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function tU(){return new z(3011,!1)}()),i;let r=0;const s=[];let a=!1,l=!1,c=0;const u=n.steps.map(C=>{const T=this._makeStyleAst(C,e);let b=null!=T.offset?T.offset:function qU(t){if("string"==typeof t)return null;let n=null;if(Array.isArray(t))t.forEach(e=>{if(e instanceof Map&&e.has("offset")){const i=e;n=parseFloat(i.get("offset")),i.delete("offset")}});else if(t instanceof Map&&t.has("offset")){const e=t;n=parseFloat(e.get("offset")),e.delete("offset")}return n}(T.styles),O=0;return null!=b&&(r++,O=T.offset=b),l=l||O<0||O>1,a=a||O0&&r{const b=h>0?T==p?1:h*T:s[T],O=b*y;e.currentTime=m+g.delay+O,g.duration=O,this._validateStyleAst(C,e),C.offset=b,i.styles.push(C)}),i}visitReference(n,e){return{type:8,animation:Vn(this,gl(n.animation),e),options:br(n.options)}}visitAnimateChild(n,e){return e.depCount++,{type:9,options:br(n.options)}}visitAnimateRef(n,e){return{type:10,animation:this.visitReference(n.animation,e),options:br(n.options)}}visitQuery(n,e){const i=e.currentQuerySelector,o=n.options||{};e.queryCount++,e.currentQuery=n;const[r,s]=function $U(t){const n=!!t.split(/\s*,\s*/).find(e=>":self"==e);return n&&(t=t.replace(jU,"")),t=t.replace(/@\*/g,k4).replace(/@\w+/g,e=>k4+"-"+e.slice(1)).replace(/:animating/g,fd),[t,n]}(n.selector);e.currentQuerySelector=i.length?i+" "+r:r,Fn(e.collectedStyles,e.currentQuerySelector,new Map);const a=Vn(this,gl(n.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:r,limit:o.limit||0,optional:!!o.optional,includeSelf:s,animation:a,originalSelector:n.selector,options:br(n.options)}}visitStagger(n,e){e.currentQuery||e.errors.push(function rU(){return new z(3013,!1)}());const i="full"===n.timings?{duration:0,delay:0,easing:"full"}:x4(n.timings,e.errors,!0);return{type:12,animation:Vn(this,gl(n.animation),e),timings:i,options:null}}}class GU{constructor(n){this.errors=n,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 br(t){return t?(t=ml(t)).params&&(t.params=function WU(t){return t?ml(t):null}(t.params)):t={},t}function _d(t,n,e){return{duration:t,delay:n,easing:e}}function Cd(t,n,e,i,o,r,s=null,a=!1){return{type:1,element:t,keyframes:n,preStyleProps:e,postStyleProps:i,duration:o,delay:r,totalTime:o+r,easing:s,subTimeline:a}}class N4{constructor(){this._map=new Map}get(n){return this._map.get(n)||[]}append(n,e){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...e)}has(n){return this._map.has(n)}clear(){this._map.clear()}}const QU=new RegExp(":enter","g"),e$=new RegExp(":leave","g");function bd(t,n,e,i,o,r=new Map,s=new Map,a,l,c=[]){return(new t$).buildKeyframes(t,n,e,i,o,r,s,a,l,c)}class t${buildKeyframes(n,e,i,o,r,s,a,l,c,u=[]){c=c||new N4;const d=new Md(n,e,c,o,r,u,[]);d.options=l;const h=l.delay?so(l.delay):0;d.currentTimeline.delayNextStep(h),d.currentTimeline.setStyles([s],null,d.errors,l),Vn(this,i,d);const p=d.timelines.filter(m=>m.containsAnimation());if(p.length&&a.size){let m;for(let g=p.length-1;g>=0;g--){const y=p[g];if(y.element===e){m=y;break}}m&&!m.allowOnlyTimelineStyles()&&m.setStyles([a],null,d.errors,l)}return p.length?p.map(m=>m.buildKeyframes()):[Cd(e,[],[],[],0,h,"",!1)]}visitTrigger(n,e){}visitState(n,e){}visitTransition(n,e){}visitAnimateChild(n,e){const i=e.subInstructions.get(e.element);if(i){const o=e.createSubContext(n.options),r=e.currentTimeline.currentTime,s=this._visitSubInstructions(i,o,o.options);r!=s&&e.transformIntoNewTimeline(s)}e.previousNode=n}visitAnimateRef(n,e){const i=e.createSubContext(n.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],e,i),this.visitReference(n.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=n}_applyAnimationRefDelays(n,e,i){for(const o of n){const r=o?.delay;if(r){const s="number"==typeof r?r:so(vl(r,o?.params??{},e.errors));i.delayNextStep(s)}}}_visitSubInstructions(n,e,i){let r=e.currentTimeline.currentTime;const s=null!=i.duration?so(i.duration):null,a=null!=i.delay?so(i.delay):null;return 0!==s&&n.forEach(l=>{const c=e.appendInstructionToTimeline(l,s,a);r=Math.max(r,c.duration+c.delay)}),r}visitReference(n,e){e.updateOptions(n.options,!0),Vn(this,n.animation,e),e.previousNode=n}visitSequence(n,e){const i=e.subContextCount;let o=e;const r=n.options;if(r&&(r.params||r.delay)&&(o=e.createSubContext(r),o.transformIntoNewTimeline(),null!=r.delay)){6==o.previousNode.type&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=L4);const s=so(r.delay);o.delayNextStep(s)}n.steps.length&&(n.steps.forEach(s=>Vn(this,s,o)),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>i&&o.transformIntoNewTimeline()),e.previousNode=n}visitGroup(n,e){const i=[];let o=e.currentTimeline.currentTime;const r=n.options&&n.options.delay?so(n.options.delay):0;n.steps.forEach(s=>{const a=e.createSubContext(n.options);r&&a.delayNextStep(r),Vn(this,s,a),o=Math.max(o,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>e.currentTimeline.mergeTimelineCollectedStyles(s)),e.transformIntoNewTimeline(o),e.previousNode=n}_visitTiming(n,e){if(n.dynamic){const i=n.strValue;return x4(e.params?vl(i,e.params,e.errors):i,e.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,e){const i=e.currentAnimateTimings=this._visitTiming(n.timings,e),o=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),o.snapshotCurrentStyles());const r=n.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(i.duration),this.visitStyle(r,e),o.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=n}visitStyle(n,e){const i=e.currentTimeline,o=e.currentAnimateTimings;!o&&i.hasCurrentStyleProperties()&&i.forwardFrame();const r=o&&o.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(r):i.setStyles(n.styles,r,e.errors,e.options),e.previousNode=n}visitKeyframes(n,e){const i=e.currentAnimateTimings,o=e.currentTimeline.duration,r=i.duration,a=e.createSubContext().currentTimeline;a.easing=i.easing,n.styles.forEach(l=>{a.forwardTime((l.offset||0)*r),a.setStyles(l.styles,l.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(o+r),e.previousNode=n}visitQuery(n,e){const i=e.currentTimeline.currentTime,o=n.options||{},r=o.delay?so(o.delay):0;r&&(6===e.previousNode.type||0==i&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=L4);let s=i;const a=e.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!o.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((c,u)=>{e.currentQueryIndex=u;const d=e.createSubContext(n.options,c);r&&d.delayNextStep(r),c===e.element&&(l=d.currentTimeline),Vn(this,n.animation,d),d.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,d.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=n}visitStagger(n,e){const i=e.parentContext,o=e.currentTimeline,r=n.timings,s=Math.abs(r.duration),a=s*(e.currentQueryTotal-1);let l=s*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime}const u=e.currentTimeline;l&&u.delayNextStep(l);const d=u.currentTime;Vn(this,n.animation,e),e.previousNode=n,i.currentStaggerTime=o.currentTime-d+(o.startTime-i.currentTimeline.startTime)}}const L4={};class Md{constructor(n,e,i,o,r,s,a,l){this._driver=n,this.element=e,this.subInstructions=i,this._enterClassName=o,this._leaveClassName=r,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=L4,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new H4(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,e){if(!n)return;const i=n;let o=this.options;null!=i.duration&&(o.duration=so(i.duration)),null!=i.delay&&(o.delay=so(i.delay));const r=i.params;if(r){let s=o.params;s||(s=this.options.params={}),Object.keys(r).forEach(a=>{(!e||!s.hasOwnProperty(a))&&(s[a]=vl(r[a],s,this.errors))})}}_copyOptions(){const n={};if(this.options){const e=this.options.params;if(e){const i=n.params={};Object.keys(e).forEach(o=>{i[o]=e[o]})}}return n}createSubContext(n=null,e,i){const o=e||this.element,r=new Md(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,i||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(n),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(n){return this.previousNode=L4,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,e,i){const o={duration:e??n.duration,delay:this.currentTimeline.currentTime+(i??0)+n.delay,easing:""},r=new n$(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,o,n.stretchStartingKeyframe);return this.timelines.push(r),o}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,e,i,o,r,s){let a=[];if(o&&a.push(this.element),n.length>0){n=(n=n.replace(QU,"."+this._enterClassName)).replace(e$,"."+this._leaveClassName);let c=this._driver.query(this.element,n,1!=i);0!==i&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!r&&0==a.length&&s.push(function sU(t){return new z(3014,!1)}()),a}}class H4{constructor(n,e,i,o){this._driver=n,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=o,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(n){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+n),e&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,e){return this.applyStylesToKeyframe(),new H4(this._driver,n,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(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,e){this._localTimelineStyles.set(n,e),this._globalTimelineStyles.set(n,e),this._styleSummary.set(n,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||no),this._currentKeyframe.set(e,no);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,e,i,o){e&&this._previousKeyframe.set("easing",e);const r=o&&o.params||{},s=function i$(t,n){const e=new Map;let i;return t.forEach(o=>{if("*"===o){i=i||n.keys();for(let r of i)e.set(r,no)}else Fo(o,e)}),e}(n,this._globalTimelineStyles);for(let[a,l]of s){const c=vl(l,r,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??no),this._updateStyle(a,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((n,e)=>{this._currentKeyframe.set(e,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,n)}))}snapshotCurrentStyles(){for(let[n,e]of this._localTimelineStyles)this._pendingStyles.set(n,e),this._updateStyle(n,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const n=[];for(let e in this._currentKeyframe)n.push(e);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((e,i)=>{const o=this._styleSummary.get(i);(!o||e.time>o.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const n=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let o=[];this._keyframes.forEach((a,l)=>{const c=Fo(a,new Map,this._backFill);c.forEach((u,d)=>{u===x6?n.add(d):u===no&&e.add(d)}),i||c.set("offset",l/this.duration),o.push(c)});const r=n.size?P4(n.values()):[],s=e.size?P4(e.values()):[];if(i){const a=o[0],l=new Map(a);a.set("offset",0),l.set("offset",1),o=[a,l]}return Cd(this.element,o,r,s,this.duration,this.startTime,this.easing,!1)}}class n$ extends H4{constructor(n,e,i,o,r,s,a=!1){super(n,e,s.delay),this.keyframes=i,this.preStyleProps=o,this.postStyleProps=r,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:e,duration:i,easing:o}=this.timings;if(this._stretchStartingKeyframe&&e){const r=[],s=i+e,a=e/s,l=Fo(n[0]);l.set("offset",0),r.push(l);const c=Fo(n[0]);c.set("offset",sC(a)),r.push(c);const u=n.length-1;for(let d=1;d<=u;d++){let h=Fo(n[d]);const p=h.get("offset");h.set("offset",sC((e+p*i)/s)),r.push(h)}i=s,e=0,o="",n=r}return Cd(this.element,n,this.preStyleProps,this.postStyleProps,i,e,o,!0)}}function sC(t,n=3){const e=Math.pow(10,n-1);return Math.round(t*e)/e}class zd{}const o$=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 r$ extends zd{normalizePropertyName(n,e){return vd(n)}normalizeStyleValue(n,e,i,o){let r="";const s=i.toString().trim();if(o$.has(e)&&0!==i&&"0"!==i)if("number"==typeof i)r="px";else{const a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&o.push(function Kj(t,n){return new z(3005,!1)}())}return s+r}}function aC(t,n,e,i,o,r,s,a,l,c,u,d,h){return{type:0,element:t,triggerName:n,isRemovalTransition:o,fromState:e,fromStyles:r,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:d,errors:h}}const wd={};class lC{constructor(n,e,i){this._triggerName=n,this.ast=e,this._stateStyles=i}match(n,e,i,o){return function s$(t,n,e,i,o){return t.some(r=>r(n,e,i,o))}(this.ast.matchers,n,e,i,o)}buildStyles(n,e,i){let o=this._stateStyles.get("*");return void 0!==n&&(o=this._stateStyles.get(n?.toString())||o),o?o.buildStyles(e,i):new Map}build(n,e,i,o,r,s,a,l,c,u){const d=[],h=this.ast.options&&this.ast.options.params||wd,m=this.buildStyles(i,a&&a.params||wd,d),g=l&&l.params||wd,y=this.buildStyles(o,g,d),C=new Set,T=new Map,b=new Map,O="void"===o,ye={params:a$(g,h),delay:this.ast.options?.delay},De=u?[]:bd(n,e,this.ast.animation,r,s,m,y,ye,c,d);let gt=0;if(De.forEach(Ee=>{gt=Math.max(Ee.duration+Ee.delay,gt)}),d.length)return aC(e,this._triggerName,i,o,O,m,y,[],[],T,b,gt,d);De.forEach(Ee=>{const it=Ee.element,bn=Fn(T,it,new Set);Ee.preStyleProps.forEach(Mn=>bn.add(Mn));const Ot=Fn(b,it,new Set);Ee.postStyleProps.forEach(Mn=>Ot.add(Mn)),it!==e&&C.add(it)});const Nn=P4(C.values());return aC(e,this._triggerName,i,o,O,m,y,De,Nn,T,b,gt)}}function a$(t,n){const e=ml(n);for(const i in t)t.hasOwnProperty(i)&&null!=t[i]&&(e[i]=t[i]);return e}class l${constructor(n,e,i){this.styles=n,this.defaultParams=e,this.normalizer=i}buildStyles(n,e){const i=new Map,o=ml(this.defaultParams);return Object.keys(n).forEach(r=>{const s=n[r];null!==s&&(o[r]=s)}),this.styles.styles.forEach(r=>{"string"!=typeof r&&r.forEach((s,a)=>{s&&(s=vl(s,o,e));const l=this.normalizer.normalizePropertyName(a,e);s=this.normalizer.normalizeStyleValue(a,l,s,e),i.set(a,s)})}),i}}class u${constructor(n,e,i){this.name=n,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(o=>{this.states.set(o.name,new l$(o.style,o.options&&o.options.params||{},i))}),cC(this.states,"true","1"),cC(this.states,"false","0"),e.transitions.forEach(o=>{this.transitionFactories.push(new lC(n,o,this.states))}),this.fallbackTransition=function d$(t,n,e){return new lC(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},n)}(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,e,i,o){return this.transitionFactories.find(s=>s.match(n,e,i,o))||null}matchStyles(n,e,i){return this.fallbackTransition.buildStyles(n,e,i)}}function cC(t,n,e){t.has(n)?t.has(e)||t.set(e,t.get(n)):t.has(e)&&t.set(n,t.get(e))}const h$=new N4;class p${constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(n,e){const i=[],o=[],r=yd(this._driver,e,i,o);if(i.length)throw function pU(t){return new z(3503,!1)}();this._animations.set(n,r)}_buildPlayer(n,e,i){const o=n.element,r=B_(0,this._normalizer,0,n.keyframes,e,i);return this._driver.animate(o,r,n.duration,n.delay,n.easing,[],!0)}create(n,e,i={}){const o=[],r=this._animations.get(n);let s;const a=new Map;if(r?(s=bd(this._driver,e,r,pd,T4,new Map,new Map,i,h$,o),s.forEach(u=>{const d=Fn(a,u.element,new Map);u.postStyleProps.forEach(h=>d.set(h,null))})):(o.push(function fU(){return new z(3300,!1)}()),s=[]),o.length)throw function mU(t){return new z(3504,!1)}();a.forEach((u,d)=>{u.forEach((h,p)=>{u.set(p,this._driver.computeStyle(d,p,no))})});const c=Oo(s.map(u=>{const d=a.get(u.element);return this._buildPlayer(u,new Map,d)}));return this._playersById.set(n,c),c.onDestroy(()=>this.destroy(n)),this.players.push(c),c}destroy(n){const e=this._getPlayer(n);e.destroy(),this._playersById.delete(n);const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(n){const e=this._playersById.get(n);if(!e)throw function gU(t){return new z(3301,!1)}();return e}listen(n,e,i,o){const r=cd(e,"","","");return ad(this._getPlayer(n),i,r,o),()=>{}}command(n,e,i,o){if("register"==i)return void this.register(n,o[0]);if("create"==i)return void this.create(n,e,o[0]||{});const r=this._getPlayer(n);switch(i){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(o[0]));break;case"destroy":this.destroy(n)}}}const uC="ng-animate-queued",Sd="ng-animate-disabled",y$=[],dC={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},_$={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Qn="__ng_removed";class Dd{get params(){return this.options.params}constructor(n,e=""){this.namespaceId=e;const i=n&&n.hasOwnProperty("value");if(this.value=function z$(t){return t??null}(i?n.value:n),i){const r=ml(n);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){const e=n.params;if(e){const i=this.options.params;Object.keys(e).forEach(o=>{null==i[o]&&(i[o]=e[o])})}}}const yl="void",Td=new Dd(yl);class C${constructor(n,e,i){this.id=n,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,Jn(e,this._hostClassName)}listen(n,e,i,o){if(!this._triggers.has(e))throw function vU(t,n){return new z(3302,!1)}();if(null==i||0==i.length)throw function yU(t){return new z(3303,!1)}();if(!function w$(t){return"start"==t||"done"==t}(i))throw function _U(t,n){return new z(3400,!1)}();const r=Fn(this._elementListeners,n,[]),s={name:e,phase:i,callback:o};r.push(s);const a=Fn(this._engine.statesByElement,n,new Map);return a.has(e)||(Jn(n,E4),Jn(n,E4+"-"+e),a.set(e,Td)),()=>{this._engine.afterFlush(()=>{const l=r.indexOf(s);l>=0&&r.splice(l,1),this._triggers.has(e)||a.delete(e)})}}register(n,e){return!this._triggers.has(n)&&(this._triggers.set(n,e),!0)}_getTrigger(n){const e=this._triggers.get(n);if(!e)throw function CU(t){return new z(3401,!1)}();return e}trigger(n,e,i,o=!0){const r=this._getTrigger(e),s=new Ed(this.id,e,n);let a=this._engine.statesByElement.get(n);a||(Jn(n,E4),Jn(n,E4+"-"+e),this._engine.statesByElement.set(n,a=new Map));let l=a.get(e);const c=new Dd(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(e,c),l||(l=Td),c.value!==yl&&l.value===c.value){if(!function T$(t,n){const e=Object.keys(t),i=Object.keys(n);if(e.length!=i.length)return!1;for(let o=0;o{Cr(n,y),Ni(n,C)})}return}const h=Fn(this._engine.playersByElement,n,[]);h.forEach(g=>{g.namespaceId==this.id&&g.triggerName==e&&g.queued&&g.destroy()});let p=r.matchTransition(l.value,c.value,n,c.params),m=!1;if(!p){if(!o)return;p=r.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:e,transition:p,fromState:l,toState:c,player:s,isFallbackTransition:m}),m||(Jn(n,uC),s.onStart(()=>{Vs(n,uC)})),s.onDone(()=>{let g=this.players.indexOf(s);g>=0&&this.players.splice(g,1);const y=this._engine.playersByElement.get(n);if(y){let C=y.indexOf(s);C>=0&&y.splice(C,1)}}),this.players.push(s),h.push(s),s}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(e=>e.delete(n)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(o=>o.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);const e=this._engine.playersByElement.get(n);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,e){const i=this._engine.driver.query(n,k4,!0);i.forEach(o=>{if(o[Qn])return;const r=this._engine.fetchNamespacesByElement(o);r.size?r.forEach(s=>s.triggerLeaveAnimation(o,e,!1,!0)):this.clearElementCache(o)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(o=>this.clearElementCache(o)))}triggerLeaveAnimation(n,e,i,o){const r=this._engine.statesByElement.get(n),s=new Map;if(r){const a=[];if(r.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){const u=this.trigger(n,c,yl,o);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,e,s),i&&Oo(a).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){const e=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);if(e&&i){const o=new Set;e.forEach(r=>{const s=r.name;if(o.has(s))return;o.add(s);const l=this._triggers.get(s).fallbackTransition,c=i.get(s)||Td,u=new Dd(yl),d=new Ed(this.id,s,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:s,transition:l,fromState:c,toState:u,player:d,isFallbackTransition:!0})})}}removeNode(n,e){const i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,e),this.triggerLeaveAnimation(n,e,!0))return;let o=!1;if(i.totalAnimations){const r=i.players.length?i.playersByQueriedElement.get(n):[];if(r&&r.length)o=!0;else{let s=n;for(;s=s.parentNode;)if(i.statesByElement.get(s)){o=!0;break}}}if(this.prepareLeaveAnimationListeners(n),o)i.markElementAsRemoved(this.id,n,!1,e);else{const r=n[Qn];(!r||r===dC)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,e))}}insertNode(n,e){Jn(n,this._hostClassName)}drainQueuedTransitions(n){const e=[];return this._queue.forEach(i=>{const o=i.player;if(o.destroyed)return;const r=i.element,s=this._elementListeners.get(r);s&&s.forEach(a=>{if(a.name==i.triggerName){const l=cd(r,i.triggerName,i.fromState.value,i.toState.value);l._data=n,ad(i.player,a.phase,l,a.callback)}}),o.markedForDestroy?this._engine.afterFlush(()=>{o.destroy()}):e.push(i)}),this._queue=[],e.sort((i,o)=>{const r=i.transition.ast.depCount,s=o.transition.ast.depCount;return 0==r||0==s?r-s:this._engine.driver.containsElement(i.element,o.element)?1:-1})}destroy(n){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}elementContainsData(n){let e=!1;return this._elementListeners.has(n)&&(e=!0),e=!!this._queue.find(i=>i.element===n)||e,e}}class b${_onRemovalComplete(n,e){this.onRemovalComplete(n,e)}constructor(n,e,i){this.bodyNode=n,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=(o,r)=>{}}get queuedPlayers(){const n=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,e){const i=new C$(n,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[n]=i}_balanceNamespaceList(n,e){const i=this._namespaceList,o=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(e);for(;a;){const l=o.get(a);if(l){const c=i.indexOf(l);i.splice(c+1,0,n),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(n)}else i.push(n);return o.set(e,n),n}register(n,e){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,e)),i}registerTrigger(n,e,i){let o=this._namespaceLookup[n];o&&o.register(e,i)&&this.totalAnimations++}destroy(n,e){if(!n)return;const i=this._fetchNamespace(n);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[n];const o=this._namespaceList.indexOf(i);o>=0&&this._namespaceList.splice(o,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){const e=new Set,i=this.statesByElement.get(n);if(i)for(let o of i.values())if(o.namespaceId){const r=this._fetchNamespace(o.namespaceId);r&&e.add(r)}return e}trigger(n,e,i,o){if(R4(e)){const r=this._fetchNamespace(n);if(r)return r.trigger(e,i,o),!0}return!1}insertNode(n,e,i,o){if(!R4(e))return;const r=e[Qn];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;const s=this.collectedLeaveElements.indexOf(e);s>=0&&this.collectedLeaveElements.splice(s,1)}if(n){const s=this._fetchNamespace(n);s&&s.insertNode(e,i)}o&&this.collectEnterElement(e)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,e){e?this.disabledNodes.has(n)||(this.disabledNodes.add(n),Jn(n,Sd)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),Vs(n,Sd))}removeNode(n,e,i,o){if(R4(e)){const r=n?this._fetchNamespace(n):null;if(r?r.removeNode(e,o):this.markElementAsRemoved(n,e,!1,o),i){const s=this.namespacesByHostElement.get(e);s&&s.id!==n&&s.removeNode(e,o)}}else this._onRemovalComplete(e,o)}markElementAsRemoved(n,e,i,o,r){this.collectedLeaveElements.push(e),e[Qn]={namespaceId:n,setForRemoval:o,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:r}}listen(n,e,i,o,r){return R4(e)?this._fetchNamespace(n).listen(e,i,o,r):()=>{}}_buildInstruction(n,e,i,o,r){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,o,n.fromState.options,n.toState.options,e,r)}destroyInnerAnimations(n){let e=this.driver.query(n,k4,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(n,fd,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){const e=this.playersByElement.get(n);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){const e=this.playersByQueriedElement.get(n);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return Oo(this.players).onDone(()=>n());n()})}processLeaveNode(n){const e=n[Qn];if(e&&e.setForRemoval){if(n[Qn]=dC,e.namespaceId){this.destroyInnerAnimations(n);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,e.setForRemoval)}n.classList?.contains(Sd)&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(n=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,o)=>this._balanceNamespaceList(i,o)),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?Oo(e).onDone(()=>{i.forEach(o=>o())}):i.forEach(o=>o())}}reportError(n){throw function bU(t){return new z(3402,!1)}()}_flushAnimations(n,e){const i=new N4,o=[],r=new Map,s=[],a=new Map,l=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(H=>{u.add(H);const U=this.driver.query(H,".ng-animate-queued",!0);for(let G=0;G{const G=pd+g++;m.set(U,G),H.forEach(xe=>Jn(xe,G))});const y=[],C=new Set,T=new Set;for(let H=0;HC.add(xe)):T.add(U))}const b=new Map,O=fC(h,Array.from(C));O.forEach((H,U)=>{const G=T4+g++;b.set(U,G),H.forEach(xe=>Jn(xe,G))}),n.push(()=>{p.forEach((H,U)=>{const G=m.get(U);H.forEach(xe=>Vs(xe,G))}),O.forEach((H,U)=>{const G=b.get(U);H.forEach(xe=>Vs(xe,G))}),y.forEach(H=>{this.processLeaveNode(H)})});const ye=[],De=[];for(let H=this._namespaceList.length-1;H>=0;H--)this._namespaceList[H].drainQueuedTransitions(e).forEach(G=>{const xe=G.player,Ft=G.element;if(ye.push(xe),this.collectedEnterElements.length){const on=Ft[Qn];if(on&&on.setForMove){if(on.previousTriggersValues&&on.previousTriggersValues.has(G.triggerName)){const Mr=on.previousTriggersValues.get(G.triggerName),ei=this.statesByElement.get(G.element);if(ei&&ei.has(G.triggerName)){const j4=ei.get(G.triggerName);j4.value=Mr,ei.set(G.triggerName,j4)}}return void xe.destroy()}}const Li=!d||!this.driver.containsElement(d,Ft),Ln=b.get(Ft),Vo=m.get(Ft),ot=this._buildInstruction(G,i,Vo,Ln,Li);if(ot.errors&&ot.errors.length)return void De.push(ot);if(Li)return xe.onStart(()=>Cr(Ft,ot.fromStyles)),xe.onDestroy(()=>Ni(Ft,ot.toStyles)),void o.push(xe);if(G.isFallbackTransition)return xe.onStart(()=>Cr(Ft,ot.fromStyles)),xe.onDestroy(()=>Ni(Ft,ot.toStyles)),void o.push(xe);const zC=[];ot.timelines.forEach(on=>{on.stretchStartingKeyframe=!0,this.disabledNodes.has(on.element)||zC.push(on)}),ot.timelines=zC,i.append(Ft,ot.timelines),s.push({instruction:ot,player:xe,element:Ft}),ot.queriedElements.forEach(on=>Fn(a,on,[]).push(xe)),ot.preStyleProps.forEach((on,Mr)=>{if(on.size){let ei=l.get(Mr);ei||l.set(Mr,ei=new Set),on.forEach((j4,Pd)=>ei.add(Pd))}}),ot.postStyleProps.forEach((on,Mr)=>{let ei=c.get(Mr);ei||c.set(Mr,ei=new Set),on.forEach((j4,Pd)=>ei.add(Pd))})});if(De.length){const H=[];De.forEach(U=>{H.push(function MU(t,n){return new z(3505,!1)}())}),ye.forEach(U=>U.destroy()),this.reportError(H)}const gt=new Map,Nn=new Map;s.forEach(H=>{const U=H.element;i.has(U)&&(Nn.set(U,U),this._beforeAnimationBuild(H.player.namespaceId,H.instruction,gt))}),o.forEach(H=>{const U=H.element;this._getPreviousPlayers(U,!1,H.namespaceId,H.triggerName,null).forEach(xe=>{Fn(gt,U,[]).push(xe),xe.destroy()})});const Ee=y.filter(H=>gC(H,l,c)),it=new Map;pC(it,this.driver,T,c,no).forEach(H=>{gC(H,l,c)&&Ee.push(H)});const Ot=new Map;p.forEach((H,U)=>{pC(Ot,this.driver,new Set(H),l,x6)}),Ee.forEach(H=>{const U=it.get(H),G=Ot.get(H);it.set(H,new Map([...Array.from(U?.entries()??[]),...Array.from(G?.entries()??[])]))});const Mn=[],ao=[],lo={};s.forEach(H=>{const{element:U,player:G,instruction:xe}=H;if(i.has(U)){if(u.has(U))return G.onDestroy(()=>Ni(U,xe.toStyles)),G.disabled=!0,G.overrideTotalTime(xe.totalTime),void o.push(G);let Ft=lo;if(Nn.size>1){let Ln=U;const Vo=[];for(;Ln=Ln.parentNode;){const ot=Nn.get(Ln);if(ot){Ft=ot;break}Vo.push(Ln)}Vo.forEach(ot=>Nn.set(ot,Ft))}const Li=this._buildAnimation(G.namespaceId,xe,gt,r,Ot,it);if(G.setRealPlayer(Li),Ft===lo)Mn.push(G);else{const Ln=this.playersByElement.get(Ft);Ln&&Ln.length&&(G.parentPlayer=Oo(Ln)),o.push(G)}}else Cr(U,xe.fromStyles),G.onDestroy(()=>Ni(U,xe.toStyles)),ao.push(G),u.has(U)&&o.push(G)}),ao.forEach(H=>{const U=r.get(H.element);if(U&&U.length){const G=Oo(U);H.setRealPlayer(G)}}),o.forEach(H=>{H.parentPlayer?H.syncPlayerEvents(H.parentPlayer):H.destroy()});for(let H=0;H!Li.destroyed);Ft.length?S$(this,U,Ft):this.processLeaveNode(U)}return y.length=0,Mn.forEach(H=>{this.players.push(H),H.onDone(()=>{H.destroy();const U=this.players.indexOf(H);this.players.splice(U,1)}),H.play()}),Mn}elementContainsData(n,e){let i=!1;const o=e[Qn];return o&&o.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(n).elementContainsData(e)||i}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,e,i,o,r){let s=[];if(e){const a=this.playersByQueriedElement.get(n);a&&(s=a)}else{const a=this.playersByElement.get(n);if(a){const l=!r||r==yl;a.forEach(c=>{c.queued||!l&&c.triggerName!=o||s.push(c)})}}return(i||o)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||o&&o!=a.triggerName))),s}_beforeAnimationBuild(n,e,i){const r=e.element,s=e.isRemovalTransition?void 0:n,a=e.isRemovalTransition?void 0:e.triggerName;for(const l of e.timelines){const c=l.element,u=c!==r,d=Fn(i,c,[]);this._getPreviousPlayers(c,u,s,a,e.toState).forEach(p=>{const m=p.getRealPlayer();m.beforeDestroy&&m.beforeDestroy(),p.destroy(),d.push(p)})}Cr(r,e.fromStyles)}_buildAnimation(n,e,i,o,r,s){const a=e.triggerName,l=e.element,c=[],u=new Set,d=new Set,h=e.timelines.map(m=>{const g=m.element;u.add(g);const y=g[Qn];if(y&&y.removedBeforeQueried)return new hl(m.duration,m.delay);const C=g!==l,T=function D$(t){const n=[];return mC(t,n),n}((i.get(g)||y$).map(gt=>gt.getRealPlayer())).filter(gt=>!!gt.element&>.element===g),b=r.get(g),O=s.get(g),ye=B_(0,this._normalizer,0,m.keyframes,b,O),De=this._buildPlayer(m,ye,T);if(m.subTimeline&&o&&d.add(g),C){const gt=new Ed(n,a,g);gt.setRealPlayer(De),c.push(gt)}return De});c.forEach(m=>{Fn(this.playersByQueriedElement,m.element,[]).push(m),m.onDone(()=>function M$(t,n,e){let i=t.get(n);if(i){if(i.length){const o=i.indexOf(e);i.splice(o,1)}0==i.length&&t.delete(n)}return i}(this.playersByQueriedElement,m.element,m))}),u.forEach(m=>Jn(m,Z_));const p=Oo(h);return p.onDestroy(()=>{u.forEach(m=>Vs(m,Z_)),Ni(l,e.toStyles)}),d.forEach(m=>{Fn(o,m,[]).push(p)}),p}_buildPlayer(n,e,i){return e.length>0?this.driver.animate(n.element,e,n.duration,n.delay,n.easing,i):new hl(n.duration,n.delay)}}class Ed{constructor(n,e,i){this.namespaceId=n,this.triggerName=e,this.element=i,this._player=new hl,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(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((e,i)=>{e.forEach(o=>ad(n,i,void 0,o))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){const e=this._player;e.triggerCallback&&n.onStart(()=>e.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,e){Fn(this._queuedCallbacks,n,[]).push(e)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}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(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){const e=this._player;e.triggerCallback&&e.triggerCallback(n)}}function R4(t){return t&&1===t.nodeType}function hC(t,n){const e=t.style.display;return t.style.display=n??"none",e}function pC(t,n,e,i,o){const r=[];e.forEach(l=>r.push(hC(l)));const s=[];i.forEach((l,c)=>{const u=new Map;l.forEach(d=>{const h=n.computeStyle(c,d,o);u.set(d,h),(!h||0==h.length)&&(c[Qn]=_$,s.push(c))}),t.set(c,u)});let a=0;return e.forEach(l=>hC(l,r[a++])),s}function fC(t,n){const e=new Map;if(t.forEach(a=>e.set(a,[])),0==n.length)return e;const i=1,o=new Set(n),r=new Map;function s(a){if(!a)return i;let l=r.get(a);if(l)return l;const c=a.parentNode;return l=e.has(c)?c:o.has(c)?i:s(c),r.set(a,l),l}return n.forEach(a=>{const l=s(a);l!==i&&e.get(l).push(a)}),e}function Jn(t,n){t.classList?.add(n)}function Vs(t,n){t.classList?.remove(n)}function S$(t,n,e){Oo(e).onDone(()=>t.processLeaveNode(n))}function mC(t,n){for(let e=0;eo.add(r)):n.set(t,i),e.delete(t),!0}class B4{constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(o,r)=>{},this._transitionEngine=new b$(n,e,i),this._timelineEngine=new p$(n,e,i),this._transitionEngine.onRemovalComplete=(o,r)=>this.onRemovalComplete(o,r)}registerTrigger(n,e,i,o,r){const s=n+"-"+o;let a=this._triggerCache[s];if(!a){const l=[],c=[],u=yd(this._driver,r,l,c);if(l.length)throw function dU(t,n){return new z(3404,!1)}();a=function c$(t,n,e){return new u$(t,n,e)}(o,u,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,o,a)}register(n,e){this._transitionEngine.register(n,e)}destroy(n,e){this._transitionEngine.destroy(n,e)}onInsert(n,e,i,o){this._transitionEngine.insertNode(n,e,i,o)}onRemove(n,e,i,o){this._transitionEngine.removeNode(n,e,o||!1,i)}disableAnimations(n,e){this._transitionEngine.markElementAsDisabled(n,e)}process(n,e,i,o){if("@"==i.charAt(0)){const[r,s]=Y_(i);this._timelineEngine.command(r,e,s,o)}else this._transitionEngine.trigger(n,e,i,o)}listen(n,e,i,o,r){if("@"==i.charAt(0)){const[s,a]=Y_(i);return this._timelineEngine.listen(s,e,a,r)}return this._transitionEngine.listen(n,e,i,o,r)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let k$=(()=>{class t{constructor(e,i,o){this._element=e,this._startStyles=i,this._endStyles=o,this._state=0;let r=t.initialStylesByElement.get(e);r||t.initialStylesByElement.set(e,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&Ni(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ni(this._element,this._initialStyles),this._endStyles&&(Ni(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Cr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Cr(this._element,this._endStyles),this._endStyles=null),Ni(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function kd(t){let n=null;return t.forEach((e,i)=>{(function x$(t){return"display"===t||"position"===t})(i)&&(n=n||new Map,n.set(i,e))}),n}class vC{constructor(n,e,i,o){this.element=n,this.keyframes=e,this.options=i,this._specialStyles=o,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(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(n){const e=[];return n.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(n,e,i){return n.animate(this._convertKeyframesToObject(e),i)}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),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(n=>n()),this._onDestroyFns=[])}setPosition(n){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,o)=>{"offset"!==o&&n.set(o,this._finished?i:nC(this.element,o))}),this.currentSnapshot=n}triggerCallback(n){const e="start"===n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class P${validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}matchesElement(n,e){return!1}containsElement(n,e){return W_(n,e)}getParentElement(n){return dd(n)}query(n,e,i){return G_(n,e,i)}computeStyle(n,e,i){return window.getComputedStyle(n)[e]}animate(n,e,i,o,r,s=[]){const l={duration:i,delay:o,fill:0==o?"both":"forwards"};r&&(l.easing=r);const c=new Map,u=s.filter(p=>p instanceof vC);(function FU(t,n){return 0===t||0===n})(i,o)&&u.forEach(p=>{p.currentSnapshot.forEach((m,g)=>c.set(g,m))});let d=function PU(t){return t.length?t[0]instanceof Map?t:t.map(n=>X_(n)):[]}(e).map(p=>Fo(p));d=function VU(t,n,e){if(e.size&&n.length){let i=n[0],o=[];if(e.forEach((r,s)=>{i.has(s)||o.push(s),i.set(s,r)}),o.length)for(let r=1;rs.set(a,nC(t,a)))}}return n}(n,d,c);const h=function E$(t,n){let e=null,i=null;return Array.isArray(n)&&n.length?(e=kd(n[0]),n.length>1&&(i=kd(n[n.length-1]))):n instanceof Map&&(e=kd(n)),e||i?new k$(t,e,i):null}(n,d);return new vC(n,d,l,h)}}let A$=(()=>{class t extends ny{constructor(e,i){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(i.body,{id:"0",encapsulation:ti.None,styles:[],data:{animation:[]}})}build(e){const i=this._nextAnimationId.toString();this._nextAnimationId++;const o=Array.isArray(e)?iy(e):e;return yC(this._renderer,null,i,"register",[o]),new I$(i,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(v(po),v(_e))},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})();class I$ extends WN{constructor(n,e){super(),this._id=n,this._renderer=e}create(n,e){return new O$(this._id,n,e||{},this._renderer)}}class O${constructor(n,e,i,o){this.id=n,this.element=e,this._renderer=o,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(n,e){return this._renderer.listen(this.element,`@@${this.id}:${n}`,e)}_command(n,...e){return yC(this._renderer,this.element,this.id,n,e)}onDone(n){this._listen("done",n)}onStart(n){this._listen("start",n)}onDestroy(n){this._listen("destroy",n)}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(n){this._command("setPosition",n)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function yC(t,n,e,i,o){return t.setProperty(n,`@@${e}:${i}`,o)}const _C="@.disabled";let F$=(()=>{class t{constructor(e,i,o){this.delegate=e,this.engine=i,this._zone=o,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),i.onRemovalComplete=(r,s)=>{const a=s?.parentNode(r);a&&s.removeChild(a,r)}}createRenderer(e,i){const r=this.delegate.createRenderer(e,i);if(!(e&&i&&i.data&&i.data.animation)){let u=this._rendererCache.get(r);return u||(u=new CC("",r,this.engine,()=>this._rendererCache.delete(r)),this._rendererCache.set(r,u)),u}const s=i.id,a=i.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);const l=u=>{Array.isArray(u)?u.forEach(l):this.engine.registerTrigger(s,a,e,u.name,u)};return i.data.animation.forEach(l),new V$(this,a,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,o){e>=0&&ei(o)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(r=>{const[s,a]=r;s(a)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,o]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return t.\u0275fac=function(e){return new(e||t)(v(po),v(B4),v(N))},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})();class CC{constructor(n,e,i,o){this.namespaceId=n,this.delegate=e,this.engine=i,this._onDestroy=o,this.destroyNode=this.delegate.destroyNode?r=>e.destroyNode(r):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(n,e){return this.delegate.createElement(n,e)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,e){this.delegate.appendChild(n,e),this.engine.onInsert(this.namespaceId,e,n,!1)}insertBefore(n,e,i,o=!0){this.delegate.insertBefore(n,e,i),this.engine.onInsert(this.namespaceId,e,n,o)}removeChild(n,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate,i)}selectRootElement(n,e){return this.delegate.selectRootElement(n,e)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,e,i,o){this.delegate.setAttribute(n,e,i,o)}removeAttribute(n,e,i){this.delegate.removeAttribute(n,e,i)}addClass(n,e){this.delegate.addClass(n,e)}removeClass(n,e){this.delegate.removeClass(n,e)}setStyle(n,e,i,o){this.delegate.setStyle(n,e,i,o)}removeStyle(n,e,i){this.delegate.removeStyle(n,e,i)}setProperty(n,e,i){"@"==e.charAt(0)&&e==_C?this.disableAnimations(n,!!i):this.delegate.setProperty(n,e,i)}setValue(n,e){this.delegate.setValue(n,e)}listen(n,e,i){return this.delegate.listen(n,e,i)}disableAnimations(n,e){this.engine.disableAnimations(n,e)}}class V$ extends CC{constructor(n,e,i,o,r){super(e,i,o,r),this.factory=n,this.namespaceId=e}setProperty(n,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==_C?this.disableAnimations(n,i=void 0===i||!!i):this.engine.process(this.namespaceId,n,e.slice(1),i):this.delegate.setProperty(n,e,i)}listen(n,e,i){if("@"==e.charAt(0)){const o=function N$(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(n);let r=e.slice(1),s="";return"@"!=r.charAt(0)&&([r,s]=function L$(t){const n=t.indexOf(".");return[t.substring(0,n),t.slice(n+1)]}(r)),this.engine.listen(this.namespaceId,o,r,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,i,a)})}return this.delegate.listen(n,e,i)}}const bC=[{provide:ny,useClass:A$},{provide:zd,useFactory:function R$(){return new r$}},{provide:B4,useClass:(()=>{class t extends B4{constructor(e,i,o,r){super(e.body,i,o)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(e){return new(e||t)(v(_e),v(hd),v(zd),v(hs))},t.\u0275prov=D({token:t,factory:t.\u0275fac}),t})()},{provide:po,useFactory:function B$(t,n,e){return new F$(t,n,e)},deps:[n1,B4,N]}],xd=[{provide:hd,useFactory:()=>new P$},{provide:tr,useValue:"BrowserAnimations"},...bC],MC=[{provide:hd,useClass:q_},{provide:tr,useValue:"NoopAnimations"},...bC];let Y$=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?MC:xd}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({providers:xd,imports:[xm]}),t})(),G$=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[An,dn,ro,uy,ko]}),t})(),X$=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[An,dn]}),t})(),cW=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[An,dn,Is,ro]}),t})(),uW=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({}),t})(),dW=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t}),t.\u0275inj=se({imports:[An,dn,a4,s_,X6,ro,_4,ko,y_,uW,Is,X6]}),t})();new Je({originX:"start",originY:"top"},{overlayX:"start",overlayY:"top"}),new Je({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}),new Je({originX:"start",originY:"top"},{overlayX:"end",overlayY:"bottom"}),new Je({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"}),function sx(t,n,e){(function AD(t,n,e){"string"!=typeof n&&(e=n,n=t[V.LocaleId]),n=n.toLowerCase().replace(/_/g,"-"),as[n]=t,e&&(as[n][V.ExtraData]=e)})(t,n,e)}(jj);let hW=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=de({type:t,bootstrap:[dj]}),t.\u0275inj=se({providers:[{provide:Ly,useValue:Ny}],imports:[xm,bO,sF,Bj.forRoot({apiKey:"AIzaSyDFaXNvUSNlqQoqlNBgCgppWcSeYxb5kDM",libraries:["places","geometry","drawing"]}),vv,a9,Y$,qR,X6,xB,G$,X$,cW,dW,ro,aj,a9]}),t})();OP().bootstrapModule(hW).catch(t=>console.error(t))}},Me=>{Me(Me.s=677)}]); \ No newline at end of file