From 835a8e56f2c156899186a0a2302f3fad67cb9868 Mon Sep 17 00:00:00 2001 From: cmckni3 Date: Sun, 6 Aug 2023 21:17:27 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20webcat12?= =?UTF-8?q?345/ngx-ui-switch@b110584877e20ae00b633a7cc934da3d7bf90414=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- demo/index.html | 2 +- ...894cd28d37.js => main.267fce64b5e3fc8e.js} | 2 +- ...i_switch_component_.uiswitchcomponent.html | 92 +++++++++++-------- ...itch_ui_switch_module_.uiswitchmodule.html | 2 +- docs/index.html | 2 + ...i_switch_config_.uiswitchmoduleconfig.html | 20 ++-- .../_ui_switch_ui_switch_component_.html | 8 +- docs/modules/_ui_switch_ui_switch_token_.html | 2 +- 8 files changed, 73 insertions(+), 57 deletions(-) rename demo/{main.711f7f894cd28d37.js => main.267fce64b5e3fc8e.js} (91%) diff --git a/demo/index.html b/demo/index.html index 620d07f7..b5e8d6dc 100644 --- a/demo/index.html +++ b/demo/index.html @@ -32,6 +32,6 @@

Loading...

- + \ No newline at end of file diff --git a/demo/main.711f7f894cd28d37.js b/demo/main.267fce64b5e3fc8e.js similarity index 91% rename from demo/main.711f7f894cd28d37.js rename to demo/main.267fce64b5e3fc8e.js index 3f2759c1..e6415d5c 100644 --- a/demo/main.711f7f894cd28d37.js +++ b/demo/main.267fce64b5e3fc8e.js @@ -1 +1 @@ -"use strict";(self.webpackChunkngx_ui_switch=self.webpackChunkngx_ui_switch||[]).push([[179],{415:()=>{function fe(t){return"function"==typeof t}function oo(t){const n=t(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const so=oo(t=>function(n){t(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,i)=>`${i+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function ti(t,e){if(t){const n=t.indexOf(e);0<=n&&t.splice(n,1)}}class Ht{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const o of n)o.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(fe(r))try{r()}catch(o){e=o instanceof so?o.errors:[o]}const{_finalizers:i}=this;if(i){this._finalizers=null;for(const o of i)try{wd(o)}catch(s){e=null!=e?e:[],s instanceof so?e=[...e,...s.errors]:e.push(s)}}if(e)throw new so(e)}}add(e){var n;if(e&&e!==this)if(this.closed)wd(e);else{if(e instanceof Ht){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(e)}}_hasParent(e){const{_parentage:n}=this;return n===e||Array.isArray(n)&&n.includes(e)}_addParent(e){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(e),n):n?[n,e]:e}_removeParent(e){const{_parentage:n}=this;n===e?this._parentage=null:Array.isArray(n)&&ti(n,e)}remove(e){const{_finalizers:n}=this;n&&ti(n,e),e instanceof Ht&&e._removeParent(this)}}Ht.EMPTY=(()=>{const t=new Ht;return t.closed=!0,t})();const Dd=Ht.EMPTY;function Cd(t){return t instanceof Ht||t&&"closed"in t&&fe(t.remove)&&fe(t.add)&&fe(t.unsubscribe)}function wd(t){fe(t)?t():t.unsubscribe()}const Bn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ao={setTimeout(t,e,...n){const{delegate:r}=ao;return null!=r&&r.setTimeout?r.setTimeout(t,e,...n):setTimeout(t,e,...n)},clearTimeout(t){const{delegate:e}=ao;return((null==e?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0};function Ed(t){ao.setTimeout(()=>{const{onUnhandledError:e}=Bn;if(!e)throw t;e(t)})}function bd(){}const TD=pa("C",void 0,void 0);function pa(t,e,n){return{kind:t,value:e,error:n}}let jn=null;function lo(t){if(Bn.useDeprecatedSynchronousErrorHandling){const e=!jn;if(e&&(jn={errorThrown:!1,error:null}),t(),e){const{errorThrown:n,error:r}=jn;if(jn=null,n)throw r}}else t()}class ga extends Ht{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Cd(e)&&e.add(this)):this.destination=kD}static create(e,n,r){return new ni(e,n,r)}next(e){this.isStopped?ya(function ND(t){return pa("N",t,void 0)}(e),this):this._next(e)}error(e){this.isStopped?ya(function ID(t){return pa("E",void 0,t)}(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?ya(TD,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const PD=Function.prototype.bind;function ma(t,e){return PD.call(t,e)}class OD{constructor(e){this.partialObserver=e}next(e){const{partialObserver:n}=this;if(n.next)try{n.next(e)}catch(r){uo(r)}}error(e){const{partialObserver:n}=this;if(n.error)try{n.error(e)}catch(r){uo(r)}else uo(e)}complete(){const{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(n){uo(n)}}}class ni extends ga{constructor(e,n,r){let i;if(super(),fe(e)||!e)i={next:null!=e?e:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0};else{let o;this&&Bn.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),i={next:e.next&&ma(e.next,o),error:e.error&&ma(e.error,o),complete:e.complete&&ma(e.complete,o)}):i=e}this.destination=new OD(i)}}function uo(t){Bn.useDeprecatedSynchronousErrorHandling?function FD(t){Bn.useDeprecatedSynchronousErrorHandling&&jn&&(jn.errorThrown=!0,jn.error=t)}(t):Ed(t)}function ya(t,e){const{onStoppedNotification:n}=Bn;n&&ao.setTimeout(()=>n(t,e))}const kD={closed:!0,next:bd,error:function xD(t){throw t},complete:bd},_a="function"==typeof Symbol&&Symbol.observable||"@@observable";function Md(t){return t}let Oe=(()=>{class t{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new t;return r.source=this,r.operator=n,r}subscribe(n,r,i){const o=function VD(t){return t&&t instanceof ga||function RD(t){return t&&fe(t.next)&&fe(t.error)&&fe(t.complete)}(t)&&Cd(t)}(n)?n:new ni(n,r,i);return lo(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=Ad(r))((i,o)=>{const s=new ni({next:a=>{try{n(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[_a](){return this}pipe(...n){return function Sd(t){return 0===t.length?Md:1===t.length?t[0]:function(n){return t.reduce((r,i)=>i(r),n)}}(n)(this)}toPromise(n){return new(n=Ad(n))((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return t.create=e=>new t(e),t})();function Ad(t){var e;return null!==(e=null!=t?t:Bn.Promise)&&void 0!==e?e:Promise}const LD=oo(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let va=(()=>{class t extends Oe{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new Td(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new LD}next(n){lo(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){lo(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){lo(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:i,observers:o}=this;return r||i?Dd:(this.currentObservers=null,o.push(n),new Ht(()=>{this.currentObservers=null,ti(o,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:i,isStopped:o}=this;r?n.error(i):o&&n.complete()}asObservable(){const n=new Oe;return n.source=this,n}}return t.create=(e,n)=>new Td(e,n),t})();class Td extends va{constructor(e,n){super(),this.destination=e,this.source=n}next(e){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,e)}error(e){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,e)}complete(){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===n||n.call(e)}_subscribe(e){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(e))&&void 0!==r?r:Dd}}function ri(t){return e=>{if(function BD(t){return fe(null==t?void 0:t.lift)}(e))return e.lift(function(n){try{return t(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function ii(t,e,n,r,i){return new jD(t,e,n,r,i)}class jD extends ga{constructor(e,n,r,i,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(l){e.error(l)}}:super._next,this._error=i?function(a){try{i(a)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(e=this.onFinalize)||void 0===e||e.call(this))}}}function Da(t,e){return ri((n,r)=>{let i=0;n.subscribe(ii(r,o=>{r.next(t.call(e,o,i++))}))})}function Hn(t){return this instanceof Hn?(this.v=t,this):new Hn(t)}function UD(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=n.apply(t,e||[]),o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(f){r[f]&&(i[f]=function(h){return new Promise(function(p,g){o.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function l(f){f.value instanceof Hn?Promise.resolve(f.value.v).then(u,c):d(o[0][2],f)}(r[f](h))}catch(p){d(o[0][3],p)}}function u(f){a("next",f)}function c(f){a("throw",f)}function d(f,h){f(h),o.shift(),o.length&&a(o[0][0],o[0][1])}}function GD(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,e=t[Symbol.asyncIterator];return e?e.call(t):(t=function Fd(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(o){n[o]=t[o]&&function(s){return new Promise(function(a,l){!function i(o,s,a,l){Promise.resolve(l).then(function(u){o({value:u,done:a})},s)}(a,l,(s=t[o](s)).done,s.value)})}}}const Pd=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function Od(t){return fe(null==t?void 0:t.then)}function xd(t){return fe(t[_a])}function kd(t){return Symbol.asyncIterator&&fe(null==t?void 0:t[Symbol.asyncIterator])}function Rd(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 Vd=function qD(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Ld(t){return fe(null==t?void 0:t[Vd])}function Bd(t){return UD(this,arguments,function*(){const n=t.getReader();try{for(;;){const{value:r,done:i}=yield Hn(n.read());if(i)return yield Hn(void 0);yield yield Hn(r)}}finally{n.releaseLock()}})}function jd(t){return fe(null==t?void 0:t.getReader)}function Dn(t){if(t instanceof Oe)return t;if(null!=t){if(xd(t))return function WD(t){return new Oe(e=>{const n=t[_a]();if(fe(n.subscribe))return n.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(t);if(Pd(t))return function QD(t){return new Oe(e=>{for(let n=0;n{t.then(n=>{e.closed||(e.next(n),e.complete())},n=>e.error(n)).then(null,Ed)})}(t);if(kd(t))return Hd(t);if(Ld(t))return function ZD(t){return new Oe(e=>{for(const n of t)if(e.next(n),e.closed)return;e.complete()})}(t);if(jd(t))return function YD(t){return Hd(Bd(t))}(t)}throw Rd(t)}function Hd(t){return new Oe(e=>{(function JD(t,e){var n,r,i,o;return function HD(t,e,n,r){return new(n||(n=Promise))(function(o,s){function a(c){try{u(r.next(c))}catch(d){s(d)}}function l(c){try{u(r.throw(c))}catch(d){s(d)}}function u(c){c.done?o(c.value):function i(o){return o instanceof n?o:new n(function(s){s(o)})}(c.value).then(a,l)}u((r=r.apply(t,e||[])).next())})}(this,void 0,void 0,function*(){try{for(n=GD(t);!(r=yield n.next()).done;)if(e.next(r.value),e.closed)return}catch(s){i={error:s}}finally{try{r&&!r.done&&(o=n.return)&&(yield o.call(n))}finally{if(i)throw i.error}}e.complete()})})(t,e).catch(n=>e.error(n))})}function Cn(t,e,n,r=0,i=!1){const o=e.schedule(function(){n(),i?t.add(this.schedule(null,r)):this.unsubscribe()},r);if(t.add(o),!i)return o}function $d(t,e,n=1/0){return fe(e)?$d((r,i)=>Da((o,s)=>e(r,o,i,s))(Dn(t(r,i))),n):("number"==typeof e&&(n=e),ri((r,i)=>function XD(t,e,n,r,i,o,s,a){const l=[];let u=0,c=0,d=!1;const f=()=>{d&&!l.length&&!u&&e.complete()},h=g=>u{o&&e.next(g),u++;let y=!1;Dn(n(g,c++)).subscribe(ii(e,_=>{null==i||i(_),o?h(_):e.next(_)},()=>{y=!0},void 0,()=>{if(y)try{for(u--;l.length&&up(_)):p(_)}f()}catch(_){e.error(_)}}))};return t.subscribe(ii(e,h,()=>{d=!0,f()})),()=>{null==a||a()}}(r,i,t,n)))}const Ud=new Oe(t=>t.complete());function wa(t){return t[t.length-1]}function Gd(t,e=0){return ri((n,r)=>{n.subscribe(ii(r,i=>Cn(r,t,()=>r.next(i),e),()=>Cn(r,t,()=>r.complete(),e),i=>Cn(r,t,()=>r.error(i),e)))})}function zd(t,e=0){return ri((n,r)=>{r.add(t.schedule(()=>n.subscribe(r),e))})}function qd(t,e){if(!t)throw new Error("Iterable cannot be null");return new Oe(n=>{Cn(n,e,()=>{const r=t[Symbol.asyncIterator]();Cn(n,e,()=>{r.next().then(i=>{i.done?n.complete():n.next(i.value)})},0,!0)})})}function Wd(t,e){return e?function dC(t,e){if(null!=t){if(xd(t))return function sC(t,e){return Dn(t).pipe(zd(e),Gd(e))}(t,e);if(Pd(t))return function lC(t,e){return new Oe(n=>{let r=0;return e.schedule(function(){r===t.length?n.complete():(n.next(t[r++]),n.closed||this.schedule())})})}(t,e);if(Od(t))return function aC(t,e){return Dn(t).pipe(zd(e),Gd(e))}(t,e);if(kd(t))return qd(t,e);if(Ld(t))return function uC(t,e){return new Oe(n=>{let r;return Cn(n,e,()=>{r=t[Vd](),Cn(n,e,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(s){return void n.error(s)}o?n.complete():n.next(i)},0,!0)}),()=>fe(null==r?void 0:r.return)&&r.return()})}(t,e);if(jd(t))return function cC(t,e){return qd(Bd(t),e)}(t,e)}throw Rd(t)}(t,e):Dn(t)}function fC(...t){const e=function iC(t){return function nC(t){return t&&fe(t.schedule)}(wa(t))?t.pop():void 0}(t),n=function oC(t,e){return"number"==typeof wa(t)?t.pop():e}(t,1/0),r=t;return r.length?1===r.length?Dn(r[0]):function eC(t=1/0){return $d(Md,t)}(n)(Wd(r,e)):Ud}function Ea(t,e,...n){if(!0===e)return void t();if(!1===e)return;const r=new ni({next:()=>{r.unsubscribe(),t()}});return e(...n).subscribe(r)}function oe(t){for(let e in t)if(t[e]===oe)return e;throw Error("Could not find renamed property on target object.")}function ba(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function se(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(se).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function Ma(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const pC=oe({__forward_ref__:oe});function ae(t){return t.__forward_ref__=ae,t.toString=function(){return se(this())},t}function x(t){return Sa(t)?t():t}function Sa(t){return"function"==typeof t&&t.hasOwnProperty(pC)&&t.__forward_ref__===ae}class D extends Error{constructor(e,n){super(function co(t,e){return`NG0${Math.abs(t)}${e?": "+e.trim():""}`}(e,n)),this.code=e}}function L(t){return"string"==typeof t?t:null==t?"":String(t)}function fo(t,e){throw new D(-201,!1)}function rt(t,e){null==t&&function X(t,e,n,r){throw new Error(`ASSERTION ERROR: ${t}`+(null==r?"":` [Expected=> ${n} ${r} ${e} <=Actual]`))}(e,t,null,"!=")}function ee(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Mt(t){return{providers:t.providers||[],imports:t.imports||[]}}function Aa(t){return Qd(t,ho)||Qd(t,Zd)}function Qd(t,e){return t.hasOwnProperty(e)?t[e]:null}function Kd(t){return t&&(t.hasOwnProperty(Ta)||t.hasOwnProperty(wC))?t[Ta]:null}const ho=oe({\u0275prov:oe}),Ta=oe({\u0275inj:oe}),Zd=oe({ngInjectableDef:oe}),wC=oe({ngInjectorDef:oe});var R=(()=>((R=R||{})[R.Default=0]="Default",R[R.Host=1]="Host",R[R.Self=2]="Self",R[R.SkipSelf=4]="SkipSelf",R[R.Optional=8]="Optional",R))();let Ia;function pt(t){const e=Ia;return Ia=t,e}function Yd(t,e,n){const r=Aa(t);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&R.Optional?null:void 0!==e?e:void fo(se(t))}function wn(t){return{toString:t}.toString()}var St=(()=>((St=St||{})[St.OnPush=0]="OnPush",St[St.Default=1]="Default",St))(),At=(()=>{return(t=At||(At={}))[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",At;var t})();const re=(()=>"undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof global&&global||"undefined"!=typeof window&&window||"undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self)(),ar={},J=[],po=oe({\u0275cmp:oe}),Na=oe({\u0275dir:oe}),Fa=oe({\u0275pipe:oe}),Jd=oe({\u0275mod:oe}),nn=oe({\u0275fac:oe}),oi=oe({__NG_ELEMENT_ID__:oe});let bC=0;function rn(t){return wn(()=>{const n=!0===t.standalone,r={},i={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===St.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&t.dependencies||null,getStandaloneInjector:null,selectors:t.selectors||J,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||At.Emulated,id:"c"+bC++,styles:t.styles||J,_:null,setInput:null,schemas:t.schemas||null,tView:null},o=t.dependencies,s=t.features;return i.inputs=tf(t.inputs,r),i.outputs=tf(t.outputs),s&&s.forEach(a=>a(i)),i.directiveDefs=o?()=>("function"==typeof o?o():o).map(Xd).filter(ef):null,i.pipeDefs=o?()=>("function"==typeof o?o():o).map(Ge).filter(ef):null,i})}function Xd(t){return te(t)||Ue(t)}function ef(t){return null!==t}function $t(t){return wn(()=>({type:t.type,bootstrap:t.bootstrap||J,declarations:t.declarations||J,imports:t.imports||J,exports:t.exports||J,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function tf(t,e){if(null==t)return ar;const n={};for(const r in t)if(t.hasOwnProperty(r)){let i=t[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,e&&(e[i]=o)}return n}const B=rn;function Je(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 te(t){return t[po]||null}function Ue(t){return t[Na]||null}function Ge(t){return t[Fa]||null}const z=11;function Xe(t){return Array.isArray(t)&&"object"==typeof t[1]}function It(t){return Array.isArray(t)&&!0===t[1]}function xa(t){return 0!=(8&t.flags)}function _o(t){return 2==(2&t.flags)}function vo(t){return 1==(1&t.flags)}function Nt(t){return null!==t.template}function NC(t){return 0!=(256&t[2])}function qn(t,e){return t.hasOwnProperty(nn)?t[nn]:null}class OC{constructor(e,n,r){this.previousValue=e,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function on(){return of}function of(t){return t.type.prototype.ngOnChanges&&(t.setInput=kC),xC}function xC(){const t=af(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===ar)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function kC(t,e,n,r){const i=af(t)||function RC(t,e){return t[sf]=e}(t,{previous:ar,current:null}),o=i.current||(i.current={}),s=i.previous,a=this.declaredInputs[n],l=s[a];o[a]=new OC(l&&l.currentValue,e,s===ar),t[r]=e}on.ngInherit=!0;const sf="__ngSimpleChanges__";function af(t){return t[sf]||null}function we(t){for(;Array.isArray(t);)t=t[0];return t}function Do(t,e){return we(e[t])}function yt(t,e){return we(e[t.index])}function Ba(t,e){return t.data[e]}function st(t,e){const n=e[t];return Xe(n)?n:n[0]}function lf(t){return 4==(4&t[2])}function Co(t){return 64==(64&t[2])}function En(t,e){return null==e?null:t[e]}function uf(t){t[18]=0}function ja(t,e){t[5]+=e;let n=t,r=t[3];for(;null!==r&&(1===e&&1===n[5]||-1===e&&0===n[5]);)r[5]+=e,n=r,r=r[3]}const V={lFrame:_f(null),bindingsEnabled:!0};function df(){return V.bindingsEnabled}function v(){return V.lFrame.lView}function Q(){return V.lFrame.tView}function Se(){let t=ff();for(;null!==t&&64===t.type;)t=t.parent;return t}function ff(){return V.lFrame.currentTNode}function Ut(t,e){const n=V.lFrame;n.currentTNode=t,n.isParent=e}function Ha(){return V.lFrame.isParent}function $a(){V.lFrame.isParent=!1}function hr(){return V.lFrame.bindingIndex++}function JC(t,e){const n=V.lFrame;n.bindingIndex=n.bindingRootIndex=t,Ua(e)}function Ua(t){V.lFrame.currentDirectiveIndex=t}function gf(){return V.lFrame.currentQueryIndex}function za(t){V.lFrame.currentQueryIndex=t}function ew(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function mf(t,e,n){if(n&R.SkipSelf){let i=e,o=t;for(;!(i=i.parent,null!==i||n&R.Host||(i=ew(o),null===i||(o=o[15],10&i.type))););if(null===i)return!1;e=i,t=o}const r=V.lFrame=yf();return r.currentTNode=e,r.lView=t,!0}function qa(t){const e=yf(),n=t[1];V.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function yf(){const t=V.lFrame,e=null===t?null:t.child;return null===e?_f(t):e}function _f(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function vf(){const t=V.lFrame;return V.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const Df=vf;function Wa(){const t=vf();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 qe(){return V.lFrame.selectedIndex}function bn(t){V.lFrame.selectedIndex=t}function me(){const t=V.lFrame;return Ba(t.tView,t.selectedIndex)}function Eo(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n=r)break}else e[l]<0&&(t[18]+=65536),(a>11>16&&(3&t[2])===e){t[2]+=2048;try{o.call(a)}finally{}}}else try{o.call(a)}finally{}}class ci{constructor(e,n,r){this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function So(t,e,n){let r=0;for(;re){s=o-1;break}}}for(;o>16}(t),r=e;for(;n>0;)r=r[15],n--;return r}let Za=!0;function To(t){const e=Za;return Za=t,e}let pw=0;const Gt={};function fi(t,e){const n=Ja(t,e);if(-1!==n)return n;const r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,Ya(r.data,t),Ya(e,null),Ya(r.blueprint,null));const i=Io(t,e),o=t.injectorIndex;if(Sf(i)){const s=pr(i),a=gr(i,e),l=a[1].data;for(let u=0;u<8;u++)e[o+u]=a[s+u]|l[s+u]}return e[o+8]=i,o}function Ya(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Ja(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Io(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,r=null,i=e;for(;null!==i;){if(r=kf(i),null===r)return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function No(t,e,n){!function gw(t,e,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(oi)&&(r=n[oi]),null==r&&(r=n[oi]=pw++);const i=255&r;e.data[t+(i>>5)]|=1<=0?255&e:vw:e}(n);if("function"==typeof o){if(!mf(e,t,r))return r&R.Host?If(i,0,r):Nf(e,n,r,i);try{const s=o(r);if(null!=s||r&R.Optional)return s;fo()}finally{Df()}}else if("number"==typeof o){let s=null,a=Ja(t,e),l=-1,u=r&R.Host?e[16][6]:null;for((-1===a||r&R.SkipSelf)&&(l=-1===a?Io(t,e):e[a+8],-1!==l&&xf(r,!1)?(s=e[1],a=pr(l),e=gr(l,e)):a=-1);-1!==a;){const c=e[1];if(Of(o,a,c.data)){const d=yw(a,e,n,s,r,u);if(d!==Gt)return d}l=e[a+8],-1!==l&&xf(r,e[1].data[a+8]===u)&&Of(o,a,e)?(s=c,a=pr(l),e=gr(l,e)):a=-1}}return i}function yw(t,e,n,r,i,o){const s=e[1],a=s.data[t+8],c=Fo(a,s,n,null==r?_o(a)&&Za:r!=s&&0!=(3&a.type),i&R.Host&&o===a);return null!==c?hi(e,s,c,a):Gt}function Fo(t,e,n,r,i){const o=t.providerIndexes,s=e.data,a=1048575&o,l=t.directiveStart,c=o>>20,f=i?a+c:t.directiveEnd;for(let h=r?a:a+c;h=l&&p.type===n)return h}if(i){const h=s[l];if(h&&Nt(h)&&h.type===n)return l}return null}function hi(t,e,n,r){let i=t[n];const o=e.data;if(function uw(t){return t instanceof ci}(i)){const s=i;s.resolving&&function gC(t,e){const n=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new D(-200,`Circular dependency in DI detected for ${t}${n}`)}(function Y(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():L(t)}(o[n]));const a=To(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?pt(s.injectImpl):null;mf(t,r,R.Default);try{i=t[n]=s.factory(void 0,o,t,r),e.firstCreatePass&&n>=r.directiveStart&&function aw(t,e,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(r){const s=of(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,i),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,o))}(n,o[n],e)}finally{null!==l&&pt(l),To(a),s.resolving=!1,Df()}}return i}function Of(t,e,n){return!!(n[e+(t>>5)]&1<{const e=Xa(x(t));return e&&e()}:qn(t)}function kf(t){const e=t[1],n=e.type;return 2===n?e.declTNode:1===n?t[6]:null}class ${constructor(e,n){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=ee({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function at(t,e){void 0===e&&(e=t);for(let n=0;nArray.isArray(n)?ln(n,e):e(n))}function Vf(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Po(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function mi(t,e){const n=[];for(let r=0;r=0?t[1|r]=n:(r=~r,function bw(t,e,n,r){let i=t.length;if(i==e)t.push(n,r);else if(1===i)t.push(r,t[0]),t[0]=n;else{for(i--,t.push(t[i-1],t[i]);i>e;)t[i]=t[i-2],i--;t[e]=n,t[e+1]=r}}(t,r,e,n)),r}function rl(t,e){const n=Cr(t,e);if(n>=0)return t[1|n]}function Cr(t,e){return function jf(t,e,n){let r=0,i=t.length>>n;for(;i!==r;){const o=r+(i-r>>1),s=t[o<e?i=o:r=o+1}return~(i<((Ee=Ee||{})[Ee.NONE=0]="NONE",Ee[Ee.HTML=1]="HTML",Ee[Ee.STYLE=2]="STYLE",Ee[Ee.SCRIPT=3]="SCRIPT",Ee[Ee.URL=4]="URL",Ee[Ee.RESOURCE_URL=5]="RESOURCE_URL",Ee))();function gl(t){const e=function bi(){const t=v();return t&&t[12]}();return e?e.sanitize(Ee.URL,t)||"":function wi(t,e){const n=function nE(t){return t instanceof eh&&t.getTypeName()||null}(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===e}(t,"URL")?Sn(t):function Ho(t){return(t=String(t)).match(sE)||t.match(aE)?t:"unsafe:"+t}(L(t))}const uh=new $("ENVIRONMENT_INITIALIZER"),ch=new $("INJECTOR",-1),dh=new $("INJECTOR_DEF_TYPES");class fh{get(e,n=yi){if(n===yi){const r=new Error(`NullInjectorError: No provider for ${se(e)}!`);throw r.name="NullInjectorError",r}return n}}function CE(...t){return{\u0275providers:hh(0,t)}}function hh(t,...e){const n=[],r=new Set;let i;return ln(e,o=>{const s=o;ml(s,n,[],r)&&(i||(i=[]),i.push(s))}),void 0!==i&&ph(i,n),n}function ph(t,e){for(let n=0;n{e.push(o)})}}function ml(t,e,n,r){if(!(t=x(t)))return!1;let i=null,o=Kd(t);const s=!o&&te(t);if(o||s){if(s&&!s.standalone)return!1;i=t}else{const l=t.ngModule;if(o=Kd(l),!o)return!1;i=l}const a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const u of l)ml(u,e,n,r)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let u;r.add(i);try{ln(o.imports,c=>{ml(c,e,n,r)&&(u||(u=[]),u.push(c))})}finally{}void 0!==u&&ph(u,e)}if(!a){const u=qn(i)||(()=>new i);e.push({provide:i,useFactory:u,deps:J},{provide:dh,useValue:i,multi:!0},{provide:uh,useValue:()=>U(i),multi:!0})}const l=o.providers;null==l||a||ln(l,c=>{e.push(c)})}}return i!==t&&void 0!==t.providers}const wE=oe({provide:String,useValue:oe});function yl(t){return null!==t&&"object"==typeof t&&wE in t}function Wn(t){return"function"==typeof t}const _l=new $("Set Injector scope."),Uo={},bE={};let vl;function Go(){return void 0===vl&&(vl=new fh),vl}class Mr{}class yh extends Mr{constructor(e,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Cl(e,s=>this.processProvider(s)),this.records.set(ch,Sr(void 0,this)),i.has("environment")&&this.records.set(Mr,Sr(void 0,this));const o=this.records.get(_l);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(dh.multi,J,R.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const e of this._ngOnDestroyHooks)e.ngOnDestroy();for(const e of this._onDestroyHooks)e()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(e){this._onDestroyHooks.push(e)}runInContext(e){this.assertNotDestroyed();const n=wr(this),r=pt(void 0);try{return e()}finally{wr(n),pt(r)}}get(e,n=yi,r=R.Default){this.assertNotDestroyed();const i=wr(this),o=pt(void 0);try{if(!(r&R.SkipSelf)){let a=this.records.get(e);if(void 0===a){const l=function IE(t){return"function"==typeof t||"object"==typeof t&&t instanceof $}(e)&&Aa(e);a=l&&this.injectableDefInScope(l)?Sr(Dl(e),Uo):null,this.records.set(e,a)}if(null!=a)return this.hydrate(e,a)}return(r&R.Self?Go():this.parent).get(e,n=r&R.Optional&&n===yi?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[xo]=s[xo]||[]).unshift(se(e)),i)throw s;return function Vw(t,e,n,r){const i=t[xo];throw e[Hf]&&i.unshift(e[Hf]),t.message=function Lw(t,e,n,r=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let i=se(e);if(Array.isArray(e))i=e.map(se).join(" -> ");else if("object"==typeof e){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):se(a)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${t.replace(Pw,"\n ")}`}("\n"+t.message,i,n,r),t.ngTokenPath=i,t[xo]=null,t}(s,e,"R3InjectorError",this.source)}throw s}finally{pt(o),wr(i)}}resolveInjectorInitializers(){const e=wr(this),n=pt(void 0);try{const r=this.get(uh.multi,J,R.Self);for(const i of r)i()}finally{wr(e),pt(n)}}toString(){const e=[],n=this.records;for(const r of n.keys())e.push(se(r));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new D(205,!1)}processProvider(e){let n=Wn(e=x(e))?e:x(e&&e.provide);const r=function SE(t){return yl(t)?Sr(void 0,t.useValue):Sr(_h(t),Uo)}(e);if(Wn(e)||!0!==e.multi)this.records.get(n);else{let i=this.records.get(n);i||(i=Sr(void 0,Uo,!0),i.factory=()=>sl(i.multi),this.records.set(n,i)),n=e,i.multi.push(e)}this.records.set(n,r)}hydrate(e,n){return n.value===Uo&&(n.value=bE,n.value=n.factory()),"object"==typeof n.value&&n.value&&function TE(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(e){if(!e.providedIn)return!1;const n=x(e.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Dl(t){const e=Aa(t),n=null!==e?e.factory:qn(t);if(null!==n)return n;if(t instanceof $)throw new D(204,!1);if(t instanceof Function)return function ME(t){const e=t.length;if(e>0)throw mi(e,"?"),new D(204,!1);const n=function DC(t){const e=t&&(t[ho]||t[Zd]);if(e){const n=function CC(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new D(204,!1)}function _h(t,e,n){let r;if(Wn(t)){const i=x(t);return qn(i)||Dl(i)}if(yl(t))r=()=>x(t.useValue);else if(function mh(t){return!(!t||!t.useFactory)}(t))r=()=>t.useFactory(...sl(t.deps||[]));else if(function gh(t){return!(!t||!t.useExisting)}(t))r=()=>U(x(t.useExisting));else{const i=x(t&&(t.useClass||t.provide));if(!function AE(t){return!!t.deps}(t))return qn(i)||Dl(i);r=()=>new i(...sl(t.deps))}return r}function Sr(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function NE(t){return!!t.\u0275providers}function Cl(t,e){for(const n of t)Array.isArray(n)?Cl(n,e):NE(n)?Cl(n.\u0275providers,e):e(n)}class vh{}class OE{resolveComponentFactory(e){throw function PE(t){const e=Error(`No component factory found for ${se(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(e)}}let zo=(()=>{class t{}return t.NULL=new OE,t})();function xE(){return Ar(Se(),v())}function Ar(t,e){return new Ft(yt(t,e))}let Ft=(()=>{class t{constructor(n){this.nativeElement=n}}return t.__NG_ELEMENT_ID__=xE,t})();function kE(t){return t instanceof Ft?t.nativeElement:t}class Mi{}let Qn=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>function RE(){const t=v(),n=st(Se().index,t);return(Xe(n)?n:t)[z]}(),t})(),VE=(()=>{class t{}return t.\u0275prov=ee({token:t,providedIn:"root",factory:()=>null}),t})();class qo{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const Ch=new qo("14.1.3"),wl={};function Al(t){return t.ngOriginalError}class Tr{constructor(){this._console=console}handleError(e){const n=this._findOriginalError(e);this._console.error("ERROR",e),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(e){let n=e&&Al(e);for(;n&&Al(n);)n=Al(n);return n||null}}const Tl=new Map;let KE=0;const Nl="__ngContext__";function Ve(t,e){Xe(e)?(t[Nl]=e[20],function YE(t){Tl.set(t[20],t)}(e)):t[Nl]=e}function Si(t){const e=t[Nl];return"number"==typeof e?function Ah(t){return Tl.get(t)||null}(e):e||null}function Fl(t){const e=Si(t);return e?Xe(e)?e:e.lView:null}const sb=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(re))();var et=(()=>((et=et||{})[et.Important=1]="Important",et[et.DashCase=2]="DashCase",et))();function Ol(t,e){return undefined(t,e)}function Ai(t){const e=t[3];return It(e)?e[3]:e}function xl(t){return kh(t[13])}function kl(t){return kh(t[4])}function kh(t){for(;null!==t&&!It(t);)t=t[4];return t}function Nr(t,e,n,r,i){if(null!=r){let o,s=!1;It(r)?o=r:Xe(r)&&(s=!0,r=r[0]);const a=we(r);0===t&&null!==n?null==i?Hh(e,n,a):Kn(e,n,a,i||null,!0):1===t&&null!==n?Kn(e,n,a,i||null,!0):2===t?function Qh(t,e,n){const r=Wo(t,e);r&&function bb(t,e,n,r){t.removeChild(e,n,r)}(t,r,e,n)}(e,a,s):3===t&&e.destroyNode(a),null!=o&&function Ab(t,e,n,r,i){const o=n[7];o!==we(n)&&Nr(e,t,r,o,i);for(let a=10;a0&&(t[n-1][4]=r[4]);const o=Po(t,10+e);!function mb(t,e){Ti(t,e,e[z],2,null,null),e[0]=null,e[6]=null}(r[1],r);const s=o[19];null!==s&&s.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function Lh(t,e){if(!(128&e[2])){const n=e[z];n.destroyNode&&Ti(t,e,n,3,null,null),function vb(t){let e=t[13];if(!e)return Bl(t[1],t);for(;e;){let n=null;if(Xe(e))n=e[13];else{const r=e[10];r&&(n=r)}if(!n){for(;e&&!e[4]&&e!==t;)Xe(e)&&Bl(e[1],e),e=e[3];null===e&&(e=t),Xe(e)&&Bl(e[1],e),n=e&&e[4]}e=n}}(e)}}function Bl(t,e){if(!(128&e[2])){e[2]&=-65,e[2]|=128,function Eb(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let r=0;r=0?r[i=u]():r[i=-u].unsubscribe(),o+=2}else{const s=r[i=n[o+1]];n[o].call(s)}if(null!==r){for(let o=i+1;oo?"":i[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==Yh(h,u,0)||2&r&&u!==f){if(Pt(r))return!1;s=!0}}}}else{if(!s&&!Pt(r)&&!Pt(l))return!1;if(s&&Pt(l))continue;s=!1,r=l|1&r}}return Pt(r)||s}function Pt(t){return 0==(1&t)}function Pb(t,e,n,r){if(null===e)return-1;let i=0;if(r||!n){let o=!1;for(;i-1)for(n++;n0?'="'+a+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!Pt(s)&&(e+=tp(o,i),i=""),r=s,o=o||!Pt(r);n++}return""!==i&&(e+=tp(o,i)),e}const j={};function ie(t){np(Q(),v(),qe()+t,!1)}function np(t,e,n,r){if(!r)if(3==(3&e[2])){const o=t.preOrderCheckHooks;null!==o&&bo(e,o,n)}else{const o=t.preOrderHooks;null!==o&&Mo(e,o,0,n)}bn(n)}function sp(t,e=null,n=null,r){const i=ap(t,e,n,r);return i.resolveInjectorInitializers(),i}function ap(t,e=null,n=null,r,i=new Set){const o=[n||J,CE(t)];return r=r||("object"==typeof t?void 0:se(t)),new yh(o,e||Go(),r||null,i)}let An=(()=>{class t{static create(n,r){var i;if(Array.isArray(n))return sp({name:""},r,n,"");{const o=null!==(i=n.name)&&void 0!==i?i:"";return sp({name:o},n.parent,n.providers,o)}}}return t.THROW_IF_NOT_FOUND=yi,t.NULL=new fh,t.\u0275prov=ee({token:t,providedIn:"any",factory:()=>U(ch)}),t.__NG_ELEMENT_ID__=-1,t})();function C(t,e=R.Default){const n=v();return null===n?U(t,e):Ff(Se(),n,x(t),e)}function Yo(t,e){return t<<17|e<<2}function Ot(t){return t>>17&32767}function Ql(t){return 2|t}function cn(t){return(131068&t)>>2}function Kl(t,e){return-131069&t|e<<2}function Zl(t){return 1|t}function bp(t,e){const n=t.contentQueries;if(null!==n)for(let r=0;r22&&np(t,e,22,!1),n(r,i)}finally{bn(o)}}function su(t,e,n){!df()||(function A0(t,e,n,r){const i=n.directiveStart,o=n.directiveEnd;t.firstCreatePass||fi(n,e),Ve(r,e);const s=n.initialInputs;for(let a=i;a0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(a)!=l&&a.push(l),a.push(r,i,s)}}function Op(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function xp(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function F0(t,e,n){if(n){if(e.exportAs)for(let r=0;r0&&du(n)}}function du(t){for(let r=xl(t);null!==r;r=kl(r))for(let i=10;i0&&du(o)}const n=t[1].components;if(null!==n)for(let r=0;r0&&du(i)}}function L0(t,e){const n=st(e,t),r=n[1];(function B0(t,e){for(let n=e.length;nPromise.resolve(null))();function jp(t){return t[7]||(t[7]=[])}function Hp(t){return t.cleanup||(t.cleanup=[])}function Up(t,e){const n=t[9],r=n?n.get(Tr,null):null;r&&r.handleError(e)}function gu(t,e,n,r,i){for(let o=0;o-1&&(Ll(e,r),Po(n,r))}this._attachedToViewContainer=!1}Lh(this._lView[1],this._lView)}onDestroy(e){Tp(this._lView[1],this._lView,null,e)}markForCheck(){fu(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){!function hu(t,e,n){const r=e[10];r.begin&&r.begin();try{Ii(t,e,t.template,n)}catch(i){throw Up(e,i),i}finally{r.end&&r.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new D(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function _b(t,e){Ti(t,e,e[z],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new D(902,!1);this._appRef=e}}class $0 extends Ni{constructor(e){super(e),this._view=e}detectChanges(){Bp(this._view)}checkNoChanges(){}get context(){return null}}class mu extends zo{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const n=te(e);return new Fi(n,this.ngModule)}}function Gp(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}class G0{constructor(e,n){this.injector=e,this.parentInjector=n}get(e,n,r){const i=this.injector.get(e,wl,r);return i!==wl||n===wl?i:this.parentInjector.get(e,n,r)}}class Fi extends vh{constructor(e,n){super(),this.componentDef=e,this.ngModule=n,this.componentType=e.type,this.selector=function Lb(t){return t.map(Vb).join(",")}(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return Gp(this.componentDef.inputs)}get outputs(){return Gp(this.componentDef.outputs)}create(e,n,r,i){let o=(i=i||this.ngModule)instanceof Mr?i:null==i?void 0:i.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new G0(e,o):e,a=s.get(Mi,null);if(null===a)throw new D(407,!1);const l=s.get(VE,null),u=a.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",d=r?function C0(t,e,n){return t.selectRootElement(e,n===At.ShadowDom)}(u,r,this.componentDef.encapsulation):Vl(a.createRenderer(null,this.componentDef),c,function U0(t){const e=t.toLowerCase();return"svg"===e?"svg":"math"===e?"math":null}(c)),f=this.componentDef.onPush?288:272,h=function K0(t,e){return{components:[],scheduler:t||sb,clean:H0,playerHandler:e||null,flags:0}}(),p=lu(0,null,null,1,0,null,null,null,null,null),g=es(null,p,h,f,null,null,a,u,l,s,null);let y,_;qa(g);try{const w=function W0(t,e,n,r,i,o){const s=n[1];n[22]=t;const l=Pr(s,22,2,"#host",null),u=l.mergedAttrs=e.hostAttrs;null!==u&&(rs(l,u,!0),null!==t&&(So(i,t,u),null!==l.classes&&Ul(i,t,l.classes),null!==l.styles&&Zh(i,t,l.styles)));const c=r.createRenderer(t,e),d=es(n,Ap(e),null,e.onPush?32:16,n[22],l,r,c,o||null,null,null);return s.firstCreatePass&&(No(fi(l,n),s,e.type),xp(s,l),kp(l,n.length,1)),ns(n,d),n[22]=d}(d,this.componentDef,g,a,u);if(d)if(r)So(u,d,["ng-version",Ch.full]);else{const{attrs:m,classes:E}=function Bb(t){const e=[],n=[];let r=1,i=2;for(;r0&&Ul(u,d,E.join(" "))}if(_=Ba(p,22),void 0!==n){const m=_.projection=[];for(let E=0;E=0;r--){const i=t[r];i.hostVars=e+=i.hostVars,i.hostAttrs=Ao(i.hostAttrs,n=Ao(n,i.hostAttrs))}}(r)}function yu(t){return t===ar?{}:t===J?[]:t}function J0(t,e){const n=t.viewQuery;t.viewQuery=n?(r,i)=>{e(r,i),n(r,i)}:e}function X0(t,e){const n=t.contentQueries;t.contentQueries=n?(r,i,o)=>{e(r,i,o),n(r,i,o)}:e}function eM(t,e){const n=t.hostBindings;t.hostBindings=n?(r,i)=>{e(r,i),n(r,i)}:e}let os=null;function Zn(){if(!os){const t=re.Symbol;if(t&&t.iterator)os=t.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let n=0;na(we(P[r.index])):r.index;let E=null;if(!a&&l&&(E=function gM(t,e,n,r){const i=t.cleanup;if(null!=i)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(t,e,i,r.index)),null!==E)(E.__ngLastListenerFn__||E).__ngNextListenerFn__=o,E.__ngLastListenerFn__=o,h=!1;else{o=ag(r,e,d,o,!1);const P=n.listen(_,i,o);f.push(o,P),c&&c.push(i,m,w,w+1)}}else o=ag(r,e,d,o,!1);const p=r.outputs;let g;if(h&&null!==p&&(g=p[i])){const y=g.length;if(y)for(let _=0;_0;)e=e[15],t--;return e}(t,V.lFrame.contextLView))[8]}(t)}function mM(t,e){let n=null;const r=function Ob(t){const e=t.attrs;if(null!=e){const n=e.indexOf(5);if(0==(1&n))return e[n+1]}return null}(t);for(let i=0;i=0}function zr(t,e,n){return xt(t,e,n,!1),zr}function xi(t,e){return xt(t,e,null,!0),xi}function xt(t,e,n,r){const i=v(),o=Q(),s=function an(t){const e=V.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}(2);o.firstUpdatePass&&function Tg(t,e,n,r){const i=t.data;if(null===i[n+1]){const o=i[qe()],s=function Ag(t,e){return e>=t.expandoStartIndex}(t,n);(function Pg(t,e){return 0!=(t.flags&(e?16:32))})(o,r)&&null===e&&!s&&(e=!1),e=function TM(t,e,n,r){const i=function Ga(t){const e=V.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}(t);let o=r?e.residualClasses:e.residualStyles;if(null===i)0===(r?e.classBindings:e.styleBindings)&&(n=ki(n=Eu(null,t,e,n,r),e.attrs,r),o=null);else{const s=e.directiveStylingLast;if(-1===s||t[s]!==i)if(n=Eu(i,t,e,n,r),null===o){let l=function IM(t,e,n){const r=n?e.classBindings:e.styleBindings;if(0!==cn(r))return t[Ot(r)]}(t,e,r);void 0!==l&&Array.isArray(l)&&(l=Eu(null,t,e,l[1],r),l=ki(l,e.attrs,r),function NM(t,e,n,r){t[Ot(n?e.classBindings:e.styleBindings)]=r}(t,e,r,l))}else o=function FM(t,e,n){let r;const i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0)&&(u=!0)}else c=n;if(i)if(0!==l){const f=Ot(t[a+1]);t[r+1]=Yo(f,a),0!==f&&(t[f+1]=Kl(t[f+1],r)),t[a+1]=function s0(t,e){return 131071&t|e<<17}(t[a+1],r)}else t[r+1]=Yo(a,0),0!==a&&(t[a+1]=Kl(t[a+1],r)),a=r;else t[r+1]=Yo(l,0),0===a?a=r:t[l+1]=Kl(t[l+1],r),l=r;u&&(t[r+1]=Ql(t[r+1])),Dg(t,c,r,!0),Dg(t,c,r,!1),function _M(t,e,n,r,i){const o=i?t.residualClasses:t.residualStyles;null!=o&&"string"==typeof e&&Cr(o,e)>=0&&(n[r+1]=Zl(n[r+1]))}(e,c,t,r,o),s=Yo(a,l),o?e.classBindings=s:e.styleBindings=s}(i,o,e,n,s,r)}}(o,t,s,r),e!==j&&Le(i,s,e)&&function Ng(t,e,n,r,i,o,s,a){if(!(3&e.type))return;const l=t.data,u=l[a+1];ls(function mp(t){return 1==(1&t)}(u)?Fg(l,e,n,i,cn(u),s):void 0)||(ls(o)||function gp(t){return 2==(2&t)}(u)&&(o=Fg(l,null,n,i,a,s)),function Tb(t,e,n,r,i){if(e)i?t.addClass(n,r):t.removeClass(n,r);else{let o=-1===r.indexOf("-")?void 0:et.DashCase;null==i?t.removeStyle(n,r,o):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=et.Important),t.setStyle(n,r,i,o))}}(r,s,Do(qe(),n),i,o))}(o,o.data[qe()],i,i[z],t,i[s+1]=function xM(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=se(Sn(t)))),t}(e,n),r,s)}function Eu(t,e,n,r,i){let o=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const l=t[i],u=Array.isArray(l),c=u?l[1]:l,d=null===c;let f=n[i+1];f===j&&(f=d?J:void 0);let h=d?rl(f,r):c===r?f:void 0;if(u&&!ls(h)&&(h=rl(l,r)),ls(h)&&(a=h,s))return a;const p=t[i+1];i=s?Ot(p):cn(p)}if(null!==e){let l=o?e.residualClasses:e.residualStyles;null!=l&&(a=rl(l,r))}return a}function ls(t){return void 0!==t}function k(t,e=""){const n=v(),r=Q(),i=t+22,o=r.firstCreatePass?Pr(r,i,1,e,null):r.data[i],s=n[i]=function Rl(t,e){return t.createText(e)}(n[z],e);Qo(r,n,s,o),Ut(o,!1)}function us(t){return Rt("",t,""),us}function Rt(t,e,n){const r=v(),i=function kr(t,e,n,r){return Le(t,hr(),n)?e+L(n)+r:j}(r,t,e,n);return i!==j&&function dn(t,e,n){const r=Do(e,t);!function Rh(t,e,n){t.setValue(e,n)}(t[z],r,n)}(r,qe(),i),Rt}const Wr="en-US";let em=Wr;function Su(t,e,n,r,i){if(t=x(t),Array.isArray(t))for(let o=0;o>20;if(Wn(t)||!t.multi){const h=new ci(l,i,C),p=Tu(a,e,i?c:c+f,d);-1===p?(No(fi(u,s),o,a),Au(o,t,e.length),e.push(a),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=Tu(a,e,c+f,d),p=Tu(a,e,c,c+f),g=h>=0&&n[h],y=p>=0&&n[p];if(i&&!y||!i&&!g){No(fi(u,s),o,a);const _=function JS(t,e,n,r,i){const o=new ci(t,n,C);return o.multi=[],o.index=e,o.componentProviders=0,Mm(o,i,r&&!n),o}(i?YS:ZS,n.length,i,r,l);!i&&y&&(n[p].providerFactory=_),Au(o,t,e.length,0),e.push(a),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),n.push(_),s.push(_)}else Au(o,t,h>-1?h:p,Mm(n[i?p:h],l,!i&&r));!i&&r&&y&&n[p].componentProviders++}}}function Au(t,e,n,r){const i=Wn(e),o=function EE(t){return!!t.useClass}(e);if(i||o){const l=(o?x(e.useClass):e).prototype.ngOnDestroy;if(l){const u=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){const c=u.indexOf(n);-1===c?u.push(n,[r,l]):u[c+1].push(r,l)}else u.push(n,l)}}}function Mm(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function Tu(t,e,n,r){for(let i=n;i{n.providersResolver=(r,i)=>function KS(t,e,n){const r=Q();if(r.firstCreatePass){const i=Nt(t);Su(n,r.data,r.blueprint,i,!0),Su(e,r.data,r.blueprint,i,!1)}}(r,i?i(t):t,e)}}class Kr{}class Sm extends Kr{constructor(e,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new mu(this);const r=function it(t,e){const n=t[Jd]||null;if(!n&&!0===e)throw new Error(`Type ${se(t)} does not have '\u0275mod' property.`);return n}(e);this._bootstrapComponents=function un(t){return t instanceof Function?t():t}(r.bootstrap),this._r3Injector=ap(e,n,[{provide:Kr,useValue:this},{provide:zo,useValue:this.componentFactoryResolver}],se(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class Nu extends class XS{}{constructor(e){super(),this.moduleType=e}create(e){return new Sm(this.moduleType,e)}}function xm(t,e,n,r,i,o){const s=e+n;return Le(t,s,i)?function Wt(t,e,n){return t[e]=n}(t,s+1,o?r.call(o,i):r(i)):function ji(t,e){const n=t[e];return n===j?void 0:n}(t,s+1)}function Pu(t,e){const n=Q();let r;const i=t+22;n.firstCreatePass?(r=function wA(t,e){if(e)for(let n=e.length-1;n>=0;n--){const r=e[n];if(t===r.name)return r}}(e,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(i,r.onDestroy)):r=n.data[i];const o=r.factory||(r.factory=qn(r.type)),s=pt(C);try{const a=To(!1),l=o();return To(a),function cM(t,e,n,r){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=r}(n,v(),i,l),l}finally{pt(s)}}function Ou(t,e,n){const r=t+22,i=v(),o=function fr(t,e){return t[e]}(i,r);return function Hi(t,e){return t[1].data[e].pure}(i,r)?xm(i,function ze(){const t=V.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}(),e,o.transform,n,o):o.transform(n)}function xu(t){return e=>{setTimeout(t,void 0,e)}}const Ie=class AA extends va{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,n,r){var i,o,s;let a=e,l=n||(()=>null),u=r;if(e&&"object"==typeof e){const d=e;a=null===(i=d.next)||void 0===i?void 0:i.bind(d),l=null===(o=d.error)||void 0===o?void 0:o.bind(d),u=null===(s=d.complete)||void 0===s?void 0:s.bind(d)}this.__isAsync&&(l=xu(l),a&&(a=xu(a)),u&&(u=xu(u)));const c=super.subscribe({next:a,error:l,complete:u});return e instanceof Ht&&e.add(c),c}};function TA(){return this._results[Zn()]()}class ku{constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=Zn(),r=ku.prototype;r[n]||(r[n]=TA)}get changes(){return this._changes||(this._changes=new Ie)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,n){return this._results.reduce(e,n)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,n){const r=this;r.dirty=!1;const i=at(e);(this._changesDetected=!function ww(t,e,n){if(t.length!==e.length)return!1;for(let r=0;r{class t{}return t.__NG_ELEMENT_ID__=FA,t})();const IA=fn,NA=class extends IA{constructor(e,n,r){super(),this._declarationLView=e,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(e,n){const r=this._declarationTContainer.tViews,i=es(this._declarationLView,r,e,16,null,r.declTNode,null,null,null,null,n||null);i[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(i[19]=s.createEmbeddedView(r)),ts(r,i,e),new Ni(i)}};function FA(){return ps(Se(),v())}function ps(t,e){return 4&t.type?new NA(e,t,Ar(t,e)):null}let Zt=(()=>{class t{}return t.__NG_ELEMENT_ID__=PA,t})();function PA(){return Hm(Se(),v())}const OA=Zt,Bm=class extends OA{constructor(e,n,r){super(),this._lContainer=e,this._hostTNode=n,this._hostLView=r}get element(){return Ar(this._hostTNode,this._hostLView)}get injector(){return new mr(this._hostTNode,this._hostLView)}get parentInjector(){const e=Io(this._hostTNode,this._hostLView);if(Sf(e)){const n=gr(e,this._hostLView),r=pr(e);return new mr(n[1].data[r+8],n)}return new mr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const n=jm(this._lContainer);return null!==n&&n[e]||null}get length(){return this._lContainer.length-10}createEmbeddedView(e,n,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const s=e.createEmbeddedView(n||{},o);return this.insert(s,i),s}createComponent(e,n,r,i,o){const s=e&&!function gi(t){return"function"==typeof t}(e);let a;if(s)a=n;else{const d=n||{};a=d.index,r=d.injector,i=d.projectableNodes,o=d.environmentInjector||d.ngModuleRef}const l=s?e:new Fi(te(e)),u=r||this.parentInjector;if(!o&&null==l.ngModule){const f=(s?u:this.parentInjector).get(Mr,null);f&&(o=f)}const c=l.create(u,i,void 0,o);return this.insert(c.hostView,a),c}insert(e,n){const r=e._lView,i=r[1];if(function $C(t){return It(t[3])}(r)){const c=this.indexOf(e);if(-1!==c)this.detach(c);else{const d=r[3],f=new Bm(d,d[6],d[3]);f.detach(f.indexOf(e))}}const o=this._adjustIndex(n),s=this._lContainer;!function Db(t,e,n,r){const i=10+r,o=n.length;r>0&&(n[i-1][4]=e),r0)r.push(s[a/2]);else{const u=o[a+1],c=e[-l];for(let d=10;d{class t{constructor(n){this.appInits=n,this.resolve=ms,this.reject=ms,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i{o.subscribe({complete:a,error:l})});n.push(s)}}Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}}return t.\u0275fac=function(n){return new(n||t)(U(py,8))},t.\u0275prov=ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Gi=new $("AppId",{providedIn:"root",factory:function gy(){return`${qu()}${qu()}${qu()}`}});function qu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const my=new $("Platform Initializer"),yy=new $("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),uT=new $("appBootstrapListener"),_y=new $("AnimationModuleType"),hn=new $("LocaleId",{providedIn:"root",factory:()=>function kw(t,e=R.Default){return"number"!=typeof e&&(e=0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)),U(t,e)}(hn,R.Optional|R.SkipSelf)||function cT(){return"undefined"!=typeof $localize&&$localize.locale||Wr}()}),gT=(()=>Promise.resolve(0))();function Wu(t){"undefined"==typeof Zone?gT.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class Ne{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ie(!1),this.onMicrotaskEmpty=new Ie(!1),this.onStable=new Ie(!1),this.onError=new Ie(!1),"undefined"==typeof Zone)throw new D(908,!1);Zone.assertZonePatched();const i=this;if(i._nesting=0,i._outer=i._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const o=Zone.AsyncStackTaggingZoneSpec;i._inner=i._inner.fork(new o("Angular"))}Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function mT(){let t=re.requestAnimationFrame,e=re.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function vT(t){const e=()=>{!function _T(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(re,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Ku(t),t.isCheckStableRunning=!0,Qu(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Ku(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,o,s,a)=>{try{return Cy(t),n.invokeTask(i,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||t.shouldCoalesceRunChangeDetection)&&e(),wy(t)}},onInvoke:(n,r,i,o,s,a,l)=>{try{return Cy(t),n.invoke(i,o,s,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),wy(t)}},onHasTask:(n,r,i,o)=>{n.hasTask(i,o),r===i&&("microTask"==o.change?(t._hasPendingMicrotasks=o.microTask,Ku(t),Qu(t)):"macroTask"==o.change&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,r,i,o)=>(n.handleError(i,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}(i)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ne.isInAngularZone())throw new D(909,!1)}static assertNotInAngularZone(){if(Ne.isInAngularZone())throw new D(909,!1)}run(e,n,r){return this._inner.run(e,n,r)}runTask(e,n,r,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,e,yT,ms,ms);try{return o.runTask(s,n,r)}finally{o.cancelTask(s)}}runGuarded(e,n,r){return this._inner.runGuarded(e,n,r)}runOutsideAngular(e){return this._outer.run(e)}}const yT={};function Qu(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 Ku(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function Cy(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function wy(t){t._nesting--,Qu(t)}class DT{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ie,this.onMicrotaskEmpty=new Ie,this.onStable=new Ie,this.onError=new Ie}run(e,n,r){return e.apply(n,r)}runGuarded(e,n,r){return e.apply(n,r)}runOutsideAngular(e){return e()}runTask(e,n,r,i){return e.apply(n,r)}}const Ey=new $(""),_s=new $("");let zi,Zu=(()=>{class t{constructor(n,r,i){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,zi||(function CT(t){zi=t}(i),i.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ne.assertNotInAngularZone(),Wu(()=>{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())Wu(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:o,updateCb:i})}whenStable(n,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}}return t.\u0275fac=function(n){return new(n||t)(U(Ne),U(Yu),U(_s))},t.\u0275prov=ee({token:t,factory:t.\u0275fac}),t})(),Yu=(()=>{class t{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){var i;return null!==(i=null==zi?void 0:zi.findTestabilityInTree(this,n,r))&&void 0!==i?i:null}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=ee({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})(),Yt=null;const by=new $("AllowMultipleToken"),Ju=new $("PlatformDestroyListeners");function Sy(t,e,n=[]){const r=`Platform: ${e}`,i=new $(r);return(o=[])=>{let s=Xu();if(!s||s.injector.get(by,!1)){const a=[...n,...o,{provide:i,useValue:!0}];t?t(a):function bT(t){if(Yt&&!Yt.get(by,!1))throw new D(400,!1);Yt=t;const e=t.get(Ty);(function My(t){const e=t.get(my,null);e&&e.forEach(n=>n())})(t)}(function Ay(t=[],e){return An.create({name:e,providers:[{provide:_l,useValue:"platform"},{provide:Ju,useValue:new Set([()=>Yt=null])},...t]})}(a,r))}return function ST(t){const e=Xu();if(!e)throw new D(401,!1);return e}()}}function Xu(){var t;return null!==(t=null==Yt?void 0:Yt.get(Ty))&&void 0!==t?t:null}let Ty=(()=>{class t{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const i=function AT(t,e){let n;return n="noop"===t?new DT:("zone.js"===t?void 0:t)||new Ne(e),n}(null==r?void 0:r.ngZone,function Iy(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!t||!t.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!t||!t.ngZoneRunCoalescing)||!1}}(r)),o=[{provide:Ne,useValue:i}];return i.run(()=>{const s=An.create({providers:o,parent:this.injector,name:n.moduleType.name}),a=n.create(s),l=a.injector.get(Tr,null);if(!l)throw new D(402,!1);return i.runOutsideAngular(()=>{const u=i.onError.subscribe({next:c=>{l.handleError(c)}});a.onDestroy(()=>{Ds(this._modules,a),u.unsubscribe()})}),function Ny(t,e,n){try{const r=n();return as(r)?r.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}(l,i,()=>{const u=a.injector.get(ys);return u.runInitializers(),u.donePromise.then(()=>(function tm(t){rt(t,"Expected localeId to be defined"),"string"==typeof t&&(em=t.toLowerCase().replace(/_/g,"-"))}(a.injector.get(hn,Wr)||Wr),this._moduleDoBootstrap(a),a))})})}bootstrapModule(n,r=[]){const i=Fy({},r);return function wT(t,e,n){const r=new Nu(n);return Promise.resolve(r)}(0,0,n).then(o=>this.bootstrapModuleFactory(o,i))}_moduleDoBootstrap(n){const r=n.injector.get(vs);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new D(403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new D(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Ju,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(n){return new(n||t)(U(An))},t.\u0275prov=ee({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();function Fy(t,e){return Array.isArray(e)?e.reduce(Fy,t):Object.assign(Object.assign({},t),e)}let vs=(()=>{class t{constructor(n,r,i){this._zone=n,this._injector=r,this._exceptionHandler=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new Oe(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new Oe(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{Ne.assertNotInAngularZone(),Wu(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const u=this._zone.onUnstable.subscribe(()=>{Ne.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),u.unsubscribe()}});this.isStable=fC(o,s.pipe(function hC(t={}){const{connector:e=(()=>new va),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=t;return o=>{let s,a,l,u=0,c=!1,d=!1;const f=()=>{null==a||a.unsubscribe(),a=void 0},h=()=>{f(),s=l=void 0,c=d=!1},p=()=>{const g=s;h(),null==g||g.unsubscribe()};return ri((g,y)=>{u++,!d&&!c&&f();const _=l=null!=l?l:e();y.add(()=>{u--,0===u&&!d&&!c&&(a=Ea(p,i))}),_.subscribe(y),!s&&u>0&&(s=new ni({next:w=>_.next(w),error:w=>{d=!0,f(),a=Ea(h,n,w),_.error(w)},complete:()=>{c=!0,f(),a=Ea(h,r),_.complete()}}),Dn(g).subscribe(s))})(o)}}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const i=n instanceof vh;if(!this._injector.get(ys).done)throw!i&&function Ui(t){const e=te(t)||Ue(t)||Ge(t);return null!==e&&e.standalone}(n),new D(405,false);let s;s=i?n:this._injector.get(zo).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function ET(t){return t.isBoundToModule}(s)?void 0:this._injector.get(Kr),u=s.create(An.NULL,[],r||s.selector,a),c=u.location.nativeElement,d=u.injector.get(Ey,null);return null==d||d.registerApplication(c),u.onDestroy(()=>{this.detachView(u.hostView),Ds(this.components,u),null==d||d.unregisterApplication(c)}),this._loadComponent(u),u}tick(){if(this._runningTick)throw new D(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Ds(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(uT,[]).concat(this._bootstrapListeners).forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Ds(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new D(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return t.\u0275fac=function(n){return new(n||t)(U(Ne),U(Mr),U(Tr))},t.\u0275prov=ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Ds(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}let Oy=!0,ec=(()=>{class t{}return t.__NG_ELEMENT_ID__=NT,t})();function NT(t){return function FT(t,e,n){if(_o(t)&&!n){const r=st(t.index,e);return new Ni(r,r)}return 47&t.type?new Ni(e[16],e):null}(Se(),v(),16==(16&t))}const GT=Sy(null,"core",[]);let zT=(()=>{class t{constructor(n){}}return t.\u0275fac=function(n){return new(n||t)(U(vs))},t.\u0275mod=$t({type:t}),t.\u0275inj=Mt({}),t})();let bs=null;function er(){return bs}const ct=new $("DocumentToken");let gc=(()=>{class t{constructor(n,r){this._viewContainer=n,this._context=new BI,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){n_("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){n_("ngIfElse",n),this._elseTemplateRef=n,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(n,r){return!0}}return t.\u0275fac=function(n){return new(n||t)(C(Zt),C(fn))},t.\u0275dir=B({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),t})();class BI{constructor(){this.$implicit=null,this.ngIf=null}}function n_(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${se(e)}'.`)}let i_=(()=>{class t{transform(n){return JSON.stringify(n,null,2)}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275pipe=Je({name:"json",type:t,pure:!1,standalone:!0}),t})(),s_=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=Mt({}),t})();class Dc extends class mN extends class QT{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function WT(t){bs||(bs=t)}(new Dc)}onAndCancel(e,n,r){return e.addEventListener(n,r,!1),()=>{e.removeEventListener(n,r,!1)}}dispatchEvent(e,n){e.dispatchEvent(n)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,n){return(n=n||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,n){return"window"===n?window:"document"===n?e:"body"===n?e.body:null}getBaseHref(e){const n=function yN(){return Ki=Ki||document.querySelector("base"),Ki?Ki.getAttribute("href"):null}();return null==n?null:function _N(t){xs=xs||document.createElement("a"),xs.setAttribute("href",t);const e=xs.pathname;return"/"===e.charAt(0)?e:`/${e}`}(n)}resetBaseElement(){Ki=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return function OI(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const r=n.indexOf("="),[i,o]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}(document.cookie,e)}}let xs,Ki=null;const u_=new $("TRANSITION_ID"),DN=[{provide:py,useFactory:function vN(t,e,n){return()=>{n.get(ys).donePromise.then(()=>{const r=er(),i=e.querySelectorAll(`style[ng-transition="${t}"]`);for(let o=0;o{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=ee({token:t,factory:t.\u0275fac}),t})();const ks=new $("EventManagerPlugins");let Rs=(()=>{class t{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(i=>i.manager=this),this._plugins=n.slice().reverse()}addEventListener(n,r,i){return this._findPluginFor(r).addEventListener(n,r,i)}addGlobalEventListener(n,r,i){return this._findPluginFor(r).addGlobalEventListener(n,r,i)}getZone(){return this._zone}_findPluginFor(n){const r=this._eventNameToPlugin.get(n);if(r)return r;const i=this._plugins;for(let o=0;o{class t{constructor(){this._stylesSet=new Set}addStyles(n){const r=new Set;n.forEach(i=>{this._stylesSet.has(i)||(this._stylesSet.add(i),r.add(i))}),this.onStylesAdded(r)}onStylesAdded(n){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=ee({token:t,factory:t.\u0275fac}),t})(),Zi=(()=>{class t extends d_{constructor(n){super(),this._doc=n,this._hostNodes=new Map,this._hostNodes.set(n.head,[])}_addStylesToHost(n,r,i){n.forEach(o=>{const s=this._doc.createElement("style");s.textContent=o,i.push(r.appendChild(s))})}addHost(n){const r=[];this._addStylesToHost(this._stylesSet,n,r),this._hostNodes.set(n,r)}removeHost(n){const r=this._hostNodes.get(n);r&&r.forEach(f_),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,i)=>{this._addStylesToHost(n,i,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(f_))}}return t.\u0275fac=function(n){return new(n||t)(U(ct))},t.\u0275prov=ee({token:t,factory:t.\u0275fac}),t})();function f_(t){er().remove(t)}const Cc={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/"},wc=/%COMP%/g;function Vs(t,e,n){for(let r=0;r{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let Ls=(()=>{class t{constructor(n,r,i){this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new Ec(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;switch(r.encapsulation){case At.Emulated:{let i=this.rendererByCompId.get(r.id);return i||(i=new TN(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,i)),i.applyToHost(n),i}case 1:case At.ShadowDom:return new IN(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const i=Vs(r.id,r.styles,[]);this.sharedStylesHost.addStyles(i),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(n){return new(n||t)(U(Rs),U(Zi),U(Gi))},t.\u0275prov=ee({token:t,factory:t.\u0275fac}),t})();class Ec{constructor(e){this.eventManager=e,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(e,n){return n?document.createElementNS(Cc[n]||n,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,n){(y_(e)?e.content:e).appendChild(n)}insertBefore(e,n,r){e&&(y_(e)?e.content:e).insertBefore(n,r)}removeChild(e,n){e&&e.removeChild(n)}selectRootElement(e,n){let r="string"==typeof e?document.querySelector(e):e;if(!r)throw new Error(`The selector "${e}" did not match any elements`);return n||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,n,r,i){if(i){n=i+":"+n;const o=Cc[i];o?e.setAttributeNS(o,n,r):e.setAttribute(n,r)}else e.setAttribute(n,r)}removeAttribute(e,n,r){if(r){const i=Cc[r];i?e.removeAttributeNS(i,n):e.removeAttribute(`${r}:${n}`)}else e.removeAttribute(n)}addClass(e,n){e.classList.add(n)}removeClass(e,n){e.classList.remove(n)}setStyle(e,n,r,i){i&(et.DashCase|et.Important)?e.style.setProperty(n,r,i&et.Important?"important":""):e.style[n]=r}removeStyle(e,n,r){r&et.DashCase?e.style.removeProperty(n):e.style[n]=""}setProperty(e,n,r){e[n]=r}setValue(e,n){e.nodeValue=n}listen(e,n,r){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,n,g_(r)):this.eventManager.addEventListener(e,n,g_(r))}}function y_(t){return"TEMPLATE"===t.tagName&&void 0!==t.content}class TN extends Ec{constructor(e,n,r,i){super(e),this.component=r;const o=Vs(i+"-"+r.id,r.styles,[]);n.addStyles(o),this.contentAttr=function MN(t){return"_ngcontent-%COMP%".replace(wc,t)}(i+"-"+r.id),this.hostAttr=function SN(t){return"_nghost-%COMP%".replace(wc,t)}(i+"-"+r.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,n){const r=super.createElement(e,n);return super.setAttribute(r,this.contentAttr,""),r}}class IN extends Ec{constructor(e,n,r,i){super(e),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=Vs(i.id,i.styles,[]);for(let s=0;s{class t extends c_{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,i){return n.addEventListener(r,i,!1),()=>this.removeEventListener(n,r,i)}removeEventListener(n,r,i){return n.removeEventListener(r,i)}}return t.\u0275fac=function(n){return new(n||t)(U(ct))},t.\u0275prov=ee({token:t,factory:t.\u0275fac}),t})();const __=["alt","control","meta","shift"],PN={"\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"},v_={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},ON={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let xN=(()=>{class t extends c_{constructor(n){super(n)}supports(n){return null!=t.parseEventName(n)}addEventListener(n,r,i){const o=t.parseEventName(r),s=t.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>er().onAndCancel(n,o.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),i=r.shift();if(0===r.length||"keydown"!==i&&"keyup"!==i)return null;const o=t._normalizeKey(r.pop());let s="";if(__.forEach(l=>{const u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=o,0!=r.length||0===o.length)return null;const a={};return a.domEventName=i,a.fullKey=s,a}static getEventFullKey(n){let r="",i=function kN(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&v_.hasOwnProperty(e)&&(e=v_[e]))}return PN[e]||e}(n);return i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),__.forEach(o=>{o!=i&&(0,ON[o])(n)&&(r+=o+".")}),r+=i,r}static eventCallback(n,r,i){return o=>{t.getEventFullKey(o)===n&&i.runGuarded(()=>r(o))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return t.\u0275fac=function(n){return new(n||t)(U(ct))},t.\u0275prov=ee({token:t,factory:t.\u0275fac}),t})();const BN=Sy(GT,"browser",[{provide:yy,useValue:"browser"},{provide:my,useValue:function RN(){Dc.makeCurrent()},multi:!0},{provide:ct,useFactory:function LN(){return function Qw(t){ll=t}(document),document},deps:[]}]),C_=new $(""),w_=[{provide:_s,useClass:class CN{addToWindow(e){re.getAngularTestability=(r,i=!0)=>{const o=e.findTestabilityInTree(r,i);if(null==o)throw new Error("Could not find testability for element.");return o},re.getAllAngularTestabilities=()=>e.getAllTestabilities(),re.getAllAngularRootElements=()=>e.getAllRootElements(),re.frameworkStabilizers||(re.frameworkStabilizers=[]),re.frameworkStabilizers.push(r=>{const i=re.getAllAngularTestabilities();let o=i.length,s=!1;const a=function(l){s=s||l,o--,0==o&&r(s)};i.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(e,n,r){if(null==n)return null;const i=e.getTestability(n);return null!=i?i:r?er().isShadowRoot(n)?this.findTestabilityInTree(e,n.host,!0):this.findTestabilityInTree(e,n.parentElement,!0):null}},deps:[]},{provide:Ey,useClass:Zu,deps:[Ne,Yu,_s]},{provide:Zu,useClass:Zu,deps:[Ne,Yu,_s]}],E_=[{provide:_l,useValue:"root"},{provide:Tr,useFactory:function VN(){return new Tr},deps:[]},{provide:ks,useClass:NN,multi:!0,deps:[ct,Ne,yy]},{provide:ks,useClass:xN,multi:!0,deps:[ct]},{provide:Ls,useClass:Ls,deps:[Rs,Zi,Gi]},{provide:Mi,useExisting:Ls},{provide:d_,useExisting:Zi},{provide:Zi,useClass:Zi,deps:[ct]},{provide:Rs,useClass:Rs,deps:[ks,Ne]},{provide:class gN{},useClass:wN,deps:[]},[]];let b_=(()=>{class t{constructor(n){}static withServerTransition(n){return{ngModule:t,providers:[{provide:Gi,useValue:n.appId},{provide:u_,useExisting:Gi},DN]}}}return t.\u0275fac=function(n){return new(n||t)(U(C_,12))},t.\u0275mod=$t({type:t}),t.\u0275inj=Mt({providers:[...E_,...w_],imports:[s_,zT]}),t})(),M_=(()=>{class t{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}}return t.\u0275fac=function(n){return new(n||t)(U(ct))},t.\u0275prov=ee({token:t,factory:function(n){let r=null;return r=n?new n:function HN(){return new M_(U(ct))}(),r},providedIn:"root"}),t})();"undefined"!=typeof window&&window;class T_{}const mn="*";function I_(t,e=null){return{type:2,steps:t,options:e}}function N_(t){return{type:6,styles:t,offset:null}}function F_(t){Promise.resolve(null).then(t)}class Yi{constructor(e=0,n=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){F_(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){const n="start"==e?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}}class P_{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let n=0,r=0,i=0;const o=this.players.length;0==o?F_(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++n==o&&this._onFinish()}),s.onDestroy(()=>{++r==o&&this._onDestroy()}),s.onStart(()=>{++i==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const n=e*this.totalTime;this.players.forEach(r=>{const i=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(i)})}getPosition(){const e=this.players.reduce((n,r)=>null===n||r.totalTime>n.totalTime?r:n,null);return null!=e?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const n="start"==e?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}}function O_(t){return new D(3e3,!1)}function N1(){return"undefined"!=typeof window&&void 0!==window.document}function Ac(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Fn(t){switch(t.length){case 0:return new Yi;case 1:return t[0];default:return new P_(t)}}function x_(t,e,n,r,i=new Map,o=new Map){const s=[],a=[];let l=-1,u=null;if(r.forEach(c=>{const d=c.get("offset"),f=d==l,h=f&&u||new Map;c.forEach((p,g)=>{let y=g,_=p;if("offset"!==g)switch(y=e.normalizePropertyName(y,s),_){case"!":_=i.get(g);break;case mn:_=o.get(g);break;default:_=e.normalizeStyleValue(g,y,_,s)}h.set(y,_)}),f||a.push(h),u=h,l=d}),s.length)throw function _1(t){return new D(3502,!1)}();return a}function Tc(t,e,n,r){switch(e){case"start":t.onStart(()=>r(n&&Ic(n,"start",t)));break;case"done":t.onDone(()=>r(n&&Ic(n,"done",t)));break;case"destroy":t.onDestroy(()=>r(n&&Ic(n,"destroy",t)))}}function Ic(t,e,n){const r=n.totalTime,o=Nc(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==r?t.totalTime:r,!!n.disabled),s=t._data;return null!=s&&(o._data=s),o}function Nc(t,e,n,r,i="",o=0,s){return{element:t,triggerName:e,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!s}}function dt(t,e,n){let r=t.get(e);return r||t.set(e,r=n),r}function k_(t){const e=t.indexOf(":");return[t.substring(1,e),t.slice(e+1)]}let Fc=(t,e)=>!1,R_=(t,e,n)=>[],V_=null;function Pc(t){const e=t.parentNode||t.host;return e===V_?null:e}(Ac()||"undefined"!=typeof Element)&&(N1()?(V_=(()=>document.documentElement)(),Fc=(t,e)=>{for(;e;){if(e===t)return!0;e=Pc(e)}return!1}):Fc=(t,e)=>t.contains(e),R_=(t,e,n)=>{if(n)return Array.from(t.querySelectorAll(e));const r=t.querySelector(e);return r?[r]:[]});let tr=null,L_=!1;const B_=Fc,j_=R_;let H_=(()=>{class t{validateStyleProperty(n){return function P1(t){tr||(tr=function O1(){return"undefined"!=typeof document?document.body:null}()||{},L_=!!tr.style&&"WebkitAppearance"in tr.style);let e=!0;return tr.style&&!function F1(t){return"ebkit"==t.substring(1,6)}(t)&&(e=t in tr.style,!e&&L_&&(e="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in tr.style)),e}(n)}matchesElement(n,r){return!1}containsElement(n,r){return B_(n,r)}getParentElement(n){return Pc(n)}query(n,r,i){return j_(n,r,i)}computeStyle(n,r,i){return i||""}animate(n,r,i,o,s,a=[],l){return new Yi(i,o)}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=ee({token:t,factory:t.\u0275fac}),t})(),Oc=(()=>{class t{}return t.NOOP=new H_,t})();const xc="ng-enter",Bs="ng-leave",js="ng-trigger",Hs=".ng-trigger",U_="ng-animating",kc=".ng-animating";function Pn(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Rc(parseFloat(e[1]),e[2])}function Rc(t,e){return"s"===e?1e3*t:t}function $s(t,e,n){return t.hasOwnProperty("duration")?t:function R1(t,e,n){let i,o=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 e.push(O_()),{duration:0,delay:0,easing:""};i=Rc(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(o=Rc(parseFloat(l),a[4]));const u=a[5];u&&(s=u)}else i=t;if(!n){let a=!1,l=e.length;i<0&&(e.push(function ZN(){return new D(3100,!1)}()),a=!0),o<0&&(e.push(function YN(){return new D(3101,!1)}()),a=!0),a&&e.splice(l,0,O_())}return{duration:i,delay:o,easing:s}}(t,e,n)}function Ji(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function G_(t){const e=new Map;return Object.keys(t).forEach(n=>{e.set(n,t[n])}),e}function On(t,e=new Map,n){if(n)for(let[r,i]of n)e.set(r,i);for(let[r,i]of t)e.set(r,i);return e}function q_(t,e,n){return n?e+":"+n+";":""}function W_(t){let e="";for(let n=0;n{const o=Lc(i);n&&!n.has(i)&&n.set(i,t.style[o]),t.style[o]=r}),Ac()&&W_(t))}function nr(t,e){t.style&&(e.forEach((n,r)=>{const i=Lc(r);t.style[i]=""}),Ac()&&W_(t))}function Xi(t){return Array.isArray(t)?1==t.length?t[0]:I_(t):t}const Vc=new RegExp("{{\\s*(.+?)\\s*}}","g");function Q_(t){let e=[];if("string"==typeof t){let n;for(;n=Vc.exec(t);)e.push(n[1]);Vc.lastIndex=0}return e}function Us(t,e,n){const r=t.toString(),i=r.replace(Vc,(o,s)=>{let a=e[s];return null==a&&(n.push(function XN(t){return new D(3003,!1)}()),a=""),a.toString()});return i==r?t:i}function Gs(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const B1=/-+([a-z0-9])/g;function Lc(t){return t.replace(B1,(...e)=>e[1].toUpperCase())}function j1(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function ft(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw function e1(t){return new D(3004,!1)}()}}function K_(t,e){return window.getComputedStyle(t)[e]}function q1(t,e){const n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(r=>function W1(t,e,n){if(":"==t[0]){const l=function Q1(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(n,r)=>parseFloat(r)>parseFloat(n);case":decrement":return(n,r)=>parseFloat(r) *"}}(t,n);if("function"==typeof l)return void e.push(l);t=l}const r=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push(function h1(t){return new D(3015,!1)}()),e;const i=r[1],o=r[2],s=r[3];e.push(Z_(i,s));"<"==o[0]&&!("*"==i&&"*"==s)&&e.push(Z_(s,i))}(r,n,e)):n.push(t),n}const Qs=new Set(["true","1"]),Ks=new Set(["false","0"]);function Z_(t,e){const n=Qs.has(t)||Ks.has(t),r=Qs.has(e)||Ks.has(e);return(i,o)=>{let s="*"==t||t==i,a="*"==e||e==o;return!s&&n&&"boolean"==typeof i&&(s=i?Qs.has(t):Ks.has(t)),!a&&r&&"boolean"==typeof o&&(a=o?Qs.has(e):Ks.has(e)),s&&a}}const K1=new RegExp("s*:selfs*,?","g");function Bc(t,e,n,r){return new Z1(t).build(e,n,r)}class Z1{constructor(e){this._driver=e}build(e,n,r){const i=new X1(n);return this._resetContextStyleTimingState(i),ft(this,Xi(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles=new Map,e.collectedStyles.set("",new Map),e.currentTime=0}visitTrigger(e,n){let r=n.queryCount=0,i=n.depCount=0;const o=[],s=[];return"@"==e.name.charAt(0)&&n.errors.push(function n1(){return new D(3006,!1)}()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(n),0==a.type){const l=a,u=l.name;u.toString().split(/\s*,\s*/).forEach(c=>{l.name=c,o.push(this.visitState(l,n))}),l.name=u}else if(1==a.type){const l=this.visitTransition(a,n);r+=l.queryCount,i+=l.depCount,s.push(l)}else n.errors.push(function r1(){return new D(3007,!1)}())}),{type:7,name:e.name,states:o,transitions:s,queryCount:r,depCount:i,options:null}}visitState(e,n){const r=this.visitStyle(e.styles,n),i=e.options&&e.options.params||null;if(r.containsDynamicStyles){const o=new Set,s=i||{};r.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{Q_(l).forEach(u=>{s.hasOwnProperty(u)||o.add(u)})})}),o.size&&(Gs(o.values()),n.errors.push(function i1(t,e){return new D(3008,!1)}()))}return{type:0,name:e.name,style:r,options:i?{params:i}:null}}visitTransition(e,n){n.queryCount=0,n.depCount=0;const r=ft(this,Xi(e.animation),n);return{type:1,matchers:q1(e.expr,n.errors),animation:r,queryCount:n.queryCount,depCount:n.depCount,options:rr(e.options)}}visitSequence(e,n){return{type:2,steps:e.steps.map(r=>ft(this,r,n)),options:rr(e.options)}}visitGroup(e,n){const r=n.currentTime;let i=0;const o=e.steps.map(s=>{n.currentTime=r;const a=ft(this,s,n);return i=Math.max(i,n.currentTime),a});return n.currentTime=i,{type:3,steps:o,options:rr(e.options)}}visitAnimate(e,n){const r=function tF(t,e){if(t.hasOwnProperty("duration"))return t;if("number"==typeof t)return jc($s(t,e).duration,0,"");const n=t;if(n.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=jc(0,0,"");return o.dynamic=!0,o.strValue=n,o}const i=$s(n,e);return jc(i.duration,i.delay,i.easing)}(e.timings,n.errors);n.currentAnimateTimings=r;let i,o=e.styles?e.styles:N_({});if(5==o.type)i=this.visitKeyframes(o,n);else{let s=e.styles,a=!1;if(!s){a=!0;const u={};r.easing&&(u.easing=r.easing),s=N_(u)}n.currentTime+=r.duration+r.delay;const l=this.visitStyle(s,n);l.isEmptyStep=a,i=l}return n.currentAnimateTimings=null,{type:4,timings:r,style:i,options:null}}visitStyle(e,n){const r=this._makeStyleAst(e,n);return this._validateStyleAst(r,n),r}_makeStyleAst(e,n){const r=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of i)"string"==typeof a?a===mn?r.push(a):n.errors.push(new D(3002,!1)):r.push(G_(a));let o=!1,s=null;return r.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o))for(let l of a.values())if(l.toString().indexOf("{{")>=0){o=!0;break}}),{type:6,styles:r,easing:s,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,n){const r=n.currentAnimateTimings;let i=n.currentTime,o=n.currentTime;r&&o>0&&(o-=r.duration+r.delay),e.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const u=n.collectedStyles.get(n.currentQuerySelector),c=u.get(l);let d=!0;c&&(o!=i&&o>=c.startTime&&i<=c.endTime&&(n.errors.push(function s1(t,e,n,r,i){return new D(3010,!1)}()),d=!1),o=c.startTime),d&&u.set(l,{startTime:o,endTime:i}),n.options&&function L1(t,e,n){const r=e.params||{},i=Q_(t);i.length&&i.forEach(o=>{r.hasOwnProperty(o)||n.push(function JN(t){return new D(3001,!1)}())})}(a,n.options,n.errors)})})}visitKeyframes(e,n){const r={type:5,styles:[],options:null};if(!n.currentAnimateTimings)return n.errors.push(function a1(){return new D(3011,!1)}()),r;let o=0;const s=[];let a=!1,l=!1,u=0;const c=e.steps.map(_=>{const w=this._makeStyleAst(_,n);let m=null!=w.offset?w.offset:function eF(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(n=>{if(n instanceof Map&&n.has("offset")){const r=n;e=parseFloat(r.get("offset")),r.delete("offset")}});else if(t instanceof Map&&t.has("offset")){const n=t;e=parseFloat(n.get("offset")),n.delete("offset")}return e}(w.styles),E=0;return null!=m&&(o++,E=w.offset=m),l=l||E<0||E>1,a=a||E0&&o{const m=f>0?w==h?1:f*w:s[w],E=m*y;n.currentTime=p+g.delay+E,g.duration=E,this._validateStyleAst(_,n),_.offset=m,r.styles.push(_)}),r}visitReference(e,n){return{type:8,animation:ft(this,Xi(e.animation),n),options:rr(e.options)}}visitAnimateChild(e,n){return n.depCount++,{type:9,options:rr(e.options)}}visitAnimateRef(e,n){return{type:10,animation:this.visitReference(e.animation,n),options:rr(e.options)}}visitQuery(e,n){const r=n.currentQuerySelector,i=e.options||{};n.queryCount++,n.currentQuery=e;const[o,s]=function Y1(t){const e=!!t.split(/\s*,\s*/).find(n=>":self"==n);return e&&(t=t.replace(K1,"")),t=t.replace(/@\*/g,Hs).replace(/@\w+/g,n=>Hs+"-"+n.slice(1)).replace(/:animating/g,kc),[t,e]}(e.selector);n.currentQuerySelector=r.length?r+" "+o:o,dt(n.collectedStyles,n.currentQuerySelector,new Map);const a=ft(this,Xi(e.animation),n);return n.currentQuery=null,n.currentQuerySelector=r,{type:11,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:rr(e.options)}}visitStagger(e,n){n.currentQuery||n.errors.push(function d1(){return new D(3013,!1)}());const r="full"===e.timings?{duration:0,delay:0,easing:"full"}:$s(e.timings,n.errors,!0);return{type:12,animation:ft(this,Xi(e.animation),n),timings:r,options:null}}}class X1{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function rr(t){return t?(t=Ji(t)).params&&(t.params=function J1(t){return t?Ji(t):null}(t.params)):t={},t}function jc(t,e,n){return{duration:t,delay:e,easing:n}}function Hc(t,e,n,r,i,o,s=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}class Zs{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,n){let r=this._map.get(e);r||this._map.set(e,r=[]),r.push(...n)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const iF=new RegExp(":enter","g"),sF=new RegExp(":leave","g");function $c(t,e,n,r,i,o=new Map,s=new Map,a,l,u=[]){return(new aF).buildKeyframes(t,e,n,r,i,o,s,a,l,u)}class aF{buildKeyframes(e,n,r,i,o,s,a,l,u,c=[]){u=u||new Zs;const d=new Uc(e,n,u,i,o,c,[]);d.options=l;const f=l.delay?Pn(l.delay):0;d.currentTimeline.delayNextStep(f),d.currentTimeline.setStyles([s],null,d.errors,l),ft(this,r,d);const h=d.timelines.filter(p=>p.containsAnimation());if(h.length&&a.size){let p;for(let g=h.length-1;g>=0;g--){const y=h[g];if(y.element===n){p=y;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([a],null,d.errors,l)}return h.length?h.map(p=>p.buildKeyframes()):[Hc(n,[],[],[],0,f,"",!1)]}visitTrigger(e,n){}visitState(e,n){}visitTransition(e,n){}visitAnimateChild(e,n){const r=n.subInstructions.get(n.element);if(r){const i=n.createSubContext(e.options),o=n.currentTimeline.currentTime,s=this._visitSubInstructions(r,i,i.options);o!=s&&n.transformIntoNewTimeline(s)}n.previousNode=e}visitAnimateRef(e,n){const r=n.createSubContext(e.options);r.transformIntoNewTimeline(),this.visitReference(e.animation,r),n.transformIntoNewTimeline(r.currentTimeline.currentTime),n.previousNode=e}_visitSubInstructions(e,n,r){let o=n.currentTimeline.currentTime;const s=null!=r.duration?Pn(r.duration):null,a=null!=r.delay?Pn(r.delay):null;return 0!==s&&e.forEach(l=>{const u=n.appendInstructionToTimeline(l,s,a);o=Math.max(o,u.duration+u.delay)}),o}visitReference(e,n){n.updateOptions(e.options,!0),ft(this,e.animation,n),n.previousNode=e}visitSequence(e,n){const r=n.subContextCount;let i=n;const o=e.options;if(o&&(o.params||o.delay)&&(i=n.createSubContext(o),i.transformIntoNewTimeline(),null!=o.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Ys);const s=Pn(o.delay);i.delayNextStep(s)}e.steps.length&&(e.steps.forEach(s=>ft(this,s,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),n.previousNode=e}visitGroup(e,n){const r=[];let i=n.currentTimeline.currentTime;const o=e.options&&e.options.delay?Pn(e.options.delay):0;e.steps.forEach(s=>{const a=n.createSubContext(e.options);o&&a.delayNextStep(o),ft(this,s,a),i=Math.max(i,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(s=>n.currentTimeline.mergeTimelineCollectedStyles(s)),n.transformIntoNewTimeline(i),n.previousNode=e}_visitTiming(e,n){if(e.dynamic){const r=e.strValue;return $s(n.params?Us(r,n.params,n.errors):r,n.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,n){const r=n.currentAnimateTimings=this._visitTiming(e.timings,n),i=n.currentTimeline;r.delay&&(n.incrementTime(r.delay),i.snapshotCurrentStyles());const o=e.style;5==o.type?this.visitKeyframes(o,n):(n.incrementTime(r.duration),this.visitStyle(o,n),i.applyStylesToKeyframe()),n.currentAnimateTimings=null,n.previousNode=e}visitStyle(e,n){const r=n.currentTimeline,i=n.currentAnimateTimings;!i&&r.hasCurrentStyleProperties()&&r.forwardFrame();const o=i&&i.easing||e.easing;e.isEmptyStep?r.applyEmptyStep(o):r.setStyles(e.styles,o,n.errors,n.options),n.previousNode=e}visitKeyframes(e,n){const r=n.currentAnimateTimings,i=n.currentTimeline.duration,o=r.duration,a=n.createSubContext().currentTimeline;a.easing=r.easing,e.styles.forEach(l=>{a.forwardTime((l.offset||0)*o),a.setStyles(l.styles,l.easing,n.errors,n.options),a.applyStylesToKeyframe()}),n.currentTimeline.mergeTimelineCollectedStyles(a),n.transformIntoNewTimeline(i+o),n.previousNode=e}visitQuery(e,n){const r=n.currentTimeline.currentTime,i=e.options||{},o=i.delay?Pn(i.delay):0;o&&(6===n.previousNode.type||0==r&&n.currentTimeline.hasCurrentStyleProperties())&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Ys);let s=r;const a=n.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,n.errors);n.currentQueryTotal=a.length;let l=null;a.forEach((u,c)=>{n.currentQueryIndex=c;const d=n.createSubContext(e.options,u);o&&d.delayNextStep(o),u===n.element&&(l=d.currentTimeline),ft(this,e.animation,d),d.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,d.currentTimeline.currentTime)}),n.currentQueryIndex=0,n.currentQueryTotal=0,n.transformIntoNewTimeline(s),l&&(n.currentTimeline.mergeTimelineCollectedStyles(l),n.currentTimeline.snapshotCurrentStyles()),n.previousNode=e}visitStagger(e,n){const r=n.parentContext,i=n.currentTimeline,o=e.timings,s=Math.abs(o.duration),a=s*(n.currentQueryTotal-1);let l=s*n.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=r.currentStaggerTime}const c=n.currentTimeline;l&&c.delayNextStep(l);const d=c.currentTime;ft(this,e.animation,n),n.previousNode=e,r.currentStaggerTime=i.currentTime-d+(i.startTime-r.currentTimeline.startTime)}}const Ys={};class Uc{constructor(e,n,r,i,o,s,a,l){this._driver=e,this.element=n,this.subInstructions=r,this._enterClassName=i,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Ys,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Js(this._driver,n,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,n){if(!e)return;const r=e;let i=this.options;null!=r.duration&&(i.duration=Pn(r.duration)),null!=r.delay&&(i.delay=Pn(r.delay));const o=r.params;if(o){let s=i.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!n||!s.hasOwnProperty(a))&&(s[a]=Us(o[a],s,this.errors))})}}_copyOptions(){const e={};if(this.options){const n=this.options.params;if(n){const r=e.params={};Object.keys(n).forEach(i=>{r[i]=n[i]})}}return e}createSubContext(e=null,n,r){const i=n||this.element,o=new Uc(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(e){return this.previousNode=Ys,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,n,r){const i={duration:null!=n?n:e.duration,delay:this.currentTimeline.currentTime+(null!=r?r:0)+e.delay,easing:""},o=new lF(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(o),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,n,r,i,o,s){let a=[];if(i&&a.push(this.element),e.length>0){e=(e=e.replace(iF,"."+this._enterClassName)).replace(sF,"."+this._leaveClassName);let u=this._driver.query(this.element,e,1!=r);0!==r&&(u=r<0?u.slice(u.length+r,u.length):u.slice(0,r)),a.push(...u)}return!o&&0==a.length&&s.push(function f1(t){return new D(3014,!1)}()),a}}class Js{constructor(e,n,r,i){this._driver=e,this.element=n,this.startTime=r,this._elementTimelineStylesLookup=i,this.duration=0,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(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const n=1===this._keyframes.size&&this._pendingStyles.size;this.duration||n?(this.forwardTime(this.currentTime+e),n&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,n){return this.applyStylesToKeyframe(),new Js(this._driver,e,n||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,n){this._localTimelineStyles.set(e,n),this._globalTimelineStyles.set(e,n),this._styleSummary.set(e,{time:this.currentTime,value:n})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[n,r]of this._globalTimelineStyles)this._backFill.set(n,r||mn),this._currentKeyframe.set(n,mn);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,n,r,i){var o;n&&this._previousKeyframe.set("easing",n);const s=i&&i.params||{},a=function uF(t,e){const n=new Map;let r;return t.forEach(i=>{if("*"===i){r=r||e.keys();for(let o of r)n.set(o,mn)}else On(i,n)}),n}(e,this._globalTimelineStyles);for(let[l,u]of a){const c=Us(u,s,r);this._pendingStyles.set(l,c),this._localTimelineStyles.has(l)||this._backFill.set(l,null!==(o=this._globalTimelineStyles.get(l))&&void 0!==o?o:mn),this._updateStyle(l,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((e,n)=>{this._currentKeyframe.set(n,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,n)=>{this._currentKeyframe.has(n)||this._currentKeyframe.set(n,e)}))}snapshotCurrentStyles(){for(let[e,n]of this._localTimelineStyles)this._pendingStyles.set(e,n),this._updateStyle(e,n)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let n in this._currentKeyframe)e.push(n);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((n,r)=>{const i=this._styleSummary.get(r);(!i||n.time>i.time)&&this._updateStyle(r,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((a,l)=>{const u=On(a,new Map,this._backFill);u.forEach((c,d)=>{"!"===c?e.add(d):c===mn&&n.add(d)}),r||u.set("offset",l/this.duration),i.push(u)});const o=e.size?Gs(e.values()):[],s=n.size?Gs(n.values()):[];if(r){const a=i[0],l=new Map(a);a.set("offset",0),l.set("offset",1),i=[a,l]}return Hc(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)}}class lF extends Js{constructor(e,n,r,i,o,s,a=!1){super(e,n,s.delay),this.keyframes=r,this.preStyleProps=i,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:n,duration:r,easing:i}=this.timings;if(this._stretchStartingKeyframe&&n){const o=[],s=r+n,a=n/s,l=On(e[0]);l.set("offset",0),o.push(l);const u=On(e[0]);u.set("offset",X_(a)),o.push(u);const c=e.length-1;for(let d=1;d<=c;d++){let f=On(e[d]);const h=f.get("offset");f.set("offset",X_((n+h*r)/s)),o.push(f)}r=s,n=0,i="",e=o}return Hc(this.element,e,this.preStyleProps,this.postStyleProps,r,n,i,!0)}}function X_(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class Gc{}const cF=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 dF extends Gc{normalizePropertyName(e,n){return Lc(e)}normalizeStyleValue(e,n,r,i){let o="";const s=r.toString().trim();if(cF.has(n)&&0!==r&&"0"!==r)if("number"==typeof r)o="px";else{const a=r.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&i.push(function t1(t,e){return new D(3005,!1)}())}return s+o}}function ev(t,e,n,r,i,o,s,a,l,u,c,d,f){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:s,timelines:a,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:d,errors:f}}const zc={};class tv{constructor(e,n,r){this._triggerName=e,this.ast=n,this._stateStyles=r}match(e,n,r,i){return function fF(t,e,n,r,i){return t.some(o=>o(e,n,r,i))}(this.ast.matchers,e,n,r,i)}buildStyles(e,n,r){let i=this._stateStyles.get("*");return void 0!==e&&(i=this._stateStyles.get(null==e?void 0:e.toString())||i),i?i.buildStyles(n,r):new Map}build(e,n,r,i,o,s,a,l,u,c){var d;const f=[],h=this.ast.options&&this.ast.options.params||zc,g=this.buildStyles(r,a&&a.params||zc,f),y=l&&l.params||zc,_=this.buildStyles(i,y,f),w=new Set,m=new Map,E=new Map,P="void"===i,K={params:hF(y,h),delay:null===(d=this.ast.options)||void 0===d?void 0:d.delay},_e=c?[]:$c(e,n,this.ast.animation,o,s,g,_,K,u,f);let He=0;if(_e.forEach(Ye=>{He=Math.max(Ye.duration+Ye.delay,He)}),f.length)return ev(n,this._triggerName,r,i,P,g,_,[],[],m,E,He,f);_e.forEach(Ye=>{const yn=Ye.element,_n=dt(m,yn,new Set);Ye.preStyleProps.forEach(Xt=>_n.add(Xt));const vn=dt(E,yn,new Set);Ye.postStyleProps.forEach(Xt=>vn.add(Xt)),yn!==n&&w.add(yn)});const Vn=Gs(w.values());return ev(n,this._triggerName,r,i,P,g,_,_e,Vn,m,E,He)}}function hF(t,e){const n=Ji(e);for(const r in t)t.hasOwnProperty(r)&&null!=t[r]&&(n[r]=t[r]);return n}class pF{constructor(e,n,r){this.styles=e,this.defaultParams=n,this.normalizer=r}buildStyles(e,n){const r=new Map,i=Ji(this.defaultParams);return Object.keys(e).forEach(o=>{const s=e[o];null!==s&&(i[o]=s)}),this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=Us(s,i,n));const l=this.normalizer.normalizePropertyName(a,n);s=this.normalizer.normalizeStyleValue(a,l,s,n),r.set(l,s)})}),r}}class mF{constructor(e,n,r){this.name=e,this.ast=n,this._normalizer=r,this.transitionFactories=[],this.states=new Map,n.states.forEach(i=>{this.states.set(i.name,new pF(i.style,i.options&&i.options.params||{},r))}),nv(this.states,"true","1"),nv(this.states,"false","0"),n.transitions.forEach(i=>{this.transitionFactories.push(new tv(e,i,this.states))}),this.fallbackTransition=function yF(t,e,n){return new tv(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},e)}(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,n,r,i){return this.transitionFactories.find(s=>s.match(e,n,r,i))||null}matchStyles(e,n,r){return this.fallbackTransition.buildStyles(e,n,r)}}function nv(t,e,n){t.has(e)?t.has(n)||t.set(n,t.get(e)):t.has(n)&&t.set(e,t.get(n))}const _F=new Zs;class vF{constructor(e,n,r){this.bodyNode=e,this._driver=n,this._normalizer=r,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,n){const r=[],o=Bc(this._driver,n,r,[]);if(r.length)throw function v1(t){return new D(3503,!1)}();this._animations.set(e,o)}_buildPlayer(e,n,r){const i=e.element,o=x_(0,this._normalizer,0,e.keyframes,n,r);return this._driver.animate(i,o,e.duration,e.delay,e.easing,[],!0)}create(e,n,r={}){const i=[],o=this._animations.get(e);let s;const a=new Map;if(o?(s=$c(this._driver,n,o,xc,Bs,new Map,new Map,r,_F,i),s.forEach(c=>{const d=dt(a,c.element,new Map);c.postStyleProps.forEach(f=>d.set(f,null))})):(i.push(function D1(){return new D(3300,!1)}()),s=[]),i.length)throw function C1(t){return new D(3504,!1)}();a.forEach((c,d)=>{c.forEach((f,h)=>{c.set(h,this._driver.computeStyle(d,h,mn))})});const u=Fn(s.map(c=>{const d=a.get(c.element);return this._buildPlayer(c,new Map,d)}));return this._playersById.set(e,u),u.onDestroy(()=>this.destroy(e)),this.players.push(u),u}destroy(e){const n=this._getPlayer(e);n.destroy(),this._playersById.delete(e);const r=this.players.indexOf(n);r>=0&&this.players.splice(r,1)}_getPlayer(e){const n=this._playersById.get(e);if(!n)throw function w1(t){return new D(3301,!1)}();return n}listen(e,n,r,i){const o=Nc(n,"","","");return Tc(this._getPlayer(e),r,o,i),()=>{}}command(e,n,r,i){if("register"==r)return void this.register(e,i[0]);if("create"==r)return void this.create(e,n,i[0]||{});const o=this._getPlayer(e);switch(r){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e)}}}const rv="ng-animate-queued",qc="ng-animate-disabled",bF=[],iv={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},MF={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},wt="__ng_removed";class Wc{constructor(e,n=""){this.namespaceId=n;const r=e&&e.hasOwnProperty("value");if(this.value=function IF(t){return null!=t?t:null}(r?e.value:e),r){const o=Ji(e);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){const n=e.params;if(n){const r=this.options.params;Object.keys(n).forEach(i=>{null==r[i]&&(r[i]=n[i])})}}}const eo="void",Qc=new Wc(eo);class SF{constructor(e,n,r){this.id=e,this.hostElement=n,this._engine=r,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Et(n,this._hostClassName)}listen(e,n,r,i){if(!this._triggers.has(n))throw function E1(t,e){return new D(3302,!1)}();if(null==r||0==r.length)throw function b1(t){return new D(3303,!1)}();if(!function NF(t){return"start"==t||"done"==t}(r))throw function M1(t,e){return new D(3400,!1)}();const o=dt(this._elementListeners,e,[]),s={name:n,phase:r,callback:i};o.push(s);const a=dt(this._engine.statesByElement,e,new Map);return a.has(n)||(Et(e,js),Et(e,js+"-"+n),a.set(n,Qc)),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(n)||a.delete(n)})}}register(e,n){return!this._triggers.has(e)&&(this._triggers.set(e,n),!0)}_getTrigger(e){const n=this._triggers.get(e);if(!n)throw function S1(t){return new D(3401,!1)}();return n}trigger(e,n,r,i=!0){const o=this._getTrigger(n),s=new Kc(this.id,n,e);let a=this._engine.statesByElement.get(e);a||(Et(e,js),Et(e,js+"-"+n),this._engine.statesByElement.set(e,a=new Map));let l=a.get(n);const u=new Wc(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),a.set(n,u),l||(l=Qc),u.value!==eo&&l.value===u.value){if(!function OF(t,e){const n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(let i=0;i{nr(e,y),Jt(e,_)})}return}const f=dt(this._engine.playersByElement,e,[]);f.forEach(g=>{g.namespaceId==this.id&&g.triggerName==n&&g.queued&&g.destroy()});let h=o.matchTransition(l.value,u.value,e,u.params),p=!1;if(!h){if(!i)return;h=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:n,transition:h,fromState:l,toState:u,player:s,isFallbackTransition:p}),p||(Et(e,rv),s.onStart(()=>{Jr(e,rv)})),s.onDone(()=>{let g=this.players.indexOf(s);g>=0&&this.players.splice(g,1);const y=this._engine.playersByElement.get(e);if(y){let _=y.indexOf(s);_>=0&&y.splice(_,1)}}),this.players.push(s),f.push(s),s}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(n=>n.delete(e)),this._elementListeners.forEach((n,r)=>{this._elementListeners.set(r,n.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const n=this._engine.playersByElement.get(e);n&&(n.forEach(r=>r.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,n){const r=this._engine.driver.query(e,Hs,!0);r.forEach(i=>{if(i[wt])return;const o=this._engine.fetchNamespacesByElement(i);o.size?o.forEach(s=>s.triggerLeaveAnimation(i,n,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,n,r,i){const o=this._engine.statesByElement.get(e),s=new Map;if(o){const a=[];if(o.forEach((l,u)=>{if(s.set(u,l.value),this._triggers.has(u)){const c=this.trigger(e,u,eo,i);c&&a.push(c)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,n,s),r&&Fn(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const n=this._elementListeners.get(e),r=this._engine.statesByElement.get(e);if(n&&r){const i=new Set;n.forEach(o=>{const s=o.name;if(i.has(s))return;i.add(s);const l=this._triggers.get(s).fallbackTransition,u=r.get(s)||Qc,c=new Wc(eo),d=new Kc(this.id,s,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:s,transition:l,fromState:u,toState:c,player:d,isFallbackTransition:!0})})}}removeNode(e,n){const r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,n),this.triggerLeaveAnimation(e,n,!0))return;let i=!1;if(r.totalAnimations){const o=r.players.length?r.playersByQueriedElement.get(e):[];if(o&&o.length)i=!0;else{let s=e;for(;s=s.parentNode;)if(r.statesByElement.get(s)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)r.markElementAsRemoved(this.id,e,!1,n);else{const o=e[wt];(!o||o===iv)&&(r.afterFlush(()=>this.clearElementCache(e)),r.destroyInnerAnimations(e),r._onRemovalComplete(e,n))}}insertNode(e,n){Et(e,this._hostClassName)}drainQueuedTransitions(e){const n=[];return this._queue.forEach(r=>{const i=r.player;if(i.destroyed)return;const o=r.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==r.triggerName){const l=Nc(o,r.triggerName,r.fromState.value,r.toState.value);l._data=e,Tc(r.player,a.phase,l,a.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):n.push(r)}),this._queue=[],n.sort((r,i)=>{const o=r.transition.ast.depCount,s=i.transition.ast.depCount;return 0==o||0==s?o-s:this._engine.driver.containsElement(r.element,i.element)?1:-1})}destroy(e){this.players.forEach(n=>n.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let n=!1;return this._elementListeners.has(e)&&(n=!0),n=!!this._queue.find(r=>r.element===e)||n,n}}class AF{constructor(e,n,r){this.bodyNode=e,this.driver=n,this._normalizer=r,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(i,o)=>{}}_onRemovalComplete(e,n){this.onRemovalComplete(e,n)}get queuedPlayers(){const e=[];return this._namespaceList.forEach(n=>{n.players.forEach(r=>{r.queued&&e.push(r)})}),e}createNamespace(e,n){const r=new SF(e,n,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,n)?this._balanceNamespaceList(r,n):(this.newHostElements.set(n,r),this.collectEnterElement(n)),this._namespaceLookup[e]=r}_balanceNamespaceList(e,n){const r=this._namespaceList,i=this.namespacesByHostElement;if(r.length-1>=0){let s=!1,a=this.driver.getParentElement(n);for(;a;){const l=i.get(a);if(l){const u=r.indexOf(l);r.splice(u+1,0,e),s=!0;break}a=this.driver.getParentElement(a)}s||r.unshift(e)}else r.push(e);return i.set(n,e),e}register(e,n){let r=this._namespaceLookup[e];return r||(r=this.createNamespace(e,n)),r}registerTrigger(e,n,r){let i=this._namespaceLookup[e];i&&i.register(n,r)&&this.totalAnimations++}destroy(e,n){if(!e)return;const r=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(r.hostElement),delete this._namespaceLookup[e];const i=this._namespaceList.indexOf(r);i>=0&&this._namespaceList.splice(i,1)}),this.afterFlushAnimationsDone(()=>r.destroy(n))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const n=new Set,r=this.statesByElement.get(e);if(r)for(let i of r.values())if(i.namespaceId){const o=this._fetchNamespace(i.namespaceId);o&&n.add(o)}return n}trigger(e,n,r,i){if(Xs(n)){const o=this._fetchNamespace(e);if(o)return o.trigger(n,r,i),!0}return!1}insertNode(e,n,r,i){if(!Xs(n))return;const o=n[wt];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(n);s>=0&&this.collectedLeaveElements.splice(s,1)}if(e){const s=this._fetchNamespace(e);s&&s.insertNode(n,r)}i&&this.collectEnterElement(n)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,n){n?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Et(e,qc)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Jr(e,qc))}removeNode(e,n,r,i){if(Xs(n)){const o=e?this._fetchNamespace(e):null;if(o?o.removeNode(n,i):this.markElementAsRemoved(e,n,!1,i),r){const s=this.namespacesByHostElement.get(n);s&&s.id!==e&&s.removeNode(n,i)}}else this._onRemovalComplete(n,i)}markElementAsRemoved(e,n,r,i,o){this.collectedLeaveElements.push(n),n[wt]={namespaceId:e,setForRemoval:i,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,n,r,i,o){return Xs(n)?this._fetchNamespace(e).listen(n,r,i,o):()=>{}}_buildInstruction(e,n,r,i,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,r,i,e.fromState.options,e.toState.options,n,o)}destroyInnerAnimations(e){let n=this.driver.query(e,Hs,!0);n.forEach(r=>this.destroyActiveAnimationsForElement(r)),0!=this.playersByQueriedElement.size&&(n=this.driver.query(e,kc,!0),n.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(e){const n=this.playersByElement.get(e);n&&n.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(e){const n=this.playersByQueriedElement.get(e);n&&n.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Fn(this.players).onDone(()=>e());e()})}processLeaveNode(e){var n;const r=e[wt];if(r&&r.setForRemoval){if(e[wt]=iv,r.namespaceId){this.destroyInnerAnimations(e);const i=this._fetchNamespace(r.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,r.setForRemoval)}!(null===(n=e.classList)||void 0===n)&&n.contains(qc)&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(e=-1){let n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,i)=>this._balanceNamespaceList(r,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;rr()),this._flushFns=[],this._whenQuietFns.length){const r=this._whenQuietFns;this._whenQuietFns=[],n.length?Fn(n).onDone(()=>{r.forEach(i=>i())}):r.forEach(i=>i())}}reportError(e){throw function A1(t){return new D(3402,!1)}()}_flushAnimations(e,n){const r=new Zs,i=[],o=new Map,s=[],a=new Map,l=new Map,u=new Map,c=new Set;this.disabledNodes.forEach(T=>{c.add(T);const I=this.driver.query(T,".ng-animate-queued",!0);for(let F=0;F{const F=xc+g++;p.set(I,F),T.forEach(W=>Et(W,F))});const y=[],_=new Set,w=new Set;for(let T=0;T_.add(W)):w.add(I))}const m=new Map,E=av(f,Array.from(_));E.forEach((T,I)=>{const F=Bs+g++;m.set(I,F),T.forEach(W=>Et(W,F))}),e.push(()=>{h.forEach((T,I)=>{const F=p.get(I);T.forEach(W=>Jr(W,F))}),E.forEach((T,I)=>{const F=m.get(I);T.forEach(W=>Jr(W,F))}),y.forEach(T=>{this.processLeaveNode(T)})});const P=[],K=[];for(let T=this._namespaceList.length-1;T>=0;T--)this._namespaceList[T].drainQueuedTransitions(n).forEach(F=>{const W=F.player,ve=F.element;if(P.push(W),this.collectedEnterElements.length){const $e=ve[wt];if($e&&$e.setForMove){if($e.previousTriggersValues&&$e.previousTriggersValues.has(F.triggerName)){const sr=$e.previousTriggersValues.get(F.triggerName),bt=this.statesByElement.get(F.element);if(bt&&bt.has(F.triggerName)){const ha=bt.get(F.triggerName);ha.value=sr,bt.set(F.triggerName,ha)}}return void W.destroy()}}const en=!d||!this.driver.containsElement(d,ve),ht=m.get(ve),Ln=p.get(ve),pe=this._buildInstruction(F,r,Ln,ht,en);if(pe.errors&&pe.errors.length)return void K.push(pe);if(en)return W.onStart(()=>nr(ve,pe.fromStyles)),W.onDestroy(()=>Jt(ve,pe.toStyles)),void i.push(W);if(F.isFallbackTransition)return W.onStart(()=>nr(ve,pe.fromStyles)),W.onDestroy(()=>Jt(ve,pe.toStyles)),void i.push(W);const AD=[];pe.timelines.forEach($e=>{$e.stretchStartingKeyframe=!0,this.disabledNodes.has($e.element)||AD.push($e)}),pe.timelines=AD,r.append(ve,pe.timelines),s.push({instruction:pe,player:W,element:ve}),pe.queriedElements.forEach($e=>dt(a,$e,[]).push(W)),pe.preStyleProps.forEach(($e,sr)=>{if($e.size){let bt=l.get(sr);bt||l.set(sr,bt=new Set),$e.forEach((ha,vd)=>bt.add(vd))}}),pe.postStyleProps.forEach(($e,sr)=>{let bt=u.get(sr);bt||u.set(sr,bt=new Set),$e.forEach((ha,vd)=>bt.add(vd))})});if(K.length){const T=[];K.forEach(I=>{T.push(function T1(t,e){return new D(3505,!1)}())}),P.forEach(I=>I.destroy()),this.reportError(T)}const _e=new Map,He=new Map;s.forEach(T=>{const I=T.element;r.has(I)&&(He.set(I,I),this._beforeAnimationBuild(T.player.namespaceId,T.instruction,_e))}),i.forEach(T=>{const I=T.element;this._getPreviousPlayers(I,!1,T.namespaceId,T.triggerName,null).forEach(W=>{dt(_e,I,[]).push(W),W.destroy()})});const Vn=y.filter(T=>uv(T,l,u)),Ye=new Map;sv(Ye,this.driver,w,u,mn).forEach(T=>{uv(T,l,u)&&Vn.push(T)});const _n=new Map;h.forEach((T,I)=>{sv(_n,this.driver,new Set(T),l,"!")}),Vn.forEach(T=>{var I,F;const W=Ye.get(T),ve=_n.get(T);Ye.set(T,new Map([...Array.from(null!==(I=null==W?void 0:W.entries())&&void 0!==I?I:[]),...Array.from(null!==(F=null==ve?void 0:ve.entries())&&void 0!==F?F:[])]))});const vn=[],Xt=[],ei={};s.forEach(T=>{const{element:I,player:F,instruction:W}=T;if(r.has(I)){if(c.has(I))return F.onDestroy(()=>Jt(I,W.toStyles)),F.disabled=!0,F.overrideTotalTime(W.totalTime),void i.push(F);let ve=ei;if(He.size>1){let ht=I;const Ln=[];for(;ht=ht.parentNode;){const pe=He.get(ht);if(pe){ve=pe;break}Ln.push(ht)}Ln.forEach(pe=>He.set(pe,ve))}const en=this._buildAnimation(F.namespaceId,W,_e,o,_n,Ye);if(F.setRealPlayer(en),ve===ei)vn.push(F);else{const ht=this.playersByElement.get(ve);ht&&ht.length&&(F.parentPlayer=Fn(ht)),i.push(F)}}else nr(I,W.fromStyles),F.onDestroy(()=>Jt(I,W.toStyles)),Xt.push(F),c.has(I)&&i.push(F)}),Xt.forEach(T=>{const I=o.get(T.element);if(I&&I.length){const F=Fn(I);T.setRealPlayer(F)}}),i.forEach(T=>{T.parentPlayer?T.syncPlayerEvents(T.parentPlayer):T.destroy()});for(let T=0;T!en.destroyed);ve.length?FF(this,I,ve):this.processLeaveNode(I)}return y.length=0,vn.forEach(T=>{this.players.push(T),T.onDone(()=>{T.destroy();const I=this.players.indexOf(T);this.players.splice(I,1)}),T.play()}),vn}elementContainsData(e,n){let r=!1;const i=n[wt];return i&&i.setForRemoval&&(r=!0),this.playersByElement.has(n)&&(r=!0),this.playersByQueriedElement.has(n)&&(r=!0),this.statesByElement.has(n)&&(r=!0),this._fetchNamespace(e).elementContainsData(n)||r}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,n,r,i,o){let s=[];if(n){const a=this.playersByQueriedElement.get(e);a&&(s=a)}else{const a=this.playersByElement.get(e);if(a){const l=!o||o==eo;a.forEach(u=>{u.queued||!l&&u.triggerName!=i||s.push(u)})}}return(r||i)&&(s=s.filter(a=>!(r&&r!=a.namespaceId||i&&i!=a.triggerName))),s}_beforeAnimationBuild(e,n,r){const o=n.element,s=n.isRemovalTransition?void 0:e,a=n.isRemovalTransition?void 0:n.triggerName;for(const l of n.timelines){const u=l.element,c=u!==o,d=dt(r,u,[]);this._getPreviousPlayers(u,c,s,a,n.toState).forEach(h=>{const p=h.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),h.destroy(),d.push(h)})}nr(o,n.fromStyles)}_buildAnimation(e,n,r,i,o,s){const a=n.triggerName,l=n.element,u=[],c=new Set,d=new Set,f=n.timelines.map(p=>{const g=p.element;c.add(g);const y=g[wt];if(y&&y.removedBeforeQueried)return new Yi(p.duration,p.delay);const _=g!==l,w=function PF(t){const e=[];return lv(t,e),e}((r.get(g)||bF).map(_e=>_e.getRealPlayer())).filter(_e=>!!_e.element&&_e.element===g),m=o.get(g),E=s.get(g),P=x_(0,this._normalizer,0,p.keyframes,m,E),K=this._buildPlayer(p,P,w);if(p.subTimeline&&i&&d.add(g),_){const _e=new Kc(e,a,g);_e.setRealPlayer(K),u.push(_e)}return K});u.forEach(p=>{dt(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>function TF(t,e,n){let r=t.get(e);if(r){if(r.length){const i=r.indexOf(n);r.splice(i,1)}0==r.length&&t.delete(e)}return r}(this.playersByQueriedElement,p.element,p))}),c.forEach(p=>Et(p,U_));const h=Fn(f);return h.onDestroy(()=>{c.forEach(p=>Jr(p,U_)),Jt(l,n.toStyles)}),d.forEach(p=>{dt(i,p,[]).push(h)}),h}_buildPlayer(e,n,r){return n.length>0?this.driver.animate(e.element,n,e.duration,e.delay,e.easing,r):new Yi(e.duration,e.delay)}}class Kc{constructor(e,n,r){this.namespaceId=e,this.triggerName=n,this.element=r,this._player=new Yi,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((n,r)=>{n.forEach(i=>Tc(e,r,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const n=this._player;n.triggerCallback&&e.onStart(()=>n.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,n){dt(this._queuedCallbacks,e,[]).push(n)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const n=this._player;n.triggerCallback&&n.triggerCallback(e)}}function Xs(t){return t&&1===t.nodeType}function ov(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function sv(t,e,n,r,i){const o=[];n.forEach(l=>o.push(ov(l)));const s=[];r.forEach((l,u)=>{const c=new Map;l.forEach(d=>{const f=e.computeStyle(u,d,i);c.set(d,f),(!f||0==f.length)&&(u[wt]=MF,s.push(u))}),t.set(u,c)});let a=0;return n.forEach(l=>ov(l,o[a++])),s}function av(t,e){const n=new Map;if(t.forEach(a=>n.set(a,[])),0==e.length)return n;const i=new Set(e),o=new Map;function s(a){if(!a)return 1;let l=o.get(a);if(l)return l;const u=a.parentNode;return l=n.has(u)?u:i.has(u)?1:s(u),o.set(a,l),l}return e.forEach(a=>{const l=s(a);1!==l&&n.get(l).push(a)}),n}function Et(t,e){var n;null===(n=t.classList)||void 0===n||n.add(e)}function Jr(t,e){var n;null===(n=t.classList)||void 0===n||n.remove(e)}function FF(t,e,n){Fn(n).onDone(()=>t.processLeaveNode(e))}function lv(t,e){for(let n=0;ni.add(o)):e.set(t,r),n.delete(t),!0}class ea{constructor(e,n,r){this.bodyNode=e,this._driver=n,this._normalizer=r,this._triggerCache={},this.onRemovalComplete=(i,o)=>{},this._transitionEngine=new AF(e,n,r),this._timelineEngine=new vF(e,n,r),this._transitionEngine.onRemovalComplete=(i,o)=>this.onRemovalComplete(i,o)}registerTrigger(e,n,r,i,o){const s=e+"-"+i;let a=this._triggerCache[s];if(!a){const l=[],c=Bc(this._driver,o,l,[]);if(l.length)throw function y1(t,e){return new D(3404,!1)}();a=function gF(t,e,n){return new mF(t,e,n)}(i,c,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(n,i,a)}register(e,n){this._transitionEngine.register(e,n)}destroy(e,n){this._transitionEngine.destroy(e,n)}onInsert(e,n,r,i){this._transitionEngine.insertNode(e,n,r,i)}onRemove(e,n,r,i){this._transitionEngine.removeNode(e,n,i||!1,r)}disableAnimations(e,n){this._transitionEngine.markElementAsDisabled(e,n)}process(e,n,r,i){if("@"==r.charAt(0)){const[o,s]=k_(r);this._timelineEngine.command(o,n,s,i)}else this._transitionEngine.trigger(e,n,r,i)}listen(e,n,r,i,o){if("@"==r.charAt(0)){const[s,a]=k_(r);return this._timelineEngine.listen(s,n,a,o)}return this._transitionEngine.listen(e,n,r,i,o)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let kF=(()=>{class t{constructor(n,r,i){this._element=n,this._startStyles=r,this._endStyles=i,this._state=0;let o=t.initialStylesByElement.get(n);o||t.initialStylesByElement.set(n,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&Jt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Jt(this._element,this._initialStyles),this._endStyles&&(Jt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(nr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(nr(this._element,this._endStyles),this._endStyles=null),Jt(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function Zc(t){let e=null;return t.forEach((n,r)=>{(function RF(t){return"display"===t||"position"===t})(r)&&(e=e||new Map,e.set(r,n))}),e}class cv{constructor(e,n,r,i){this.element=e,this.keyframes=n,this.options=r,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){const n=[];return e.forEach(r=>{n.push(Object.fromEntries(r))}),n}_triggerWebAnimation(e,n,r){return e.animate(this._convertKeyframesToObject(n),r)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,i)=>{"offset"!==i&&e.set(i,this._finished?r:K_(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){const n="start"===e?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}}class VF{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,n){return!1}containsElement(e,n){return B_(e,n)}getParentElement(e){return Pc(e)}query(e,n,r){return j_(e,n,r)}computeStyle(e,n,r){return window.getComputedStyle(e)[n]}animate(e,n,r,i,o,s=[]){const l={duration:r,delay:i,fill:0==i?"both":"forwards"};o&&(l.easing=o);const u=new Map,c=s.filter(h=>h instanceof cv);(function H1(t,e){return 0===t||0===e})(r,i)&&c.forEach(h=>{h.currentSnapshot.forEach((p,g)=>u.set(g,p))});let d=function V1(t){return t.length?t[0]instanceof Map?t:t.map(e=>G_(e)):[]}(n).map(h=>On(h));d=function $1(t,e,n){if(n.size&&e.length){let r=e[0],i=[];if(n.forEach((o,s)=>{r.has(s)||i.push(s),r.set(s,o)}),i.length)for(let o=1;os.set(a,K_(t,a)))}}return e}(e,d,u);const f=function xF(t,e){let n=null,r=null;return Array.isArray(e)&&e.length?(n=Zc(e[0]),e.length>1&&(r=Zc(e[e.length-1]))):e instanceof Map&&(n=Zc(e)),n||r?new kF(t,n,r):null}(e,d);return new cv(e,d,l,f)}}let LF=(()=>{class t extends T_{constructor(n,r){super(),this._nextAnimationId=0,this._renderer=n.createRenderer(r.body,{id:"0",encapsulation:At.None,styles:[],data:{animation:[]}})}build(n){const r=this._nextAnimationId.toString();this._nextAnimationId++;const i=Array.isArray(n)?I_(n):n;return dv(this._renderer,null,r,"register",[i]),new BF(r,this._renderer)}}return t.\u0275fac=function(n){return new(n||t)(U(Mi),U(ct))},t.\u0275prov=ee({token:t,factory:t.\u0275fac}),t})();class BF extends class KN{}{constructor(e,n){super(),this._id=e,this._renderer=n}create(e,n){return new jF(this._id,e,n||{},this._renderer)}}class jF{constructor(e,n,r,i){this.id=e,this.element=n,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",r)}_listen(e,n){return this._renderer.listen(this.element,`@@${this.id}:${e}`,n)}_command(e,...n){return dv(this._renderer,this.element,this.id,e,n)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(e){this._command("setPosition",e)}getPosition(){var e,n;return null!==(n=null===(e=this._renderer.engine.players[+this.id])||void 0===e?void 0:e.getPosition())&&void 0!==n?n:0}}function dv(t,e,n,r,i){return t.setProperty(e,`@@${n}:${r}`,i)}const fv="@.disabled";let HF=(()=>{class t{constructor(n,r,i){this.delegate=n,this.engine=r,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),r.onRemovalComplete=(o,s)=>{const a=null==s?void 0:s.parentNode(o);a&&s.removeChild(a,o)}}createRenderer(n,r){const o=this.delegate.createRenderer(n,r);if(!(n&&r&&r.data&&r.data.animation)){let c=this._rendererCache.get(o);return c||(c=new hv("",o,this.engine),this._rendererCache.set(o,c)),c}const s=r.id,a=r.id+"-"+this._currentId;this._currentId++,this.engine.register(a,n);const l=c=>{Array.isArray(c)?c.forEach(l):this.engine.registerTrigger(s,a,n,c.name,c)};return r.data.animation.forEach(l),new $F(this,a,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(n,r,i){n>=0&&nr(i)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(o=>{const[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([r,i]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return t.\u0275fac=function(n){return new(n||t)(U(Mi),U(ea),U(Ne))},t.\u0275prov=ee({token:t,factory:t.\u0275fac}),t})();class hv{constructor(e,n,r){this.namespaceId=e,this.delegate=n,this.engine=r,this.destroyNode=this.delegate.destroyNode?i=>n.destroyNode(i):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(e,n){return this.delegate.createElement(e,n)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,n){this.delegate.appendChild(e,n),this.engine.onInsert(this.namespaceId,n,e,!1)}insertBefore(e,n,r,i=!0){this.delegate.insertBefore(e,n,r),this.engine.onInsert(this.namespaceId,n,e,i)}removeChild(e,n,r){this.engine.onRemove(this.namespaceId,n,this.delegate,r)}selectRootElement(e,n){return this.delegate.selectRootElement(e,n)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,n,r,i){this.delegate.setAttribute(e,n,r,i)}removeAttribute(e,n,r){this.delegate.removeAttribute(e,n,r)}addClass(e,n){this.delegate.addClass(e,n)}removeClass(e,n){this.delegate.removeClass(e,n)}setStyle(e,n,r,i){this.delegate.setStyle(e,n,r,i)}removeStyle(e,n,r){this.delegate.removeStyle(e,n,r)}setProperty(e,n,r){"@"==n.charAt(0)&&n==fv?this.disableAnimations(e,!!r):this.delegate.setProperty(e,n,r)}setValue(e,n){this.delegate.setValue(e,n)}listen(e,n,r){return this.delegate.listen(e,n,r)}disableAnimations(e,n){this.engine.disableAnimations(e,n)}}class $F extends hv{constructor(e,n,r,i){super(n,r,i),this.factory=e,this.namespaceId=n}setProperty(e,n,r){"@"==n.charAt(0)?"."==n.charAt(1)&&n==fv?this.disableAnimations(e,r=void 0===r||!!r):this.engine.process(this.namespaceId,e,n.slice(1),r):this.delegate.setProperty(e,n,r)}listen(e,n,r){if("@"==n.charAt(0)){const i=function UF(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(e);let o=n.slice(1),s="";return"@"!=o.charAt(0)&&([o,s]=function GF(t){const e=t.indexOf(".");return[t.substring(0,e),t.slice(e+1)]}(o)),this.engine.listen(this.namespaceId,i,o,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,r,a)})}return this.delegate.listen(e,n,r)}}const pv=[{provide:T_,useClass:LF},{provide:Gc,useFactory:function qF(){return new dF}},{provide:ea,useClass:(()=>{class t extends ea{constructor(n,r,i,o){super(n.body,r,i)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(n){return new(n||t)(U(ct),U(Oc),U(Gc),U(vs))},t.\u0275prov=ee({token:t,factory:t.\u0275fac}),t})()},{provide:Mi,useFactory:function WF(t,e,n){return new HF(t,e,n)},deps:[Ls,ea,Ne]}],Yc=[{provide:Oc,useFactory:()=>new VF},{provide:_y,useValue:"BrowserAnimations"},...pv],gv=[{provide:Oc,useClass:H_},{provide:_y,useValue:"NoopAnimations"},...pv];let QF=(()=>{class t{static withConfig(n){return{ngModule:t,providers:n.disableAnimations?gv:Yc}}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=Mt({providers:Yc,imports:[b_]}),t})();const{isArray:KF}=Array,{getPrototypeOf:ZF,prototype:YF,keys:JF}=Object;const{isArray:tP}=Array;function iP(t,e){return t.reduce((n,r,i)=>(n[r]=e[i],n),{})}function oP(...t){const e=function rC(t){return fe(wa(t))?t.pop():void 0}(t),{args:n,keys:r}=function XF(t){if(1===t.length){const e=t[0];if(KF(e))return{args:e,keys:null};if(function eP(t){return t&&"object"==typeof t&&ZF(t)===YF}(e)){const n=JF(e);return{args:n.map(r=>e[r]),keys:n}}}return{args:t,keys:null}}(t),i=new Oe(o=>{const{length:s}=n;if(!s)return void o.complete();const a=new Array(s);let l=s,u=s;for(let c=0;c{d||(d=!0,u--),a[c]=f},()=>l--,void 0,()=>{(!l||!d)&&(u||o.next(r?iP(r,a):a),o.complete())}))}});return e?i.pipe(function rP(t){return Da(e=>function nP(t,e){return tP(e)?t(...e):t(e)}(t,e))}(e)):i}let mv=(()=>{class t{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}}return t.\u0275fac=function(n){return new(n||t)(C(Qn),C(Ft))},t.\u0275dir=B({type:t}),t})(),ir=(()=>{class t extends mv{}return t.\u0275fac=function(){let e;return function(r){return(e||(e=function Re(t){return wn(()=>{const e=t.prototype.constructor,n=e[nn]||Xa(e),r=Object.prototype;let i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==r;){const o=i[nn]||Xa(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}(t)))(r||t)}}(),t.\u0275dir=B({type:t,features:[ne]}),t})();const jt=new $("NgValueAccessor"),aP={provide:jt,useExisting:ae(()=>Jc),multi:!0},uP=new $("CompositionEventMode");let Jc=(()=>{class t extends mv{constructor(n,r,i){super(n,r),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function lP(){const t=er()?er().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(n){this.setProperty("value",null==n?"":n)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}}return t.\u0275fac=function(n){return new(n||t)(C(Qn),C(Ft),C(uP,8))},t.\u0275dir=B({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(n,r){1&n&&De("input",function(o){return r._handleInput(o.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(o){return r._compositionEnd(o.target.value)})},features:[ce([aP]),ne]}),t})();const je=new $("NgValidators"),kn=new $("NgAsyncValidators");function Av(t){return null!=t}function Tv(t){return as(t)?Wd(t):t}function Iv(t){let e={};return t.forEach(n=>{e=null!=n?Object.assign(Object.assign({},e),n):e}),0===Object.keys(e).length?null:e}function Nv(t,e){return e.map(n=>n(t))}function Fv(t){return t.map(e=>function fP(t){return!t.validate}(e)?e:n=>e.validate(n))}function Xc(t){return null!=t?function Pv(t){if(!t)return null;const e=t.filter(Av);return 0==e.length?null:function(n){return Iv(Nv(n,e))}}(Fv(t)):null}function ed(t){return null!=t?function Ov(t){if(!t)return null;const e=t.filter(Av);return 0==e.length?null:function(n){return oP(Nv(n,e).map(Tv)).pipe(Da(Iv))}}(Fv(t)):null}function xv(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function td(t){return t?Array.isArray(t)?t:[t]:[]}function ra(t,e){return Array.isArray(t)?t.includes(e):t===e}function Vv(t,e){const n=td(e);return td(t).forEach(i=>{ra(n,i)||n.push(i)}),n}function Lv(t,e){return td(e).filter(n=>!ra(t,n))}class Bv{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=Xc(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=ed(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e){this.control&&this.control.reset(e)}hasError(e,n){return!!this.control&&this.control.hasError(e,n)}getError(e,n){return this.control?this.control.getError(e,n):null}}class Rn extends Bv{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Ze extends Bv{get formDirective(){return null}get path(){return null}}class jv{constructor(e){this._cd=e}get isTouched(){var e,n;return!(null===(n=null===(e=this._cd)||void 0===e?void 0:e.control)||void 0===n||!n.touched)}get isUntouched(){var e,n;return!(null===(n=null===(e=this._cd)||void 0===e?void 0:e.control)||void 0===n||!n.untouched)}get isPristine(){var e,n;return!(null===(n=null===(e=this._cd)||void 0===e?void 0:e.control)||void 0===n||!n.pristine)}get isDirty(){var e,n;return!(null===(n=null===(e=this._cd)||void 0===e?void 0:e.control)||void 0===n||!n.dirty)}get isValid(){var e,n;return!(null===(n=null===(e=this._cd)||void 0===e?void 0:e.control)||void 0===n||!n.valid)}get isInvalid(){var e,n;return!(null===(n=null===(e=this._cd)||void 0===e?void 0:e.control)||void 0===n||!n.invalid)}get isPending(){var e,n;return!(null===(n=null===(e=this._cd)||void 0===e?void 0:e.control)||void 0===n||!n.pending)}get isSubmitted(){var e;return!(null===(e=this._cd)||void 0===e||!e.submitted)}}let nd=(()=>{class t extends jv{constructor(n){super(n)}}return t.\u0275fac=function(n){return new(n||t)(C(Rn,2))},t.\u0275dir=B({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){2&n&&xi("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[ne]}),t})(),Hv=(()=>{class t extends jv{constructor(n){super(n)}}return t.\u0275fac=function(n){return new(n||t)(C(Ze,10))},t.\u0275dir=B({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,r){2&n&&xi("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},features:[ne]}),t})();const to="VALID",oa="INVALID",Xr="PENDING",no="DISABLED";function sd(t){return(sa(t)?t.validators:t)||null}function Uv(t){return Array.isArray(t)?Xc(t):t||null}function ad(t,e){return(sa(e)?e.asyncValidators:t)||null}function Gv(t){return Array.isArray(t)?ed(t):t||null}function sa(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class Wv{constructor(e,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=e,this._rawAsyncValidators=n,this._composedValidatorFn=Uv(this._rawValidators),this._composedAsyncValidatorFn=Gv(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===to}get invalid(){return this.status===oa}get pending(){return this.status==Xr}get disabled(){return this.status===no}get enabled(){return this.status!==no}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._rawValidators=e,this._composedValidatorFn=Uv(e)}setAsyncValidators(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=Gv(e)}addValidators(e){this.setValidators(Vv(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(Vv(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(Lv(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(Lv(e,this._rawAsyncValidators))}hasValidator(e){return ra(this._rawValidators,e)}hasAsyncValidator(e){return ra(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=Xr,!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){const n=this._parentMarkedDirty(e.onlySelf);this.status=no,this.errors=null,this._forEachChild(r=>{r.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:n})),this._onDisabledChange.forEach(r=>r(!0))}enable(e={}){const n=this._parentMarkedDirty(e.onlySelf);this.status=to,this._forEachChild(r=>{r.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:n})),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===to||this.status===Xr)&&this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?no:to}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=Xr,this._hasOwnPendingAsyncValidator=!0;const n=Tv(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,n={}){this.errors=e,this._updateControlsErrors(!1!==n.emitEvent)}get(e){let n=e;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((r,i)=>r&&r._find(i),this)}getError(e,n){const r=n?this.get(n):this;return r&&r.errors?r.errors[e]:null}hasError(e,n){return!!this.getError(e,n)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new Ie,this.statusChanges=new Ie}_calculateStatus(){return this._allControlsDisabled()?no:this.errors?oa:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Xr)?Xr:this._anyControlsHaveStatus(oa)?oa:to}_anyControlsHaveStatus(e){return this._anyControls(n=>n.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){sa(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(e){return null}}class ld extends Wv{constructor(e,n,r){super(sd(n),ad(r,n)),this.controls=e,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,n){return this.controls[e]?this.controls[e]:(this.controls[e]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(e,n,r={}){this.registerControl(e,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(e,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(e,n,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],n&&this.registerControl(e,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,n={}){(function qv(t,e,n){t._forEachChild((r,i)=>{if(void 0===n[i])throw new D(1002,"")})})(this,0,e),Object.keys(e).forEach(r=>{(function zv(t,e,n){const r=t.controls;if(!(e?Object.keys(r):r).length)throw new D(1e3,"");if(!r[n])throw new D(1001,"")})(this,!0,r),this.controls[r].setValue(e[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(e,n={}){null!=e&&(Object.keys(e).forEach(r=>{const i=this.controls[r];i&&i.patchValue(e[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(e={},n={}){this._forEachChild((r,i)=>{r.reset(e[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(e,n,r)=>(e[r]=n.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(n,r)=>!!r._syncPendingControls()||n);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(n=>{const r=this.controls[n];r&&e(r,n)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(const[n,r]of Object.entries(this.controls))if(this.contains(n)&&e(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(n,r,i)=>((r.enabled||this.disabled)&&(n[i]=r.value),n))}_reduceChildren(e,n){let r=e;return this._forEachChild((i,o)=>{r=n(r,i,o)}),r}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}}function ro(t,e){var n,r;ud(t,e),e.valueAccessor.writeValue(t.value),t.disabled&&(null===(r=(n=e.valueAccessor).setDisabledState)||void 0===r||r.call(n,!0)),function CP(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&Qv(t,e)})}(t,e),function EP(t,e){const n=(r,i)=>{e.valueAccessor.writeValue(r),i&&e.viewToModelUpdate(r)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}(t,e),function wP(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&Qv(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),function DP(t,e){if(e.valueAccessor.setDisabledState){const n=r=>{e.valueAccessor.setDisabledState(r)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}(t,e)}function ua(t,e){t.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(e)})}function ud(t,e){const n=function kv(t){return t._rawValidators}(t);null!==e.validator?t.setValidators(xv(n,e.validator)):"function"==typeof n&&t.setValidators([n]);const r=function Rv(t){return t._rawAsyncValidators}(t);null!==e.asyncValidator?t.setAsyncValidators(xv(r,e.asyncValidator)):"function"==typeof r&&t.setAsyncValidators([r]);const i=()=>t.updateValueAndValidity();ua(e._rawValidators,i),ua(e._rawAsyncValidators,i)}function Qv(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}const TP={provide:Ze,useExisting:ae(()=>da)},io=(()=>Promise.resolve(null))();let da=(()=>{class t extends Ze{constructor(n,r){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new Ie,this.form=new ld({},Xc(n),ed(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){io.then(()=>{const r=this._findContainer(n.path);n.control=r.registerControl(n.name,n.control),ro(n.control,n),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){io.then(()=>{const r=this._findContainer(n.path);r&&r.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){io.then(()=>{const r=this._findContainer(n.path),i=new ld({});(function Kv(t,e){ud(t,e)})(i,n),r.registerControl(n.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){io.then(()=>{const r=this._findContainer(n.path);r&&r.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,r){io.then(()=>{this.form.get(n.path).setValue(r)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submitted=!0,function Yv(t,e){t._syncPendingControls(),e.forEach(n=>{const r=n.control;"submit"===r.updateOn&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(n),!1}onReset(){this.resetForm()}resetForm(n){this.form.reset(n),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(n){return n.pop(),n.length?this.form.get(n):this.form}}return t.\u0275fac=function(n){return new(n||t)(C(je,10),C(kn,10))},t.\u0275dir=B({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,r){1&n&&De("submit",function(o){return r.onSubmit(o)})("reset",function(){return r.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ce([TP]),ne]}),t})();function Jv(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function Xv(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}const eD=class extends Wv{constructor(e=null,n,r){super(sd(n),ad(r,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),sa(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=Xv(e)?e.value:e)}setValue(e,n={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(e,n={}){this.setValue(e,n)}reset(e=this.defaultValue,n={}){this._applyFormState(e),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){Jv(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){Jv(this._onDisabledChange,e)}_forEachChild(e){}_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(e){Xv(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}},FP={provide:Rn,useExisting:ae(()=>fa)},rD=(()=>Promise.resolve(null))();let fa=(()=>{class t extends Rn{constructor(n,r,i,o,s){super(),this._changeDetectorRef=s,this.control=new eD,this._registered=!1,this.update=new Ie,this._parent=n,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=function dd(t,e){if(!e)return null;let n,r,i;return Array.isArray(e),e.forEach(o=>{o.constructor===Jc?n=o:function SP(t){return Object.getPrototypeOf(t.constructor)===ir}(o)?r=o:i=o}),i||r||n||null}(0,o)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){const r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),function cd(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)}(n,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(n){this.viewModel=n,this.update.emit(n)}_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(){ro(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(n){rD.then(()=>{var r;this.control.setValue(n,{emitViewToModelChange:!1}),null===(r=this._changeDetectorRef)||void 0===r||r.markForCheck()})}_updateDisabled(n){const r=n.isDisabled.currentValue,i=0!==r&&function oc(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}(r);rD.then(()=>{var o;i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),null===(o=this._changeDetectorRef)||void 0===o||o.markForCheck()})}_getPath(n){return this._parent?function aa(t,e){return[...e.path,t]}(n,this._parent):[n]}}return t.\u0275fac=function(n){return new(n||t)(C(Ze,9),C(je,10),C(kn,10),C(jt,10),C(ec,8))},t.\u0275dir=B({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([FP]),ne,on]}),t})(),iD=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=B({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})(),sD=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=Mt({}),t})(),tO=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=Mt({imports:[sD]}),t})(),bD=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=Mt({imports:[tO]}),t})();const MD=new $("UI_SWITCH_OPTIONS");function rO(t,e){if(1&t&&(S(0,"label",2)(1,"span",3),k(2),b(),S(3,"span",4),k(4),b()()),2&t){const n=lg();ie(1),zr("color",n.getColor("checkedTextColor")),vt("aria-label",n.checkedLabel),ie(1),us(n.checkedLabel),ie(1),zr("color",n.getColor("uncheckedTextColor")),vt("aria-label",n.uncheckedLabel),ie(1),us(n.uncheckedLabel)}}const iO=["*"],oO={provide:jt,useExisting:ae(()=>_d),multi:!0};let _d=(()=>{class t{constructor(n={},r){this.cdr=r,this.change=new Ie,this.changeEvent=new Ie,this.valueChange=new Ie,this.onTouchedCallback=i=>{},this.onChangeCallback=i=>{},this.size=n&&n.size||"medium",this.color=n&&n.color,this.switchOffColor=n&&n.switchOffColor,this.switchColor=n&&n.switchColor,this.defaultBgColor=n&&n.defaultBgColor,this.defaultBoColor=n&&n.defaultBoColor,this.checkedLabel=n&&n.checkedLabel,this.uncheckedLabel=n&&n.uncheckedLabel,this.checkedTextColor=n&&n.checkedTextColor,this.uncheckedTextColor=n&&n.uncheckedTextColor}set checked(n){this._checked=!1!==n}get checked(){return this._checked}set disabled(n){this._disabled=!1!==n}get disabled(){return this._disabled}set reverse(n){this._reverse=!1!==n}get reverse(){return this._reverse}set loading(n){this._loading=!1!==n}get loading(){return this._loading}getColor(n=""){return"borderColor"===n?this.defaultBoColor:"switchColor"===n?this.reverse?this.checked&&this.switchOffColor||this.switchColor:this.checked?this.switchColor:this.switchOffColor||this.switchColor:"checkedTextColor"===n?this.reverse?this.uncheckedTextColor:this.checkedTextColor:"uncheckedTextColor"===n?this.reverse?this.checkedTextColor:this.uncheckedTextColor:this.reverse?this.checked?this.defaultBgColor:this.color:this.checked?this.color:this.defaultBgColor}onClick(n){this.disabled||(this.checked=!this.checked,this.change.emit(this.checked),this.valueChange.emit(this.checked),this.changeEvent.emit(n),this.onChangeCallback(this.checked),this.onTouchedCallback(this.checked),this.cdr.markForCheck())}onToggle(n){this.disabled||(this.beforeChange?this._beforeChange=this.beforeChange.subscribe(r=>{r&&this.onClick(n)}):this.onClick(n))}writeValue(n){n!==this.checked&&(this.checked=!!n),this.onChangeCallback(this.checked),this.cdr&&this.cdr.markForCheck()}registerOnChange(n){this.onChangeCallback=n}registerOnTouched(n){this.onTouchedCallback=n}setDisabledState(n){this.disabled=n}ngOnDestroy(){this._beforeChange&&this._beforeChange.unsubscribe()}}return t.\u0275fac=function(n){return new(n||t)(C(MD,8),C(ec))},t.\u0275cmp=rn({type:t,selectors:[["ui-switch"]],hostBindings:function(n,r){1&n&&De("click",function(o){return r.onToggle(o)})},inputs:{size:"size",color:"color",switchOffColor:"switchOffColor",switchColor:"switchColor",defaultBgColor:"defaultBgColor",defaultBoColor:"defaultBoColor",checkedLabel:"checkedLabel",uncheckedLabel:"uncheckedLabel",checkedTextColor:"checkedTextColor",uncheckedTextColor:"uncheckedTextColor",beforeChange:"beforeChange",checked:"checked",disabled:"disabled",reverse:"reverse",loading:"loading"},outputs:{change:"change",changeEvent:"changeEvent",valueChange:"valueChange"},features:[ce([oO])],ngContentSelectors:iO,decls:4,vars:20,consts:[["type","button","role","switch",1,"switch"],["class","switch-pane",4,"ngIf"],[1,"switch-pane"],[1,"switch-label-checked"],[1,"switch-label-unchecked"]],template:function(n,r){1&n&&(function ug(t){const e=v()[16][6];if(!e.projection){const r=e.projection=mi(t?t.length:1,null),i=r.slice();let o=e.child;for(;null!==o;){const s=t?mM(o,t):0;null!==s&&(i[s]?i[s].projectionNext=o:r[s]=o,i[s]=o),o=o.next}}}(),S(0,"button",0),Ur(1,rO,5,8,"label",1),S(2,"small"),function cg(t,e=0,n){const r=v(),i=Q(),o=Pr(i,22+t,16,null,n||null);null===o.projection&&(o.projection=e),$a(),64!=(64&o.flags)&&function Sb(t,e,n){Kh(e[z],0,e,n,Bh(t,n,e),Uh(n.parent||e[6],n,e))}(i,r,o)}(3),b()()),2&n&&(zr("background-color",r.getColor())("border-color",r.getColor("borderColor")),xi("checked",r.checked)("disabled",r.disabled)("loading",r.loading)("switch-large","large"===r.size)("switch-medium","medium"===r.size)("switch-small","small"===r.size),vt("aria-checked",r.checked),ie(1),Be("ngIf",r.checkedLabel||r.uncheckedLabel),ie(1),zr("background",r.getColor("switchColor")))},dependencies:[gc],encapsulation:2}),t})(),sO=(()=>{class t{static forRoot(n){return{ngModule:t,providers:[{provide:MD,useValue:n||{}}]}}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=Mt({imports:[s_,bD,bD]}),t})();const SD=JSON.parse('{"name":"ngx-ui-switch","version":"14.0.3","description":"switch button for angular4","bugs":"https://github.com/webcat12345/ngx-ui-switch/issues","homepage":"https://github.com/webcat12345/ngx-ui-switch#readme","repository":"https://github.com/webcat12345/ngx-ui-switch.git","license":"MIT","author":"webcat12345","keywords":["angular2","angular4","ngx","ng2","uiswitch","switch","ui"],"peerDependencies":{"@angular/core":">=10.0.0","@angular/animations":">=10.0.0","@angular/common":">=10.0.0","@angular/forms":">=10.0.0","@angular/platform-browser":">=10.0.0"},"ngPackage":{"lib":{"entryFile":"public_api.ts"},"dest":"../../dist"},"exports":{"./ui-switch.component":{"sass":"./ui-switch.component.scss"}}}');let aO=(()=>{class t{constructor(){this.enable=!0,this.manualUpdate=!1}manualUpdateEvent(n){this.manualUpdate=n}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=rn({type:t,selectors:[["app-demo-cdr"]],decls:18,vars:8,consts:[[1,"col-12"],[1,"font-weight-bold"],[3,"ngModel","ngModelChange"]],template:function(n,r){1&n&&(S(0,"div",0)(1,"h4")(2,"span",1),k(3,"ngModel"),b(),k(4," with 2-way binding"),b(),S(5,"ui-switch",2),De("ngModelChange",function(o){return r.enable=o}),b(),S(6,"p"),k(7),Pu(8,"json"),b()(),S(9,"div",0)(10,"h4"),k(11," Manually updated "),S(12,"span",1),k(13,"ngModel"),b()(),S(14,"ui-switch",2),De("ngModelChange",function(o){return r.manualUpdateEvent(o)}),b(),S(15,"p"),k(16),Pu(17,"json"),b()()),2&n&&(ie(5),Be("ngModel",r.enable),ie(2),Rt("Current Value: ",Ou(8,4,r.enable),""),ie(7),Be("ngModel",r.manualUpdate),ie(2),Rt("Current Value: ",Ou(17,6,r.manualUpdate),""))},dependencies:[nd,fa,_d,i_],encapsulation:2,changeDetection:0}),t})();const lO=["demoForm"];function uO(t,e){1&t&&Z(0,"i",31)}function cO(t,e){1&t&&Z(0,"i",47)}function dO(t,e){1&t&&Z(0,"i",48)}function fO(t,e){1&t&&(S(0,"div",49),k(1,"Submitted!"),b())}let hO=(()=>{class t{constructor(){this.submitted=!1,this.enable=!0,this.enableFeature=!1,this.count=0,this.change=!1,this.valueChange=!1,this.isLoading=!1,this.fakeAsync=new Oe(n=>{this.isLoading=!0;const r=setTimeout(()=>{this.isLoading=!1,n.next(!0)},2e3);return()=>clearTimeout(r)})}onSubmit(n){this.submitted=!0}onChange(n){this.count++,this.change=n}onChangeEvent(n){console.log(n,n.toString(),JSON.stringify(n)),this.changeEvent=n}onValueChange(n){this.valueChange=n}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=rn({type:t,selectors:[["app-demo"]],viewQuery:function(n,r){if(1&n&&zm(lO,5),2&n){let i;Gm(i=function qm(){return function HA(t,e){return t[19].queries[e].queryList}(v(),gf())}())&&(r.demoForm=i.first)}},decls:125,vars:17,consts:[[1,"row","justify-content-center"],[1,"col-lg-5","col-sm-6"],["checked",""],[3,"checked"],["disabled",""],["checked","",3,"disabled"],[3,"change"],[3,"valueChange"],[3,"changeEvent"],["size","small"],["size","large"],["reverse",""],["color","blue"],["color","red"],["switchColor","red"],["switchColor","blue"],["uncheckedTextColor","red","checkedTextColor","blue","checkedLabel","ON","uncheckedLabel","OFF"],[1,"col-lg-5","col-sm-6","border-left","pl-5"],[1,"font-weight-bold"],[1,"row"],[1,"col-12"],[3,"ngModel","ngModelChange"],[1,"row","custom-switches"],["uncheckedLabel","off","checkedLabel","on","size","small"],["uncheckedLabel","off","checkedLabel","on"],["uncheckedLabel","off","checkedLabel","on","size","large"],["checkedLabel","Super Long Label","uncheckedLabel","Super Long Label","size","small"],["checkedLabel","Super Long Label","uncheckedLabel","Super Long Label"],["checkedLabel","Super Long Label","uncheckedLabel","Super Long Label","size","large"],["reverse","","uncheckedLabel","off","checkedLabel","on","uncheckedTextColor","orange","checkedTextColor","red"],[1,"custom-icons"],[1,"fa","fa-check"],[1,"fa","fa-check","fa-2x"],[3,"loading","beforeChange","ngModel","ngModelChange"],["class","fa fa-check",4,"ngIf"],["class","fa fa-times",4,"ngIf"],["class","fa fa-spinner fa-pulse",4,"ngIf"],[1,"form-row",3,"ngSubmit"],["demoForm","ngForm"],[1,"col"],["for","feature-name"],["type","text","id","feature-name",1,"form-control"],["for","enable-feature"],["id","enable-feature","name","enableFeature",1,"custom-control",3,"ngModel","ngModelChange"],["class","col-12 alert alert-info","role","alert",4,"ngIf"],[1,"col-12","mt-4"],["type","submit",1,"btn","btn-primary"],[1,"fa","fa-times"],[1,"fa","fa-spinner","fa-pulse"],["role","alert",1,"col-12","alert","alert-info"]],template:function(n,r){1&n&&(S(0,"div",0)(1,"div",1)(2,"h2"),k(3,"Basic Usage"),b(),S(4,"h4"),k(5,"checked"),b(),S(6,"p"),Z(7,"ui-switch",2)(8,"ui-switch",3),b(),S(9,"h4"),k(10,"Disabled"),b(),S(11,"p"),Z(12,"ui-switch",4)(13,"ui-switch",5),b(),S(14,"h4"),k(15,"Change"),b(),S(16,"ui-switch",6),De("change",function(o){return r.onChange(o)}),b(),S(17,"p"),k(18),b(),S(19,"p"),k(20),b(),S(21,"h4"),k(22,"Value Change"),b(),S(23,"ui-switch",7),De("valueChange",function(o){return r.onValueChange(o)}),b(),S(24,"p"),k(25),b(),S(26,"h4"),k(27,"Change Event"),b(),S(28,"ui-switch",8),De("changeEvent",function(o){return r.onChangeEvent(o)}),b(),S(29,"p"),k(30),b(),S(31,"h4"),k(32,"Size"),b(),S(33,"p"),Z(34,"ui-switch",9)(35,"ui-switch")(36,"ui-switch",10),b(),S(37,"h4"),k(38,"reverse"),b(),S(39,"p"),Z(40,"ui-switch",11),b(),S(41,"h4"),k(42,"color"),b(),Z(43,"ui-switch")(44,"ui-switch",12)(45,"ui-switch",13),S(46,"h4"),k(47,"switchColor"),b(),S(48,"p"),Z(49,"ui-switch",14)(50,"ui-switch",15),b(),S(51,"h4"),k(52,"textColor"),b(),S(53,"p"),Z(54,"ui-switch",16),b()(),S(55,"div",17)(56,"h2")(57,"span",18),k(58,"ngModel"),b(),k(59," Usage "),b(),S(60,"div",19)(61,"div",20)(62,"h4"),k(63,"two way binding"),b(),S(64,"ui-switch",21),De("ngModelChange",function(o){return r.enable=o}),b(),S(65,"p"),k(66),b()(),Z(67,"app-demo-cdr"),b(),Z(68,"hr"),S(69,"div",22)(70,"div",20)(71,"h2"),k(72,"Custom CSS"),b(),S(73,"p"),Z(74,"ui-switch",2)(75,"ui-switch",3),b()()(),Z(76,"hr"),S(77,"div",19)(78,"div",20)(79,"h2"),k(80,"Custom labels"),b(),S(81,"p"),Z(82,"ui-switch",23)(83,"ui-switch",24)(84,"ui-switch",25),b(),S(85,"p"),Z(86,"ui-switch",26)(87,"ui-switch",27)(88,"ui-switch",28),b(),S(89,"p"),Z(90,"ui-switch",29),b()()(),Z(91,"hr"),S(92,"div",19)(93,"div",20)(94,"h2"),k(95,"Custom Switch Content"),b(),S(96,"p",30)(97,"ui-switch",23),Z(98,"i",31),b(),S(99,"ui-switch",24),Z(100,"i",31),b(),S(101,"ui-switch",25),Z(102,"i",32),b()(),S(103,"h4"),k(104," Before Change handling + Loading Icon Example "),b(),S(105,"p")(106,"ui-switch",33),De("ngModelChange",function(o){return r.enable=o}),Ur(107,uO,1,0,"i",34),Ur(108,cO,1,0,"i",35),Ur(109,dO,1,0,"i",36),b()()()()()(),Z(110,"hr"),S(111,"form",37,38),De("ngSubmit",function(o){return r.onSubmit(o)}),S(113,"div",39)(114,"label",40),k(115,"Name"),b(),Z(116,"input",41),b(),S(117,"div",39)(118,"label",42),k(119,"Enable Feature"),b(),S(120,"ui-switch",43),De("ngModelChange",function(o){return r.enableFeature=o}),b()(),Ur(121,fO,2,0,"div",44),S(122,"div",45)(123,"button",46),k(124,"Submit"),b()()()),2&n&&(ie(8),Be("checked",!1),ie(5),Be("disabled",!0),ie(5),Rt("change count ",r.count,""),ie(2),Rt("value ",r.change,""),ie(5),Rt("value ",r.valueChange,""),ie(5),Rt("event ",r.changeEvent,""),ie(34),Be("ngModel",r.enable),ie(2),Rt("Current Value: ",r.enable,""),ie(9),Be("checked",!1),ie(31),Be("loading",r.isLoading)("beforeChange",r.fakeAsync)("ngModel",r.enable),ie(1),Be("ngIf",r.enable&&!r.isLoading),ie(1),Be("ngIf",!r.enable&&!r.isLoading),ie(1),Be("ngIf",r.isLoading),ie(11),Be("ngModel",r.enableFeature),ie(1),Be("ngIf",r.submitted))},dependencies:[gc,iD,nd,Hv,fa,da,_d,aO],encapsulation:2}),t})(),pO=(()=>{class t{constructor(){this.version=Ch.full}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=rn({type:t,selectors:[["app-footer"]],decls:10,vars:1,consts:[[1,"footer","mb-4","mt-2"],["href","https://github.com/webcat12345/ngx-ui-switch/blob/master/LICENSE"],["href","https://github.com/webcat12345/ngx-ui-switch"]],template:function(n,r){1&n&&(S(0,"footer",0),k(1),Z(2,"br"),k(3," Released under the "),S(4,"a",1),k(5,"MIT"),b(),k(6," license. "),S(7,"a",2),k(8,"View source"),b(),k(9,". "),b()),2&n&&(ie(1),Rt(" Demo using Angular ",r.version," "))},styles:[".footer[_ngcontent-%COMP%]{line-height:2;text-align:center;font-size:12px;color:#999}"]}),t})(),gO=(()=>{class t{constructor(){}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=rn({type:t,selectors:[["app-header"]],decls:18,vars:0,consts:[["href","https://github.com/webcat12345/ngx-ui-switch",1,"hidden-xs"],["src","https://camo.githubusercontent.com/38ef81f8aca64bb9a64448d0d70f1308ef5341ab/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67","alt","Fork me on GitHub","data-canonical-src","https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png",2,"position","absolute","top","0","right","0","border","0","z-index","2001"],[1,"navbar","navbar-expand-md","navbar-dark","bg-dark","fixed-top"],["type","button","data-toggle","collapse","data-target","#navbar","aria-controls","navbar","aria-expanded","false","aria-label","Toggle navigation",1,"navbar-toggler","navbar-toggler-right"],[1,"navbar-toggler-icon"],["href","#",1,"navbar-brand"],["id","navbar",1,"collapse","navbar-collapse"],[1,"navbar-nav","mr-auto"],[1,"nav-item"],["href","#demo",1,"nav-link"],["href","https://github.com/webcat12345/ngx-ui-switch#installation",1,"nav-link"],["href","https://webcat12345.github.io/ngx-ui-switch/docs/",1,"nav-link"]],template:function(n,r){1&n&&(S(0,"a",0),Z(1,"img",1),b(),S(2,"nav",2)(3,"button",3),Z(4,"span",4),b(),S(5,"a",5),k(6,"ngx ui switch"),b(),S(7,"div",6)(8,"ul",7)(9,"li",8)(10,"a",9),k(11,"Demo"),b()(),S(12,"li",8)(13,"a",10),k(14,"Installation"),b()(),S(15,"li",8)(16,"a",11),k(17,"Documentation"),b()()()()())},encapsulation:2}),t})(),mO=(()=>{class t{constructor(){this.username="webcat12345",this.repo="ngx-ui-switch"}href(n,r){return`https://github.com/${n}/${r}`}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=rn({type:t,selectors:[["app-github-link"]],inputs:{username:"username",repo:"repo"},decls:6,vars:1,consts:[[1,"githubLink",3,"href"],["fill","#181717","height","32","aria-labelledby","title","role","img","viewBox","0 0 24 24","xmlns","http://www.w3.org/2000/svg","fill-rule","evenodd","clip-rule","evenodd","stroke-linejoin","round","stroke-miterlimit","1.414"],["d","M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"]],template:function(n,r){1&n&&(S(0,"div")(1,"a",0),function Cf(){V.lFrame.currentNamespace="svg"}(),S(2,"svg",1)(3,"title"),k(4,"GitHub icon"),b(),Z(5,"path",2),b()()()),2&n&&(ie(1),Be("href",r.href(r.username,r.repo),gl))},styles:[".githubLink[_ngcontent-%COMP%]{text-decoration:none}div[_ngcontent-%COMP%]{text-align:center}"]}),t})(),yO=(()=>{class t{constructor(n){this.t=n;const r=[this.t.getTitle()];SD&&r.push(`${SD.version} Demo`),n.setTitle(r.join(" "))}}return t.\u0275fac=function(n){return new(n||t)(C(M_))},t.\u0275cmp=rn({type:t,selectors:[["app-root"]],decls:6,vars:0,consts:[[1,"container","mt-3"],[1,"mt-5"]],template:function(n,r){1&n&&(Z(0,"app-header"),S(1,"div",0),Z(2,"app-demo"),b(),S(3,"div",1),Z(4,"app-github-link")(5,"app-footer"),b())},dependencies:[hO,pO,gO,mO],styles:["[_nghost-%COMP%]{width:80%;display:block;margin:0 auto;height:600px}"]}),t})(),_O=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=$t({type:t,bootstrap:[yO]}),t.\u0275inj=Mt({imports:[b_,QF,sO]}),t})();(function IT(){Oy=!1})(),BN().bootstrapModule(_O)}},fe=>{fe(fe.s=415)}]); \ No newline at end of file +"use strict";(self.webpackChunkngx_ui_switch=self.webpackChunkngx_ui_switch||[]).push([[179],{415:()=>{function fe(t){return"function"==typeof t}function oo(t){const n=t(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const so=oo(t=>function(n){t(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,i)=>`${i+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function ti(t,e){if(t){const n=t.indexOf(e);0<=n&&t.splice(n,1)}}class Ht{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const o of n)o.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(fe(r))try{r()}catch(o){e=o instanceof so?o.errors:[o]}const{_finalizers:i}=this;if(i){this._finalizers=null;for(const o of i)try{wd(o)}catch(s){e=null!=e?e:[],s instanceof so?e=[...e,...s.errors]:e.push(s)}}if(e)throw new so(e)}}add(e){var n;if(e&&e!==this)if(this.closed)wd(e);else{if(e instanceof Ht){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(e)}}_hasParent(e){const{_parentage:n}=this;return n===e||Array.isArray(n)&&n.includes(e)}_addParent(e){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(e),n):n?[n,e]:e}_removeParent(e){const{_parentage:n}=this;n===e?this._parentage=null:Array.isArray(n)&&ti(n,e)}remove(e){const{_finalizers:n}=this;n&&ti(n,e),e instanceof Ht&&e._removeParent(this)}}Ht.EMPTY=(()=>{const t=new Ht;return t.closed=!0,t})();const Dd=Ht.EMPTY;function Cd(t){return t instanceof Ht||t&&"closed"in t&&fe(t.remove)&&fe(t.add)&&fe(t.unsubscribe)}function wd(t){fe(t)?t():t.unsubscribe()}const Bn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ao={setTimeout(t,e,...n){const{delegate:r}=ao;return null!=r&&r.setTimeout?r.setTimeout(t,e,...n):setTimeout(t,e,...n)},clearTimeout(t){const{delegate:e}=ao;return((null==e?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0};function Ed(t){ao.setTimeout(()=>{const{onUnhandledError:e}=Bn;if(!e)throw t;e(t)})}function bd(){}const TD=pa("C",void 0,void 0);function pa(t,e,n){return{kind:t,value:e,error:n}}let jn=null;function lo(t){if(Bn.useDeprecatedSynchronousErrorHandling){const e=!jn;if(e&&(jn={errorThrown:!1,error:null}),t(),e){const{errorThrown:n,error:r}=jn;if(jn=null,n)throw r}}else t()}class ga extends Ht{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Cd(e)&&e.add(this)):this.destination=kD}static create(e,n,r){return new ni(e,n,r)}next(e){this.isStopped?ya(function ND(t){return pa("N",t,void 0)}(e),this):this._next(e)}error(e){this.isStopped?ya(function ID(t){return pa("E",void 0,t)}(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?ya(TD,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const PD=Function.prototype.bind;function ma(t,e){return PD.call(t,e)}class OD{constructor(e){this.partialObserver=e}next(e){const{partialObserver:n}=this;if(n.next)try{n.next(e)}catch(r){uo(r)}}error(e){const{partialObserver:n}=this;if(n.error)try{n.error(e)}catch(r){uo(r)}else uo(e)}complete(){const{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(n){uo(n)}}}class ni extends ga{constructor(e,n,r){let i;if(super(),fe(e)||!e)i={next:null!=e?e:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0};else{let o;this&&Bn.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),i={next:e.next&&ma(e.next,o),error:e.error&&ma(e.error,o),complete:e.complete&&ma(e.complete,o)}):i=e}this.destination=new OD(i)}}function uo(t){Bn.useDeprecatedSynchronousErrorHandling?function FD(t){Bn.useDeprecatedSynchronousErrorHandling&&jn&&(jn.errorThrown=!0,jn.error=t)}(t):Ed(t)}function ya(t,e){const{onStoppedNotification:n}=Bn;n&&ao.setTimeout(()=>n(t,e))}const kD={closed:!0,next:bd,error:function xD(t){throw t},complete:bd},_a="function"==typeof Symbol&&Symbol.observable||"@@observable";function Md(t){return t}let xe=(()=>{class t{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new t;return r.source=this,r.operator=n,r}subscribe(n,r,i){const o=function VD(t){return t&&t instanceof ga||function RD(t){return t&&fe(t.next)&&fe(t.error)&&fe(t.complete)}(t)&&Cd(t)}(n)?n:new ni(n,r,i);return lo(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=Ad(r))((i,o)=>{const s=new ni({next:a=>{try{n(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[_a](){return this}pipe(...n){return function Sd(t){return 0===t.length?Md:1===t.length?t[0]:function(n){return t.reduce((r,i)=>i(r),n)}}(n)(this)}toPromise(n){return new(n=Ad(n))((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return t.create=e=>new t(e),t})();function Ad(t){var e;return null!==(e=null!=t?t:Bn.Promise)&&void 0!==e?e:Promise}const LD=oo(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let va=(()=>{class t extends xe{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new Td(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new LD}next(n){lo(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){lo(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){lo(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:i,observers:o}=this;return r||i?Dd:(this.currentObservers=null,o.push(n),new Ht(()=>{this.currentObservers=null,ti(o,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:i,isStopped:o}=this;r?n.error(i):o&&n.complete()}asObservable(){const n=new xe;return n.source=this,n}}return t.create=(e,n)=>new Td(e,n),t})();class Td extends va{constructor(e,n){super(),this.destination=e,this.source=n}next(e){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,e)}error(e){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,e)}complete(){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===n||n.call(e)}_subscribe(e){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(e))&&void 0!==r?r:Dd}}function ri(t){return e=>{if(function BD(t){return fe(null==t?void 0:t.lift)}(e))return e.lift(function(n){try{return t(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function ii(t,e,n,r,i){return new jD(t,e,n,r,i)}class jD extends ga{constructor(e,n,r,i,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(l){e.error(l)}}:super._next,this._error=i?function(a){try{i(a)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(e=this.onFinalize)||void 0===e||e.call(this))}}}function Da(t,e){return ri((n,r)=>{let i=0;n.subscribe(ii(r,o=>{r.next(t.call(e,o,i++))}))})}function Hn(t){return this instanceof Hn?(this.v=t,this):new Hn(t)}function UD(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=n.apply(t,e||[]),o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(f){r[f]&&(i[f]=function(h){return new Promise(function(p,g){o.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function l(f){f.value instanceof Hn?Promise.resolve(f.value.v).then(u,c):d(o[0][2],f)}(r[f](h))}catch(p){d(o[0][3],p)}}function u(f){a("next",f)}function c(f){a("throw",f)}function d(f,h){f(h),o.shift(),o.length&&a(o[0][0],o[0][1])}}function GD(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,e=t[Symbol.asyncIterator];return e?e.call(t):(t=function Fd(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(o){n[o]=t[o]&&function(s){return new Promise(function(a,l){!function i(o,s,a,l){Promise.resolve(l).then(function(u){o({value:u,done:a})},s)}(a,l,(s=t[o](s)).done,s.value)})}}}const Pd=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function Od(t){return fe(null==t?void 0:t.then)}function xd(t){return fe(t[_a])}function kd(t){return Symbol.asyncIterator&&fe(null==t?void 0:t[Symbol.asyncIterator])}function Rd(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 Vd=function qD(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Ld(t){return fe(null==t?void 0:t[Vd])}function Bd(t){return UD(this,arguments,function*(){const n=t.getReader();try{for(;;){const{value:r,done:i}=yield Hn(n.read());if(i)return yield Hn(void 0);yield yield Hn(r)}}finally{n.releaseLock()}})}function jd(t){return fe(null==t?void 0:t.getReader)}function Dn(t){if(t instanceof xe)return t;if(null!=t){if(xd(t))return function WD(t){return new xe(e=>{const n=t[_a]();if(fe(n.subscribe))return n.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(t);if(Pd(t))return function QD(t){return new xe(e=>{for(let n=0;n{t.then(n=>{e.closed||(e.next(n),e.complete())},n=>e.error(n)).then(null,Ed)})}(t);if(kd(t))return Hd(t);if(Ld(t))return function ZD(t){return new xe(e=>{for(const n of t)if(e.next(n),e.closed)return;e.complete()})}(t);if(jd(t))return function YD(t){return Hd(Bd(t))}(t)}throw Rd(t)}function Hd(t){return new xe(e=>{(function JD(t,e){var n,r,i,o;return function HD(t,e,n,r){return new(n||(n=Promise))(function(o,s){function a(c){try{u(r.next(c))}catch(d){s(d)}}function l(c){try{u(r.throw(c))}catch(d){s(d)}}function u(c){c.done?o(c.value):function i(o){return o instanceof n?o:new n(function(s){s(o)})}(c.value).then(a,l)}u((r=r.apply(t,e||[])).next())})}(this,void 0,void 0,function*(){try{for(n=GD(t);!(r=yield n.next()).done;)if(e.next(r.value),e.closed)return}catch(s){i={error:s}}finally{try{r&&!r.done&&(o=n.return)&&(yield o.call(n))}finally{if(i)throw i.error}}e.complete()})})(t,e).catch(n=>e.error(n))})}function Cn(t,e,n,r=0,i=!1){const o=e.schedule(function(){n(),i?t.add(this.schedule(null,r)):this.unsubscribe()},r);if(t.add(o),!i)return o}function $d(t,e,n=1/0){return fe(e)?$d((r,i)=>Da((o,s)=>e(r,o,i,s))(Dn(t(r,i))),n):("number"==typeof e&&(n=e),ri((r,i)=>function XD(t,e,n,r,i,o,s,a){const l=[];let u=0,c=0,d=!1;const f=()=>{d&&!l.length&&!u&&e.complete()},h=g=>u{o&&e.next(g),u++;let y=!1;Dn(n(g,c++)).subscribe(ii(e,_=>{null==i||i(_),o?h(_):e.next(_)},()=>{y=!0},void 0,()=>{if(y)try{for(u--;l.length&&up(_)):p(_)}f()}catch(_){e.error(_)}}))};return t.subscribe(ii(e,h,()=>{d=!0,f()})),()=>{null==a||a()}}(r,i,t,n)))}const Ud=new xe(t=>t.complete());function wa(t){return t[t.length-1]}function Gd(t,e=0){return ri((n,r)=>{n.subscribe(ii(r,i=>Cn(r,t,()=>r.next(i),e),()=>Cn(r,t,()=>r.complete(),e),i=>Cn(r,t,()=>r.error(i),e)))})}function zd(t,e=0){return ri((n,r)=>{r.add(t.schedule(()=>n.subscribe(r),e))})}function qd(t,e){if(!t)throw new Error("Iterable cannot be null");return new xe(n=>{Cn(n,e,()=>{const r=t[Symbol.asyncIterator]();Cn(n,e,()=>{r.next().then(i=>{i.done?n.complete():n.next(i.value)})},0,!0)})})}function Wd(t,e){return e?function dC(t,e){if(null!=t){if(xd(t))return function sC(t,e){return Dn(t).pipe(zd(e),Gd(e))}(t,e);if(Pd(t))return function lC(t,e){return new xe(n=>{let r=0;return e.schedule(function(){r===t.length?n.complete():(n.next(t[r++]),n.closed||this.schedule())})})}(t,e);if(Od(t))return function aC(t,e){return Dn(t).pipe(zd(e),Gd(e))}(t,e);if(kd(t))return qd(t,e);if(Ld(t))return function uC(t,e){return new xe(n=>{let r;return Cn(n,e,()=>{r=t[Vd](),Cn(n,e,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(s){return void n.error(s)}o?n.complete():n.next(i)},0,!0)}),()=>fe(null==r?void 0:r.return)&&r.return()})}(t,e);if(jd(t))return function cC(t,e){return qd(Bd(t),e)}(t,e)}throw Rd(t)}(t,e):Dn(t)}function fC(...t){const e=function iC(t){return function nC(t){return t&&fe(t.schedule)}(wa(t))?t.pop():void 0}(t),n=function oC(t,e){return"number"==typeof wa(t)?t.pop():e}(t,1/0),r=t;return r.length?1===r.length?Dn(r[0]):function eC(t=1/0){return $d(Md,t)}(n)(Wd(r,e)):Ud}function Ea(t,e,...n){if(!0===e)return void t();if(!1===e)return;const r=new ni({next:()=>{r.unsubscribe(),t()}});return e(...n).subscribe(r)}function oe(t){for(let e in t)if(t[e]===oe)return e;throw Error("Could not find renamed property on target object.")}function ba(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function se(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(se).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function Ma(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const pC=oe({__forward_ref__:oe});function ae(t){return t.__forward_ref__=ae,t.toString=function(){return se(this())},t}function x(t){return Sa(t)?t():t}function Sa(t){return"function"==typeof t&&t.hasOwnProperty(pC)&&t.__forward_ref__===ae}class D extends Error{constructor(e,n){super(function co(t,e){return`NG0${Math.abs(t)}${e?": "+e.trim():""}`}(e,n)),this.code=e}}function L(t){return"string"==typeof t?t:null==t?"":String(t)}function fo(t,e){throw new D(-201,!1)}function rt(t,e){null==t&&function X(t,e,n,r){throw new Error(`ASSERTION ERROR: ${t}`+(null==r?"":` [Expected=> ${n} ${r} ${e} <=Actual]`))}(e,t,null,"!=")}function ee(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Mt(t){return{providers:t.providers||[],imports:t.imports||[]}}function Aa(t){return Qd(t,ho)||Qd(t,Zd)}function Qd(t,e){return t.hasOwnProperty(e)?t[e]:null}function Kd(t){return t&&(t.hasOwnProperty(Ta)||t.hasOwnProperty(wC))?t[Ta]:null}const ho=oe({\u0275prov:oe}),Ta=oe({\u0275inj:oe}),Zd=oe({ngInjectableDef:oe}),wC=oe({ngInjectorDef:oe});var R=(()=>((R=R||{})[R.Default=0]="Default",R[R.Host=1]="Host",R[R.Self=2]="Self",R[R.SkipSelf=4]="SkipSelf",R[R.Optional=8]="Optional",R))();let Ia;function pt(t){const e=Ia;return Ia=t,e}function Yd(t,e,n){const r=Aa(t);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&R.Optional?null:void 0!==e?e:void fo(se(t))}function wn(t){return{toString:t}.toString()}var St=(()=>((St=St||{})[St.OnPush=0]="OnPush",St[St.Default=1]="Default",St))(),At=(()=>{return(t=At||(At={}))[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",At;var t})();const ie=(()=>"undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof global&&global||"undefined"!=typeof window&&window||"undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self)(),ar={},J=[],po=oe({\u0275cmp:oe}),Na=oe({\u0275dir:oe}),Fa=oe({\u0275pipe:oe}),Jd=oe({\u0275mod:oe}),nn=oe({\u0275fac:oe}),oi=oe({__NG_ELEMENT_ID__:oe});let bC=0;function rn(t){return wn(()=>{const n=!0===t.standalone,r={},i={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===St.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&t.dependencies||null,getStandaloneInjector:null,selectors:t.selectors||J,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||At.Emulated,id:"c"+bC++,styles:t.styles||J,_:null,setInput:null,schemas:t.schemas||null,tView:null},o=t.dependencies,s=t.features;return i.inputs=tf(t.inputs,r),i.outputs=tf(t.outputs),s&&s.forEach(a=>a(i)),i.directiveDefs=o?()=>("function"==typeof o?o():o).map(Xd).filter(ef):null,i.pipeDefs=o?()=>("function"==typeof o?o():o).map(Ge).filter(ef):null,i})}function Xd(t){return ne(t)||Ue(t)}function ef(t){return null!==t}function $t(t){return wn(()=>({type:t.type,bootstrap:t.bootstrap||J,declarations:t.declarations||J,imports:t.imports||J,exports:t.exports||J,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function tf(t,e){if(null==t)return ar;const n={};for(const r in t)if(t.hasOwnProperty(r)){let i=t[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,e&&(e[i]=o)}return n}const B=rn;function Je(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 ne(t){return t[po]||null}function Ue(t){return t[Na]||null}function Ge(t){return t[Fa]||null}const z=11;function Xe(t){return Array.isArray(t)&&"object"==typeof t[1]}function It(t){return Array.isArray(t)&&!0===t[1]}function xa(t){return 0!=(8&t.flags)}function _o(t){return 2==(2&t.flags)}function vo(t){return 1==(1&t.flags)}function Nt(t){return null!==t.template}function NC(t){return 0!=(256&t[2])}function qn(t,e){return t.hasOwnProperty(nn)?t[nn]:null}class OC{constructor(e,n,r){this.previousValue=e,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function on(){return of}function of(t){return t.type.prototype.ngOnChanges&&(t.setInput=kC),xC}function xC(){const t=af(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===ar)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function kC(t,e,n,r){const i=af(t)||function RC(t,e){return t[sf]=e}(t,{previous:ar,current:null}),o=i.current||(i.current={}),s=i.previous,a=this.declaredInputs[n],l=s[a];o[a]=new OC(l&&l.currentValue,e,s===ar),t[r]=e}on.ngInherit=!0;const sf="__ngSimpleChanges__";function af(t){return t[sf]||null}function we(t){for(;Array.isArray(t);)t=t[0];return t}function Do(t,e){return we(e[t])}function yt(t,e){return we(e[t.index])}function Ba(t,e){return t.data[e]}function st(t,e){const n=e[t];return Xe(n)?n:n[0]}function lf(t){return 4==(4&t[2])}function Co(t){return 64==(64&t[2])}function En(t,e){return null==e?null:t[e]}function uf(t){t[18]=0}function ja(t,e){t[5]+=e;let n=t,r=t[3];for(;null!==r&&(1===e&&1===n[5]||-1===e&&0===n[5]);)r[5]+=e,n=r,r=r[3]}const V={lFrame:_f(null),bindingsEnabled:!0};function df(){return V.bindingsEnabled}function v(){return V.lFrame.lView}function Q(){return V.lFrame.tView}function Se(){let t=ff();for(;null!==t&&64===t.type;)t=t.parent;return t}function ff(){return V.lFrame.currentTNode}function Ut(t,e){const n=V.lFrame;n.currentTNode=t,n.isParent=e}function Ha(){return V.lFrame.isParent}function $a(){V.lFrame.isParent=!1}function hr(){return V.lFrame.bindingIndex++}function JC(t,e){const n=V.lFrame;n.bindingIndex=n.bindingRootIndex=t,Ua(e)}function Ua(t){V.lFrame.currentDirectiveIndex=t}function gf(){return V.lFrame.currentQueryIndex}function za(t){V.lFrame.currentQueryIndex=t}function ew(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function mf(t,e,n){if(n&R.SkipSelf){let i=e,o=t;for(;!(i=i.parent,null!==i||n&R.Host||(i=ew(o),null===i||(o=o[15],10&i.type))););if(null===i)return!1;e=i,t=o}const r=V.lFrame=yf();return r.currentTNode=e,r.lView=t,!0}function qa(t){const e=yf(),n=t[1];V.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function yf(){const t=V.lFrame,e=null===t?null:t.child;return null===e?_f(t):e}function _f(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function vf(){const t=V.lFrame;return V.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const Df=vf;function Wa(){const t=vf();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 qe(){return V.lFrame.selectedIndex}function bn(t){V.lFrame.selectedIndex=t}function me(){const t=V.lFrame;return Ba(t.tView,t.selectedIndex)}function Eo(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n=r)break}else e[l]<0&&(t[18]+=65536),(a>11>16&&(3&t[2])===e){t[2]+=2048;try{o.call(a)}finally{}}}else try{o.call(a)}finally{}}class ci{constructor(e,n,r){this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function So(t,e,n){let r=0;for(;re){s=o-1;break}}}for(;o>16}(t),r=e;for(;n>0;)r=r[15],n--;return r}let Za=!0;function To(t){const e=Za;return Za=t,e}let pw=0;const Gt={};function fi(t,e){const n=Ja(t,e);if(-1!==n)return n;const r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,Ya(r.data,t),Ya(e,null),Ya(r.blueprint,null));const i=Io(t,e),o=t.injectorIndex;if(Sf(i)){const s=pr(i),a=gr(i,e),l=a[1].data;for(let u=0;u<8;u++)e[o+u]=a[s+u]|l[s+u]}return e[o+8]=i,o}function Ya(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Ja(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Io(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,r=null,i=e;for(;null!==i;){if(r=kf(i),null===r)return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function No(t,e,n){!function gw(t,e,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(oi)&&(r=n[oi]),null==r&&(r=n[oi]=pw++);const i=255&r;e.data[t+(i>>5)]|=1<=0?255&e:vw:e}(n);if("function"==typeof o){if(!mf(e,t,r))return r&R.Host?If(i,0,r):Nf(e,n,r,i);try{const s=o(r);if(null!=s||r&R.Optional)return s;fo()}finally{Df()}}else if("number"==typeof o){let s=null,a=Ja(t,e),l=-1,u=r&R.Host?e[16][6]:null;for((-1===a||r&R.SkipSelf)&&(l=-1===a?Io(t,e):e[a+8],-1!==l&&xf(r,!1)?(s=e[1],a=pr(l),e=gr(l,e)):a=-1);-1!==a;){const c=e[1];if(Of(o,a,c.data)){const d=yw(a,e,n,s,r,u);if(d!==Gt)return d}l=e[a+8],-1!==l&&xf(r,e[1].data[a+8]===u)&&Of(o,a,e)?(s=c,a=pr(l),e=gr(l,e)):a=-1}}return i}function yw(t,e,n,r,i,o){const s=e[1],a=s.data[t+8],c=Fo(a,s,n,null==r?_o(a)&&Za:r!=s&&0!=(3&a.type),i&R.Host&&o===a);return null!==c?hi(e,s,c,a):Gt}function Fo(t,e,n,r,i){const o=t.providerIndexes,s=e.data,a=1048575&o,l=t.directiveStart,c=o>>20,f=i?a+c:t.directiveEnd;for(let h=r?a:a+c;h=l&&p.type===n)return h}if(i){const h=s[l];if(h&&Nt(h)&&h.type===n)return l}return null}function hi(t,e,n,r){let i=t[n];const o=e.data;if(function uw(t){return t instanceof ci}(i)){const s=i;s.resolving&&function gC(t,e){const n=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new D(-200,`Circular dependency in DI detected for ${t}${n}`)}(function Y(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():L(t)}(o[n]));const a=To(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?pt(s.injectImpl):null;mf(t,r,R.Default);try{i=t[n]=s.factory(void 0,o,t,r),e.firstCreatePass&&n>=r.directiveStart&&function aw(t,e,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(r){const s=of(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,i),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,o))}(n,o[n],e)}finally{null!==l&&pt(l),To(a),s.resolving=!1,Df()}}return i}function Of(t,e,n){return!!(n[e+(t>>5)]&1<{const e=Xa(x(t));return e&&e()}:qn(t)}function kf(t){const e=t[1],n=e.type;return 2===n?e.declTNode:1===n?t[6]:null}class ${constructor(e,n){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=ee({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function at(t,e){void 0===e&&(e=t);for(let n=0;nArray.isArray(n)?ln(n,e):e(n))}function Vf(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Po(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function mi(t,e){const n=[];for(let r=0;r=0?t[1|r]=n:(r=~r,function bw(t,e,n,r){let i=t.length;if(i==e)t.push(n,r);else if(1===i)t.push(r,t[0]),t[0]=n;else{for(i--,t.push(t[i-1],t[i]);i>e;)t[i]=t[i-2],i--;t[e]=n,t[e+1]=r}}(t,r,e,n)),r}function rl(t,e){const n=Cr(t,e);if(n>=0)return t[1|n]}function Cr(t,e){return function jf(t,e,n){let r=0,i=t.length>>n;for(;i!==r;){const o=r+(i-r>>1),s=t[o<e?i=o:r=o+1}return~(i<((Ee=Ee||{})[Ee.NONE=0]="NONE",Ee[Ee.HTML=1]="HTML",Ee[Ee.STYLE=2]="STYLE",Ee[Ee.SCRIPT=3]="SCRIPT",Ee[Ee.URL=4]="URL",Ee[Ee.RESOURCE_URL=5]="RESOURCE_URL",Ee))();function gl(t){const e=function bi(){const t=v();return t&&t[12]}();return e?e.sanitize(Ee.URL,t)||"":function wi(t,e){const n=function nE(t){return t instanceof eh&&t.getTypeName()||null}(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===e}(t,"URL")?Sn(t):function Ho(t){return(t=String(t)).match(sE)||t.match(aE)?t:"unsafe:"+t}(L(t))}const uh=new $("ENVIRONMENT_INITIALIZER"),ch=new $("INJECTOR",-1),dh=new $("INJECTOR_DEF_TYPES");class fh{get(e,n=yi){if(n===yi){const r=new Error(`NullInjectorError: No provider for ${se(e)}!`);throw r.name="NullInjectorError",r}return n}}function CE(...t){return{\u0275providers:hh(0,t)}}function hh(t,...e){const n=[],r=new Set;let i;return ln(e,o=>{const s=o;ml(s,n,[],r)&&(i||(i=[]),i.push(s))}),void 0!==i&&ph(i,n),n}function ph(t,e){for(let n=0;n{e.push(o)})}}function ml(t,e,n,r){if(!(t=x(t)))return!1;let i=null,o=Kd(t);const s=!o&&ne(t);if(o||s){if(s&&!s.standalone)return!1;i=t}else{const l=t.ngModule;if(o=Kd(l),!o)return!1;i=l}const a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const u of l)ml(u,e,n,r)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let u;r.add(i);try{ln(o.imports,c=>{ml(c,e,n,r)&&(u||(u=[]),u.push(c))})}finally{}void 0!==u&&ph(u,e)}if(!a){const u=qn(i)||(()=>new i);e.push({provide:i,useFactory:u,deps:J},{provide:dh,useValue:i,multi:!0},{provide:uh,useValue:()=>U(i),multi:!0})}const l=o.providers;null==l||a||ln(l,c=>{e.push(c)})}}return i!==t&&void 0!==t.providers}const wE=oe({provide:String,useValue:oe});function yl(t){return null!==t&&"object"==typeof t&&wE in t}function Wn(t){return"function"==typeof t}const _l=new $("Set Injector scope."),Uo={},bE={};let vl;function Go(){return void 0===vl&&(vl=new fh),vl}class Mr{}class yh extends Mr{constructor(e,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Cl(e,s=>this.processProvider(s)),this.records.set(ch,Sr(void 0,this)),i.has("environment")&&this.records.set(Mr,Sr(void 0,this));const o=this.records.get(_l);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(dh.multi,J,R.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const e of this._ngOnDestroyHooks)e.ngOnDestroy();for(const e of this._onDestroyHooks)e()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(e){this._onDestroyHooks.push(e)}runInContext(e){this.assertNotDestroyed();const n=wr(this),r=pt(void 0);try{return e()}finally{wr(n),pt(r)}}get(e,n=yi,r=R.Default){this.assertNotDestroyed();const i=wr(this),o=pt(void 0);try{if(!(r&R.SkipSelf)){let a=this.records.get(e);if(void 0===a){const l=function IE(t){return"function"==typeof t||"object"==typeof t&&t instanceof $}(e)&&Aa(e);a=l&&this.injectableDefInScope(l)?Sr(Dl(e),Uo):null,this.records.set(e,a)}if(null!=a)return this.hydrate(e,a)}return(r&R.Self?Go():this.parent).get(e,n=r&R.Optional&&n===yi?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[xo]=s[xo]||[]).unshift(se(e)),i)throw s;return function Vw(t,e,n,r){const i=t[xo];throw e[Hf]&&i.unshift(e[Hf]),t.message=function Lw(t,e,n,r=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let i=se(e);if(Array.isArray(e))i=e.map(se).join(" -> ");else if("object"==typeof e){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):se(a)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${t.replace(Pw,"\n ")}`}("\n"+t.message,i,n,r),t.ngTokenPath=i,t[xo]=null,t}(s,e,"R3InjectorError",this.source)}throw s}finally{pt(o),wr(i)}}resolveInjectorInitializers(){const e=wr(this),n=pt(void 0);try{const r=this.get(uh.multi,J,R.Self);for(const i of r)i()}finally{wr(e),pt(n)}}toString(){const e=[],n=this.records;for(const r of n.keys())e.push(se(r));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new D(205,!1)}processProvider(e){let n=Wn(e=x(e))?e:x(e&&e.provide);const r=function SE(t){return yl(t)?Sr(void 0,t.useValue):Sr(_h(t),Uo)}(e);if(Wn(e)||!0!==e.multi)this.records.get(n);else{let i=this.records.get(n);i||(i=Sr(void 0,Uo,!0),i.factory=()=>sl(i.multi),this.records.set(n,i)),n=e,i.multi.push(e)}this.records.set(n,r)}hydrate(e,n){return n.value===Uo&&(n.value=bE,n.value=n.factory()),"object"==typeof n.value&&n.value&&function TE(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(e){if(!e.providedIn)return!1;const n=x(e.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Dl(t){const e=Aa(t),n=null!==e?e.factory:qn(t);if(null!==n)return n;if(t instanceof $)throw new D(204,!1);if(t instanceof Function)return function ME(t){const e=t.length;if(e>0)throw mi(e,"?"),new D(204,!1);const n=function DC(t){const e=t&&(t[ho]||t[Zd]);if(e){const n=function CC(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new D(204,!1)}function _h(t,e,n){let r;if(Wn(t)){const i=x(t);return qn(i)||Dl(i)}if(yl(t))r=()=>x(t.useValue);else if(function mh(t){return!(!t||!t.useFactory)}(t))r=()=>t.useFactory(...sl(t.deps||[]));else if(function gh(t){return!(!t||!t.useExisting)}(t))r=()=>U(x(t.useExisting));else{const i=x(t&&(t.useClass||t.provide));if(!function AE(t){return!!t.deps}(t))return qn(i)||Dl(i);r=()=>new i(...sl(t.deps))}return r}function Sr(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function NE(t){return!!t.\u0275providers}function Cl(t,e){for(const n of t)Array.isArray(n)?Cl(n,e):NE(n)?Cl(n.\u0275providers,e):e(n)}class vh{}class OE{resolveComponentFactory(e){throw function PE(t){const e=Error(`No component factory found for ${se(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(e)}}let zo=(()=>{class t{}return t.NULL=new OE,t})();function xE(){return Ar(Se(),v())}function Ar(t,e){return new Ft(yt(t,e))}let Ft=(()=>{class t{constructor(n){this.nativeElement=n}}return t.__NG_ELEMENT_ID__=xE,t})();function kE(t){return t instanceof Ft?t.nativeElement:t}class Mi{}let Qn=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>function RE(){const t=v(),n=st(Se().index,t);return(Xe(n)?n:t)[z]}(),t})(),VE=(()=>{class t{}return t.\u0275prov=ee({token:t,providedIn:"root",factory:()=>null}),t})();class qo{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const Ch=new qo("14.1.3"),wl={};function Al(t){return t.ngOriginalError}class Tr{constructor(){this._console=console}handleError(e){const n=this._findOriginalError(e);this._console.error("ERROR",e),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(e){let n=e&&Al(e);for(;n&&Al(n);)n=Al(n);return n||null}}const Tl=new Map;let KE=0;const Nl="__ngContext__";function Le(t,e){Xe(e)?(t[Nl]=e[20],function YE(t){Tl.set(t[20],t)}(e)):t[Nl]=e}function Si(t){const e=t[Nl];return"number"==typeof e?function Ah(t){return Tl.get(t)||null}(e):e||null}function Fl(t){const e=Si(t);return e?Xe(e)?e:e.lView:null}const sb=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(ie))();var et=(()=>((et=et||{})[et.Important=1]="Important",et[et.DashCase=2]="DashCase",et))();function Ol(t,e){return undefined(t,e)}function Ai(t){const e=t[3];return It(e)?e[3]:e}function xl(t){return kh(t[13])}function kl(t){return kh(t[4])}function kh(t){for(;null!==t&&!It(t);)t=t[4];return t}function Nr(t,e,n,r,i){if(null!=r){let o,s=!1;It(r)?o=r:Xe(r)&&(s=!0,r=r[0]);const a=we(r);0===t&&null!==n?null==i?Hh(e,n,a):Kn(e,n,a,i||null,!0):1===t&&null!==n?Kn(e,n,a,i||null,!0):2===t?function Qh(t,e,n){const r=Wo(t,e);r&&function bb(t,e,n,r){t.removeChild(e,n,r)}(t,r,e,n)}(e,a,s):3===t&&e.destroyNode(a),null!=o&&function Ab(t,e,n,r,i){const o=n[7];o!==we(n)&&Nr(e,t,r,o,i);for(let a=10;a0&&(t[n-1][4]=r[4]);const o=Po(t,10+e);!function mb(t,e){Ti(t,e,e[z],2,null,null),e[0]=null,e[6]=null}(r[1],r);const s=o[19];null!==s&&s.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function Lh(t,e){if(!(128&e[2])){const n=e[z];n.destroyNode&&Ti(t,e,n,3,null,null),function vb(t){let e=t[13];if(!e)return Bl(t[1],t);for(;e;){let n=null;if(Xe(e))n=e[13];else{const r=e[10];r&&(n=r)}if(!n){for(;e&&!e[4]&&e!==t;)Xe(e)&&Bl(e[1],e),e=e[3];null===e&&(e=t),Xe(e)&&Bl(e[1],e),n=e&&e[4]}e=n}}(e)}}function Bl(t,e){if(!(128&e[2])){e[2]&=-65,e[2]|=128,function Eb(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let r=0;r=0?r[i=u]():r[i=-u].unsubscribe(),o+=2}else{const s=r[i=n[o+1]];n[o].call(s)}if(null!==r){for(let o=i+1;oo?"":i[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==Yh(h,u,0)||2&r&&u!==f){if(Pt(r))return!1;s=!0}}}}else{if(!s&&!Pt(r)&&!Pt(l))return!1;if(s&&Pt(l))continue;s=!1,r=l|1&r}}return Pt(r)||s}function Pt(t){return 0==(1&t)}function Pb(t,e,n,r){if(null===e)return-1;let i=0;if(r||!n){let o=!1;for(;i-1)for(n++;n0?'="'+a+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!Pt(s)&&(e+=tp(o,i),i=""),r=s,o=o||!Pt(r);n++}return""!==i&&(e+=tp(o,i)),e}const j={};function te(t){np(Q(),v(),qe()+t,!1)}function np(t,e,n,r){if(!r)if(3==(3&e[2])){const o=t.preOrderCheckHooks;null!==o&&bo(e,o,n)}else{const o=t.preOrderHooks;null!==o&&Mo(e,o,0,n)}bn(n)}function sp(t,e=null,n=null,r){const i=ap(t,e,n,r);return i.resolveInjectorInitializers(),i}function ap(t,e=null,n=null,r,i=new Set){const o=[n||J,CE(t)];return r=r||("object"==typeof t?void 0:se(t)),new yh(o,e||Go(),r||null,i)}let An=(()=>{class t{static create(n,r){var i;if(Array.isArray(n))return sp({name:""},r,n,"");{const o=null!==(i=n.name)&&void 0!==i?i:"";return sp({name:o},n.parent,n.providers,o)}}}return t.THROW_IF_NOT_FOUND=yi,t.NULL=new fh,t.\u0275prov=ee({token:t,providedIn:"any",factory:()=>U(ch)}),t.__NG_ELEMENT_ID__=-1,t})();function C(t,e=R.Default){const n=v();return null===n?U(t,e):Ff(Se(),n,x(t),e)}function Yo(t,e){return t<<17|e<<2}function Ot(t){return t>>17&32767}function Ql(t){return 2|t}function cn(t){return(131068&t)>>2}function Kl(t,e){return-131069&t|e<<2}function Zl(t){return 1|t}function bp(t,e){const n=t.contentQueries;if(null!==n)for(let r=0;r22&&np(t,e,22,!1),n(r,i)}finally{bn(o)}}function su(t,e,n){!df()||(function A0(t,e,n,r){const i=n.directiveStart,o=n.directiveEnd;t.firstCreatePass||fi(n,e),Le(r,e);const s=n.initialInputs;for(let a=i;a0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(a)!=l&&a.push(l),a.push(r,i,s)}}function Op(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function xp(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function F0(t,e,n){if(n){if(e.exportAs)for(let r=0;r0&&du(n)}}function du(t){for(let r=xl(t);null!==r;r=kl(r))for(let i=10;i0&&du(o)}const n=t[1].components;if(null!==n)for(let r=0;r0&&du(i)}}function L0(t,e){const n=st(e,t),r=n[1];(function B0(t,e){for(let n=e.length;nPromise.resolve(null))();function jp(t){return t[7]||(t[7]=[])}function Hp(t){return t.cleanup||(t.cleanup=[])}function Up(t,e){const n=t[9],r=n?n.get(Tr,null):null;r&&r.handleError(e)}function gu(t,e,n,r,i){for(let o=0;o-1&&(Ll(e,r),Po(n,r))}this._attachedToViewContainer=!1}Lh(this._lView[1],this._lView)}onDestroy(e){Tp(this._lView[1],this._lView,null,e)}markForCheck(){fu(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){!function hu(t,e,n){const r=e[10];r.begin&&r.begin();try{Ii(t,e,t.template,n)}catch(i){throw Up(e,i),i}finally{r.end&&r.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new D(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function _b(t,e){Ti(t,e,e[z],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new D(902,!1);this._appRef=e}}class $0 extends Ni{constructor(e){super(e),this._view=e}detectChanges(){Bp(this._view)}checkNoChanges(){}get context(){return null}}class mu extends zo{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const n=ne(e);return new Fi(n,this.ngModule)}}function Gp(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}class G0{constructor(e,n){this.injector=e,this.parentInjector=n}get(e,n,r){const i=this.injector.get(e,wl,r);return i!==wl||n===wl?i:this.parentInjector.get(e,n,r)}}class Fi extends vh{constructor(e,n){super(),this.componentDef=e,this.ngModule=n,this.componentType=e.type,this.selector=function Lb(t){return t.map(Vb).join(",")}(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return Gp(this.componentDef.inputs)}get outputs(){return Gp(this.componentDef.outputs)}create(e,n,r,i){let o=(i=i||this.ngModule)instanceof Mr?i:null==i?void 0:i.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new G0(e,o):e,a=s.get(Mi,null);if(null===a)throw new D(407,!1);const l=s.get(VE,null),u=a.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",d=r?function C0(t,e,n){return t.selectRootElement(e,n===At.ShadowDom)}(u,r,this.componentDef.encapsulation):Vl(a.createRenderer(null,this.componentDef),c,function U0(t){const e=t.toLowerCase();return"svg"===e?"svg":"math"===e?"math":null}(c)),f=this.componentDef.onPush?288:272,h=function K0(t,e){return{components:[],scheduler:t||sb,clean:H0,playerHandler:e||null,flags:0}}(),p=lu(0,null,null,1,0,null,null,null,null,null),g=es(null,p,h,f,null,null,a,u,l,s,null);let y,_;qa(g);try{const w=function W0(t,e,n,r,i,o){const s=n[1];n[22]=t;const l=Pr(s,22,2,"#host",null),u=l.mergedAttrs=e.hostAttrs;null!==u&&(rs(l,u,!0),null!==t&&(So(i,t,u),null!==l.classes&&Ul(i,t,l.classes),null!==l.styles&&Zh(i,t,l.styles)));const c=r.createRenderer(t,e),d=es(n,Ap(e),null,e.onPush?32:16,n[22],l,r,c,o||null,null,null);return s.firstCreatePass&&(No(fi(l,n),s,e.type),xp(s,l),kp(l,n.length,1)),ns(n,d),n[22]=d}(d,this.componentDef,g,a,u);if(d)if(r)So(u,d,["ng-version",Ch.full]);else{const{attrs:m,classes:E}=function Bb(t){const e=[],n=[];let r=1,i=2;for(;r0&&Ul(u,d,E.join(" "))}if(_=Ba(p,22),void 0!==n){const m=_.projection=[];for(let E=0;E=0;r--){const i=t[r];i.hostVars=e+=i.hostVars,i.hostAttrs=Ao(i.hostAttrs,n=Ao(n,i.hostAttrs))}}(r)}function yu(t){return t===ar?{}:t===J?[]:t}function J0(t,e){const n=t.viewQuery;t.viewQuery=n?(r,i)=>{e(r,i),n(r,i)}:e}function X0(t,e){const n=t.contentQueries;t.contentQueries=n?(r,i,o)=>{e(r,i,o),n(r,i,o)}:e}function eM(t,e){const n=t.hostBindings;t.hostBindings=n?(r,i)=>{e(r,i),n(r,i)}:e}let os=null;function Zn(){if(!os){const t=ie.Symbol;if(t&&t.iterator)os=t.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let n=0;na(we(P[r.index])):r.index;let E=null;if(!a&&l&&(E=function gM(t,e,n,r){const i=t.cleanup;if(null!=i)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(t,e,i,r.index)),null!==E)(E.__ngLastListenerFn__||E).__ngNextListenerFn__=o,E.__ngLastListenerFn__=o,h=!1;else{o=ag(r,e,d,o,!1);const P=n.listen(_,i,o);f.push(o,P),c&&c.push(i,m,w,w+1)}}else o=ag(r,e,d,o,!1);const p=r.outputs;let g;if(h&&null!==p&&(g=p[i])){const y=g.length;if(y)for(let _=0;_0;)e=e[15],t--;return e}(t,V.lFrame.contextLView))[8]}(t)}function mM(t,e){let n=null;const r=function Ob(t){const e=t.attrs;if(null!=e){const n=e.indexOf(5);if(0==(1&n))return e[n+1]}return null}(t);for(let i=0;i=0}function zr(t,e,n){return xt(t,e,n,!1),zr}function xi(t,e){return xt(t,e,null,!0),xi}function xt(t,e,n,r){const i=v(),o=Q(),s=function an(t){const e=V.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}(2);o.firstUpdatePass&&function Tg(t,e,n,r){const i=t.data;if(null===i[n+1]){const o=i[qe()],s=function Ag(t,e){return e>=t.expandoStartIndex}(t,n);(function Pg(t,e){return 0!=(t.flags&(e?16:32))})(o,r)&&null===e&&!s&&(e=!1),e=function TM(t,e,n,r){const i=function Ga(t){const e=V.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}(t);let o=r?e.residualClasses:e.residualStyles;if(null===i)0===(r?e.classBindings:e.styleBindings)&&(n=ki(n=Eu(null,t,e,n,r),e.attrs,r),o=null);else{const s=e.directiveStylingLast;if(-1===s||t[s]!==i)if(n=Eu(i,t,e,n,r),null===o){let l=function IM(t,e,n){const r=n?e.classBindings:e.styleBindings;if(0!==cn(r))return t[Ot(r)]}(t,e,r);void 0!==l&&Array.isArray(l)&&(l=Eu(null,t,e,l[1],r),l=ki(l,e.attrs,r),function NM(t,e,n,r){t[Ot(n?e.classBindings:e.styleBindings)]=r}(t,e,r,l))}else o=function FM(t,e,n){let r;const i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0)&&(u=!0)}else c=n;if(i)if(0!==l){const f=Ot(t[a+1]);t[r+1]=Yo(f,a),0!==f&&(t[f+1]=Kl(t[f+1],r)),t[a+1]=function s0(t,e){return 131071&t|e<<17}(t[a+1],r)}else t[r+1]=Yo(a,0),0!==a&&(t[a+1]=Kl(t[a+1],r)),a=r;else t[r+1]=Yo(l,0),0===a?a=r:t[l+1]=Kl(t[l+1],r),l=r;u&&(t[r+1]=Ql(t[r+1])),Dg(t,c,r,!0),Dg(t,c,r,!1),function _M(t,e,n,r,i){const o=i?t.residualClasses:t.residualStyles;null!=o&&"string"==typeof e&&Cr(o,e)>=0&&(n[r+1]=Zl(n[r+1]))}(e,c,t,r,o),s=Yo(a,l),o?e.classBindings=s:e.styleBindings=s}(i,o,e,n,s,r)}}(o,t,s,r),e!==j&&Be(i,s,e)&&function Ng(t,e,n,r,i,o,s,a){if(!(3&e.type))return;const l=t.data,u=l[a+1];ls(function mp(t){return 1==(1&t)}(u)?Fg(l,e,n,i,cn(u),s):void 0)||(ls(o)||function gp(t){return 2==(2&t)}(u)&&(o=Fg(l,null,n,i,a,s)),function Tb(t,e,n,r,i){if(e)i?t.addClass(n,r):t.removeClass(n,r);else{let o=-1===r.indexOf("-")?void 0:et.DashCase;null==i?t.removeStyle(n,r,o):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=et.Important),t.setStyle(n,r,i,o))}}(r,s,Do(qe(),n),i,o))}(o,o.data[qe()],i,i[z],t,i[s+1]=function xM(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=se(Sn(t)))),t}(e,n),r,s)}function Eu(t,e,n,r,i){let o=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const l=t[i],u=Array.isArray(l),c=u?l[1]:l,d=null===c;let f=n[i+1];f===j&&(f=d?J:void 0);let h=d?rl(f,r):c===r?f:void 0;if(u&&!ls(h)&&(h=rl(l,r)),ls(h)&&(a=h,s))return a;const p=t[i+1];i=s?Ot(p):cn(p)}if(null!==e){let l=o?e.residualClasses:e.residualStyles;null!=l&&(a=rl(l,r))}return a}function ls(t){return void 0!==t}function k(t,e=""){const n=v(),r=Q(),i=t+22,o=r.firstCreatePass?Pr(r,i,1,e,null):r.data[i],s=n[i]=function Rl(t,e){return t.createText(e)}(n[z],e);Qo(r,n,s,o),Ut(o,!1)}function us(t){return Rt("",t,""),us}function Rt(t,e,n){const r=v(),i=function kr(t,e,n,r){return Be(t,hr(),n)?e+L(n)+r:j}(r,t,e,n);return i!==j&&function dn(t,e,n){const r=Do(e,t);!function Rh(t,e,n){t.setValue(e,n)}(t[z],r,n)}(r,qe(),i),Rt}const Wr="en-US";let em=Wr;function Su(t,e,n,r,i){if(t=x(t),Array.isArray(t))for(let o=0;o>20;if(Wn(t)||!t.multi){const h=new ci(l,i,C),p=Tu(a,e,i?c:c+f,d);-1===p?(No(fi(u,s),o,a),Au(o,t,e.length),e.push(a),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=Tu(a,e,c+f,d),p=Tu(a,e,c,c+f),g=h>=0&&n[h],y=p>=0&&n[p];if(i&&!y||!i&&!g){No(fi(u,s),o,a);const _=function JS(t,e,n,r,i){const o=new ci(t,n,C);return o.multi=[],o.index=e,o.componentProviders=0,Mm(o,i,r&&!n),o}(i?YS:ZS,n.length,i,r,l);!i&&y&&(n[p].providerFactory=_),Au(o,t,e.length,0),e.push(a),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),n.push(_),s.push(_)}else Au(o,t,h>-1?h:p,Mm(n[i?p:h],l,!i&&r));!i&&r&&y&&n[p].componentProviders++}}}function Au(t,e,n,r){const i=Wn(e),o=function EE(t){return!!t.useClass}(e);if(i||o){const l=(o?x(e.useClass):e).prototype.ngOnDestroy;if(l){const u=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){const c=u.indexOf(n);-1===c?u.push(n,[r,l]):u[c+1].push(r,l)}else u.push(n,l)}}}function Mm(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function Tu(t,e,n,r){for(let i=n;i{n.providersResolver=(r,i)=>function KS(t,e,n){const r=Q();if(r.firstCreatePass){const i=Nt(t);Su(n,r.data,r.blueprint,i,!0),Su(e,r.data,r.blueprint,i,!1)}}(r,i?i(t):t,e)}}class Kr{}class Sm extends Kr{constructor(e,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new mu(this);const r=function it(t,e){const n=t[Jd]||null;if(!n&&!0===e)throw new Error(`Type ${se(t)} does not have '\u0275mod' property.`);return n}(e);this._bootstrapComponents=function un(t){return t instanceof Function?t():t}(r.bootstrap),this._r3Injector=ap(e,n,[{provide:Kr,useValue:this},{provide:zo,useValue:this.componentFactoryResolver}],se(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class Nu extends class XS{}{constructor(e){super(),this.moduleType=e}create(e){return new Sm(this.moduleType,e)}}function xm(t,e,n,r,i,o){const s=e+n;return Be(t,s,i)?function Wt(t,e,n){return t[e]=n}(t,s+1,o?r.call(o,i):r(i)):function ji(t,e){const n=t[e];return n===j?void 0:n}(t,s+1)}function Pu(t,e){const n=Q();let r;const i=t+22;n.firstCreatePass?(r=function wA(t,e){if(e)for(let n=e.length-1;n>=0;n--){const r=e[n];if(t===r.name)return r}}(e,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(i,r.onDestroy)):r=n.data[i];const o=r.factory||(r.factory=qn(r.type)),s=pt(C);try{const a=To(!1),l=o();return To(a),function cM(t,e,n,r){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=r}(n,v(),i,l),l}finally{pt(s)}}function Ou(t,e,n){const r=t+22,i=v(),o=function fr(t,e){return t[e]}(i,r);return function Hi(t,e){return t[1].data[e].pure}(i,r)?xm(i,function ze(){const t=V.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}(),e,o.transform,n,o):o.transform(n)}function xu(t){return e=>{setTimeout(t,void 0,e)}}const Ie=class AA extends va{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,n,r){var i,o,s;let a=e,l=n||(()=>null),u=r;if(e&&"object"==typeof e){const d=e;a=null===(i=d.next)||void 0===i?void 0:i.bind(d),l=null===(o=d.error)||void 0===o?void 0:o.bind(d),u=null===(s=d.complete)||void 0===s?void 0:s.bind(d)}this.__isAsync&&(l=xu(l),a&&(a=xu(a)),u&&(u=xu(u)));const c=super.subscribe({next:a,error:l,complete:u});return e instanceof Ht&&e.add(c),c}};function TA(){return this._results[Zn()]()}class ku{constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=Zn(),r=ku.prototype;r[n]||(r[n]=TA)}get changes(){return this._changes||(this._changes=new Ie)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,n){return this._results.reduce(e,n)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,n){const r=this;r.dirty=!1;const i=at(e);(this._changesDetected=!function ww(t,e,n){if(t.length!==e.length)return!1;for(let r=0;r{class t{}return t.__NG_ELEMENT_ID__=FA,t})();const IA=fn,NA=class extends IA{constructor(e,n,r){super(),this._declarationLView=e,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(e,n){const r=this._declarationTContainer.tViews,i=es(this._declarationLView,r,e,16,null,r.declTNode,null,null,null,null,n||null);i[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(i[19]=s.createEmbeddedView(r)),ts(r,i,e),new Ni(i)}};function FA(){return ps(Se(),v())}function ps(t,e){return 4&t.type?new NA(e,t,Ar(t,e)):null}let Zt=(()=>{class t{}return t.__NG_ELEMENT_ID__=PA,t})();function PA(){return Hm(Se(),v())}const OA=Zt,Bm=class extends OA{constructor(e,n,r){super(),this._lContainer=e,this._hostTNode=n,this._hostLView=r}get element(){return Ar(this._hostTNode,this._hostLView)}get injector(){return new mr(this._hostTNode,this._hostLView)}get parentInjector(){const e=Io(this._hostTNode,this._hostLView);if(Sf(e)){const n=gr(e,this._hostLView),r=pr(e);return new mr(n[1].data[r+8],n)}return new mr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const n=jm(this._lContainer);return null!==n&&n[e]||null}get length(){return this._lContainer.length-10}createEmbeddedView(e,n,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const s=e.createEmbeddedView(n||{},o);return this.insert(s,i),s}createComponent(e,n,r,i,o){const s=e&&!function gi(t){return"function"==typeof t}(e);let a;if(s)a=n;else{const d=n||{};a=d.index,r=d.injector,i=d.projectableNodes,o=d.environmentInjector||d.ngModuleRef}const l=s?e:new Fi(ne(e)),u=r||this.parentInjector;if(!o&&null==l.ngModule){const f=(s?u:this.parentInjector).get(Mr,null);f&&(o=f)}const c=l.create(u,i,void 0,o);return this.insert(c.hostView,a),c}insert(e,n){const r=e._lView,i=r[1];if(function $C(t){return It(t[3])}(r)){const c=this.indexOf(e);if(-1!==c)this.detach(c);else{const d=r[3],f=new Bm(d,d[6],d[3]);f.detach(f.indexOf(e))}}const o=this._adjustIndex(n),s=this._lContainer;!function Db(t,e,n,r){const i=10+r,o=n.length;r>0&&(n[i-1][4]=e),r0)r.push(s[a/2]);else{const u=o[a+1],c=e[-l];for(let d=10;d{class t{constructor(n){this.appInits=n,this.resolve=ms,this.reject=ms,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i{o.subscribe({complete:a,error:l})});n.push(s)}}Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}}return t.\u0275fac=function(n){return new(n||t)(U(py,8))},t.\u0275prov=ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Gi=new $("AppId",{providedIn:"root",factory:function gy(){return`${qu()}${qu()}${qu()}`}});function qu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const my=new $("Platform Initializer"),yy=new $("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),uT=new $("appBootstrapListener"),_y=new $("AnimationModuleType"),hn=new $("LocaleId",{providedIn:"root",factory:()=>function kw(t,e=R.Default){return"number"!=typeof e&&(e=0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)),U(t,e)}(hn,R.Optional|R.SkipSelf)||function cT(){return"undefined"!=typeof $localize&&$localize.locale||Wr}()}),gT=(()=>Promise.resolve(0))();function Wu(t){"undefined"==typeof Zone?gT.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class Ne{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ie(!1),this.onMicrotaskEmpty=new Ie(!1),this.onStable=new Ie(!1),this.onError=new Ie(!1),"undefined"==typeof Zone)throw new D(908,!1);Zone.assertZonePatched();const i=this;if(i._nesting=0,i._outer=i._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const o=Zone.AsyncStackTaggingZoneSpec;i._inner=i._inner.fork(new o("Angular"))}Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function mT(){let t=ie.requestAnimationFrame,e=ie.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function vT(t){const e=()=>{!function _T(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(ie,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Ku(t),t.isCheckStableRunning=!0,Qu(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Ku(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,o,s,a)=>{try{return Cy(t),n.invokeTask(i,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||t.shouldCoalesceRunChangeDetection)&&e(),wy(t)}},onInvoke:(n,r,i,o,s,a,l)=>{try{return Cy(t),n.invoke(i,o,s,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),wy(t)}},onHasTask:(n,r,i,o)=>{n.hasTask(i,o),r===i&&("microTask"==o.change?(t._hasPendingMicrotasks=o.microTask,Ku(t),Qu(t)):"macroTask"==o.change&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,r,i,o)=>(n.handleError(i,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}(i)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ne.isInAngularZone())throw new D(909,!1)}static assertNotInAngularZone(){if(Ne.isInAngularZone())throw new D(909,!1)}run(e,n,r){return this._inner.run(e,n,r)}runTask(e,n,r,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,e,yT,ms,ms);try{return o.runTask(s,n,r)}finally{o.cancelTask(s)}}runGuarded(e,n,r){return this._inner.runGuarded(e,n,r)}runOutsideAngular(e){return this._outer.run(e)}}const yT={};function Qu(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 Ku(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function Cy(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function wy(t){t._nesting--,Qu(t)}class DT{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ie,this.onMicrotaskEmpty=new Ie,this.onStable=new Ie,this.onError=new Ie}run(e,n,r){return e.apply(n,r)}runGuarded(e,n,r){return e.apply(n,r)}runOutsideAngular(e){return e()}runTask(e,n,r,i){return e.apply(n,r)}}const Ey=new $(""),_s=new $("");let zi,Zu=(()=>{class t{constructor(n,r,i){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,zi||(function CT(t){zi=t}(i),i.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ne.assertNotInAngularZone(),Wu(()=>{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())Wu(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:o,updateCb:i})}whenStable(n,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}}return t.\u0275fac=function(n){return new(n||t)(U(Ne),U(Yu),U(_s))},t.\u0275prov=ee({token:t,factory:t.\u0275fac}),t})(),Yu=(()=>{class t{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){var i;return null!==(i=null==zi?void 0:zi.findTestabilityInTree(this,n,r))&&void 0!==i?i:null}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=ee({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})(),Yt=null;const by=new $("AllowMultipleToken"),Ju=new $("PlatformDestroyListeners");function Sy(t,e,n=[]){const r=`Platform: ${e}`,i=new $(r);return(o=[])=>{let s=Xu();if(!s||s.injector.get(by,!1)){const a=[...n,...o,{provide:i,useValue:!0}];t?t(a):function bT(t){if(Yt&&!Yt.get(by,!1))throw new D(400,!1);Yt=t;const e=t.get(Ty);(function My(t){const e=t.get(my,null);e&&e.forEach(n=>n())})(t)}(function Ay(t=[],e){return An.create({name:e,providers:[{provide:_l,useValue:"platform"},{provide:Ju,useValue:new Set([()=>Yt=null])},...t]})}(a,r))}return function ST(t){const e=Xu();if(!e)throw new D(401,!1);return e}()}}function Xu(){var t;return null!==(t=null==Yt?void 0:Yt.get(Ty))&&void 0!==t?t:null}let Ty=(()=>{class t{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const i=function AT(t,e){let n;return n="noop"===t?new DT:("zone.js"===t?void 0:t)||new Ne(e),n}(null==r?void 0:r.ngZone,function Iy(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!t||!t.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!t||!t.ngZoneRunCoalescing)||!1}}(r)),o=[{provide:Ne,useValue:i}];return i.run(()=>{const s=An.create({providers:o,parent:this.injector,name:n.moduleType.name}),a=n.create(s),l=a.injector.get(Tr,null);if(!l)throw new D(402,!1);return i.runOutsideAngular(()=>{const u=i.onError.subscribe({next:c=>{l.handleError(c)}});a.onDestroy(()=>{Ds(this._modules,a),u.unsubscribe()})}),function Ny(t,e,n){try{const r=n();return as(r)?r.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}(l,i,()=>{const u=a.injector.get(ys);return u.runInitializers(),u.donePromise.then(()=>(function tm(t){rt(t,"Expected localeId to be defined"),"string"==typeof t&&(em=t.toLowerCase().replace(/_/g,"-"))}(a.injector.get(hn,Wr)||Wr),this._moduleDoBootstrap(a),a))})})}bootstrapModule(n,r=[]){const i=Fy({},r);return function wT(t,e,n){const r=new Nu(n);return Promise.resolve(r)}(0,0,n).then(o=>this.bootstrapModuleFactory(o,i))}_moduleDoBootstrap(n){const r=n.injector.get(vs);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new D(403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new D(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Ju,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(n){return new(n||t)(U(An))},t.\u0275prov=ee({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();function Fy(t,e){return Array.isArray(e)?e.reduce(Fy,t):Object.assign(Object.assign({},t),e)}let vs=(()=>{class t{constructor(n,r,i){this._zone=n,this._injector=r,this._exceptionHandler=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new xe(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new xe(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{Ne.assertNotInAngularZone(),Wu(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const u=this._zone.onUnstable.subscribe(()=>{Ne.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),u.unsubscribe()}});this.isStable=fC(o,s.pipe(function hC(t={}){const{connector:e=(()=>new va),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=t;return o=>{let s,a,l,u=0,c=!1,d=!1;const f=()=>{null==a||a.unsubscribe(),a=void 0},h=()=>{f(),s=l=void 0,c=d=!1},p=()=>{const g=s;h(),null==g||g.unsubscribe()};return ri((g,y)=>{u++,!d&&!c&&f();const _=l=null!=l?l:e();y.add(()=>{u--,0===u&&!d&&!c&&(a=Ea(p,i))}),_.subscribe(y),!s&&u>0&&(s=new ni({next:w=>_.next(w),error:w=>{d=!0,f(),a=Ea(h,n,w),_.error(w)},complete:()=>{c=!0,f(),a=Ea(h,r),_.complete()}}),Dn(g).subscribe(s))})(o)}}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const i=n instanceof vh;if(!this._injector.get(ys).done)throw!i&&function Ui(t){const e=ne(t)||Ue(t)||Ge(t);return null!==e&&e.standalone}(n),new D(405,false);let s;s=i?n:this._injector.get(zo).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function ET(t){return t.isBoundToModule}(s)?void 0:this._injector.get(Kr),u=s.create(An.NULL,[],r||s.selector,a),c=u.location.nativeElement,d=u.injector.get(Ey,null);return null==d||d.registerApplication(c),u.onDestroy(()=>{this.detachView(u.hostView),Ds(this.components,u),null==d||d.unregisterApplication(c)}),this._loadComponent(u),u}tick(){if(this._runningTick)throw new D(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Ds(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(uT,[]).concat(this._bootstrapListeners).forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Ds(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new D(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return t.\u0275fac=function(n){return new(n||t)(U(Ne),U(Mr),U(Tr))},t.\u0275prov=ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Ds(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}let Oy=!0,ec=(()=>{class t{}return t.__NG_ELEMENT_ID__=NT,t})();function NT(t){return function FT(t,e,n){if(_o(t)&&!n){const r=st(t.index,e);return new Ni(r,r)}return 47&t.type?new Ni(e[16],e):null}(Se(),v(),16==(16&t))}const GT=Sy(null,"core",[]);let zT=(()=>{class t{constructor(n){}}return t.\u0275fac=function(n){return new(n||t)(U(vs))},t.\u0275mod=$t({type:t}),t.\u0275inj=Mt({}),t})();let bs=null;function er(){return bs}const ct=new $("DocumentToken");let gc=(()=>{class t{constructor(n,r){this._viewContainer=n,this._context=new BI,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){n_("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){n_("ngIfElse",n),this._elseTemplateRef=n,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(n,r){return!0}}return t.\u0275fac=function(n){return new(n||t)(C(Zt),C(fn))},t.\u0275dir=B({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),t})();class BI{constructor(){this.$implicit=null,this.ngIf=null}}function n_(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${se(e)}'.`)}let i_=(()=>{class t{transform(n){return JSON.stringify(n,null,2)}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275pipe=Je({name:"json",type:t,pure:!1,standalone:!0}),t})(),s_=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=Mt({}),t})();class Dc extends class mN extends class QT{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function WT(t){bs||(bs=t)}(new Dc)}onAndCancel(e,n,r){return e.addEventListener(n,r,!1),()=>{e.removeEventListener(n,r,!1)}}dispatchEvent(e,n){e.dispatchEvent(n)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,n){return(n=n||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,n){return"window"===n?window:"document"===n?e:"body"===n?e.body:null}getBaseHref(e){const n=function yN(){return Ki=Ki||document.querySelector("base"),Ki?Ki.getAttribute("href"):null}();return null==n?null:function _N(t){xs=xs||document.createElement("a"),xs.setAttribute("href",t);const e=xs.pathname;return"/"===e.charAt(0)?e:`/${e}`}(n)}resetBaseElement(){Ki=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return function OI(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const r=n.indexOf("="),[i,o]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}(document.cookie,e)}}let xs,Ki=null;const u_=new $("TRANSITION_ID"),DN=[{provide:py,useFactory:function vN(t,e,n){return()=>{n.get(ys).donePromise.then(()=>{const r=er(),i=e.querySelectorAll(`style[ng-transition="${t}"]`);for(let o=0;o{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=ee({token:t,factory:t.\u0275fac}),t})();const ks=new $("EventManagerPlugins");let Rs=(()=>{class t{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(i=>i.manager=this),this._plugins=n.slice().reverse()}addEventListener(n,r,i){return this._findPluginFor(r).addEventListener(n,r,i)}addGlobalEventListener(n,r,i){return this._findPluginFor(r).addGlobalEventListener(n,r,i)}getZone(){return this._zone}_findPluginFor(n){const r=this._eventNameToPlugin.get(n);if(r)return r;const i=this._plugins;for(let o=0;o{class t{constructor(){this._stylesSet=new Set}addStyles(n){const r=new Set;n.forEach(i=>{this._stylesSet.has(i)||(this._stylesSet.add(i),r.add(i))}),this.onStylesAdded(r)}onStylesAdded(n){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=ee({token:t,factory:t.\u0275fac}),t})(),Zi=(()=>{class t extends d_{constructor(n){super(),this._doc=n,this._hostNodes=new Map,this._hostNodes.set(n.head,[])}_addStylesToHost(n,r,i){n.forEach(o=>{const s=this._doc.createElement("style");s.textContent=o,i.push(r.appendChild(s))})}addHost(n){const r=[];this._addStylesToHost(this._stylesSet,n,r),this._hostNodes.set(n,r)}removeHost(n){const r=this._hostNodes.get(n);r&&r.forEach(f_),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,i)=>{this._addStylesToHost(n,i,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(f_))}}return t.\u0275fac=function(n){return new(n||t)(U(ct))},t.\u0275prov=ee({token:t,factory:t.\u0275fac}),t})();function f_(t){er().remove(t)}const Cc={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/"},wc=/%COMP%/g;function Vs(t,e,n){for(let r=0;r{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let Ls=(()=>{class t{constructor(n,r,i){this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new Ec(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;switch(r.encapsulation){case At.Emulated:{let i=this.rendererByCompId.get(r.id);return i||(i=new TN(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,i)),i.applyToHost(n),i}case 1:case At.ShadowDom:return new IN(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const i=Vs(r.id,r.styles,[]);this.sharedStylesHost.addStyles(i),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(n){return new(n||t)(U(Rs),U(Zi),U(Gi))},t.\u0275prov=ee({token:t,factory:t.\u0275fac}),t})();class Ec{constructor(e){this.eventManager=e,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(e,n){return n?document.createElementNS(Cc[n]||n,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,n){(y_(e)?e.content:e).appendChild(n)}insertBefore(e,n,r){e&&(y_(e)?e.content:e).insertBefore(n,r)}removeChild(e,n){e&&e.removeChild(n)}selectRootElement(e,n){let r="string"==typeof e?document.querySelector(e):e;if(!r)throw new Error(`The selector "${e}" did not match any elements`);return n||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,n,r,i){if(i){n=i+":"+n;const o=Cc[i];o?e.setAttributeNS(o,n,r):e.setAttribute(n,r)}else e.setAttribute(n,r)}removeAttribute(e,n,r){if(r){const i=Cc[r];i?e.removeAttributeNS(i,n):e.removeAttribute(`${r}:${n}`)}else e.removeAttribute(n)}addClass(e,n){e.classList.add(n)}removeClass(e,n){e.classList.remove(n)}setStyle(e,n,r,i){i&(et.DashCase|et.Important)?e.style.setProperty(n,r,i&et.Important?"important":""):e.style[n]=r}removeStyle(e,n,r){r&et.DashCase?e.style.removeProperty(n):e.style[n]=""}setProperty(e,n,r){e[n]=r}setValue(e,n){e.nodeValue=n}listen(e,n,r){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,n,g_(r)):this.eventManager.addEventListener(e,n,g_(r))}}function y_(t){return"TEMPLATE"===t.tagName&&void 0!==t.content}class TN extends Ec{constructor(e,n,r,i){super(e),this.component=r;const o=Vs(i+"-"+r.id,r.styles,[]);n.addStyles(o),this.contentAttr=function MN(t){return"_ngcontent-%COMP%".replace(wc,t)}(i+"-"+r.id),this.hostAttr=function SN(t){return"_nghost-%COMP%".replace(wc,t)}(i+"-"+r.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,n){const r=super.createElement(e,n);return super.setAttribute(r,this.contentAttr,""),r}}class IN extends Ec{constructor(e,n,r,i){super(e),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=Vs(i.id,i.styles,[]);for(let s=0;s{class t extends c_{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,i){return n.addEventListener(r,i,!1),()=>this.removeEventListener(n,r,i)}removeEventListener(n,r,i){return n.removeEventListener(r,i)}}return t.\u0275fac=function(n){return new(n||t)(U(ct))},t.\u0275prov=ee({token:t,factory:t.\u0275fac}),t})();const __=["alt","control","meta","shift"],PN={"\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"},v_={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},ON={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let xN=(()=>{class t extends c_{constructor(n){super(n)}supports(n){return null!=t.parseEventName(n)}addEventListener(n,r,i){const o=t.parseEventName(r),s=t.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>er().onAndCancel(n,o.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),i=r.shift();if(0===r.length||"keydown"!==i&&"keyup"!==i)return null;const o=t._normalizeKey(r.pop());let s="";if(__.forEach(l=>{const u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=o,0!=r.length||0===o.length)return null;const a={};return a.domEventName=i,a.fullKey=s,a}static getEventFullKey(n){let r="",i=function kN(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&v_.hasOwnProperty(e)&&(e=v_[e]))}return PN[e]||e}(n);return i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),__.forEach(o=>{o!=i&&(0,ON[o])(n)&&(r+=o+".")}),r+=i,r}static eventCallback(n,r,i){return o=>{t.getEventFullKey(o)===n&&i.runGuarded(()=>r(o))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return t.\u0275fac=function(n){return new(n||t)(U(ct))},t.\u0275prov=ee({token:t,factory:t.\u0275fac}),t})();const BN=Sy(GT,"browser",[{provide:yy,useValue:"browser"},{provide:my,useValue:function RN(){Dc.makeCurrent()},multi:!0},{provide:ct,useFactory:function LN(){return function Qw(t){ll=t}(document),document},deps:[]}]),C_=new $(""),w_=[{provide:_s,useClass:class CN{addToWindow(e){ie.getAngularTestability=(r,i=!0)=>{const o=e.findTestabilityInTree(r,i);if(null==o)throw new Error("Could not find testability for element.");return o},ie.getAllAngularTestabilities=()=>e.getAllTestabilities(),ie.getAllAngularRootElements=()=>e.getAllRootElements(),ie.frameworkStabilizers||(ie.frameworkStabilizers=[]),ie.frameworkStabilizers.push(r=>{const i=ie.getAllAngularTestabilities();let o=i.length,s=!1;const a=function(l){s=s||l,o--,0==o&&r(s)};i.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(e,n,r){if(null==n)return null;const i=e.getTestability(n);return null!=i?i:r?er().isShadowRoot(n)?this.findTestabilityInTree(e,n.host,!0):this.findTestabilityInTree(e,n.parentElement,!0):null}},deps:[]},{provide:Ey,useClass:Zu,deps:[Ne,Yu,_s]},{provide:Zu,useClass:Zu,deps:[Ne,Yu,_s]}],E_=[{provide:_l,useValue:"root"},{provide:Tr,useFactory:function VN(){return new Tr},deps:[]},{provide:ks,useClass:NN,multi:!0,deps:[ct,Ne,yy]},{provide:ks,useClass:xN,multi:!0,deps:[ct]},{provide:Ls,useClass:Ls,deps:[Rs,Zi,Gi]},{provide:Mi,useExisting:Ls},{provide:d_,useExisting:Zi},{provide:Zi,useClass:Zi,deps:[ct]},{provide:Rs,useClass:Rs,deps:[ks,Ne]},{provide:class gN{},useClass:wN,deps:[]},[]];let b_=(()=>{class t{constructor(n){}static withServerTransition(n){return{ngModule:t,providers:[{provide:Gi,useValue:n.appId},{provide:u_,useExisting:Gi},DN]}}}return t.\u0275fac=function(n){return new(n||t)(U(C_,12))},t.\u0275mod=$t({type:t}),t.\u0275inj=Mt({providers:[...E_,...w_],imports:[s_,zT]}),t})(),M_=(()=>{class t{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}}return t.\u0275fac=function(n){return new(n||t)(U(ct))},t.\u0275prov=ee({token:t,factory:function(n){let r=null;return r=n?new n:function HN(){return new M_(U(ct))}(),r},providedIn:"root"}),t})();"undefined"!=typeof window&&window;class T_{}const mn="*";function I_(t,e=null){return{type:2,steps:t,options:e}}function N_(t){return{type:6,styles:t,offset:null}}function F_(t){Promise.resolve(null).then(t)}class Yi{constructor(e=0,n=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){F_(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){const n="start"==e?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}}class P_{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let n=0,r=0,i=0;const o=this.players.length;0==o?F_(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++n==o&&this._onFinish()}),s.onDestroy(()=>{++r==o&&this._onDestroy()}),s.onStart(()=>{++i==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const n=e*this.totalTime;this.players.forEach(r=>{const i=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(i)})}getPosition(){const e=this.players.reduce((n,r)=>null===n||r.totalTime>n.totalTime?r:n,null);return null!=e?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const n="start"==e?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}}function O_(t){return new D(3e3,!1)}function N1(){return"undefined"!=typeof window&&void 0!==window.document}function Ac(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Fn(t){switch(t.length){case 0:return new Yi;case 1:return t[0];default:return new P_(t)}}function x_(t,e,n,r,i=new Map,o=new Map){const s=[],a=[];let l=-1,u=null;if(r.forEach(c=>{const d=c.get("offset"),f=d==l,h=f&&u||new Map;c.forEach((p,g)=>{let y=g,_=p;if("offset"!==g)switch(y=e.normalizePropertyName(y,s),_){case"!":_=i.get(g);break;case mn:_=o.get(g);break;default:_=e.normalizeStyleValue(g,y,_,s)}h.set(y,_)}),f||a.push(h),u=h,l=d}),s.length)throw function _1(t){return new D(3502,!1)}();return a}function Tc(t,e,n,r){switch(e){case"start":t.onStart(()=>r(n&&Ic(n,"start",t)));break;case"done":t.onDone(()=>r(n&&Ic(n,"done",t)));break;case"destroy":t.onDestroy(()=>r(n&&Ic(n,"destroy",t)))}}function Ic(t,e,n){const r=n.totalTime,o=Nc(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==r?t.totalTime:r,!!n.disabled),s=t._data;return null!=s&&(o._data=s),o}function Nc(t,e,n,r,i="",o=0,s){return{element:t,triggerName:e,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!s}}function dt(t,e,n){let r=t.get(e);return r||t.set(e,r=n),r}function k_(t){const e=t.indexOf(":");return[t.substring(1,e),t.slice(e+1)]}let Fc=(t,e)=>!1,R_=(t,e,n)=>[],V_=null;function Pc(t){const e=t.parentNode||t.host;return e===V_?null:e}(Ac()||"undefined"!=typeof Element)&&(N1()?(V_=(()=>document.documentElement)(),Fc=(t,e)=>{for(;e;){if(e===t)return!0;e=Pc(e)}return!1}):Fc=(t,e)=>t.contains(e),R_=(t,e,n)=>{if(n)return Array.from(t.querySelectorAll(e));const r=t.querySelector(e);return r?[r]:[]});let tr=null,L_=!1;const B_=Fc,j_=R_;let H_=(()=>{class t{validateStyleProperty(n){return function P1(t){tr||(tr=function O1(){return"undefined"!=typeof document?document.body:null}()||{},L_=!!tr.style&&"WebkitAppearance"in tr.style);let e=!0;return tr.style&&!function F1(t){return"ebkit"==t.substring(1,6)}(t)&&(e=t in tr.style,!e&&L_&&(e="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in tr.style)),e}(n)}matchesElement(n,r){return!1}containsElement(n,r){return B_(n,r)}getParentElement(n){return Pc(n)}query(n,r,i){return j_(n,r,i)}computeStyle(n,r,i){return i||""}animate(n,r,i,o,s,a=[],l){return new Yi(i,o)}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=ee({token:t,factory:t.\u0275fac}),t})(),Oc=(()=>{class t{}return t.NOOP=new H_,t})();const xc="ng-enter",Bs="ng-leave",js="ng-trigger",Hs=".ng-trigger",U_="ng-animating",kc=".ng-animating";function Pn(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Rc(parseFloat(e[1]),e[2])}function Rc(t,e){return"s"===e?1e3*t:t}function $s(t,e,n){return t.hasOwnProperty("duration")?t:function R1(t,e,n){let i,o=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 e.push(O_()),{duration:0,delay:0,easing:""};i=Rc(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(o=Rc(parseFloat(l),a[4]));const u=a[5];u&&(s=u)}else i=t;if(!n){let a=!1,l=e.length;i<0&&(e.push(function ZN(){return new D(3100,!1)}()),a=!0),o<0&&(e.push(function YN(){return new D(3101,!1)}()),a=!0),a&&e.splice(l,0,O_())}return{duration:i,delay:o,easing:s}}(t,e,n)}function Ji(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function G_(t){const e=new Map;return Object.keys(t).forEach(n=>{e.set(n,t[n])}),e}function On(t,e=new Map,n){if(n)for(let[r,i]of n)e.set(r,i);for(let[r,i]of t)e.set(r,i);return e}function q_(t,e,n){return n?e+":"+n+";":""}function W_(t){let e="";for(let n=0;n{const o=Lc(i);n&&!n.has(i)&&n.set(i,t.style[o]),t.style[o]=r}),Ac()&&W_(t))}function nr(t,e){t.style&&(e.forEach((n,r)=>{const i=Lc(r);t.style[i]=""}),Ac()&&W_(t))}function Xi(t){return Array.isArray(t)?1==t.length?t[0]:I_(t):t}const Vc=new RegExp("{{\\s*(.+?)\\s*}}","g");function Q_(t){let e=[];if("string"==typeof t){let n;for(;n=Vc.exec(t);)e.push(n[1]);Vc.lastIndex=0}return e}function Us(t,e,n){const r=t.toString(),i=r.replace(Vc,(o,s)=>{let a=e[s];return null==a&&(n.push(function XN(t){return new D(3003,!1)}()),a=""),a.toString()});return i==r?t:i}function Gs(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const B1=/-+([a-z0-9])/g;function Lc(t){return t.replace(B1,(...e)=>e[1].toUpperCase())}function j1(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function ft(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw function e1(t){return new D(3004,!1)}()}}function K_(t,e){return window.getComputedStyle(t)[e]}function q1(t,e){const n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(r=>function W1(t,e,n){if(":"==t[0]){const l=function Q1(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(n,r)=>parseFloat(r)>parseFloat(n);case":decrement":return(n,r)=>parseFloat(r) *"}}(t,n);if("function"==typeof l)return void e.push(l);t=l}const r=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push(function h1(t){return new D(3015,!1)}()),e;const i=r[1],o=r[2],s=r[3];e.push(Z_(i,s));"<"==o[0]&&!("*"==i&&"*"==s)&&e.push(Z_(s,i))}(r,n,e)):n.push(t),n}const Qs=new Set(["true","1"]),Ks=new Set(["false","0"]);function Z_(t,e){const n=Qs.has(t)||Ks.has(t),r=Qs.has(e)||Ks.has(e);return(i,o)=>{let s="*"==t||t==i,a="*"==e||e==o;return!s&&n&&"boolean"==typeof i&&(s=i?Qs.has(t):Ks.has(t)),!a&&r&&"boolean"==typeof o&&(a=o?Qs.has(e):Ks.has(e)),s&&a}}const K1=new RegExp("s*:selfs*,?","g");function Bc(t,e,n,r){return new Z1(t).build(e,n,r)}class Z1{constructor(e){this._driver=e}build(e,n,r){const i=new X1(n);return this._resetContextStyleTimingState(i),ft(this,Xi(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles=new Map,e.collectedStyles.set("",new Map),e.currentTime=0}visitTrigger(e,n){let r=n.queryCount=0,i=n.depCount=0;const o=[],s=[];return"@"==e.name.charAt(0)&&n.errors.push(function n1(){return new D(3006,!1)}()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(n),0==a.type){const l=a,u=l.name;u.toString().split(/\s*,\s*/).forEach(c=>{l.name=c,o.push(this.visitState(l,n))}),l.name=u}else if(1==a.type){const l=this.visitTransition(a,n);r+=l.queryCount,i+=l.depCount,s.push(l)}else n.errors.push(function r1(){return new D(3007,!1)}())}),{type:7,name:e.name,states:o,transitions:s,queryCount:r,depCount:i,options:null}}visitState(e,n){const r=this.visitStyle(e.styles,n),i=e.options&&e.options.params||null;if(r.containsDynamicStyles){const o=new Set,s=i||{};r.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{Q_(l).forEach(u=>{s.hasOwnProperty(u)||o.add(u)})})}),o.size&&(Gs(o.values()),n.errors.push(function i1(t,e){return new D(3008,!1)}()))}return{type:0,name:e.name,style:r,options:i?{params:i}:null}}visitTransition(e,n){n.queryCount=0,n.depCount=0;const r=ft(this,Xi(e.animation),n);return{type:1,matchers:q1(e.expr,n.errors),animation:r,queryCount:n.queryCount,depCount:n.depCount,options:rr(e.options)}}visitSequence(e,n){return{type:2,steps:e.steps.map(r=>ft(this,r,n)),options:rr(e.options)}}visitGroup(e,n){const r=n.currentTime;let i=0;const o=e.steps.map(s=>{n.currentTime=r;const a=ft(this,s,n);return i=Math.max(i,n.currentTime),a});return n.currentTime=i,{type:3,steps:o,options:rr(e.options)}}visitAnimate(e,n){const r=function tF(t,e){if(t.hasOwnProperty("duration"))return t;if("number"==typeof t)return jc($s(t,e).duration,0,"");const n=t;if(n.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=jc(0,0,"");return o.dynamic=!0,o.strValue=n,o}const i=$s(n,e);return jc(i.duration,i.delay,i.easing)}(e.timings,n.errors);n.currentAnimateTimings=r;let i,o=e.styles?e.styles:N_({});if(5==o.type)i=this.visitKeyframes(o,n);else{let s=e.styles,a=!1;if(!s){a=!0;const u={};r.easing&&(u.easing=r.easing),s=N_(u)}n.currentTime+=r.duration+r.delay;const l=this.visitStyle(s,n);l.isEmptyStep=a,i=l}return n.currentAnimateTimings=null,{type:4,timings:r,style:i,options:null}}visitStyle(e,n){const r=this._makeStyleAst(e,n);return this._validateStyleAst(r,n),r}_makeStyleAst(e,n){const r=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of i)"string"==typeof a?a===mn?r.push(a):n.errors.push(new D(3002,!1)):r.push(G_(a));let o=!1,s=null;return r.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o))for(let l of a.values())if(l.toString().indexOf("{{")>=0){o=!0;break}}),{type:6,styles:r,easing:s,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,n){const r=n.currentAnimateTimings;let i=n.currentTime,o=n.currentTime;r&&o>0&&(o-=r.duration+r.delay),e.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const u=n.collectedStyles.get(n.currentQuerySelector),c=u.get(l);let d=!0;c&&(o!=i&&o>=c.startTime&&i<=c.endTime&&(n.errors.push(function s1(t,e,n,r,i){return new D(3010,!1)}()),d=!1),o=c.startTime),d&&u.set(l,{startTime:o,endTime:i}),n.options&&function L1(t,e,n){const r=e.params||{},i=Q_(t);i.length&&i.forEach(o=>{r.hasOwnProperty(o)||n.push(function JN(t){return new D(3001,!1)}())})}(a,n.options,n.errors)})})}visitKeyframes(e,n){const r={type:5,styles:[],options:null};if(!n.currentAnimateTimings)return n.errors.push(function a1(){return new D(3011,!1)}()),r;let o=0;const s=[];let a=!1,l=!1,u=0;const c=e.steps.map(_=>{const w=this._makeStyleAst(_,n);let m=null!=w.offset?w.offset:function eF(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(n=>{if(n instanceof Map&&n.has("offset")){const r=n;e=parseFloat(r.get("offset")),r.delete("offset")}});else if(t instanceof Map&&t.has("offset")){const n=t;e=parseFloat(n.get("offset")),n.delete("offset")}return e}(w.styles),E=0;return null!=m&&(o++,E=w.offset=m),l=l||E<0||E>1,a=a||E0&&o{const m=f>0?w==h?1:f*w:s[w],E=m*y;n.currentTime=p+g.delay+E,g.duration=E,this._validateStyleAst(_,n),_.offset=m,r.styles.push(_)}),r}visitReference(e,n){return{type:8,animation:ft(this,Xi(e.animation),n),options:rr(e.options)}}visitAnimateChild(e,n){return n.depCount++,{type:9,options:rr(e.options)}}visitAnimateRef(e,n){return{type:10,animation:this.visitReference(e.animation,n),options:rr(e.options)}}visitQuery(e,n){const r=n.currentQuerySelector,i=e.options||{};n.queryCount++,n.currentQuery=e;const[o,s]=function Y1(t){const e=!!t.split(/\s*,\s*/).find(n=>":self"==n);return e&&(t=t.replace(K1,"")),t=t.replace(/@\*/g,Hs).replace(/@\w+/g,n=>Hs+"-"+n.slice(1)).replace(/:animating/g,kc),[t,e]}(e.selector);n.currentQuerySelector=r.length?r+" "+o:o,dt(n.collectedStyles,n.currentQuerySelector,new Map);const a=ft(this,Xi(e.animation),n);return n.currentQuery=null,n.currentQuerySelector=r,{type:11,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:rr(e.options)}}visitStagger(e,n){n.currentQuery||n.errors.push(function d1(){return new D(3013,!1)}());const r="full"===e.timings?{duration:0,delay:0,easing:"full"}:$s(e.timings,n.errors,!0);return{type:12,animation:ft(this,Xi(e.animation),n),timings:r,options:null}}}class X1{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function rr(t){return t?(t=Ji(t)).params&&(t.params=function J1(t){return t?Ji(t):null}(t.params)):t={},t}function jc(t,e,n){return{duration:t,delay:e,easing:n}}function Hc(t,e,n,r,i,o,s=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}class Zs{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,n){let r=this._map.get(e);r||this._map.set(e,r=[]),r.push(...n)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const iF=new RegExp(":enter","g"),sF=new RegExp(":leave","g");function $c(t,e,n,r,i,o=new Map,s=new Map,a,l,u=[]){return(new aF).buildKeyframes(t,e,n,r,i,o,s,a,l,u)}class aF{buildKeyframes(e,n,r,i,o,s,a,l,u,c=[]){u=u||new Zs;const d=new Uc(e,n,u,i,o,c,[]);d.options=l;const f=l.delay?Pn(l.delay):0;d.currentTimeline.delayNextStep(f),d.currentTimeline.setStyles([s],null,d.errors,l),ft(this,r,d);const h=d.timelines.filter(p=>p.containsAnimation());if(h.length&&a.size){let p;for(let g=h.length-1;g>=0;g--){const y=h[g];if(y.element===n){p=y;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([a],null,d.errors,l)}return h.length?h.map(p=>p.buildKeyframes()):[Hc(n,[],[],[],0,f,"",!1)]}visitTrigger(e,n){}visitState(e,n){}visitTransition(e,n){}visitAnimateChild(e,n){const r=n.subInstructions.get(n.element);if(r){const i=n.createSubContext(e.options),o=n.currentTimeline.currentTime,s=this._visitSubInstructions(r,i,i.options);o!=s&&n.transformIntoNewTimeline(s)}n.previousNode=e}visitAnimateRef(e,n){const r=n.createSubContext(e.options);r.transformIntoNewTimeline(),this.visitReference(e.animation,r),n.transformIntoNewTimeline(r.currentTimeline.currentTime),n.previousNode=e}_visitSubInstructions(e,n,r){let o=n.currentTimeline.currentTime;const s=null!=r.duration?Pn(r.duration):null,a=null!=r.delay?Pn(r.delay):null;return 0!==s&&e.forEach(l=>{const u=n.appendInstructionToTimeline(l,s,a);o=Math.max(o,u.duration+u.delay)}),o}visitReference(e,n){n.updateOptions(e.options,!0),ft(this,e.animation,n),n.previousNode=e}visitSequence(e,n){const r=n.subContextCount;let i=n;const o=e.options;if(o&&(o.params||o.delay)&&(i=n.createSubContext(o),i.transformIntoNewTimeline(),null!=o.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Ys);const s=Pn(o.delay);i.delayNextStep(s)}e.steps.length&&(e.steps.forEach(s=>ft(this,s,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),n.previousNode=e}visitGroup(e,n){const r=[];let i=n.currentTimeline.currentTime;const o=e.options&&e.options.delay?Pn(e.options.delay):0;e.steps.forEach(s=>{const a=n.createSubContext(e.options);o&&a.delayNextStep(o),ft(this,s,a),i=Math.max(i,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(s=>n.currentTimeline.mergeTimelineCollectedStyles(s)),n.transformIntoNewTimeline(i),n.previousNode=e}_visitTiming(e,n){if(e.dynamic){const r=e.strValue;return $s(n.params?Us(r,n.params,n.errors):r,n.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,n){const r=n.currentAnimateTimings=this._visitTiming(e.timings,n),i=n.currentTimeline;r.delay&&(n.incrementTime(r.delay),i.snapshotCurrentStyles());const o=e.style;5==o.type?this.visitKeyframes(o,n):(n.incrementTime(r.duration),this.visitStyle(o,n),i.applyStylesToKeyframe()),n.currentAnimateTimings=null,n.previousNode=e}visitStyle(e,n){const r=n.currentTimeline,i=n.currentAnimateTimings;!i&&r.hasCurrentStyleProperties()&&r.forwardFrame();const o=i&&i.easing||e.easing;e.isEmptyStep?r.applyEmptyStep(o):r.setStyles(e.styles,o,n.errors,n.options),n.previousNode=e}visitKeyframes(e,n){const r=n.currentAnimateTimings,i=n.currentTimeline.duration,o=r.duration,a=n.createSubContext().currentTimeline;a.easing=r.easing,e.styles.forEach(l=>{a.forwardTime((l.offset||0)*o),a.setStyles(l.styles,l.easing,n.errors,n.options),a.applyStylesToKeyframe()}),n.currentTimeline.mergeTimelineCollectedStyles(a),n.transformIntoNewTimeline(i+o),n.previousNode=e}visitQuery(e,n){const r=n.currentTimeline.currentTime,i=e.options||{},o=i.delay?Pn(i.delay):0;o&&(6===n.previousNode.type||0==r&&n.currentTimeline.hasCurrentStyleProperties())&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Ys);let s=r;const a=n.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,n.errors);n.currentQueryTotal=a.length;let l=null;a.forEach((u,c)=>{n.currentQueryIndex=c;const d=n.createSubContext(e.options,u);o&&d.delayNextStep(o),u===n.element&&(l=d.currentTimeline),ft(this,e.animation,d),d.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,d.currentTimeline.currentTime)}),n.currentQueryIndex=0,n.currentQueryTotal=0,n.transformIntoNewTimeline(s),l&&(n.currentTimeline.mergeTimelineCollectedStyles(l),n.currentTimeline.snapshotCurrentStyles()),n.previousNode=e}visitStagger(e,n){const r=n.parentContext,i=n.currentTimeline,o=e.timings,s=Math.abs(o.duration),a=s*(n.currentQueryTotal-1);let l=s*n.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=r.currentStaggerTime}const c=n.currentTimeline;l&&c.delayNextStep(l);const d=c.currentTime;ft(this,e.animation,n),n.previousNode=e,r.currentStaggerTime=i.currentTime-d+(i.startTime-r.currentTimeline.startTime)}}const Ys={};class Uc{constructor(e,n,r,i,o,s,a,l){this._driver=e,this.element=n,this.subInstructions=r,this._enterClassName=i,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Ys,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Js(this._driver,n,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,n){if(!e)return;const r=e;let i=this.options;null!=r.duration&&(i.duration=Pn(r.duration)),null!=r.delay&&(i.delay=Pn(r.delay));const o=r.params;if(o){let s=i.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!n||!s.hasOwnProperty(a))&&(s[a]=Us(o[a],s,this.errors))})}}_copyOptions(){const e={};if(this.options){const n=this.options.params;if(n){const r=e.params={};Object.keys(n).forEach(i=>{r[i]=n[i]})}}return e}createSubContext(e=null,n,r){const i=n||this.element,o=new Uc(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(e){return this.previousNode=Ys,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,n,r){const i={duration:null!=n?n:e.duration,delay:this.currentTimeline.currentTime+(null!=r?r:0)+e.delay,easing:""},o=new lF(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(o),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,n,r,i,o,s){let a=[];if(i&&a.push(this.element),e.length>0){e=(e=e.replace(iF,"."+this._enterClassName)).replace(sF,"."+this._leaveClassName);let u=this._driver.query(this.element,e,1!=r);0!==r&&(u=r<0?u.slice(u.length+r,u.length):u.slice(0,r)),a.push(...u)}return!o&&0==a.length&&s.push(function f1(t){return new D(3014,!1)}()),a}}class Js{constructor(e,n,r,i){this._driver=e,this.element=n,this.startTime=r,this._elementTimelineStylesLookup=i,this.duration=0,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(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const n=1===this._keyframes.size&&this._pendingStyles.size;this.duration||n?(this.forwardTime(this.currentTime+e),n&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,n){return this.applyStylesToKeyframe(),new Js(this._driver,e,n||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,n){this._localTimelineStyles.set(e,n),this._globalTimelineStyles.set(e,n),this._styleSummary.set(e,{time:this.currentTime,value:n})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[n,r]of this._globalTimelineStyles)this._backFill.set(n,r||mn),this._currentKeyframe.set(n,mn);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,n,r,i){var o;n&&this._previousKeyframe.set("easing",n);const s=i&&i.params||{},a=function uF(t,e){const n=new Map;let r;return t.forEach(i=>{if("*"===i){r=r||e.keys();for(let o of r)n.set(o,mn)}else On(i,n)}),n}(e,this._globalTimelineStyles);for(let[l,u]of a){const c=Us(u,s,r);this._pendingStyles.set(l,c),this._localTimelineStyles.has(l)||this._backFill.set(l,null!==(o=this._globalTimelineStyles.get(l))&&void 0!==o?o:mn),this._updateStyle(l,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((e,n)=>{this._currentKeyframe.set(n,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,n)=>{this._currentKeyframe.has(n)||this._currentKeyframe.set(n,e)}))}snapshotCurrentStyles(){for(let[e,n]of this._localTimelineStyles)this._pendingStyles.set(e,n),this._updateStyle(e,n)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let n in this._currentKeyframe)e.push(n);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((n,r)=>{const i=this._styleSummary.get(r);(!i||n.time>i.time)&&this._updateStyle(r,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((a,l)=>{const u=On(a,new Map,this._backFill);u.forEach((c,d)=>{"!"===c?e.add(d):c===mn&&n.add(d)}),r||u.set("offset",l/this.duration),i.push(u)});const o=e.size?Gs(e.values()):[],s=n.size?Gs(n.values()):[];if(r){const a=i[0],l=new Map(a);a.set("offset",0),l.set("offset",1),i=[a,l]}return Hc(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)}}class lF extends Js{constructor(e,n,r,i,o,s,a=!1){super(e,n,s.delay),this.keyframes=r,this.preStyleProps=i,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:n,duration:r,easing:i}=this.timings;if(this._stretchStartingKeyframe&&n){const o=[],s=r+n,a=n/s,l=On(e[0]);l.set("offset",0),o.push(l);const u=On(e[0]);u.set("offset",X_(a)),o.push(u);const c=e.length-1;for(let d=1;d<=c;d++){let f=On(e[d]);const h=f.get("offset");f.set("offset",X_((n+h*r)/s)),o.push(f)}r=s,n=0,i="",e=o}return Hc(this.element,e,this.preStyleProps,this.postStyleProps,r,n,i,!0)}}function X_(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class Gc{}const cF=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 dF extends Gc{normalizePropertyName(e,n){return Lc(e)}normalizeStyleValue(e,n,r,i){let o="";const s=r.toString().trim();if(cF.has(n)&&0!==r&&"0"!==r)if("number"==typeof r)o="px";else{const a=r.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&i.push(function t1(t,e){return new D(3005,!1)}())}return s+o}}function ev(t,e,n,r,i,o,s,a,l,u,c,d,f){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:s,timelines:a,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:d,errors:f}}const zc={};class tv{constructor(e,n,r){this._triggerName=e,this.ast=n,this._stateStyles=r}match(e,n,r,i){return function fF(t,e,n,r,i){return t.some(o=>o(e,n,r,i))}(this.ast.matchers,e,n,r,i)}buildStyles(e,n,r){let i=this._stateStyles.get("*");return void 0!==e&&(i=this._stateStyles.get(null==e?void 0:e.toString())||i),i?i.buildStyles(n,r):new Map}build(e,n,r,i,o,s,a,l,u,c){var d;const f=[],h=this.ast.options&&this.ast.options.params||zc,g=this.buildStyles(r,a&&a.params||zc,f),y=l&&l.params||zc,_=this.buildStyles(i,y,f),w=new Set,m=new Map,E=new Map,P="void"===i,K={params:hF(y,h),delay:null===(d=this.ast.options)||void 0===d?void 0:d.delay},_e=c?[]:$c(e,n,this.ast.animation,o,s,g,_,K,u,f);let He=0;if(_e.forEach(Ye=>{He=Math.max(Ye.duration+Ye.delay,He)}),f.length)return ev(n,this._triggerName,r,i,P,g,_,[],[],m,E,He,f);_e.forEach(Ye=>{const yn=Ye.element,_n=dt(m,yn,new Set);Ye.preStyleProps.forEach(Xt=>_n.add(Xt));const vn=dt(E,yn,new Set);Ye.postStyleProps.forEach(Xt=>vn.add(Xt)),yn!==n&&w.add(yn)});const Vn=Gs(w.values());return ev(n,this._triggerName,r,i,P,g,_,_e,Vn,m,E,He)}}function hF(t,e){const n=Ji(e);for(const r in t)t.hasOwnProperty(r)&&null!=t[r]&&(n[r]=t[r]);return n}class pF{constructor(e,n,r){this.styles=e,this.defaultParams=n,this.normalizer=r}buildStyles(e,n){const r=new Map,i=Ji(this.defaultParams);return Object.keys(e).forEach(o=>{const s=e[o];null!==s&&(i[o]=s)}),this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=Us(s,i,n));const l=this.normalizer.normalizePropertyName(a,n);s=this.normalizer.normalizeStyleValue(a,l,s,n),r.set(l,s)})}),r}}class mF{constructor(e,n,r){this.name=e,this.ast=n,this._normalizer=r,this.transitionFactories=[],this.states=new Map,n.states.forEach(i=>{this.states.set(i.name,new pF(i.style,i.options&&i.options.params||{},r))}),nv(this.states,"true","1"),nv(this.states,"false","0"),n.transitions.forEach(i=>{this.transitionFactories.push(new tv(e,i,this.states))}),this.fallbackTransition=function yF(t,e,n){return new tv(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},e)}(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,n,r,i){return this.transitionFactories.find(s=>s.match(e,n,r,i))||null}matchStyles(e,n,r){return this.fallbackTransition.buildStyles(e,n,r)}}function nv(t,e,n){t.has(e)?t.has(n)||t.set(n,t.get(e)):t.has(n)&&t.set(e,t.get(n))}const _F=new Zs;class vF{constructor(e,n,r){this.bodyNode=e,this._driver=n,this._normalizer=r,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,n){const r=[],o=Bc(this._driver,n,r,[]);if(r.length)throw function v1(t){return new D(3503,!1)}();this._animations.set(e,o)}_buildPlayer(e,n,r){const i=e.element,o=x_(0,this._normalizer,0,e.keyframes,n,r);return this._driver.animate(i,o,e.duration,e.delay,e.easing,[],!0)}create(e,n,r={}){const i=[],o=this._animations.get(e);let s;const a=new Map;if(o?(s=$c(this._driver,n,o,xc,Bs,new Map,new Map,r,_F,i),s.forEach(c=>{const d=dt(a,c.element,new Map);c.postStyleProps.forEach(f=>d.set(f,null))})):(i.push(function D1(){return new D(3300,!1)}()),s=[]),i.length)throw function C1(t){return new D(3504,!1)}();a.forEach((c,d)=>{c.forEach((f,h)=>{c.set(h,this._driver.computeStyle(d,h,mn))})});const u=Fn(s.map(c=>{const d=a.get(c.element);return this._buildPlayer(c,new Map,d)}));return this._playersById.set(e,u),u.onDestroy(()=>this.destroy(e)),this.players.push(u),u}destroy(e){const n=this._getPlayer(e);n.destroy(),this._playersById.delete(e);const r=this.players.indexOf(n);r>=0&&this.players.splice(r,1)}_getPlayer(e){const n=this._playersById.get(e);if(!n)throw function w1(t){return new D(3301,!1)}();return n}listen(e,n,r,i){const o=Nc(n,"","","");return Tc(this._getPlayer(e),r,o,i),()=>{}}command(e,n,r,i){if("register"==r)return void this.register(e,i[0]);if("create"==r)return void this.create(e,n,i[0]||{});const o=this._getPlayer(e);switch(r){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e)}}}const rv="ng-animate-queued",qc="ng-animate-disabled",bF=[],iv={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},MF={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},wt="__ng_removed";class Wc{constructor(e,n=""){this.namespaceId=n;const r=e&&e.hasOwnProperty("value");if(this.value=function IF(t){return null!=t?t:null}(r?e.value:e),r){const o=Ji(e);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){const n=e.params;if(n){const r=this.options.params;Object.keys(n).forEach(i=>{null==r[i]&&(r[i]=n[i])})}}}const eo="void",Qc=new Wc(eo);class SF{constructor(e,n,r){this.id=e,this.hostElement=n,this._engine=r,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Et(n,this._hostClassName)}listen(e,n,r,i){if(!this._triggers.has(n))throw function E1(t,e){return new D(3302,!1)}();if(null==r||0==r.length)throw function b1(t){return new D(3303,!1)}();if(!function NF(t){return"start"==t||"done"==t}(r))throw function M1(t,e){return new D(3400,!1)}();const o=dt(this._elementListeners,e,[]),s={name:n,phase:r,callback:i};o.push(s);const a=dt(this._engine.statesByElement,e,new Map);return a.has(n)||(Et(e,js),Et(e,js+"-"+n),a.set(n,Qc)),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(n)||a.delete(n)})}}register(e,n){return!this._triggers.has(e)&&(this._triggers.set(e,n),!0)}_getTrigger(e){const n=this._triggers.get(e);if(!n)throw function S1(t){return new D(3401,!1)}();return n}trigger(e,n,r,i=!0){const o=this._getTrigger(n),s=new Kc(this.id,n,e);let a=this._engine.statesByElement.get(e);a||(Et(e,js),Et(e,js+"-"+n),this._engine.statesByElement.set(e,a=new Map));let l=a.get(n);const u=new Wc(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),a.set(n,u),l||(l=Qc),u.value!==eo&&l.value===u.value){if(!function OF(t,e){const n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(let i=0;i{nr(e,y),Jt(e,_)})}return}const f=dt(this._engine.playersByElement,e,[]);f.forEach(g=>{g.namespaceId==this.id&&g.triggerName==n&&g.queued&&g.destroy()});let h=o.matchTransition(l.value,u.value,e,u.params),p=!1;if(!h){if(!i)return;h=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:n,transition:h,fromState:l,toState:u,player:s,isFallbackTransition:p}),p||(Et(e,rv),s.onStart(()=>{Jr(e,rv)})),s.onDone(()=>{let g=this.players.indexOf(s);g>=0&&this.players.splice(g,1);const y=this._engine.playersByElement.get(e);if(y){let _=y.indexOf(s);_>=0&&y.splice(_,1)}}),this.players.push(s),f.push(s),s}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(n=>n.delete(e)),this._elementListeners.forEach((n,r)=>{this._elementListeners.set(r,n.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const n=this._engine.playersByElement.get(e);n&&(n.forEach(r=>r.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,n){const r=this._engine.driver.query(e,Hs,!0);r.forEach(i=>{if(i[wt])return;const o=this._engine.fetchNamespacesByElement(i);o.size?o.forEach(s=>s.triggerLeaveAnimation(i,n,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,n,r,i){const o=this._engine.statesByElement.get(e),s=new Map;if(o){const a=[];if(o.forEach((l,u)=>{if(s.set(u,l.value),this._triggers.has(u)){const c=this.trigger(e,u,eo,i);c&&a.push(c)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,n,s),r&&Fn(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const n=this._elementListeners.get(e),r=this._engine.statesByElement.get(e);if(n&&r){const i=new Set;n.forEach(o=>{const s=o.name;if(i.has(s))return;i.add(s);const l=this._triggers.get(s).fallbackTransition,u=r.get(s)||Qc,c=new Wc(eo),d=new Kc(this.id,s,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:s,transition:l,fromState:u,toState:c,player:d,isFallbackTransition:!0})})}}removeNode(e,n){const r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,n),this.triggerLeaveAnimation(e,n,!0))return;let i=!1;if(r.totalAnimations){const o=r.players.length?r.playersByQueriedElement.get(e):[];if(o&&o.length)i=!0;else{let s=e;for(;s=s.parentNode;)if(r.statesByElement.get(s)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)r.markElementAsRemoved(this.id,e,!1,n);else{const o=e[wt];(!o||o===iv)&&(r.afterFlush(()=>this.clearElementCache(e)),r.destroyInnerAnimations(e),r._onRemovalComplete(e,n))}}insertNode(e,n){Et(e,this._hostClassName)}drainQueuedTransitions(e){const n=[];return this._queue.forEach(r=>{const i=r.player;if(i.destroyed)return;const o=r.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==r.triggerName){const l=Nc(o,r.triggerName,r.fromState.value,r.toState.value);l._data=e,Tc(r.player,a.phase,l,a.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):n.push(r)}),this._queue=[],n.sort((r,i)=>{const o=r.transition.ast.depCount,s=i.transition.ast.depCount;return 0==o||0==s?o-s:this._engine.driver.containsElement(r.element,i.element)?1:-1})}destroy(e){this.players.forEach(n=>n.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let n=!1;return this._elementListeners.has(e)&&(n=!0),n=!!this._queue.find(r=>r.element===e)||n,n}}class AF{constructor(e,n,r){this.bodyNode=e,this.driver=n,this._normalizer=r,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(i,o)=>{}}_onRemovalComplete(e,n){this.onRemovalComplete(e,n)}get queuedPlayers(){const e=[];return this._namespaceList.forEach(n=>{n.players.forEach(r=>{r.queued&&e.push(r)})}),e}createNamespace(e,n){const r=new SF(e,n,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,n)?this._balanceNamespaceList(r,n):(this.newHostElements.set(n,r),this.collectEnterElement(n)),this._namespaceLookup[e]=r}_balanceNamespaceList(e,n){const r=this._namespaceList,i=this.namespacesByHostElement;if(r.length-1>=0){let s=!1,a=this.driver.getParentElement(n);for(;a;){const l=i.get(a);if(l){const u=r.indexOf(l);r.splice(u+1,0,e),s=!0;break}a=this.driver.getParentElement(a)}s||r.unshift(e)}else r.push(e);return i.set(n,e),e}register(e,n){let r=this._namespaceLookup[e];return r||(r=this.createNamespace(e,n)),r}registerTrigger(e,n,r){let i=this._namespaceLookup[e];i&&i.register(n,r)&&this.totalAnimations++}destroy(e,n){if(!e)return;const r=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(r.hostElement),delete this._namespaceLookup[e];const i=this._namespaceList.indexOf(r);i>=0&&this._namespaceList.splice(i,1)}),this.afterFlushAnimationsDone(()=>r.destroy(n))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const n=new Set,r=this.statesByElement.get(e);if(r)for(let i of r.values())if(i.namespaceId){const o=this._fetchNamespace(i.namespaceId);o&&n.add(o)}return n}trigger(e,n,r,i){if(Xs(n)){const o=this._fetchNamespace(e);if(o)return o.trigger(n,r,i),!0}return!1}insertNode(e,n,r,i){if(!Xs(n))return;const o=n[wt];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(n);s>=0&&this.collectedLeaveElements.splice(s,1)}if(e){const s=this._fetchNamespace(e);s&&s.insertNode(n,r)}i&&this.collectEnterElement(n)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,n){n?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Et(e,qc)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Jr(e,qc))}removeNode(e,n,r,i){if(Xs(n)){const o=e?this._fetchNamespace(e):null;if(o?o.removeNode(n,i):this.markElementAsRemoved(e,n,!1,i),r){const s=this.namespacesByHostElement.get(n);s&&s.id!==e&&s.removeNode(n,i)}}else this._onRemovalComplete(n,i)}markElementAsRemoved(e,n,r,i,o){this.collectedLeaveElements.push(n),n[wt]={namespaceId:e,setForRemoval:i,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,n,r,i,o){return Xs(n)?this._fetchNamespace(e).listen(n,r,i,o):()=>{}}_buildInstruction(e,n,r,i,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,r,i,e.fromState.options,e.toState.options,n,o)}destroyInnerAnimations(e){let n=this.driver.query(e,Hs,!0);n.forEach(r=>this.destroyActiveAnimationsForElement(r)),0!=this.playersByQueriedElement.size&&(n=this.driver.query(e,kc,!0),n.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(e){const n=this.playersByElement.get(e);n&&n.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(e){const n=this.playersByQueriedElement.get(e);n&&n.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Fn(this.players).onDone(()=>e());e()})}processLeaveNode(e){var n;const r=e[wt];if(r&&r.setForRemoval){if(e[wt]=iv,r.namespaceId){this.destroyInnerAnimations(e);const i=this._fetchNamespace(r.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,r.setForRemoval)}!(null===(n=e.classList)||void 0===n)&&n.contains(qc)&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(e=-1){let n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,i)=>this._balanceNamespaceList(r,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;rr()),this._flushFns=[],this._whenQuietFns.length){const r=this._whenQuietFns;this._whenQuietFns=[],n.length?Fn(n).onDone(()=>{r.forEach(i=>i())}):r.forEach(i=>i())}}reportError(e){throw function A1(t){return new D(3402,!1)}()}_flushAnimations(e,n){const r=new Zs,i=[],o=new Map,s=[],a=new Map,l=new Map,u=new Map,c=new Set;this.disabledNodes.forEach(T=>{c.add(T);const I=this.driver.query(T,".ng-animate-queued",!0);for(let F=0;F{const F=xc+g++;p.set(I,F),T.forEach(W=>Et(W,F))});const y=[],_=new Set,w=new Set;for(let T=0;T_.add(W)):w.add(I))}const m=new Map,E=av(f,Array.from(_));E.forEach((T,I)=>{const F=Bs+g++;m.set(I,F),T.forEach(W=>Et(W,F))}),e.push(()=>{h.forEach((T,I)=>{const F=p.get(I);T.forEach(W=>Jr(W,F))}),E.forEach((T,I)=>{const F=m.get(I);T.forEach(W=>Jr(W,F))}),y.forEach(T=>{this.processLeaveNode(T)})});const P=[],K=[];for(let T=this._namespaceList.length-1;T>=0;T--)this._namespaceList[T].drainQueuedTransitions(n).forEach(F=>{const W=F.player,ve=F.element;if(P.push(W),this.collectedEnterElements.length){const $e=ve[wt];if($e&&$e.setForMove){if($e.previousTriggersValues&&$e.previousTriggersValues.has(F.triggerName)){const sr=$e.previousTriggersValues.get(F.triggerName),bt=this.statesByElement.get(F.element);if(bt&&bt.has(F.triggerName)){const ha=bt.get(F.triggerName);ha.value=sr,bt.set(F.triggerName,ha)}}return void W.destroy()}}const en=!d||!this.driver.containsElement(d,ve),ht=m.get(ve),Ln=p.get(ve),pe=this._buildInstruction(F,r,Ln,ht,en);if(pe.errors&&pe.errors.length)return void K.push(pe);if(en)return W.onStart(()=>nr(ve,pe.fromStyles)),W.onDestroy(()=>Jt(ve,pe.toStyles)),void i.push(W);if(F.isFallbackTransition)return W.onStart(()=>nr(ve,pe.fromStyles)),W.onDestroy(()=>Jt(ve,pe.toStyles)),void i.push(W);const AD=[];pe.timelines.forEach($e=>{$e.stretchStartingKeyframe=!0,this.disabledNodes.has($e.element)||AD.push($e)}),pe.timelines=AD,r.append(ve,pe.timelines),s.push({instruction:pe,player:W,element:ve}),pe.queriedElements.forEach($e=>dt(a,$e,[]).push(W)),pe.preStyleProps.forEach(($e,sr)=>{if($e.size){let bt=l.get(sr);bt||l.set(sr,bt=new Set),$e.forEach((ha,vd)=>bt.add(vd))}}),pe.postStyleProps.forEach(($e,sr)=>{let bt=u.get(sr);bt||u.set(sr,bt=new Set),$e.forEach((ha,vd)=>bt.add(vd))})});if(K.length){const T=[];K.forEach(I=>{T.push(function T1(t,e){return new D(3505,!1)}())}),P.forEach(I=>I.destroy()),this.reportError(T)}const _e=new Map,He=new Map;s.forEach(T=>{const I=T.element;r.has(I)&&(He.set(I,I),this._beforeAnimationBuild(T.player.namespaceId,T.instruction,_e))}),i.forEach(T=>{const I=T.element;this._getPreviousPlayers(I,!1,T.namespaceId,T.triggerName,null).forEach(W=>{dt(_e,I,[]).push(W),W.destroy()})});const Vn=y.filter(T=>uv(T,l,u)),Ye=new Map;sv(Ye,this.driver,w,u,mn).forEach(T=>{uv(T,l,u)&&Vn.push(T)});const _n=new Map;h.forEach((T,I)=>{sv(_n,this.driver,new Set(T),l,"!")}),Vn.forEach(T=>{var I,F;const W=Ye.get(T),ve=_n.get(T);Ye.set(T,new Map([...Array.from(null!==(I=null==W?void 0:W.entries())&&void 0!==I?I:[]),...Array.from(null!==(F=null==ve?void 0:ve.entries())&&void 0!==F?F:[])]))});const vn=[],Xt=[],ei={};s.forEach(T=>{const{element:I,player:F,instruction:W}=T;if(r.has(I)){if(c.has(I))return F.onDestroy(()=>Jt(I,W.toStyles)),F.disabled=!0,F.overrideTotalTime(W.totalTime),void i.push(F);let ve=ei;if(He.size>1){let ht=I;const Ln=[];for(;ht=ht.parentNode;){const pe=He.get(ht);if(pe){ve=pe;break}Ln.push(ht)}Ln.forEach(pe=>He.set(pe,ve))}const en=this._buildAnimation(F.namespaceId,W,_e,o,_n,Ye);if(F.setRealPlayer(en),ve===ei)vn.push(F);else{const ht=this.playersByElement.get(ve);ht&&ht.length&&(F.parentPlayer=Fn(ht)),i.push(F)}}else nr(I,W.fromStyles),F.onDestroy(()=>Jt(I,W.toStyles)),Xt.push(F),c.has(I)&&i.push(F)}),Xt.forEach(T=>{const I=o.get(T.element);if(I&&I.length){const F=Fn(I);T.setRealPlayer(F)}}),i.forEach(T=>{T.parentPlayer?T.syncPlayerEvents(T.parentPlayer):T.destroy()});for(let T=0;T!en.destroyed);ve.length?FF(this,I,ve):this.processLeaveNode(I)}return y.length=0,vn.forEach(T=>{this.players.push(T),T.onDone(()=>{T.destroy();const I=this.players.indexOf(T);this.players.splice(I,1)}),T.play()}),vn}elementContainsData(e,n){let r=!1;const i=n[wt];return i&&i.setForRemoval&&(r=!0),this.playersByElement.has(n)&&(r=!0),this.playersByQueriedElement.has(n)&&(r=!0),this.statesByElement.has(n)&&(r=!0),this._fetchNamespace(e).elementContainsData(n)||r}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,n,r,i,o){let s=[];if(n){const a=this.playersByQueriedElement.get(e);a&&(s=a)}else{const a=this.playersByElement.get(e);if(a){const l=!o||o==eo;a.forEach(u=>{u.queued||!l&&u.triggerName!=i||s.push(u)})}}return(r||i)&&(s=s.filter(a=>!(r&&r!=a.namespaceId||i&&i!=a.triggerName))),s}_beforeAnimationBuild(e,n,r){const o=n.element,s=n.isRemovalTransition?void 0:e,a=n.isRemovalTransition?void 0:n.triggerName;for(const l of n.timelines){const u=l.element,c=u!==o,d=dt(r,u,[]);this._getPreviousPlayers(u,c,s,a,n.toState).forEach(h=>{const p=h.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),h.destroy(),d.push(h)})}nr(o,n.fromStyles)}_buildAnimation(e,n,r,i,o,s){const a=n.triggerName,l=n.element,u=[],c=new Set,d=new Set,f=n.timelines.map(p=>{const g=p.element;c.add(g);const y=g[wt];if(y&&y.removedBeforeQueried)return new Yi(p.duration,p.delay);const _=g!==l,w=function PF(t){const e=[];return lv(t,e),e}((r.get(g)||bF).map(_e=>_e.getRealPlayer())).filter(_e=>!!_e.element&&_e.element===g),m=o.get(g),E=s.get(g),P=x_(0,this._normalizer,0,p.keyframes,m,E),K=this._buildPlayer(p,P,w);if(p.subTimeline&&i&&d.add(g),_){const _e=new Kc(e,a,g);_e.setRealPlayer(K),u.push(_e)}return K});u.forEach(p=>{dt(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>function TF(t,e,n){let r=t.get(e);if(r){if(r.length){const i=r.indexOf(n);r.splice(i,1)}0==r.length&&t.delete(e)}return r}(this.playersByQueriedElement,p.element,p))}),c.forEach(p=>Et(p,U_));const h=Fn(f);return h.onDestroy(()=>{c.forEach(p=>Jr(p,U_)),Jt(l,n.toStyles)}),d.forEach(p=>{dt(i,p,[]).push(h)}),h}_buildPlayer(e,n,r){return n.length>0?this.driver.animate(e.element,n,e.duration,e.delay,e.easing,r):new Yi(e.duration,e.delay)}}class Kc{constructor(e,n,r){this.namespaceId=e,this.triggerName=n,this.element=r,this._player=new Yi,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((n,r)=>{n.forEach(i=>Tc(e,r,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const n=this._player;n.triggerCallback&&e.onStart(()=>n.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,n){dt(this._queuedCallbacks,e,[]).push(n)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const n=this._player;n.triggerCallback&&n.triggerCallback(e)}}function Xs(t){return t&&1===t.nodeType}function ov(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function sv(t,e,n,r,i){const o=[];n.forEach(l=>o.push(ov(l)));const s=[];r.forEach((l,u)=>{const c=new Map;l.forEach(d=>{const f=e.computeStyle(u,d,i);c.set(d,f),(!f||0==f.length)&&(u[wt]=MF,s.push(u))}),t.set(u,c)});let a=0;return n.forEach(l=>ov(l,o[a++])),s}function av(t,e){const n=new Map;if(t.forEach(a=>n.set(a,[])),0==e.length)return n;const i=new Set(e),o=new Map;function s(a){if(!a)return 1;let l=o.get(a);if(l)return l;const u=a.parentNode;return l=n.has(u)?u:i.has(u)?1:s(u),o.set(a,l),l}return e.forEach(a=>{const l=s(a);1!==l&&n.get(l).push(a)}),n}function Et(t,e){var n;null===(n=t.classList)||void 0===n||n.add(e)}function Jr(t,e){var n;null===(n=t.classList)||void 0===n||n.remove(e)}function FF(t,e,n){Fn(n).onDone(()=>t.processLeaveNode(e))}function lv(t,e){for(let n=0;ni.add(o)):e.set(t,r),n.delete(t),!0}class ea{constructor(e,n,r){this.bodyNode=e,this._driver=n,this._normalizer=r,this._triggerCache={},this.onRemovalComplete=(i,o)=>{},this._transitionEngine=new AF(e,n,r),this._timelineEngine=new vF(e,n,r),this._transitionEngine.onRemovalComplete=(i,o)=>this.onRemovalComplete(i,o)}registerTrigger(e,n,r,i,o){const s=e+"-"+i;let a=this._triggerCache[s];if(!a){const l=[],c=Bc(this._driver,o,l,[]);if(l.length)throw function y1(t,e){return new D(3404,!1)}();a=function gF(t,e,n){return new mF(t,e,n)}(i,c,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(n,i,a)}register(e,n){this._transitionEngine.register(e,n)}destroy(e,n){this._transitionEngine.destroy(e,n)}onInsert(e,n,r,i){this._transitionEngine.insertNode(e,n,r,i)}onRemove(e,n,r,i){this._transitionEngine.removeNode(e,n,i||!1,r)}disableAnimations(e,n){this._transitionEngine.markElementAsDisabled(e,n)}process(e,n,r,i){if("@"==r.charAt(0)){const[o,s]=k_(r);this._timelineEngine.command(o,n,s,i)}else this._transitionEngine.trigger(e,n,r,i)}listen(e,n,r,i,o){if("@"==r.charAt(0)){const[s,a]=k_(r);return this._timelineEngine.listen(s,n,a,o)}return this._transitionEngine.listen(e,n,r,i,o)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let kF=(()=>{class t{constructor(n,r,i){this._element=n,this._startStyles=r,this._endStyles=i,this._state=0;let o=t.initialStylesByElement.get(n);o||t.initialStylesByElement.set(n,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&Jt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Jt(this._element,this._initialStyles),this._endStyles&&(Jt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(nr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(nr(this._element,this._endStyles),this._endStyles=null),Jt(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function Zc(t){let e=null;return t.forEach((n,r)=>{(function RF(t){return"display"===t||"position"===t})(r)&&(e=e||new Map,e.set(r,n))}),e}class cv{constructor(e,n,r,i){this.element=e,this.keyframes=n,this.options=r,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){const n=[];return e.forEach(r=>{n.push(Object.fromEntries(r))}),n}_triggerWebAnimation(e,n,r){return e.animate(this._convertKeyframesToObject(n),r)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,i)=>{"offset"!==i&&e.set(i,this._finished?r:K_(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){const n="start"===e?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}}class VF{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,n){return!1}containsElement(e,n){return B_(e,n)}getParentElement(e){return Pc(e)}query(e,n,r){return j_(e,n,r)}computeStyle(e,n,r){return window.getComputedStyle(e)[n]}animate(e,n,r,i,o,s=[]){const l={duration:r,delay:i,fill:0==i?"both":"forwards"};o&&(l.easing=o);const u=new Map,c=s.filter(h=>h instanceof cv);(function H1(t,e){return 0===t||0===e})(r,i)&&c.forEach(h=>{h.currentSnapshot.forEach((p,g)=>u.set(g,p))});let d=function V1(t){return t.length?t[0]instanceof Map?t:t.map(e=>G_(e)):[]}(n).map(h=>On(h));d=function $1(t,e,n){if(n.size&&e.length){let r=e[0],i=[];if(n.forEach((o,s)=>{r.has(s)||i.push(s),r.set(s,o)}),i.length)for(let o=1;os.set(a,K_(t,a)))}}return e}(e,d,u);const f=function xF(t,e){let n=null,r=null;return Array.isArray(e)&&e.length?(n=Zc(e[0]),e.length>1&&(r=Zc(e[e.length-1]))):e instanceof Map&&(n=Zc(e)),n||r?new kF(t,n,r):null}(e,d);return new cv(e,d,l,f)}}let LF=(()=>{class t extends T_{constructor(n,r){super(),this._nextAnimationId=0,this._renderer=n.createRenderer(r.body,{id:"0",encapsulation:At.None,styles:[],data:{animation:[]}})}build(n){const r=this._nextAnimationId.toString();this._nextAnimationId++;const i=Array.isArray(n)?I_(n):n;return dv(this._renderer,null,r,"register",[i]),new BF(r,this._renderer)}}return t.\u0275fac=function(n){return new(n||t)(U(Mi),U(ct))},t.\u0275prov=ee({token:t,factory:t.\u0275fac}),t})();class BF extends class KN{}{constructor(e,n){super(),this._id=e,this._renderer=n}create(e,n){return new jF(this._id,e,n||{},this._renderer)}}class jF{constructor(e,n,r,i){this.id=e,this.element=n,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",r)}_listen(e,n){return this._renderer.listen(this.element,`@@${this.id}:${e}`,n)}_command(e,...n){return dv(this._renderer,this.element,this.id,e,n)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(e){this._command("setPosition",e)}getPosition(){var e,n;return null!==(n=null===(e=this._renderer.engine.players[+this.id])||void 0===e?void 0:e.getPosition())&&void 0!==n?n:0}}function dv(t,e,n,r,i){return t.setProperty(e,`@@${n}:${r}`,i)}const fv="@.disabled";let HF=(()=>{class t{constructor(n,r,i){this.delegate=n,this.engine=r,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),r.onRemovalComplete=(o,s)=>{const a=null==s?void 0:s.parentNode(o);a&&s.removeChild(a,o)}}createRenderer(n,r){const o=this.delegate.createRenderer(n,r);if(!(n&&r&&r.data&&r.data.animation)){let c=this._rendererCache.get(o);return c||(c=new hv("",o,this.engine),this._rendererCache.set(o,c)),c}const s=r.id,a=r.id+"-"+this._currentId;this._currentId++,this.engine.register(a,n);const l=c=>{Array.isArray(c)?c.forEach(l):this.engine.registerTrigger(s,a,n,c.name,c)};return r.data.animation.forEach(l),new $F(this,a,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(n,r,i){n>=0&&nr(i)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(o=>{const[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([r,i]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return t.\u0275fac=function(n){return new(n||t)(U(Mi),U(ea),U(Ne))},t.\u0275prov=ee({token:t,factory:t.\u0275fac}),t})();class hv{constructor(e,n,r){this.namespaceId=e,this.delegate=n,this.engine=r,this.destroyNode=this.delegate.destroyNode?i=>n.destroyNode(i):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(e,n){return this.delegate.createElement(e,n)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,n){this.delegate.appendChild(e,n),this.engine.onInsert(this.namespaceId,n,e,!1)}insertBefore(e,n,r,i=!0){this.delegate.insertBefore(e,n,r),this.engine.onInsert(this.namespaceId,n,e,i)}removeChild(e,n,r){this.engine.onRemove(this.namespaceId,n,this.delegate,r)}selectRootElement(e,n){return this.delegate.selectRootElement(e,n)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,n,r,i){this.delegate.setAttribute(e,n,r,i)}removeAttribute(e,n,r){this.delegate.removeAttribute(e,n,r)}addClass(e,n){this.delegate.addClass(e,n)}removeClass(e,n){this.delegate.removeClass(e,n)}setStyle(e,n,r,i){this.delegate.setStyle(e,n,r,i)}removeStyle(e,n,r){this.delegate.removeStyle(e,n,r)}setProperty(e,n,r){"@"==n.charAt(0)&&n==fv?this.disableAnimations(e,!!r):this.delegate.setProperty(e,n,r)}setValue(e,n){this.delegate.setValue(e,n)}listen(e,n,r){return this.delegate.listen(e,n,r)}disableAnimations(e,n){this.engine.disableAnimations(e,n)}}class $F extends hv{constructor(e,n,r,i){super(n,r,i),this.factory=e,this.namespaceId=n}setProperty(e,n,r){"@"==n.charAt(0)?"."==n.charAt(1)&&n==fv?this.disableAnimations(e,r=void 0===r||!!r):this.engine.process(this.namespaceId,e,n.slice(1),r):this.delegate.setProperty(e,n,r)}listen(e,n,r){if("@"==n.charAt(0)){const i=function UF(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(e);let o=n.slice(1),s="";return"@"!=o.charAt(0)&&([o,s]=function GF(t){const e=t.indexOf(".");return[t.substring(0,e),t.slice(e+1)]}(o)),this.engine.listen(this.namespaceId,i,o,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,r,a)})}return this.delegate.listen(e,n,r)}}const pv=[{provide:T_,useClass:LF},{provide:Gc,useFactory:function qF(){return new dF}},{provide:ea,useClass:(()=>{class t extends ea{constructor(n,r,i,o){super(n.body,r,i)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(n){return new(n||t)(U(ct),U(Oc),U(Gc),U(vs))},t.\u0275prov=ee({token:t,factory:t.\u0275fac}),t})()},{provide:Mi,useFactory:function WF(t,e,n){return new HF(t,e,n)},deps:[Ls,ea,Ne]}],Yc=[{provide:Oc,useFactory:()=>new VF},{provide:_y,useValue:"BrowserAnimations"},...pv],gv=[{provide:Oc,useClass:H_},{provide:_y,useValue:"NoopAnimations"},...pv];let QF=(()=>{class t{static withConfig(n){return{ngModule:t,providers:n.disableAnimations?gv:Yc}}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=Mt({providers:Yc,imports:[b_]}),t})();const{isArray:KF}=Array,{getPrototypeOf:ZF,prototype:YF,keys:JF}=Object;const{isArray:tP}=Array;function iP(t,e){return t.reduce((n,r,i)=>(n[r]=e[i],n),{})}function oP(...t){const e=function rC(t){return fe(wa(t))?t.pop():void 0}(t),{args:n,keys:r}=function XF(t){if(1===t.length){const e=t[0];if(KF(e))return{args:e,keys:null};if(function eP(t){return t&&"object"==typeof t&&ZF(t)===YF}(e)){const n=JF(e);return{args:n.map(r=>e[r]),keys:n}}}return{args:t,keys:null}}(t),i=new xe(o=>{const{length:s}=n;if(!s)return void o.complete();const a=new Array(s);let l=s,u=s;for(let c=0;c{d||(d=!0,u--),a[c]=f},()=>l--,void 0,()=>{(!l||!d)&&(u||o.next(r?iP(r,a):a),o.complete())}))}});return e?i.pipe(function rP(t){return Da(e=>function nP(t,e){return tP(e)?t(...e):t(e)}(t,e))}(e)):i}let mv=(()=>{class t{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}}return t.\u0275fac=function(n){return new(n||t)(C(Qn),C(Ft))},t.\u0275dir=B({type:t}),t})(),ir=(()=>{class t extends mv{}return t.\u0275fac=function(){let e;return function(r){return(e||(e=function Ve(t){return wn(()=>{const e=t.prototype.constructor,n=e[nn]||Xa(e),r=Object.prototype;let i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==r;){const o=i[nn]||Xa(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}(t)))(r||t)}}(),t.\u0275dir=B({type:t,features:[re]}),t})();const jt=new $("NgValueAccessor"),aP={provide:jt,useExisting:ae(()=>Jc),multi:!0},uP=new $("CompositionEventMode");let Jc=(()=>{class t extends mv{constructor(n,r,i){super(n,r),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function lP(){const t=er()?er().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(n){this.setProperty("value",null==n?"":n)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}}return t.\u0275fac=function(n){return new(n||t)(C(Qn),C(Ft),C(uP,8))},t.\u0275dir=B({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(n,r){1&n&&De("input",function(o){return r._handleInput(o.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(o){return r._compositionEnd(o.target.value)})},features:[ce([aP]),re]}),t})();const je=new $("NgValidators"),kn=new $("NgAsyncValidators");function Av(t){return null!=t}function Tv(t){return as(t)?Wd(t):t}function Iv(t){let e={};return t.forEach(n=>{e=null!=n?Object.assign(Object.assign({},e),n):e}),0===Object.keys(e).length?null:e}function Nv(t,e){return e.map(n=>n(t))}function Fv(t){return t.map(e=>function fP(t){return!t.validate}(e)?e:n=>e.validate(n))}function Xc(t){return null!=t?function Pv(t){if(!t)return null;const e=t.filter(Av);return 0==e.length?null:function(n){return Iv(Nv(n,e))}}(Fv(t)):null}function ed(t){return null!=t?function Ov(t){if(!t)return null;const e=t.filter(Av);return 0==e.length?null:function(n){return oP(Nv(n,e).map(Tv)).pipe(Da(Iv))}}(Fv(t)):null}function xv(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function td(t){return t?Array.isArray(t)?t:[t]:[]}function ra(t,e){return Array.isArray(t)?t.includes(e):t===e}function Vv(t,e){const n=td(e);return td(t).forEach(i=>{ra(n,i)||n.push(i)}),n}function Lv(t,e){return td(e).filter(n=>!ra(t,n))}class Bv{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=Xc(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=ed(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e){this.control&&this.control.reset(e)}hasError(e,n){return!!this.control&&this.control.hasError(e,n)}getError(e,n){return this.control?this.control.getError(e,n):null}}class Rn extends Bv{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Ze extends Bv{get formDirective(){return null}get path(){return null}}class jv{constructor(e){this._cd=e}get isTouched(){var e,n;return!(null===(n=null===(e=this._cd)||void 0===e?void 0:e.control)||void 0===n||!n.touched)}get isUntouched(){var e,n;return!(null===(n=null===(e=this._cd)||void 0===e?void 0:e.control)||void 0===n||!n.untouched)}get isPristine(){var e,n;return!(null===(n=null===(e=this._cd)||void 0===e?void 0:e.control)||void 0===n||!n.pristine)}get isDirty(){var e,n;return!(null===(n=null===(e=this._cd)||void 0===e?void 0:e.control)||void 0===n||!n.dirty)}get isValid(){var e,n;return!(null===(n=null===(e=this._cd)||void 0===e?void 0:e.control)||void 0===n||!n.valid)}get isInvalid(){var e,n;return!(null===(n=null===(e=this._cd)||void 0===e?void 0:e.control)||void 0===n||!n.invalid)}get isPending(){var e,n;return!(null===(n=null===(e=this._cd)||void 0===e?void 0:e.control)||void 0===n||!n.pending)}get isSubmitted(){var e;return!(null===(e=this._cd)||void 0===e||!e.submitted)}}let nd=(()=>{class t extends jv{constructor(n){super(n)}}return t.\u0275fac=function(n){return new(n||t)(C(Rn,2))},t.\u0275dir=B({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){2&n&&xi("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[re]}),t})(),Hv=(()=>{class t extends jv{constructor(n){super(n)}}return t.\u0275fac=function(n){return new(n||t)(C(Ze,10))},t.\u0275dir=B({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,r){2&n&&xi("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},features:[re]}),t})();const to="VALID",oa="INVALID",Xr="PENDING",no="DISABLED";function sd(t){return(sa(t)?t.validators:t)||null}function Uv(t){return Array.isArray(t)?Xc(t):t||null}function ad(t,e){return(sa(e)?e.asyncValidators:t)||null}function Gv(t){return Array.isArray(t)?ed(t):t||null}function sa(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class Wv{constructor(e,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=e,this._rawAsyncValidators=n,this._composedValidatorFn=Uv(this._rawValidators),this._composedAsyncValidatorFn=Gv(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===to}get invalid(){return this.status===oa}get pending(){return this.status==Xr}get disabled(){return this.status===no}get enabled(){return this.status!==no}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._rawValidators=e,this._composedValidatorFn=Uv(e)}setAsyncValidators(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=Gv(e)}addValidators(e){this.setValidators(Vv(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(Vv(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(Lv(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(Lv(e,this._rawAsyncValidators))}hasValidator(e){return ra(this._rawValidators,e)}hasAsyncValidator(e){return ra(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=Xr,!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){const n=this._parentMarkedDirty(e.onlySelf);this.status=no,this.errors=null,this._forEachChild(r=>{r.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:n})),this._onDisabledChange.forEach(r=>r(!0))}enable(e={}){const n=this._parentMarkedDirty(e.onlySelf);this.status=to,this._forEachChild(r=>{r.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:n})),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===to||this.status===Xr)&&this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?no:to}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=Xr,this._hasOwnPendingAsyncValidator=!0;const n=Tv(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,n={}){this.errors=e,this._updateControlsErrors(!1!==n.emitEvent)}get(e){let n=e;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((r,i)=>r&&r._find(i),this)}getError(e,n){const r=n?this.get(n):this;return r&&r.errors?r.errors[e]:null}hasError(e,n){return!!this.getError(e,n)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new Ie,this.statusChanges=new Ie}_calculateStatus(){return this._allControlsDisabled()?no:this.errors?oa:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Xr)?Xr:this._anyControlsHaveStatus(oa)?oa:to}_anyControlsHaveStatus(e){return this._anyControls(n=>n.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){sa(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(e){return null}}class ld extends Wv{constructor(e,n,r){super(sd(n),ad(r,n)),this.controls=e,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,n){return this.controls[e]?this.controls[e]:(this.controls[e]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(e,n,r={}){this.registerControl(e,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(e,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(e,n,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],n&&this.registerControl(e,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,n={}){(function qv(t,e,n){t._forEachChild((r,i)=>{if(void 0===n[i])throw new D(1002,"")})})(this,0,e),Object.keys(e).forEach(r=>{(function zv(t,e,n){const r=t.controls;if(!(e?Object.keys(r):r).length)throw new D(1e3,"");if(!r[n])throw new D(1001,"")})(this,!0,r),this.controls[r].setValue(e[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(e,n={}){null!=e&&(Object.keys(e).forEach(r=>{const i=this.controls[r];i&&i.patchValue(e[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(e={},n={}){this._forEachChild((r,i)=>{r.reset(e[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(e,n,r)=>(e[r]=n.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(n,r)=>!!r._syncPendingControls()||n);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(n=>{const r=this.controls[n];r&&e(r,n)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(const[n,r]of Object.entries(this.controls))if(this.contains(n)&&e(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(n,r,i)=>((r.enabled||this.disabled)&&(n[i]=r.value),n))}_reduceChildren(e,n){let r=e;return this._forEachChild((i,o)=>{r=n(r,i,o)}),r}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}}function ro(t,e){var n,r;ud(t,e),e.valueAccessor.writeValue(t.value),t.disabled&&(null===(r=(n=e.valueAccessor).setDisabledState)||void 0===r||r.call(n,!0)),function CP(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&Qv(t,e)})}(t,e),function EP(t,e){const n=(r,i)=>{e.valueAccessor.writeValue(r),i&&e.viewToModelUpdate(r)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}(t,e),function wP(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&Qv(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),function DP(t,e){if(e.valueAccessor.setDisabledState){const n=r=>{e.valueAccessor.setDisabledState(r)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}(t,e)}function ua(t,e){t.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(e)})}function ud(t,e){const n=function kv(t){return t._rawValidators}(t);null!==e.validator?t.setValidators(xv(n,e.validator)):"function"==typeof n&&t.setValidators([n]);const r=function Rv(t){return t._rawAsyncValidators}(t);null!==e.asyncValidator?t.setAsyncValidators(xv(r,e.asyncValidator)):"function"==typeof r&&t.setAsyncValidators([r]);const i=()=>t.updateValueAndValidity();ua(e._rawValidators,i),ua(e._rawAsyncValidators,i)}function Qv(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}const TP={provide:Ze,useExisting:ae(()=>da)},io=(()=>Promise.resolve(null))();let da=(()=>{class t extends Ze{constructor(n,r){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new Ie,this.form=new ld({},Xc(n),ed(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){io.then(()=>{const r=this._findContainer(n.path);n.control=r.registerControl(n.name,n.control),ro(n.control,n),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){io.then(()=>{const r=this._findContainer(n.path);r&&r.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){io.then(()=>{const r=this._findContainer(n.path),i=new ld({});(function Kv(t,e){ud(t,e)})(i,n),r.registerControl(n.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){io.then(()=>{const r=this._findContainer(n.path);r&&r.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,r){io.then(()=>{this.form.get(n.path).setValue(r)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submitted=!0,function Yv(t,e){t._syncPendingControls(),e.forEach(n=>{const r=n.control;"submit"===r.updateOn&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(n),!1}onReset(){this.resetForm()}resetForm(n){this.form.reset(n),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(n){return n.pop(),n.length?this.form.get(n):this.form}}return t.\u0275fac=function(n){return new(n||t)(C(je,10),C(kn,10))},t.\u0275dir=B({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,r){1&n&&De("submit",function(o){return r.onSubmit(o)})("reset",function(){return r.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ce([TP]),re]}),t})();function Jv(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function Xv(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}const eD=class extends Wv{constructor(e=null,n,r){super(sd(n),ad(r,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),sa(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=Xv(e)?e.value:e)}setValue(e,n={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(e,n={}){this.setValue(e,n)}reset(e=this.defaultValue,n={}){this._applyFormState(e),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){Jv(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){Jv(this._onDisabledChange,e)}_forEachChild(e){}_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(e){Xv(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}},FP={provide:Rn,useExisting:ae(()=>fa)},rD=(()=>Promise.resolve(null))();let fa=(()=>{class t extends Rn{constructor(n,r,i,o,s){super(),this._changeDetectorRef=s,this.control=new eD,this._registered=!1,this.update=new Ie,this._parent=n,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=function dd(t,e){if(!e)return null;let n,r,i;return Array.isArray(e),e.forEach(o=>{o.constructor===Jc?n=o:function SP(t){return Object.getPrototypeOf(t.constructor)===ir}(o)?r=o:i=o}),i||r||n||null}(0,o)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){const r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),function cd(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)}(n,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(n){this.viewModel=n,this.update.emit(n)}_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(){ro(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(n){rD.then(()=>{var r;this.control.setValue(n,{emitViewToModelChange:!1}),null===(r=this._changeDetectorRef)||void 0===r||r.markForCheck()})}_updateDisabled(n){const r=n.isDisabled.currentValue,i=0!==r&&function oc(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}(r);rD.then(()=>{var o;i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),null===(o=this._changeDetectorRef)||void 0===o||o.markForCheck()})}_getPath(n){return this._parent?function aa(t,e){return[...e.path,t]}(n,this._parent):[n]}}return t.\u0275fac=function(n){return new(n||t)(C(Ze,9),C(je,10),C(kn,10),C(jt,10),C(ec,8))},t.\u0275dir=B({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([FP]),re,on]}),t})(),iD=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=B({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})(),sD=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=Mt({}),t})(),tO=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=Mt({imports:[sD]}),t})(),bD=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=Mt({imports:[tO]}),t})();const MD=new $("UI_SWITCH_OPTIONS");function rO(t,e){if(1&t&&(S(0,"label",2)(1,"span",3),k(2),b(),S(3,"span",4),k(4),b()()),2&t){const n=lg();te(1),zr("color",n.getColor("checkedTextColor")),vt("aria-label",n.checkedLabel),te(1),us(n.checkedLabel),te(1),zr("color",n.getColor("uncheckedTextColor")),vt("aria-label",n.uncheckedLabel),te(1),us(n.uncheckedLabel)}}const iO=["*"],oO={provide:jt,useExisting:ae(()=>_d),multi:!0};let _d=(()=>{class t{constructor(n={},r){this.cdr=r,this.change=new Ie,this.changeEvent=new Ie,this.valueChange=new Ie,this.onTouchedCallback=i=>{},this.onChangeCallback=i=>{},this.size=n&&n.size||"medium",this.color=n&&n.color,this.switchOffColor=n&&n.switchOffColor,this.switchColor=n&&n.switchColor,this.defaultBgColor=n&&n.defaultBgColor,this.defaultBoColor=n&&n.defaultBoColor,this.checkedLabel=n&&n.checkedLabel,this.uncheckedLabel=n&&n.uncheckedLabel,this.checkedTextColor=n&&n.checkedTextColor,this.uncheckedTextColor=n&&n.uncheckedTextColor}set checked(n){this._checked=!1!==n}get checked(){return this._checked}set disabled(n){this._disabled=!1!==n}get disabled(){return this._disabled}set reverse(n){this._reverse=!1!==n}get reverse(){return this._reverse}set loading(n){this._loading=!1!==n}get loading(){return this._loading}getColor(n=""){return"borderColor"===n?this.defaultBoColor:"switchColor"===n?this.reverse?this.checked&&this.switchOffColor||this.switchColor:this.checked?this.switchColor:this.switchOffColor||this.switchColor:"checkedTextColor"===n?this.reverse?this.uncheckedTextColor:this.checkedTextColor:"uncheckedTextColor"===n?this.reverse?this.checkedTextColor:this.uncheckedTextColor:this.reverse?this.checked?this.defaultBgColor:this.color:this.checked?this.color:this.defaultBgColor}onClick(n){this.disabled||(this.checked=!this.checked,this.change.emit(this.checked),this.valueChange.emit(this.checked),this.changeEvent.emit(n),this.onChangeCallback(this.checked),this.onTouchedCallback(this.checked),this.cdr.markForCheck())}onToggle(n){this.disabled||(this.beforeChange?this._beforeChange=this.beforeChange.subscribe(r=>{r&&this.onClick(n)}):this.onClick(n))}writeValue(n){n!==this.checked&&(this.checked=!!n),this.onChangeCallback(this.checked),this.cdr&&this.cdr.markForCheck()}registerOnChange(n){this.onChangeCallback=n}registerOnTouched(n){this.onTouchedCallback=n}setDisabledState(n){this.disabled=n}ngOnDestroy(){this._beforeChange&&this._beforeChange.unsubscribe()}}return t.\u0275fac=function(n){return new(n||t)(C(MD,8),C(ec))},t.\u0275cmp=rn({type:t,selectors:[["ui-switch"]],hostBindings:function(n,r){1&n&&De("click",function(o){return r.onToggle(o)})},inputs:{size:"size",color:"color",switchOffColor:"switchOffColor",switchColor:"switchColor",defaultBgColor:"defaultBgColor",defaultBoColor:"defaultBoColor",checkedLabel:"checkedLabel",uncheckedLabel:"uncheckedLabel",checkedTextColor:"checkedTextColor",uncheckedTextColor:"uncheckedTextColor",beforeChange:"beforeChange",ariaLabel:"ariaLabel",checked:"checked",disabled:"disabled",reverse:"reverse",loading:"loading"},outputs:{change:"change",changeEvent:"changeEvent",valueChange:"valueChange"},features:[ce([oO])],ngContentSelectors:iO,decls:4,vars:21,consts:[["type","button","role","switch",1,"switch"],["class","switch-pane",4,"ngIf"],[1,"switch-pane"],[1,"switch-label-checked"],[1,"switch-label-unchecked"]],template:function(n,r){1&n&&(function ug(t){const e=v()[16][6];if(!e.projection){const r=e.projection=mi(t?t.length:1,null),i=r.slice();let o=e.child;for(;null!==o;){const s=t?mM(o,t):0;null!==s&&(i[s]?i[s].projectionNext=o:r[s]=o,i[s]=o),o=o.next}}}(),S(0,"button",0),Ur(1,rO,5,8,"label",1),S(2,"small"),function cg(t,e=0,n){const r=v(),i=Q(),o=Pr(i,22+t,16,null,n||null);null===o.projection&&(o.projection=e),$a(),64!=(64&o.flags)&&function Sb(t,e,n){Kh(e[z],0,e,n,Bh(t,n,e),Uh(n.parent||e[6],n,e))}(i,r,o)}(3),b()()),2&n&&(zr("background-color",r.getColor())("border-color",r.getColor("borderColor")),xi("checked",r.checked)("disabled",r.disabled)("loading",r.loading)("switch-large","large"===r.size)("switch-medium","medium"===r.size)("switch-small","small"===r.size),vt("aria-checked",r.checked)("aria-label",r.ariaLabel),te(1),Oe("ngIf",r.checkedLabel||r.uncheckedLabel),te(1),zr("background",r.getColor("switchColor")))},dependencies:[gc],encapsulation:2}),t})(),sO=(()=>{class t{static forRoot(n){return{ngModule:t,providers:[{provide:MD,useValue:n||{}}]}}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=$t({type:t}),t.\u0275inj=Mt({imports:[s_,bD,bD]}),t})();const SD=JSON.parse('{"name":"ngx-ui-switch","version":"14.0.4","description":"switch button for angular4","bugs":"https://github.com/webcat12345/ngx-ui-switch/issues","homepage":"https://github.com/webcat12345/ngx-ui-switch#readme","repository":"https://github.com/webcat12345/ngx-ui-switch.git","license":"MIT","author":"webcat12345","keywords":["angular2","angular4","ngx","ng2","uiswitch","switch","ui"],"peerDependencies":{"@angular/core":">=10.0.0","@angular/animations":">=10.0.0","@angular/common":">=10.0.0","@angular/forms":">=10.0.0","@angular/platform-browser":">=10.0.0"},"ngPackage":{"lib":{"entryFile":"public_api.ts"},"dest":"../../dist"},"exports":{"./ui-switch.component":{"sass":"./ui-switch.component.scss"}}}');let aO=(()=>{class t{constructor(){this.enable=!0,this.manualUpdate=!1}manualUpdateEvent(n){this.manualUpdate=n}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=rn({type:t,selectors:[["app-demo-cdr"]],decls:18,vars:8,consts:[[1,"col-12"],[1,"font-weight-bold"],[3,"ngModel","ngModelChange"]],template:function(n,r){1&n&&(S(0,"div",0)(1,"h4")(2,"span",1),k(3,"ngModel"),b(),k(4," with 2-way binding"),b(),S(5,"ui-switch",2),De("ngModelChange",function(o){return r.enable=o}),b(),S(6,"p"),k(7),Pu(8,"json"),b()(),S(9,"div",0)(10,"h4"),k(11," Manually updated "),S(12,"span",1),k(13,"ngModel"),b()(),S(14,"ui-switch",2),De("ngModelChange",function(o){return r.manualUpdateEvent(o)}),b(),S(15,"p"),k(16),Pu(17,"json"),b()()),2&n&&(te(5),Oe("ngModel",r.enable),te(2),Rt("Current Value: ",Ou(8,4,r.enable),""),te(7),Oe("ngModel",r.manualUpdate),te(2),Rt("Current Value: ",Ou(17,6,r.manualUpdate),""))},dependencies:[nd,fa,_d,i_],encapsulation:2,changeDetection:0}),t})();const lO=["demoForm"];function uO(t,e){1&t&&Z(0,"i",33)}function cO(t,e){1&t&&Z(0,"i",49)}function dO(t,e){1&t&&Z(0,"i",50)}function fO(t,e){1&t&&(S(0,"div",51),k(1," Submitted! "),b())}let hO=(()=>{class t{constructor(){this.submitted=!1,this.enable=!0,this.enableFeature=!1,this.count=0,this.change=!1,this.valueChange=!1,this.isLoading=!1,this.fakeAsync=new xe(n=>{this.isLoading=!0;const r=setTimeout(()=>{this.isLoading=!1,n.next(!0)},2e3);return()=>clearTimeout(r)})}onSubmit(n){this.submitted=!0}onChange(n){this.count++,this.change=n}onChangeEvent(n){console.log(n,n.toString(),JSON.stringify(n)),this.changeEvent=n}onValueChange(n){this.valueChange=n}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=rn({type:t,selectors:[["app-demo"]],viewQuery:function(n,r){if(1&n&&zm(lO,5),2&n){let i;Gm(i=function qm(){return function HA(t,e){return t[19].queries[e].queryList}(v(),gf())}())&&(r.demoForm=i.first)}},decls:125,vars:20,consts:[[1,"row","justify-content-center"],[1,"col-lg-5","col-sm-6"],["checked","",3,"ariaLabel"],[3,"ariaLabel","checked"],["disabled",""],["checked","",3,"disabled"],[3,"ariaLabel","change"],[3,"valueChange"],[3,"changeEvent"],["size","small"],["size","large"],["reverse",""],["color","blue"],["color","red"],["switchColor","red"],["switchColor","blue"],["uncheckedTextColor","red","checkedTextColor","blue","checkedLabel","ON","uncheckedLabel","OFF"],[1,"col-lg-5","col-sm-6","border-left","pl-5"],[1,"font-weight-bold"],[1,"row"],[1,"col-12"],[3,"ngModel","ngModelChange"],[1,"row","custom-switches"],["checked",""],[3,"checked"],["uncheckedLabel","off","checkedLabel","on","size","small"],["uncheckedLabel","off","checkedLabel","on"],["uncheckedLabel","off","checkedLabel","on","size","large"],["checkedLabel","Super Long Label","uncheckedLabel","Super Long Label","size","small"],["checkedLabel","Super Long Label","uncheckedLabel","Super Long Label"],["checkedLabel","Super Long Label","uncheckedLabel","Super Long Label","size","large"],["reverse","","uncheckedLabel","off","checkedLabel","on","uncheckedTextColor","orange","checkedTextColor","red"],[1,"custom-icons"],[1,"fa","fa-check"],[1,"fa","fa-check","fa-2x"],[3,"loading","beforeChange","ngModel","ngModelChange"],["class","fa fa-check",4,"ngIf"],["class","fa fa-times",4,"ngIf"],["class","fa fa-spinner fa-pulse",4,"ngIf"],[1,"form-row",3,"ngSubmit"],["demoForm","ngForm"],[1,"col"],["for","feature-name"],["type","text","id","feature-name",1,"form-control"],["for","enable-feature"],["id","enable-feature","name","enableFeature",1,"custom-control",3,"ngModel","ngModelChange"],["class","col-12 alert alert-info","role","alert",4,"ngIf"],[1,"col-12","mt-4"],["type","submit",1,"btn","btn-primary"],[1,"fa","fa-times"],[1,"fa","fa-spinner","fa-pulse"],["role","alert",1,"col-12","alert","alert-info"]],template:function(n,r){1&n&&(S(0,"div",0)(1,"div",1)(2,"h2"),k(3,"Basic Usage"),b(),S(4,"h4"),k(5,"checked"),b(),S(6,"p"),Z(7,"ui-switch",2)(8,"ui-switch",3),b(),S(9,"h4"),k(10,"Disabled"),b(),S(11,"p"),Z(12,"ui-switch",4)(13,"ui-switch",5),b(),S(14,"h4"),k(15,"Change"),b(),S(16,"ui-switch",6),De("change",function(o){return r.onChange(o)}),b(),S(17,"p"),k(18),b(),S(19,"p"),k(20),b(),S(21,"h4"),k(22,"Value Change"),b(),S(23,"ui-switch",7),De("valueChange",function(o){return r.onValueChange(o)}),b(),S(24,"p"),k(25),b(),S(26,"h4"),k(27,"Change Event"),b(),S(28,"ui-switch",8),De("changeEvent",function(o){return r.onChangeEvent(o)}),b(),S(29,"p"),k(30),b(),S(31,"h4"),k(32,"Size"),b(),S(33,"p"),Z(34,"ui-switch",9)(35,"ui-switch")(36,"ui-switch",10),b(),S(37,"h4"),k(38,"reverse"),b(),S(39,"p"),Z(40,"ui-switch",11),b(),S(41,"h4"),k(42,"color"),b(),Z(43,"ui-switch")(44,"ui-switch",12)(45,"ui-switch",13),S(46,"h4"),k(47,"switchColor"),b(),S(48,"p"),Z(49,"ui-switch",14)(50,"ui-switch",15),b(),S(51,"h4"),k(52,"textColor"),b(),S(53,"p"),Z(54,"ui-switch",16),b()(),S(55,"div",17)(56,"h2")(57,"span",18),k(58,"ngModel"),b(),k(59," Usage "),b(),S(60,"div",19)(61,"div",20)(62,"h4"),k(63,"two way binding"),b(),S(64,"ui-switch",21),De("ngModelChange",function(o){return r.enable=o}),b(),S(65,"p"),k(66),b()(),Z(67,"app-demo-cdr"),b(),Z(68,"hr"),S(69,"div",22)(70,"div",20)(71,"h2"),k(72,"Custom CSS"),b(),S(73,"p"),Z(74,"ui-switch",23)(75,"ui-switch",24),b()()(),Z(76,"hr"),S(77,"div",19)(78,"div",20)(79,"h2"),k(80,"Custom labels"),b(),S(81,"p"),Z(82,"ui-switch",25)(83,"ui-switch",26)(84,"ui-switch",27),b(),S(85,"p"),Z(86,"ui-switch",28)(87,"ui-switch",29)(88,"ui-switch",30),b(),S(89,"p"),Z(90,"ui-switch",31),b()()(),Z(91,"hr"),S(92,"div",19)(93,"div",20)(94,"h2"),k(95,"Custom Switch Content"),b(),S(96,"p",32)(97,"ui-switch",25),Z(98,"i",33),b(),S(99,"ui-switch",26),Z(100,"i",33),b(),S(101,"ui-switch",27),Z(102,"i",34),b()(),S(103,"h4"),k(104,"Before Change handling + Loading Icon Example"),b(),S(105,"p")(106,"ui-switch",35),De("ngModelChange",function(o){return r.enable=o}),Ur(107,uO,1,0,"i",36),Ur(108,cO,1,0,"i",37),Ur(109,dO,1,0,"i",38),b()()()()()(),Z(110,"hr"),S(111,"form",39,40),De("ngSubmit",function(o){return r.onSubmit(o)}),S(113,"div",41)(114,"label",42),k(115,"Name"),b(),Z(116,"input",43),b(),S(117,"div",41)(118,"label",44),k(119,"Enable Feature"),b(),S(120,"ui-switch",45),De("ngModelChange",function(o){return r.enableFeature=o}),b()(),Ur(121,fO,2,0,"div",46),S(122,"div",47)(123,"button",48),k(124,"Submit"),b()()()),2&n&&(te(7),Oe("ariaLabel","checked"),te(1),Oe("ariaLabel","unchecked")("checked",!1),te(5),Oe("disabled",!0),te(3),Oe("ariaLabel","Change"),te(2),Rt("change count ",r.count,""),te(2),Rt("value ",r.change,""),te(5),Rt("value ",r.valueChange,""),te(5),Rt("event ",r.changeEvent,""),te(34),Oe("ngModel",r.enable),te(2),Rt("Current Value: ",r.enable,""),te(9),Oe("checked",!1),te(31),Oe("loading",r.isLoading)("beforeChange",r.fakeAsync)("ngModel",r.enable),te(1),Oe("ngIf",r.enable&&!r.isLoading),te(1),Oe("ngIf",!r.enable&&!r.isLoading),te(1),Oe("ngIf",r.isLoading),te(11),Oe("ngModel",r.enableFeature),te(1),Oe("ngIf",r.submitted))},dependencies:[gc,iD,nd,Hv,fa,da,_d,aO],encapsulation:2}),t})(),pO=(()=>{class t{constructor(){this.version=Ch.full}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=rn({type:t,selectors:[["app-footer"]],decls:10,vars:1,consts:[[1,"footer","mb-4","mt-2"],["href","https://github.com/webcat12345/ngx-ui-switch/blob/master/LICENSE"],["href","https://github.com/webcat12345/ngx-ui-switch"]],template:function(n,r){1&n&&(S(0,"footer",0),k(1),Z(2,"br"),k(3," Released under the "),S(4,"a",1),k(5,"MIT"),b(),k(6," license. "),S(7,"a",2),k(8,"View source"),b(),k(9,". "),b()),2&n&&(te(1),Rt(" Demo using Angular ",r.version," "))},styles:[".footer[_ngcontent-%COMP%]{line-height:2;text-align:center;font-size:12px;color:#999}"]}),t})(),gO=(()=>{class t{constructor(){}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=rn({type:t,selectors:[["app-header"]],decls:18,vars:0,consts:[["href","https://github.com/webcat12345/ngx-ui-switch",1,"hidden-xs"],["src","https://camo.githubusercontent.com/38ef81f8aca64bb9a64448d0d70f1308ef5341ab/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67","alt","Fork me on GitHub","data-canonical-src","https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png",2,"position","absolute","top","0","right","0","border","0","z-index","2001"],[1,"navbar","navbar-expand-md","navbar-dark","bg-dark","fixed-top"],["type","button","data-toggle","collapse","data-target","#navbar","aria-controls","navbar","aria-expanded","false","aria-label","Toggle navigation",1,"navbar-toggler","navbar-toggler-right"],[1,"navbar-toggler-icon"],["href","#",1,"navbar-brand"],["id","navbar",1,"collapse","navbar-collapse"],[1,"navbar-nav","mr-auto"],[1,"nav-item"],["href","#demo",1,"nav-link"],["href","https://github.com/webcat12345/ngx-ui-switch#installation",1,"nav-link"],["href","https://webcat12345.github.io/ngx-ui-switch/docs/",1,"nav-link"]],template:function(n,r){1&n&&(S(0,"a",0),Z(1,"img",1),b(),S(2,"nav",2)(3,"button",3),Z(4,"span",4),b(),S(5,"a",5),k(6,"ngx ui switch"),b(),S(7,"div",6)(8,"ul",7)(9,"li",8)(10,"a",9),k(11,"Demo"),b()(),S(12,"li",8)(13,"a",10),k(14,"Installation"),b()(),S(15,"li",8)(16,"a",11),k(17,"Documentation"),b()()()()())},encapsulation:2}),t})(),mO=(()=>{class t{constructor(){this.username="webcat12345",this.repo="ngx-ui-switch"}href(n,r){return`https://github.com/${n}/${r}`}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=rn({type:t,selectors:[["app-github-link"]],inputs:{username:"username",repo:"repo"},decls:6,vars:1,consts:[[1,"githubLink",3,"href"],["fill","#181717","height","32","aria-labelledby","title","role","img","viewBox","0 0 24 24","xmlns","http://www.w3.org/2000/svg","fill-rule","evenodd","clip-rule","evenodd","stroke-linejoin","round","stroke-miterlimit","1.414"],["d","M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"]],template:function(n,r){1&n&&(S(0,"div")(1,"a",0),function Cf(){V.lFrame.currentNamespace="svg"}(),S(2,"svg",1)(3,"title"),k(4,"GitHub icon"),b(),Z(5,"path",2),b()()()),2&n&&(te(1),Oe("href",r.href(r.username,r.repo),gl))},styles:[".githubLink[_ngcontent-%COMP%]{text-decoration:none}div[_ngcontent-%COMP%]{text-align:center}"]}),t})(),yO=(()=>{class t{constructor(n){this.t=n;const r=[this.t.getTitle()];SD&&r.push(`${SD.version} Demo`),n.setTitle(r.join(" "))}}return t.\u0275fac=function(n){return new(n||t)(C(M_))},t.\u0275cmp=rn({type:t,selectors:[["app-root"]],decls:6,vars:0,consts:[[1,"container","mt-3"],[1,"mt-5"]],template:function(n,r){1&n&&(Z(0,"app-header"),S(1,"div",0),Z(2,"app-demo"),b(),S(3,"div",1),Z(4,"app-github-link")(5,"app-footer"),b())},dependencies:[hO,pO,gO,mO],styles:["[_nghost-%COMP%]{width:80%;display:block;margin:0 auto;height:600px}"]}),t})(),_O=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=$t({type:t,bootstrap:[yO]}),t.\u0275inj=Mt({imports:[b_,QF,sO]}),t})();(function IT(){Oy=!1})(),BN().bootstrapModule(_O)}},fe=>{fe(fe.s=415)}]); \ No newline at end of file diff --git a/docs/classes/_ui_switch_ui_switch_component_.uiswitchcomponent.html b/docs/classes/_ui_switch_ui_switch_component_.uiswitchcomponent.html index 8759889f..7f2f1a3a 100644 --- a/docs/classes/_ui_switch_ui_switch_component_.uiswitchcomponent.html +++ b/docs/classes/_ui_switch_ui_switch_component_.uiswitchcomponent.html @@ -102,6 +102,7 @@

Properties

  • _disabled
  • _loading
  • _reverse
  • +
  • ariaLabel
  • beforeChange
  • cdr
  • change
  • @@ -158,7 +159,7 @@

    constructor

  • Parameters

    @@ -183,7 +184,7 @@

    Private _beforeChange

    _beforeChange: Subscription
    @@ -193,7 +194,7 @@

    Private _checked

    _checked: boolean
    @@ -203,7 +204,7 @@

    Private _disabled

    _disabled: boolean
    @@ -213,7 +214,7 @@

    Private _loading

    _loading: boolean
    @@ -223,7 +224,17 @@

    Private _reverse

    _reverse: boolean
    + +
    + +

    ariaLabel

    +
    ariaLabel: string
    +
    @@ -233,7 +244,7 @@

    beforeChange

    beforeChange: Observable<boolean>
    @@ -243,7 +254,7 @@

    Private cdr

    cdr: ChangeDetectorRef
    @@ -253,7 +264,7 @@

    change

    change: EventEmitter<boolean> = new EventEmitter<boolean>()
    @@ -263,7 +274,7 @@

    changeEvent

    changeEvent: EventEmitter<MouseEvent> = new EventEmitter<MouseEvent>()
    @@ -273,7 +284,7 @@

    checkedLabel

    checkedLabel: any
    @@ -283,7 +294,7 @@

    checkedTextColor

    checkedTextColor: any
    @@ -293,7 +304,7 @@

    color

    color: any
    @@ -303,7 +314,7 @@

    defaultBgColor

    defaultBgColor: any
    @@ -313,7 +324,7 @@

    defaultBoColor

    defaultBoColor: any
    @@ -323,7 +334,7 @@

    size

    size: any
    @@ -333,7 +344,7 @@

    switchColor

    switchColor: any
    @@ -343,7 +354,7 @@

    switchOffColor

    switchOffColor: any
    @@ -353,7 +364,7 @@

    uncheckedLabel

    uncheckedLabel: any
    @@ -363,7 +374,7 @@

    uncheckedTextColor

    uncheckedTextColor: any
    @@ -373,7 +384,7 @@

    valueChange

    valueChange: EventEmitter<boolean> = new EventEmitter<boolean>()
    @@ -386,8 +397,8 @@

    checked

    checked:
    @@ -397,8 +408,8 @@

    disabled

    disabled:
    @@ -408,8 +419,8 @@

    loading

    loading:
    @@ -419,8 +430,8 @@

    reverse

    reverse:
    @@ -437,7 +448,7 @@

    getColor

  • Parameters

    @@ -460,7 +471,7 @@

    ngOnDestroy

  • Returns void

    @@ -477,7 +488,7 @@

    Private onChangeCallb
  • Parameters

    @@ -500,7 +511,7 @@

    onClick

  • Parameters

    @@ -523,7 +534,7 @@

    onToggle

  • Parameters

    @@ -546,7 +557,7 @@

    Private onTouchedCall
  • Parameters

    @@ -569,7 +580,7 @@

    registerOnChange

  • Parameters

    @@ -592,7 +603,7 @@

    registerOnTouched

  • Parameters

    @@ -615,7 +626,7 @@

    setDisabledState

  • Parameters

    @@ -638,7 +649,7 @@

    writeValue

  • Parameters

    @@ -707,6 +718,9 @@

    Returns void _reverse

  • +
  • + ariaLabel +
  • beforeChange
  • diff --git a/docs/classes/_ui_switch_ui_switch_module_.uiswitchmodule.html b/docs/classes/_ui_switch_ui_switch_module_.uiswitchmodule.html index 3e0bb99a..5d369c44 100644 --- a/docs/classes/_ui_switch_ui_switch_module_.uiswitchmodule.html +++ b/docs/classes/_ui_switch_ui_switch_module_.uiswitchmodule.html @@ -102,7 +102,7 @@

    Static forRoot

  • Parameters

    diff --git a/docs/index.html b/docs/index.html index d5a944dd..5baf90e6 100644 --- a/docs/index.html +++ b/docs/index.html @@ -299,6 +299,8 @@

    Switch Content

    <ui-switch uncheckedLabel="off">
       <img src=""/>
     </ui-switch>
    +

    Aria Label

    +
    <ui-switch [ariaLabel]="'labelName'"></ui-switch>

    Development

    Setup

    yarn install
    diff --git a/docs/interfaces/_ui_switch_ui_switch_config_.uiswitchmoduleconfig.html b/docs/interfaces/_ui_switch_ui_switch_config_.uiswitchmoduleconfig.html index 921e82f6..fa29ae2a 100644 --- a/docs/interfaces/_ui_switch_ui_switch_config_.uiswitchmoduleconfig.html +++ b/docs/interfaces/_ui_switch_ui_switch_config_.uiswitchmoduleconfig.html @@ -107,7 +107,7 @@

    Optional checkedLabel

    checkedLabel: undefined | string @@ -117,7 +117,7 @@

    Optional checkedText
    checkedTextColor: undefined | string
    @@ -127,7 +127,7 @@

    Optional color

    color: undefined | string
    @@ -137,7 +137,7 @@

    Optional defaultBgColordefaultBgColor: undefined | string @@ -147,7 +147,7 @@

    Optional defaultBoColordefaultBoColor: undefined | string @@ -157,7 +157,7 @@

    Optional size

    size: undefined | string
    @@ -167,7 +167,7 @@

    Optional switchColor

    switchColor: undefined | string
    @@ -177,7 +177,7 @@

    Optional switchOffCo
    switchOffColor: undefined | string
    @@ -187,7 +187,7 @@

    Optional uncheckedLabeluncheckedLabel: undefined | string @@ -197,7 +197,7 @@

    Optional uncheckedTextuncheckedTextColor: undefined | string diff --git a/docs/modules/_ui_switch_ui_switch_component_.html b/docs/modules/_ui_switch_ui_switch_component_.html index 059c6494..057bfdaf 100644 --- a/docs/modules/_ui_switch_ui_switch_component_.html +++ b/docs/modules/_ui_switch_ui_switch_component_.html @@ -93,7 +93,7 @@

    Const UI_SWITCH_CONTROL
    UI_SWITCH_CONTROL_VALUE_ACCESSOR: object
    @@ -102,7 +102,7 @@

    multi

    multi: boolean = true
    @@ -112,7 +112,7 @@

    provide

    provide: InjectionToken<any> = NG_VALUE_ACCESSOR
    @@ -122,7 +122,7 @@

    useExisting

    useExisting: Type<any> = forwardRef(() => UiSwitchComponent)
    diff --git a/docs/modules/_ui_switch_ui_switch_token_.html b/docs/modules/_ui_switch_ui_switch_token_.html index ef9c0ef9..27ff5061 100644 --- a/docs/modules/_ui_switch_ui_switch_token_.html +++ b/docs/modules/_ui_switch_ui_switch_token_.html @@ -87,7 +87,7 @@

    Const UI_SWITCH_OPTIONS
    UI_SWITCH_OPTIONS: InjectionToken<Object> = new InjectionToken('UI_SWITCH_OPTIONS')